Skip to content

Commit d3855d6

Browse files
committed
Update user baselines
1 parent ea4e6b3 commit d3855d6

File tree

2 files changed

+58
-66
lines changed

2 files changed

+58
-66
lines changed

tests/baselines/reference/user/npm.log

-8
Original file line numberDiff line numberDiff line change
@@ -925,14 +925,6 @@ node_modules/npm/lib/whoami.js(18,18): error TS2339: Property 'config' does not
925925
node_modules/npm/lib/whoami.js(24,18): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'.
926926
node_modules/npm/lib/whoami.js(30,26): error TS2339: Property 'code' does not exist on type 'Error'.
927927
node_modules/npm/lib/whoami.js(45,12): error TS2339: Property 'code' does not exist on type 'Error'.
928-
node_modules/npm/scripts/index-build.js(20,13): error TS2531: Object is possibly 'null'.
929-
node_modules/npm/scripts/index-build.js(20,22): error TS2531: Object is possibly 'null'.
930-
node_modules/npm/scripts/index-build.js(21,30): error TS2531: Object is possibly 'null'.
931-
node_modules/npm/scripts/index-build.js(22,29): error TS2531: Object is possibly 'null'.
932-
node_modules/npm/scripts/index-build.js(23,15): error TS2531: Object is possibly 'null'.
933-
node_modules/npm/scripts/index-build.js(23,22): error TS2531: Object is possibly 'null'.
934-
node_modules/npm/scripts/index-build.js(24,15): error TS2531: Object is possibly 'null'.
935-
node_modules/npm/scripts/index-build.js(24,22): error TS2531: Object is possibly 'null'.
936928
node_modules/npm/scripts/publish-tag.js(2,36): error TS2732: Cannot find module '../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension
937929
node_modules/npm/test/broken-under-nyc-and-travis/lifecycle-path.js(7,20): error TS2307: Cannot find module 'tap'.
938930
node_modules/npm/test/broken-under-nyc-and-travis/lifecycle-path.js(18,23): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.

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

+58-58
Original file line numberDiff line numberDiff line change
@@ -9,69 +9,69 @@ node_modules/uglify-js/lib/ast.js(968,25): error TS2339: Property 'self' does no
99
node_modules/uglify-js/lib/ast.js(969,37): error TS2339: Property 'parent' does not exist on type 'TreeWalker'.
1010
node_modules/uglify-js/lib/ast.js(985,31): error TS2339: Property 'parent' does not exist on type 'TreeWalker'.
1111
node_modules/uglify-js/lib/ast.js(989,29): error TS2339: Property 'parent' does not exist on type 'TreeWalker'.
12-
node_modules/uglify-js/lib/compress.js(185,42): error TS2554: Expected 0 arguments, but got 1.
13-
node_modules/uglify-js/lib/compress.js(536,41): error TS2554: Expected 0 arguments, but got 1.
14-
node_modules/uglify-js/lib/compress.js(862,33): error TS2554: Expected 0 arguments, but got 1.
15-
node_modules/uglify-js/lib/compress.js(1124,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
16-
node_modules/uglify-js/lib/compress.js(1140,51): error TS2349: This expression is not callable.
12+
node_modules/uglify-js/lib/compress.js(187,42): error TS2554: Expected 0 arguments, but got 1.
13+
node_modules/uglify-js/lib/compress.js(538,41): error TS2554: Expected 0 arguments, but got 1.
14+
node_modules/uglify-js/lib/compress.js(864,33): error TS2554: Expected 0 arguments, but got 1.
15+
node_modules/uglify-js/lib/compress.js(1128,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
16+
node_modules/uglify-js/lib/compress.js(1144,51): error TS2349: This expression is not callable.
1717
Not all constituents of type 'true | ((node: any) => any)' are callable.
1818
Type 'true' has no call signatures.
19-
node_modules/uglify-js/lib/compress.js(1204,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
20-
node_modules/uglify-js/lib/compress.js(1246,112): error TS2454: Variable 'args' is used before being assigned.
21-
node_modules/uglify-js/lib/compress.js(1247,29): error TS2532: Object is possibly 'undefined'.
22-
node_modules/uglify-js/lib/compress.js(1256,87): error TS2322: Type 'false' is not assignable to type 'number'.
23-
node_modules/uglify-js/lib/compress.js(1264,29): error TS2322: Type 'false' is not assignable to type 'never'.
24-
node_modules/uglify-js/lib/compress.js(1375,53): error TS2554: Expected 0 arguments, but got 1.
25-
node_modules/uglify-js/lib/compress.js(1476,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
26-
node_modules/uglify-js/lib/compress.js(1498,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
27-
node_modules/uglify-js/lib/compress.js(1580,42): error TS2554: Expected 0 arguments, but got 1.
28-
node_modules/uglify-js/lib/compress.js(1613,41): error TS2554: Expected 0 arguments, but got 1.
29-
node_modules/uglify-js/lib/compress.js(1735,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'.
19+
node_modules/uglify-js/lib/compress.js(1207,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
20+
node_modules/uglify-js/lib/compress.js(1249,112): error TS2454: Variable 'args' is used before being assigned.
21+
node_modules/uglify-js/lib/compress.js(1250,29): error TS2532: Object is possibly 'undefined'.
22+
node_modules/uglify-js/lib/compress.js(1259,87): error TS2322: Type 'false' is not assignable to type 'number'.
23+
node_modules/uglify-js/lib/compress.js(1267,29): error TS2322: Type 'false' is not assignable to type 'never'.
24+
node_modules/uglify-js/lib/compress.js(1382,53): error TS2554: Expected 0 arguments, but got 1.
25+
node_modules/uglify-js/lib/compress.js(1483,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
26+
node_modules/uglify-js/lib/compress.js(1505,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
27+
node_modules/uglify-js/lib/compress.js(1587,42): error TS2554: Expected 0 arguments, but got 1.
28+
node_modules/uglify-js/lib/compress.js(1620,41): error TS2554: Expected 0 arguments, but got 1.
29+
node_modules/uglify-js/lib/compress.js(1746,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'.
3030
Type 'number[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
31-
node_modules/uglify-js/lib/compress.js(2065,59): error TS2554: Expected 0 arguments, but got 1.
32-
node_modules/uglify-js/lib/compress.js(2103,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'.
31+
node_modules/uglify-js/lib/compress.js(2076,59): error TS2554: Expected 0 arguments, but got 1.
32+
node_modules/uglify-js/lib/compress.js(2114,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'.
3333
Type 'any[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
34-
node_modules/uglify-js/lib/compress.js(2251,34): error TS2554: Expected 0 arguments, but got 1.
35-
node_modules/uglify-js/lib/compress.js(2950,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
36-
node_modules/uglify-js/lib/compress.js(2951,25): error TS2531: Object is possibly 'null'.
37-
node_modules/uglify-js/lib/compress.js(2951,55): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
38-
node_modules/uglify-js/lib/compress.js(2951,56): error TS2531: Object is possibly 'null'.
39-
node_modules/uglify-js/lib/compress.js(2992,42): error TS2554: Expected 0 arguments, but got 1.
40-
node_modules/uglify-js/lib/compress.js(3072,33): error TS2532: Object is possibly 'undefined'.
41-
node_modules/uglify-js/lib/compress.js(3478,38): error TS2554: Expected 0 arguments, but got 1.
42-
node_modules/uglify-js/lib/compress.js(3504,29): error TS2322: Type '"f"' is not assignable to type 'boolean'.
43-
node_modules/uglify-js/lib/compress.js(3637,33): error TS2554: Expected 0 arguments, but got 1.
44-
node_modules/uglify-js/lib/compress.js(3690,29): error TS2554: Expected 0 arguments, but got 1.
45-
node_modules/uglify-js/lib/compress.js(3708,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
46-
node_modules/uglify-js/lib/compress.js(3733,75): error TS2554: Expected 0 arguments, but got 1.
47-
node_modules/uglify-js/lib/compress.js(3808,63): error TS2554: Expected 0 arguments, but got 1.
48-
node_modules/uglify-js/lib/compress.js(3933,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'.
49-
node_modules/uglify-js/lib/compress.js(4012,38): error TS2554: Expected 0 arguments, but got 1.
50-
node_modules/uglify-js/lib/compress.js(4033,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
51-
node_modules/uglify-js/lib/compress.js(4043,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
52-
node_modules/uglify-js/lib/compress.js(4277,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead.
53-
node_modules/uglify-js/lib/compress.js(4340,45): error TS2554: Expected 0 arguments, but got 1.
54-
node_modules/uglify-js/lib/compress.js(4451,33): error TS2554: Expected 0 arguments, but got 1.
55-
node_modules/uglify-js/lib/compress.js(4648,33): error TS2554: Expected 0 arguments, but got 1.
56-
node_modules/uglify-js/lib/compress.js(4794,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'.
57-
node_modules/uglify-js/lib/compress.js(4879,37): error TS2554: Expected 0 arguments, but got 1.
58-
node_modules/uglify-js/lib/compress.js(5087,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[string | RegExp, (string | undefined)?]'.
34+
node_modules/uglify-js/lib/compress.js(2262,34): error TS2554: Expected 0 arguments, but got 1.
35+
node_modules/uglify-js/lib/compress.js(2968,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
36+
node_modules/uglify-js/lib/compress.js(2969,25): error TS2531: Object is possibly 'null'.
37+
node_modules/uglify-js/lib/compress.js(2969,55): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
38+
node_modules/uglify-js/lib/compress.js(2969,56): error TS2531: Object is possibly 'null'.
39+
node_modules/uglify-js/lib/compress.js(3010,42): error TS2554: Expected 0 arguments, but got 1.
40+
node_modules/uglify-js/lib/compress.js(3090,33): error TS2532: Object is possibly 'undefined'.
41+
node_modules/uglify-js/lib/compress.js(3497,38): error TS2554: Expected 0 arguments, but got 1.
42+
node_modules/uglify-js/lib/compress.js(3523,29): error TS2322: Type '"f"' is not assignable to type 'boolean'.
43+
node_modules/uglify-js/lib/compress.js(3656,33): error TS2554: Expected 0 arguments, but got 1.
44+
node_modules/uglify-js/lib/compress.js(3709,29): error TS2554: Expected 0 arguments, but got 1.
45+
node_modules/uglify-js/lib/compress.js(3727,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
46+
node_modules/uglify-js/lib/compress.js(3762,75): error TS2554: Expected 0 arguments, but got 1.
47+
node_modules/uglify-js/lib/compress.js(3837,63): error TS2554: Expected 0 arguments, but got 1.
48+
node_modules/uglify-js/lib/compress.js(3967,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'.
49+
node_modules/uglify-js/lib/compress.js(4059,38): error TS2554: Expected 0 arguments, but got 1.
50+
node_modules/uglify-js/lib/compress.js(4080,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
51+
node_modules/uglify-js/lib/compress.js(4090,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
52+
node_modules/uglify-js/lib/compress.js(4324,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead.
53+
node_modules/uglify-js/lib/compress.js(4387,45): error TS2554: Expected 0 arguments, but got 1.
54+
node_modules/uglify-js/lib/compress.js(4498,33): error TS2554: Expected 0 arguments, but got 1.
55+
node_modules/uglify-js/lib/compress.js(4695,33): error TS2554: Expected 0 arguments, but got 1.
56+
node_modules/uglify-js/lib/compress.js(4841,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'.
57+
node_modules/uglify-js/lib/compress.js(4934,37): error TS2554: Expected 0 arguments, but got 1.
58+
node_modules/uglify-js/lib/compress.js(5155,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[string | RegExp, (string | undefined)?]'.
5959
Property '0' is missing in type 'any[]' but required in type '[string | RegExp, (string | undefined)?]'.
60-
node_modules/uglify-js/lib/compress.js(5251,45): error TS2554: Expected 0 arguments, but got 1.
61-
node_modules/uglify-js/lib/compress.js(5258,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: () => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'.
62-
node_modules/uglify-js/lib/compress.js(5262,36): error TS2532: Object is possibly 'undefined'.
63-
node_modules/uglify-js/lib/compress.js(5267,41): error TS2339: Property 'get' does not exist on type 'string'.
64-
node_modules/uglify-js/lib/compress.js(5784,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned.
65-
node_modules/uglify-js/lib/compress.js(6334,25): error TS2367: This condition will always return 'false' since the types 'boolean' and 'string' have no overlap.
66-
node_modules/uglify-js/lib/compress.js(6362,47): error TS2554: Expected 0 arguments, but got 1.
67-
node_modules/uglify-js/lib/compress.js(6437,39): error TS2554: Expected 0 arguments, but got 1.
68-
node_modules/uglify-js/lib/compress.js(6509,39): error TS2554: Expected 0 arguments, but got 1.
69-
node_modules/uglify-js/lib/compress.js(6515,41): error TS2554: Expected 0 arguments, but got 1.
70-
node_modules/uglify-js/lib/compress.js(6975,43): error TS2454: Variable 'property' is used before being assigned.
71-
node_modules/uglify-js/lib/compress.js(6990,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
72-
node_modules/uglify-js/lib/compress.js(6993,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'.
73-
node_modules/uglify-js/lib/compress.js(6999,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
74-
node_modules/uglify-js/lib/compress.js(7037,34): error TS2554: Expected 0 arguments, but got 1.
60+
node_modules/uglify-js/lib/compress.js(5319,45): error TS2554: Expected 0 arguments, but got 1.
61+
node_modules/uglify-js/lib/compress.js(5326,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: () => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'.
62+
node_modules/uglify-js/lib/compress.js(5330,36): error TS2532: Object is possibly 'undefined'.
63+
node_modules/uglify-js/lib/compress.js(5335,41): error TS2339: Property 'get' does not exist on type 'string'.
64+
node_modules/uglify-js/lib/compress.js(5841,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned.
65+
node_modules/uglify-js/lib/compress.js(6384,25): error TS2367: This condition will always return 'false' since the types 'boolean' and 'string' have no overlap.
66+
node_modules/uglify-js/lib/compress.js(6413,47): error TS2554: Expected 0 arguments, but got 1.
67+
node_modules/uglify-js/lib/compress.js(6488,39): error TS2554: Expected 0 arguments, but got 1.
68+
node_modules/uglify-js/lib/compress.js(6560,39): error TS2554: Expected 0 arguments, but got 1.
69+
node_modules/uglify-js/lib/compress.js(6566,41): error TS2554: Expected 0 arguments, but got 1.
70+
node_modules/uglify-js/lib/compress.js(7026,43): error TS2454: Variable 'property' is used before being assigned.
71+
node_modules/uglify-js/lib/compress.js(7041,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
72+
node_modules/uglify-js/lib/compress.js(7044,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'.
73+
node_modules/uglify-js/lib/compress.js(7050,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
74+
node_modules/uglify-js/lib/compress.js(7083,34): error TS2554: Expected 0 arguments, but got 1.
7575
node_modules/uglify-js/lib/minify.js(186,75): error TS2339: Property 'compress' does not exist on type 'Compressor'.
7676
node_modules/uglify-js/lib/mozilla-ast.js(566,33): error TS2554: Expected 0 arguments, but got 1.
7777
node_modules/uglify-js/lib/output.js(232,25): error TS2554: Expected 0 arguments, but got 2.

0 commit comments

Comments
 (0)