Skip to content

Commit c466a45

Browse files
authored
Update user test baselines (#23181)
* Update user test baselines * Remove outdated error
1 parent a7a01ea commit c466a45

17 files changed

+5102
-6726
lines changed

tests/baselines/reference/user/acorn.log

Lines changed: 92 additions & 235 deletions
Large diffs are not rendered by default.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Exit Code: 1
2+
Standard output:
3+
node_modules/antd/lib/badge/ScrollNumber.d.ts(28,81): error TS2344: Type '{ className: string; style: { transition: string | boolean; msTransform: string; WebkitTransform:...' does not satisfy the constraint 'HTMLAttributes<HTMLElement>'.
4+
Types of property 'style' are incompatible.
5+
Type '{ transition: string | boolean; msTransform: string; WebkitTransform: string; transform: string; }' is not assignable to type 'CSSProperties | undefined'.
6+
Type '{ transition: string | boolean; msTransform: string; WebkitTransform: string; transform: string; }' is not assignable to type 'CSSProperties'.
7+
Types of property 'transition' are incompatible.
8+
Type 'string | boolean' is not assignable to type 'string | undefined'.
9+
Type 'true' is not assignable to type 'string | undefined'.
10+
node_modules/antd/lib/badge/ScrollNumber.d.ts(38,77): error TS2344: Type '{ className: string; style: { transition: string | boolean; msTransform: string; WebkitTransform:...' does not satisfy the constraint 'HTMLAttributes<HTMLElement>'.
11+
Types of property 'style' are incompatible.
12+
Type '{ transition: string | boolean; msTransform: string; WebkitTransform: string; transform: string; }' is not assignable to type 'CSSProperties | undefined'.
13+
Type '{ transition: string | boolean; msTransform: string; WebkitTransform: string; transform: string; }' is not assignable to type 'CSSProperties'.
14+
Types of property 'transition' are incompatible.
15+
Type 'string | boolean' is not assignable to type 'string | undefined'.
16+
Type 'true' is not assignable to type 'string | undefined'.
17+
18+
19+
20+
Standard error:

tests/baselines/reference/user/async.log

Lines changed: 125 additions & 141 deletions
Large diffs are not rendered by default.

tests/baselines/reference/user/bcryptjs.log

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Exit Code: 1
22
Standard output:
33
../../../../node_modules/@types/node/index.d.ts(138,13): error TS2300: Duplicate identifier 'require'.
4-
../../../../node_modules/@types/node/index.d.ts(150,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{ exports: any; }', but here has type 'NodeModule'.
5-
../../../../node_modules/@types/node/index.d.ts(174,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Buffer' must be of type '(s: string) => void', but here has type '{ new (str: string, encoding?: string | undefined): Buffer; new (size: number): Buffer; new (arra...'.
4+
../../../../node_modules/@types/node/index.d.ts(150,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type 'Module', but here has type 'NodeModule'.
5+
../../../../node_modules/@types/node/index.d.ts(174,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Buffer' must be of type 'typeof Buffer', but here has type '{ new (str: string, encoding?: string | undefined): Buffer; new (size: number): Buffer; new (arra...'.
66
node_modules/bcryptjs/dist/bcrypt.js(37,16): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'string'.
77
node_modules/bcryptjs/dist/bcrypt.js(134,18): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
88
node_modules/bcryptjs/dist/bcrypt.js(165,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
@@ -12,11 +12,6 @@ node_modules/bcryptjs/dist/bcrypt.js(200,18): error TS2366: Function lacks endin
1212
node_modules/bcryptjs/dist/bcrypt.js(222,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
1313
node_modules/bcryptjs/dist/bcrypt.js(278,18): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
1414
node_modules/bcryptjs/dist/bcrypt.js(306,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
15-
node_modules/bcryptjs/dist/bcrypt.js(348,25): error TS8028: JSDoc '...' may only appear in the last parameter of a signature.
16-
node_modules/bcryptjs/dist/bcrypt.js(401,9): error TS2322: Type '(...codes: number[]) => string' is not assignable to type '(arg0: number | undefined) => string'.
17-
Types of parameters 'codes' and 'arg0' are incompatible.
18-
Type 'number | undefined' is not assignable to type 'number'.
19-
Type 'undefined' is not assignable to type 'number'.
2015
node_modules/bcryptjs/dist/bcrypt.js(563,42): error TS2531: Object is possibly 'null'.
2116
node_modules/bcryptjs/dist/bcrypt.js(566,44): error TS2531: Object is possibly 'null'.
2217
node_modules/bcryptjs/dist/bcrypt.js(566,59): error TS2533: Object is possibly 'null' or 'undefined'.
@@ -45,7 +40,6 @@ node_modules/bcryptjs/externs/minimal-env.js(65,8): error TS2339: Property 'rand
4540
node_modules/bcryptjs/externs/minimal-env.js(70,8): error TS2540: Cannot assign to 'crypto' because it is a constant or a read-only property.
4641
node_modules/bcryptjs/externs/minimal-env.js(75,1): error TS2322: Type '(array: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array) => void' is not assignable to type '(array: DataView | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32A...'.
4742
Type 'void' is not assignable to type 'DataView | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | U...'.
48-
node_modules/bcryptjs/externs/minimal-env.js(79,21): error TS8028: JSDoc '...' may only appear in the last parameter of a signature.
4943
node_modules/bcryptjs/externs/minimal-env.js(90,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
5044
node_modules/bcryptjs/externs/minimal-env.js(92,8): error TS2339: Property 'fromCodePoint' does not exist on type 'StringConstructor'.
5145
node_modules/bcryptjs/externs/minimal-env.js(96,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
@@ -90,12 +84,7 @@ node_modules/bcryptjs/src/bcrypt/prng/accum.js(53,22): error TS2339: Property 'a
9084
node_modules/bcryptjs/src/bcrypt/prng/accum.js(65,74): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
9185
node_modules/bcryptjs/src/bcrypt/prng/accum.js(66,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
9286
node_modules/bcryptjs/src/bcrypt/prng/accum.js(67,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
93-
node_modules/bcryptjs/src/bcrypt/util.js(4,21): error TS8028: JSDoc '...' may only appear in the last parameter of a signature.
9487
node_modules/bcryptjs/src/bcrypt/util.js(20,5): error TS2304: Cannot find name 'utfx'.
95-
node_modules/bcryptjs/src/bcrypt/util/base64.js(29,5): error TS2322: Type '(...codes: number[]) => string' is not assignable to type '(arg0: number | undefined) => string'.
96-
Types of parameters 'codes' and 'arg0' are incompatible.
97-
Type 'number | undefined' is not assignable to type 'number'.
98-
Type 'undefined' is not assignable to type 'number'.
9988
node_modules/bcryptjs/src/wrap.js(38,16): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'string'.
10089
node_modules/bcryptjs/tests/suite.js(4,27): error TS2339: Property 'join' does not exist on type 'void'.
10190
node_modules/bcryptjs/tests/suite.js(15,26): error TS2339: Property 'encodeBase64' does not exist on type 'void'.

0 commit comments

Comments
 (0)