Skip to content

Commit

Permalink
Update user baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Apr 28, 2020
1 parent 9d8a70c commit fad880a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 35 deletions.
27 changes: 13 additions & 14 deletions tests/baselines/reference/docker/vue-next.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Exit Code: 0
Standard output:

> @X.X.X-beta.3 build /vue-next
> @X.X.X-beta.4 build /vue-next
> node scripts/build.js "--types"
Rolling up type definitions for compiler-core...
Writing: /vue-next/temp/compiler-core.api.json
Expand Down Expand Up @@ -54,10 +54,11 @@ created packages/compiler-dom/dist/compiler-dom.cjs.prod.js in ?s
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.global.prod.js...
created packages/compiler-dom/dist/compiler-dom.global.prod.js in ?s
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.cjs.js...
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
url (imported by packages/compiler-sfc/src/templateUtils.ts)
created packages/compiler-sfc/dist/compiler-sfc.cjs.js in ?s
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.global.js...
created packages/compiler-sfc/dist/compiler-sfc.global.js in ?s
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.esm-browser.js...
created packages/compiler-sfc/dist/compiler-sfc.esm-browser.js in ?s
/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js...
created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-bundler.js...
Expand All @@ -75,22 +76,20 @@ created packages/reactivity/dist/reactivity.cjs.prod.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.prod.js...
created packages/reactivity/dist/reactivity.global.prod.js in ?s
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js...
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/componentOptions.ts(182,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
packages/runtime-core/src/componentOptions.ts
Error: /vue-next/packages/runtime-core/src/componentOptions.ts(182,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:160:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16838:12)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17857:24)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17011:38)
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/components/Suspense.ts(247,13): semantic error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
packages/runtime-core/src/components/Suspense.ts
Error: /vue-next/packages/runtime-core/src/components/Suspense.ts(247,13): semantic error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:161:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16873:12)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17892:24)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17046:38)
at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18)
at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11
at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11)
at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14)
at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2)
at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5)
(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:2acf3e8,NODE_ENV:production,TARGET:runtime-core,TYPES:true
(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:a893ed1,NODE_ENV:production,TARGET:runtime-core,TYPES:true
at makeError (/vue-next/node_modules/execa/lib/error.js:59:11)
at handlePromise (/vue-next/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Expand Down
2 changes: 0 additions & 2 deletions tests/baselines/reference/user/enhanced-resolve.log
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(202,23): error TS2322
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(207,27): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(212,24): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(217,28): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(221,14): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(235,4): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(239,14): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(246,4): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(252,24): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(257,28): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
Expand Down
30 changes: 15 additions & 15 deletions tests/baselines/reference/user/graceful-fs.log
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ node_modules/graceful-fs/clone.js(12,9): error TS2403: Subsequent variable decla
node_modules/graceful-fs/clone.js(15,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType<any>'.
Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType<any>'.
Type 'undefined' is not assignable to type 'PropertyDescriptor'.
node_modules/graceful-fs/graceful-fs.js(26,3): error TS2322: Type '(msg: string, ...param: any[]) => void' is not assignable to type '() => void'.
node_modules/graceful-fs/graceful-fs.js(29,37): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any, ...any[]]'.
node_modules/graceful-fs/graceful-fs.js(48,3): error TS2741: Property '__promisify__' is missing in type '(fd: any, cb: any) => void' but required in type 'typeof close'.
node_modules/graceful-fs/graceful-fs.js(70,30): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[number]'.
node_modules/graceful-fs/graceful-fs.js(82,13): error TS2554: Expected 0 arguments, but got 1.
node_modules/graceful-fs/graceful-fs.js(89,54): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
node_modules/graceful-fs/graceful-fs.js(91,8): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
node_modules/graceful-fs/graceful-fs.js(199,5): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(200,5): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(220,7): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(230,7): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(264,68): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'.
node_modules/graceful-fs/graceful-fs.js(287,70): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'.
node_modules/graceful-fs/graceful-fs.js(336,9): error TS2554: Expected 0 arguments, but got 3.
node_modules/graceful-fs/graceful-fs.js(343,11): error TS2554: Expected 0 arguments, but got 3.
node_modules/graceful-fs/graceful-fs.js(34,3): error TS2322: Type '(msg: string, ...param: any[]) => void' is not assignable to type '() => void'.
node_modules/graceful-fs/graceful-fs.js(37,37): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any, ...any[]]'.
node_modules/graceful-fs/graceful-fs.js(52,3): error TS2741: Property '__promisify__' is missing in type '(fd: any, cb: any) => void' but required in type 'typeof close'.
node_modules/graceful-fs/graceful-fs.js(74,30): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[number]'.
node_modules/graceful-fs/graceful-fs.js(86,13): error TS2554: Expected 0 arguments, but got 1.
node_modules/graceful-fs/graceful-fs.js(97,54): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
node_modules/graceful-fs/graceful-fs.js(99,8): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
node_modules/graceful-fs/graceful-fs.js(207,5): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(208,5): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(228,7): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(238,7): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(272,68): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'.
node_modules/graceful-fs/graceful-fs.js(295,70): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'.
node_modules/graceful-fs/graceful-fs.js(344,9): error TS2554: Expected 0 arguments, but got 3.
node_modules/graceful-fs/graceful-fs.js(351,11): error TS2554: Expected 0 arguments, but got 3.



Expand Down
8 changes: 4 additions & 4 deletions tests/baselines/reference/user/uglify-js.log
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ node_modules/uglify-js/lib/compress.js(1684,38): error TS2339: Property 'parent'
node_modules/uglify-js/lib/compress.js(1700,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(1797,42): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1828,41): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1950,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, (number | undefined)?]'.
Property '0' is missing in type 'number[]' but required in type '[number, (number | undefined)?]'.
node_modules/uglify-js/lib/compress.js(1950,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'.
Type 'number[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
node_modules/uglify-js/lib/compress.js(2281,59): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(2319,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, (number | undefined)?]'.
Property '0' is missing in type 'any[]' but required in type '[number, (number | undefined)?]'.
node_modules/uglify-js/lib/compress.js(2319,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'.
Type 'any[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
node_modules/uglify-js/lib/compress.js(2467,34): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(2912,35): error TS2554: Expected 2 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3256,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
Expand Down

0 comments on commit fad880a

Please sign in to comment.