You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add missing @types/node dep to so many projects, rename parent node_modules dirs so they dont participate in tests, sort errors
* Accept new baselines
* Satisfy linter
constinstall=cp.spawnSync(`npm`,["i","--ignore-scripts"],{ cwd,timeout: timeout/2,shell: true, stdio });// NPM shouldn't take the entire timeout - if it takes a long time, it should be terminated and we should log the failure
70
95
if(install.status!==0)thrownewError(`NPM Install for ${directoryName} failed: ${install.stderr.toString()}`);
// Also actually install those types (for, eg, the js projects which need node)
101
+
constinstall=cp.spawnSync(`npm`,["i", ...types.map(t=>`@types/${t}`),"--no-save","--ignore-scripts"],{cwd: originalCwd,timeout: timeout/2,shell: true, stdio });// NPM shouldn't take the entire timeout - if it takes a long time, it should be terminated and we should log the failure
102
+
if(install.status!==0)thrownewError(`NPM Install types for ${directoryName} failed: ${install.stderr.toString()}`);
node_modules/adonis-framework/src/Session/Drivers/Redis/index.js(23,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
147
147
node_modules/adonis-framework/src/Session/Drivers/Redis/index.js(59,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
148
148
node_modules/adonis-framework/src/Session/Drivers/Redis/index.js(72,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/SessionManager.js(69,22): error TS2339: Property 'drivers' does not exist on type 'Function'.
178
-
node_modules/adonis-framework/src/Session/SessionManager.js(69,49): error TS2339: Property 'drivers' does not exist on type 'Function'.
179
-
node_modules/adonis-framework/src/Session/SessionManager.js(71,76): error TS2339: Property 'drivers' does not exist on type 'Function'.
180
-
node_modules/adonis-framework/src/Session/Store.js(28,13): error TS2304: Cannot find name 'Mixed'.
181
-
node_modules/adonis-framework/src/Session/Store.js(80,13): error TS2304: Cannot find name 'Mixed'.
182
182
node_modules/adonis-framework/src/View/Form/index.js(75,11): error TS2532: Object is possibly 'undefined'.
183
183
node_modules/adonis-framework/src/View/Form/index.js(115,15): error TS2304: Cannot find name 'Mixed'.
184
184
node_modules/adonis-framework/src/View/Form/index.js(147,63): error TS2345: Argument of type 'string | any[]' is not assignable to parameter of type 'any[]'.
node_modules/async/dist/async.js(2970,25): error TS2722: Cannot invoke an object which is possibly 'undefined'.
146
146
node_modules/async/dist/async.js(2971,28): error TS2722: Cannot invoke an object which is possibly 'undefined'.
147
147
node_modules/async/dist/async.js(3005,25): error TS2722: Cannot invoke an object which is possibly 'undefined'.
148
-
node_modules/async/dist/async.js(3008,9): error TS2532: Object is possibly 'undefined'.
149
148
node_modules/async/dist/async.js(3008,9): error TS2684: The 'this' context of type 'Function | undefined' is not assignable to method's 'this' of type 'Function'.
150
149
Type 'undefined' is not assignable to type 'Function'.
150
+
node_modules/async/dist/async.js(3008,9): error TS2532: Object is possibly 'undefined'.
151
151
node_modules/async/dist/async.js(3081,25): error TS2722: Cannot invoke an object which is possibly 'undefined'.
152
152
node_modules/async/dist/async.js(3086,25): error TS2722: Cannot invoke an object which is possibly 'undefined'.
153
153
node_modules/async/dist/async.js(3087,28): error TS2722: Cannot invoke an object which is possibly 'undefined'.
@@ -175,18 +175,18 @@ node_modules/async/dist/async.js(4153,14): error TS2339: Property 'unshift' does
175
175
node_modules/async/dist/async.js(4367,5): error TS2322: Type 'any[] | {}' is not assignable to type 'any[]'.
176
176
Type '{}' is not assignable to type 'any[]'.
177
177
Property 'flatMap' is missing in type '{}'.
178
-
node_modules/async/dist/async.js(4603,17): error TS2532: Object is possibly 'undefined'.
179
178
node_modules/async/dist/async.js(4603,17): error TS2684: The 'this' context of type 'Function | undefined' is not assignable to method's 'this' of type 'Function'.
180
179
Type 'undefined' is not assignable to type 'Function'.
180
+
node_modules/async/dist/async.js(4603,17): error TS2532: Object is possibly 'undefined'.
181
181
node_modules/async/dist/async.js(4917,19): error TS2339: Property 'code' does not exist on type 'Error'.
182
182
node_modules/async/dist/async.js(4919,23): error TS2339: Property 'info' does not exist on type 'Error'.
183
183
node_modules/async/dist/async.js(5090,9): error TS2722: Cannot invoke an object which is possibly 'undefined'.
184
184
node_modules/async/dist/async.js(5146,9): error TS2722: Cannot invoke an object which is possibly 'undefined'.
185
185
node_modules/async/dist/async.js(5165,20): error TS2339: Property 'unmemoized' does not exist on type 'Function'.
186
186
node_modules/async/dist/async.js(5208,25): error TS2722: Cannot invoke an object which is possibly 'undefined'.
187
-
node_modules/async/dist/async.js(5211,9): error TS2532: Object is possibly 'undefined'.
188
187
node_modules/async/dist/async.js(5211,9): error TS2684: The 'this' context of type 'Function | undefined' is not assignable to method's 'this' of type 'Function'.
189
188
Type 'undefined' is not assignable to type 'Function'.
189
+
node_modules/async/dist/async.js(5211,9): error TS2532: Object is possibly 'undefined'.
190
190
node_modules/async/dist/async.js(5315,20): error TS2532: Object is possibly 'undefined'.
191
191
node_modules/async/dist/async.js(5315,20): error TS2684: The 'this' context of type 'Function | undefined' is not assignable to method's 'this' of type 'Function'.
192
192
Type 'undefined' is not assignable to type 'Function'.
node_modules/bcryptjs/scripts/build.js(32,1): error TS2322: Type '{ VERSION: any; }' is not assignable to type '{ [x: string]: any; VERSION: any; ISAAC: boolean; }'.
5
5
Property 'ISAAC' is missing in type '{ VERSION: any; }'.
6
-
node_modules/bcryptjs/src/bcrypt.js(25,13): error TS2322: Type 'Buffer' is not assignable to type 'number[]'.
7
-
Property 'flatMap' is missing in type 'Buffer'.
8
-
node_modules/bcryptjs/src/bcrypt.js(94,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
9
-
node_modules/bcryptjs/src/bcrypt.js(150,5): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
10
-
Type 'undefined' is not assignable to type 'string'.
11
-
node_modules/bcryptjs/src/bcrypt.js(160,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
12
-
node_modules/bcryptjs/src/bcrypt.js(238,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
13
6
node_modules/bcryptjs/src/bcrypt/impl.js(516,22): error TS2345: Argument of type 'Int32Array | number[]' is not assignable to parameter of type 'number[]'.
14
7
Type 'Int32Array' is not assignable to type 'number[]'.
15
8
Property 'flatMap' is missing in type 'Int32Array'.
@@ -27,6 +20,13 @@ node_modules/bcryptjs/src/bcrypt/prng/accum.js(65,74): error TS2339: Property 'd
27
20
node_modules/bcryptjs/src/bcrypt/prng/accum.js(66,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
28
21
node_modules/bcryptjs/src/bcrypt/prng/accum.js(67,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
29
22
node_modules/bcryptjs/src/bcrypt/util.js(20,5): error TS2304: Cannot find name 'utfx'.
23
+
node_modules/bcryptjs/src/bcrypt.js(25,13): error TS2322: Type 'Buffer' is not assignable to type 'number[]'.
24
+
Property 'flatMap' is missing in type 'Buffer'.
25
+
node_modules/bcryptjs/src/bcrypt.js(94,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
26
+
node_modules/bcryptjs/src/bcrypt.js(150,5): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
27
+
Type 'undefined' is not assignable to type 'string'.
28
+
node_modules/bcryptjs/src/bcrypt.js(160,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
29
+
node_modules/bcryptjs/src/bcrypt.js(238,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
30
30
node_modules/bcryptjs/src/wrap.js(37,26): error TS2304: Cannot find name 'define'.
31
31
node_modules/bcryptjs/src/wrap.js(37,51): error TS2304: Cannot find name 'define'.
32
32
node_modules/bcryptjs/src/wrap.js(38,9): error TS2304: Cannot find name 'define'.
0 commit comments