Skip to content

Commit fad880a

Browse files
Update user baselines
1 parent 9d8a70c commit fad880a

File tree

4 files changed

+32
-35
lines changed

4 files changed

+32
-35
lines changed

tests/baselines/reference/docker/vue-next.log

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Exit Code: 0
22
Standard output:
33

4-
> @X.X.X-beta.3 build /vue-next
4+
> @X.X.X-beta.4 build /vue-next
55
> node scripts/build.js "--types"
66
Rolling up type definitions for compiler-core...
77
Writing: /vue-next/temp/compiler-core.api.json
@@ -54,10 +54,11 @@ created packages/compiler-dom/dist/compiler-dom.cjs.prod.js in ?s
5454
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.global.prod.js...
5555
created packages/compiler-dom/dist/compiler-dom.global.prod.js in ?s
5656
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.cjs.js...
57-
(!) Unresolved dependencies
58-
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
59-
url (imported by packages/compiler-sfc/src/templateUtils.ts)
6057
created packages/compiler-sfc/dist/compiler-sfc.cjs.js in ?s
58+
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.global.js...
59+
created packages/compiler-sfc/dist/compiler-sfc.global.js in ?s
60+
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.esm-browser.js...
61+
created packages/compiler-sfc/dist/compiler-sfc.esm-browser.js in ?s
6162
/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js...
6263
created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s
6364
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-bundler.js...
@@ -75,22 +76,20 @@ created packages/reactivity/dist/reactivity.cjs.prod.js in ?s
7576
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.prod.js...
7677
created packages/reactivity/dist/reactivity.global.prod.js in ?s
7778
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js...
78-
[!] (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'.
79-
Type 'Function' provides no match for the signature '(...args: any): any'.
80-
packages/runtime-core/src/componentOptions.ts
81-
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'.
82-
Type 'Function' provides no match for the signature '(...args: any): any'.
83-
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:160:30)
84-
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16838:12)
85-
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17857:24)
86-
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17011:38)
79+
[!] (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?
80+
packages/runtime-core/src/components/Suspense.ts
81+
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?
82+
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:161:30)
83+
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16873:12)
84+
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17892:24)
85+
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17046:38)
8786
at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18)
8887
at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11
8988
at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11)
9089
at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14)
9190
at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2)
9291
at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5)
93-
(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:2acf3e8,NODE_ENV:production,TARGET:runtime-core,TYPES:true
92+
(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:a893ed1,NODE_ENV:production,TARGET:runtime-core,TYPES:true
9493
at makeError (/vue-next/node_modules/execa/lib/error.js:59:11)
9594
at handlePromise (/vue-next/node_modules/execa/index.js:112:26)
9695
at processTicksAndRejections (internal/process/task_queues.js:97:5)

tests/baselines/reference/user/enhanced-resolve.log

-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(202,23): error TS2322
2727
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(207,27): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
2828
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(212,24): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
2929
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(217,28): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
30-
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?
3130
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(235,4): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
32-
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?
3331
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(246,4): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
3432
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(252,24): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
3533
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(257,28): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.

tests/baselines/reference/user/graceful-fs.log

+15-15
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ node_modules/graceful-fs/clone.js(12,9): error TS2403: Subsequent variable decla
44
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>'.
55
Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType<any>'.
66
Type 'undefined' is not assignable to type 'PropertyDescriptor'.
7-
node_modules/graceful-fs/graceful-fs.js(26,3): error TS2322: Type '(msg: string, ...param: any[]) => void' is not assignable to type '() => void'.
8-
node_modules/graceful-fs/graceful-fs.js(29,37): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any, ...any[]]'.
9-
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'.
10-
node_modules/graceful-fs/graceful-fs.js(70,30): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[number]'.
11-
node_modules/graceful-fs/graceful-fs.js(82,13): error TS2554: Expected 0 arguments, but got 1.
12-
node_modules/graceful-fs/graceful-fs.js(89,54): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
13-
node_modules/graceful-fs/graceful-fs.js(91,8): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
14-
node_modules/graceful-fs/graceful-fs.js(199,5): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
15-
node_modules/graceful-fs/graceful-fs.js(200,5): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
16-
node_modules/graceful-fs/graceful-fs.js(220,7): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
17-
node_modules/graceful-fs/graceful-fs.js(230,7): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
18-
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[]]'.
19-
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[]]'.
20-
node_modules/graceful-fs/graceful-fs.js(336,9): error TS2554: Expected 0 arguments, but got 3.
21-
node_modules/graceful-fs/graceful-fs.js(343,11): error TS2554: Expected 0 arguments, but got 3.
7+
node_modules/graceful-fs/graceful-fs.js(34,3): error TS2322: Type '(msg: string, ...param: any[]) => void' is not assignable to type '() => void'.
8+
node_modules/graceful-fs/graceful-fs.js(37,37): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any, ...any[]]'.
9+
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'.
10+
node_modules/graceful-fs/graceful-fs.js(74,30): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[number]'.
11+
node_modules/graceful-fs/graceful-fs.js(86,13): error TS2554: Expected 0 arguments, but got 1.
12+
node_modules/graceful-fs/graceful-fs.js(97,54): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
13+
node_modules/graceful-fs/graceful-fs.js(99,8): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
14+
node_modules/graceful-fs/graceful-fs.js(207,5): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
15+
node_modules/graceful-fs/graceful-fs.js(208,5): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
16+
node_modules/graceful-fs/graceful-fs.js(228,7): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
17+
node_modules/graceful-fs/graceful-fs.js(238,7): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
18+
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[]]'.
19+
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[]]'.
20+
node_modules/graceful-fs/graceful-fs.js(344,9): error TS2554: Expected 0 arguments, but got 3.
21+
node_modules/graceful-fs/graceful-fs.js(351,11): error TS2554: Expected 0 arguments, but got 3.
2222

2323

2424

tests/baselines/reference/user/uglify-js.log

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ node_modules/uglify-js/lib/compress.js(1684,38): error TS2339: Property 'parent'
4141
node_modules/uglify-js/lib/compress.js(1700,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
4242
node_modules/uglify-js/lib/compress.js(1797,42): error TS2554: Expected 0 arguments, but got 1.
4343
node_modules/uglify-js/lib/compress.js(1828,41): error TS2554: Expected 0 arguments, but got 1.
44-
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)?]'.
45-
Property '0' is missing in type 'number[]' but required in type '[number, (number | undefined)?]'.
44+
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[]]'.
45+
Type 'number[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
4646
node_modules/uglify-js/lib/compress.js(2281,59): error TS2554: Expected 0 arguments, but got 1.
47-
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)?]'.
48-
Property '0' is missing in type 'any[]' but required in type '[number, (number | undefined)?]'.
47+
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[]]'.
48+
Type 'any[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
4949
node_modules/uglify-js/lib/compress.js(2467,34): error TS2554: Expected 0 arguments, but got 1.
5050
node_modules/uglify-js/lib/compress.js(2912,35): error TS2554: Expected 2 arguments, but got 1.
5151
node_modules/uglify-js/lib/compress.js(3256,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.

0 commit comments

Comments
 (0)