Skip to content

Commit 081a456

Browse files
Update user baselines
1 parent c526b42 commit 081a456

13 files changed

+168
-190
lines changed

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

+7-7
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.12 build /vue-next
4+
> @X.X.X-beta.14 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
@@ -106,22 +106,22 @@ created packages/reactivity/dist/reactivity.global.prod.js in ?s
106106
packages/runtime-core/src/apiInject.ts
107107
Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.
108108
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:161:30)
109-
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16989:12)
110-
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:18021:24)
111-
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17162:38)
109+
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17041:12)
110+
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:18072:24)
111+
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17214:38)
112112
at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18)
113113
at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11
114114
at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11)
115115
at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14)
116116
at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2)
117117
at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5)
118-
(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:74ed7d1,NODE_ENV:production,TARGET:runtime-core,TYPES:true
118+
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:2b2beb9,NODE_ENV:production,TARGET:runtime-core,TYPES:true
119119
at makeError (/vue-next/node_modules/execa/lib/error.js:59:11)
120120
at handlePromise (/vue-next/node_modules/execa/index.js:112:26)
121121
at processTicksAndRejections (internal/process/task_queues.js:97:5)
122122
at async build (/vue-next/scripts/build.js:71:3)
123123
at async buildAll (/vue-next/scripts/build.js:50:5)
124124
at async run (/vue-next/scripts/build.js:40:5)
125125
(Use `node --trace-warnings ...` to show where the warning was created)
126-
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
127-
(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
126+
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
127+
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

tests/baselines/reference/user/acorn.log

+4-4
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ node_modules/acorn/acorn/dist/bin.js(58,23): error TS2769: No overload matches t
118118
Overload 1 of 3, '(path: string | number | Buffer | URL, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error.
119119
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
120120
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
121-
Overload 2 of 3, '(path: string | number | Buffer | URL, options: string | { encoding: string; flag?: string | undefined; }): string', gave the following error.
121+
Overload 2 of 3, '(path: string | number | Buffer | URL, options: { encoding: BufferEncoding; flag?: string | undefined; } | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | ... 4 more ... | "hex"): string', gave the following error.
122122
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
123123
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
124-
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: string | { encoding?: string | null | undefined; flag?: string | undefined; } | null | undefined): string | Buffer', gave the following error.
124+
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | (BaseEncodingOptions & { ...; }) | null | undefined): string | Buffer', gave the following error.
125125
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
126126
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
127127
node_modules/acorn/bin/_acorn.js(51,30): error TS2339: Property 'getToken' does not exist on type 'Parser'.
@@ -135,10 +135,10 @@ node_modules/acorn/bin/_acorn.js(63,23): error TS2769: No overload matches this
135135
Overload 1 of 3, '(path: string | number | Buffer | URL, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error.
136136
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
137137
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
138-
Overload 2 of 3, '(path: string | number | Buffer | URL, options: string | { encoding: string; flag?: string | undefined; }): string', gave the following error.
138+
Overload 2 of 3, '(path: string | number | Buffer | URL, options: { encoding: BufferEncoding; flag?: string | undefined; } | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | ... 4 more ... | "hex"): string', gave the following error.
139139
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
140140
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
141-
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: string | { encoding?: string | null | undefined; flag?: string | undefined; } | null | undefined): string | Buffer', gave the following error.
141+
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | (BaseEncodingOptions & { ...; }) | null | undefined): string | Buffer', gave the following error.
142142
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
143143
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
144144
node_modules/acorn/bin/run_test262.js(3,21): error TS2307: Cannot find module 'test262-parser-runner' or its corresponding type declarations.

tests/baselines/reference/user/adonis-framework.log

+4-3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ node_modules/adonis-framework/src/Encryption/index.js(101,62): error TS2769: No
3535
Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'.
3636
node_modules/adonis-framework/src/Encryption/index.js(102,5): error TS2322: Type 'string' is not assignable to type 'Buffer & string'.
3737
Type 'string' is not assignable to type 'Buffer'.
38+
node_modules/adonis-framework/src/Encryption/index.js(102,33): error TS2345: Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
3839
node_modules/adonis-framework/src/Encryption/index.js(114,15): error TS2304: Cannot find name 'Mixed'.
3940
node_modules/adonis-framework/src/Encryption/index.js(119,23): error TS2554: Expected 2 arguments, but got 1.
4041
node_modules/adonis-framework/src/Encryption/index.js(183,15): error TS2304: Cannot find name 'Mixed'.
@@ -56,8 +57,8 @@ node_modules/adonis-framework/src/Event/index.js(207,24): error TS2304: Cannot f
5657
node_modules/adonis-framework/src/Event/index.js(256,52): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
5758
Type 'Function' provides no match for the signature '(...values: any[]): void'.
5859
node_modules/adonis-framework/src/Event/index.js(264,28): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
59-
node_modules/adonis-framework/src/Event/index.js(271,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[string, any, TimerHandler]'.
60-
node_modules/adonis-framework/src/Event/index.js(278,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[string, any, TimerHandler]'.
60+
node_modules/adonis-framework/src/Event/index.js(271,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: string, name: any, handler: TimerHandler]'.
61+
node_modules/adonis-framework/src/Event/index.js(278,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: string, name: any, handler: TimerHandler]'.
6162
node_modules/adonis-framework/src/Event/index.js(294,30): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
6263
node_modules/adonis-framework/src/Exceptions/index.js(13,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
6364
node_modules/adonis-framework/src/Exceptions/index.js(27,21): error TS2554: Expected 0 arguments, but got 3.
@@ -89,7 +90,7 @@ node_modules/adonis-framework/src/Helpers/index.js(240,45): error TS2345: Argume
8990
Type 'undefined' is not assignable to type 'string'.
9091
node_modules/adonis-framework/src/Helpers/index.js(256,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
9192
Type 'undefined' is not assignable to type 'string'.
92-
node_modules/adonis-framework/src/Helpers/index.js(330,23): error TS2532: Object is possibly 'undefined'.
93+
node_modules/adonis-framework/src/Helpers/index.js(330,31): error TS2339: Property 'mainModule' does not exist on type 'Process'.
9394
node_modules/adonis-framework/src/Middleware/index.js(13,21): error TS2307: Cannot find module 'adonis-fold' or its corresponding type declarations.
9495
node_modules/adonis-framework/src/Middleware/index.js(87,38): error TS1016: A required parameter cannot follow an optional parameter.
9596
node_modules/adonis-framework/src/Middleware/index.js(230,20): error TS8024: JSDoc '@param' tag has name 'Middleware', but there is no parameter with that name.
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Exit Code: 1
2+
Standard output:
3+
node_modules/antd/lib/upload/Upload.d.ts(2,22): error TS7016: Could not find a declaration file for module 'rc-upload'. '../../../tests/cases/user/antd/node_modules/rc-upload/lib/index.js' implicitly has an 'any' type.
4+
Try `npm install @types/rc-upload` if it exists or add a new declaration (.d.ts) file containing `declare module 'rc-upload';`
5+
6+
7+
8+
Standard error:

tests/baselines/reference/user/bluebird.log

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ node_modules/bluebird/js/release/bluebird.js(5,15): error TS2367: This condition
55
node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noConflict' does not exist on type 'typeof Promise'.
66
node_modules/bluebird/js/release/debuggability.js(225,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
77
node_modules/bluebird/js/release/debuggability.js(232,26): error TS2339: Property 'detail' does not exist on type 'Event'.
8-
node_modules/bluebird/js/release/debuggability.js(258,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '["multipleResolves", MultipleResolveListener]'.
8+
node_modules/bluebird/js/release/debuggability.js(258,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: "multipleResolves", listener: MultipleResolveListener]'.
99
node_modules/bluebird/js/release/debuggability.js(301,9): error TS2322: Type 'Process' is not assignable to type 'boolean'.
10-
node_modules/bluebird/js/release/debuggability.js(301,28): error TS2684: The 'this' context of type '((...args: any[]) => Process) | ((name: any, ...args: any[]) => boolean)' is not assignable to method's 'this' of type '(this: null, name?: any, ...args: any[]) => Process'.
11-
Type '(name: any, ...args: any[]) => boolean' is not assignable to type '(this: null, name?: any, ...args: any[]) => Process'.
10+
node_modules/bluebird/js/release/debuggability.js(301,28): error TS2684: The 'this' context of type '((...args: any[]) => Process) | ((name: any, ...args: any[]) => boolean)' is not assignable to method's 'this' of type '(this: null, args_0?: any, ...args_1: any[]) => Process'.
11+
Type '(name: any, ...args: any[]) => boolean' is not assignable to type '(this: null, args_0?: any, ...args_1: any[]) => Process'.
1212
Type 'boolean' is not assignable to type 'Process'.
1313
node_modules/bluebird/js/release/debuggability.js(562,19): error TS2350: Only a void function can be called with the 'new' keyword.
1414
node_modules/bluebird/js/release/debuggability.js(633,59): error TS2554: Expected 0 arguments, but got 1.

tests/baselines/reference/user/chrome-devtools-frontend.log

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(270,9): error TS2322:
1212
node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
1313
node_modules/chrome-devtools-frontend/front_end/Runtime.js(283,12): error TS2554: Expected 2-3 arguments, but got 1.
1414
node_modules/chrome-devtools-frontend/front_end/Runtime.js(525,9): error TS2322: Type 'Window' is not assignable to type 'Window & typeof globalThis'.
15-
Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 871 more.
15+
Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 872 more.
1616
node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,49): error TS2352: Conversion of type 'Window & typeof globalThis' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
1717
Type 'Window & typeof globalThis' provides no match for the signature 'new (): any'.
1818
node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable.
@@ -622,7 +622,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js
622622
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(51,25): error TS2339: Property 'runLighthouseInWorker' does not exist on type 'Window & typeof globalThis'.
623623
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(52,27): error TS2503: Cannot find namespace 'ReportRenderer'.
624624
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(113,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
625-
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(128,1): error TS2739: Type 'Window & typeof globalThis' is missing the following properties from type 'Global': Buffer, GLOBAL, String, root, gc
625+
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(128,1): error TS2739: Type 'Window & typeof globalThis' is missing the following properties from type 'Global': Buffer, String, gc
626626
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(129,8): error TS2339: Property 'isVinn' does not exist on type 'Global'.
627627
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(130,8): error TS2339: Property 'document' does not exist on type 'Global'.
628628
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(131,8): error TS2339: Property 'document' does not exist on type 'Global'.

tests/baselines/reference/user/debug.log

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ node_modules/debug/dist/debug.js(733,82): error TS2339: Property 'type' does not
3939
node_modules/debug/dist/debug.js(733,120): error TS2339: Property '__nwjs' does not exist on type 'Process'.
4040
node_modules/debug/dist/debug.js(744,146): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'?
4141
node_modules/debug/dist/debug.js(745,78): error TS2339: Property 'firebug' does not exist on type 'Console'.
42-
node_modules/debug/dist/debug.js(799,156): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, ...any[]]'.
42+
node_modules/debug/dist/debug.js(799,156): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[message?: any, ...optionalParams: any[]]'.
4343
node_modules/debug/dist/debug.js(851,21): error TS2304: Cannot find name 'LocalStorage'.
4444
node_modules/debug/src/browser.js(3,100): error TS2539: Cannot assign to '_typeof' because it is not a variable.
4545
node_modules/debug/src/browser.js(3,165): error TS2539: Cannot assign to '_typeof' because it is not a variable.
4646
node_modules/debug/src/browser.js(34,74): error TS2339: Property 'type' does not exist on type 'Process'.
4747
node_modules/debug/src/browser.js(34,112): error TS2339: Property '__nwjs' does not exist on type 'Process'.
4848
node_modules/debug/src/browser.js(45,138): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'?
4949
node_modules/debug/src/browser.js(46,70): error TS2339: Property 'firebug' does not exist on type 'Console'.
50-
node_modules/debug/src/browser.js(100,148): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, ...any[]]'.
50+
node_modules/debug/src/browser.js(100,148): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[message?: any, ...optionalParams: any[]]'.
5151
node_modules/debug/src/browser.js(152,13): error TS2304: Cannot find name 'LocalStorage'.
5252
node_modules/debug/src/common.js(51,24): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
5353
node_modules/debug/src/common.js(51,60): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
@@ -77,7 +77,7 @@ node_modules/debug/src/node.js(56,5): error TS2322: Type 'false' is not assignab
7777
node_modules/debug/src/node.js(58,5): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
7878
node_modules/debug/src/node.js(60,5): error TS2322: Type 'number' is not assignable to type 'string | undefined'.
7979
node_modules/debug/src/node.js(71,108): error TS2339: Property 'fd' does not exist on type 'WriteStream'.
80-
node_modules/debug/src/node.js(108,55): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any, ...any[]]'.
80+
node_modules/debug/src/node.js(108,55): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[format: any, ...param: any[]]'.
8181
node_modules/debug/src/node.js(136,3): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
8282
Type 'undefined' is not assignable to type 'string'.
8383

0 commit comments

Comments
 (0)