forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 4
/
uglify-js.log
132 lines (129 loc) · 13.9 KB
/
uglify-js.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Exit Code: 1
Standard output:
node_modules/uglify-js/lib/ast.js(223,38): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/ast.js(905,5): error TS2322: Type '{ _visit: (node: any, descend: any) => any; parent: (n: any) => any; push: typeof push; pop: typeof pop; self: () => any; find_parent: (type: any) => any; has_directive: (type: any) => any; loopcontrol_target: (node: any) => any; in_boolean_context: () => boolean | undefined; }' is not assignable to type 'TreeWalker'.
Object literal may only specify known properties, but '_visit' does not exist in type 'TreeWalker'. Did you mean to write 'visit'?
node_modules/uglify-js/lib/ast.js(906,14): error TS2339: Property 'push' does not exist on type 'TreeWalker'.
node_modules/uglify-js/lib/ast.js(913,14): error TS2339: Property 'pop' does not exist on type 'TreeWalker'.
node_modules/uglify-js/lib/ast.js(968,25): error TS2339: Property 'self' does not exist on type 'TreeWalker'.
node_modules/uglify-js/lib/ast.js(969,37): error TS2339: Property 'parent' does not exist on type 'TreeWalker'.
node_modules/uglify-js/lib/ast.js(985,31): error TS2339: Property 'parent' does not exist on type 'TreeWalker'.
node_modules/uglify-js/lib/ast.js(989,29): error TS2339: Property 'parent' does not exist on type 'TreeWalker'.
node_modules/uglify-js/lib/compress.js(187,42): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(538,41): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(864,33): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1128,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(1144,51): error TS2349: This expression is not callable.
Not all constituents of type 'true | ((node: any) => any)' are callable.
Type 'true' has no call signatures.
node_modules/uglify-js/lib/compress.js(1207,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(1249,112): error TS2454: Variable 'args' is used before being assigned.
node_modules/uglify-js/lib/compress.js(1250,29): error TS2532: Object is possibly 'undefined'.
node_modules/uglify-js/lib/compress.js(1259,87): error TS2322: Type 'false' is not assignable to type 'number'.
node_modules/uglify-js/lib/compress.js(1267,29): error TS2322: Type 'false' is not assignable to type 'never'.
node_modules/uglify-js/lib/compress.js(1382,53): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1483,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(1505,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(1587,42): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1620,41): error TS2554: Expected 0 arguments, but got 1.
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[]]'.
Type 'number[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
node_modules/uglify-js/lib/compress.js(2076,59): error TS2554: Expected 0 arguments, but got 1.
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[]]'.
Type 'any[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
node_modules/uglify-js/lib/compress.js(2262,34): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(2968,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
node_modules/uglify-js/lib/compress.js(2969,25): error TS2531: Object is possibly 'null'.
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.
node_modules/uglify-js/lib/compress.js(2969,56): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/compress.js(3010,42): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3090,33): error TS2532: Object is possibly 'undefined'.
node_modules/uglify-js/lib/compress.js(3497,38): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3523,29): error TS2322: Type '"f"' is not assignable to type 'boolean'.
node_modules/uglify-js/lib/compress.js(3656,33): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3709,29): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3727,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(3762,75): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3837,63): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3967,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(4059,38): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(4080,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(4090,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
node_modules/uglify-js/lib/compress.js(4324,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead.
node_modules/uglify-js/lib/compress.js(4387,45): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(4498,33): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(4695,33): error TS2554: Expected 0 arguments, but got 1.
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'.
node_modules/uglify-js/lib/compress.js(4934,37): error TS2554: Expected 0 arguments, but got 1.
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)?]'.
Property '0' is missing in type 'any[]' but required in type '[string | RegExp, (string | undefined)?]'.
node_modules/uglify-js/lib/compress.js(5319,45): error TS2554: Expected 0 arguments, but got 1.
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; }'.
node_modules/uglify-js/lib/compress.js(5330,36): error TS2532: Object is possibly 'undefined'.
node_modules/uglify-js/lib/compress.js(5335,41): error TS2339: Property 'get' does not exist on type 'string'.
node_modules/uglify-js/lib/compress.js(5841,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned.
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.
node_modules/uglify-js/lib/compress.js(6413,47): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(6488,39): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(6560,39): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(6566,41): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(7026,43): error TS2454: Variable 'property' is used before being assigned.
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'.
node_modules/uglify-js/lib/compress.js(7044,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'.
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'.
node_modules/uglify-js/lib/compress.js(7083,34): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/minify.js(186,75): error TS2339: Property 'compress' does not exist on type 'Compressor'.
node_modules/uglify-js/lib/mozilla-ast.js(566,33): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/output.js(232,25): error TS2554: Expected 0 arguments, but got 2.
node_modules/uglify-js/lib/output.js(456,37): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/output.js(759,38): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/output.js(1153,44): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/output.js(1454,58): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
node_modules/uglify-js/lib/parse.js(358,20): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
Type 'undefined' is not assignable to type 'number'.
node_modules/uglify-js/lib/parse.js(437,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/parse.js(448,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/parse.js(498,20): error TS2339: Property 'raw_source' does not exist on type 'RegExp'.
node_modules/uglify-js/lib/parse.js(606,57): error TS2339: Property 'push' does not exist on type 'never'.
node_modules/uglify-js/lib/parse.js(612,32): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/parse.js(705,13): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(738,69): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(738,83): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(782,31): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(788,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(792,21): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(797,43): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(816,21): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(835,21): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(950,23): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/parse.js(1064,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'.
Type 'any' is not assignable to type 'never'.
node_modules/uglify-js/lib/parse.js(1121,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1291,32): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1391,20): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1397,20): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1483,48): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1509,35): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1554,52): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/propmangle.js(69,18): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstructor | ... 4 more ... | ArrayConstructor'.
Property 'prototype' does not exist on type 'Math'.
node_modules/uglify-js/lib/propmangle.js(70,45): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstructor | ... 4 more ... | ArrayConstructor'.
Property 'prototype' does not exist on type 'Math'.
node_modules/uglify-js/lib/propmangle.js(80,29): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/propmangle.js(94,30): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/propmangle.js(146,29): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(89,21): error TS2339: Property 'defun' does not exist on type 'SymbolDef'.
node_modules/uglify-js/lib/scope.js(89,35): error TS2339: Property 'defun' does not exist on type 'SymbolDef'.
node_modules/uglify-js/lib/scope.js(103,29): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(158,29): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(193,47): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(418,29): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(481,30): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(506,30): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/sourcemap.js(55,25): error TS2304: Cannot find name 'MOZ_SourceMap'.
node_modules/uglify-js/lib/sourcemap.js(61,23): error TS2304: Cannot find name 'MOZ_SourceMap'.
node_modules/uglify-js/tools/exit.js(10,37): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[(number | undefined)?]'.
Types of property 'length' are incompatible.
Type 'number' is not assignable to type '0 | 1'.
node_modules/uglify-js/tools/node.js(64,26): error TS2339: Property 'minify' does not exist on type 'typeof import("/uglify-js/node_modules/uglify-js/tools/node")'.
Standard error: