File tree 2 files changed +12
-13
lines changed
2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 46
46
" environments"
47
47
],
48
48
"devDependencies" : {
49
- "@vitest/eslint-plugin" : " ^1.1.30 " ,
50
- "ava" : " ^6.1.3 " ,
51
- "cheerio" : " ^1.0.0-rc.12 " ,
52
- "eslint-plugin-jest" : " ^28.8.3 " ,
53
- "execa" : " ^9.4.0 " ,
49
+ "@vitest/eslint-plugin" : " ^1.1.44 " ,
50
+ "ava" : " ^6.3.0 " ,
51
+ "cheerio" : " ^1.0.0" ,
52
+ "eslint-plugin-jest" : " ^28.11.0 " ,
53
+ "execa" : " ^9.5.2 " ,
54
54
"get-port" : " ^7.1.0" ,
55
- "npm-run-all2" : " ^6.2.3 " ,
55
+ "npm-run-all2" : " ^8.0.1 " ,
56
56
"outdent" : " ^0.8.0" ,
57
- "puppeteer" : " ^23.4 .1" ,
58
- "shelljs" : " ^0.8.5 " ,
59
- "tsd" : " ^0.31.2 " ,
60
- "type-fest" : " ^4.26.1 " ,
61
- "xo" : " ^0.59.3 "
57
+ "puppeteer" : " ^24.8 .1" ,
58
+ "shelljs" : " ^0.9.2 " ,
59
+ "tsd" : " ^0.32.0 " ,
60
+ "type-fest" : " ^4.41.0 " ,
61
+ "xo" : " ^0.60.0 "
62
62
},
63
63
"xo" : {
64
64
"rules" : {
Original file line number Diff line number Diff line change @@ -262,8 +262,7 @@ async function runInServiceWorker(function_) {
262
262
` ;
263
263
264
264
const result = await runInBrowser ( async ( workerUrl , executeCommandMark ) => {
265
- // eslint-disable-next-line no-undef -- execute in browser
266
- const { navigator} = window ;
265
+ const { navigator} = globalThis ;
267
266
const registration = await navigator . serviceWorker . register ( `${ workerUrl } ` ) ;
268
267
const serviceWorker = registration . active ?? registration . waiting ?? registration . installing ;
269
268
You can’t perform that action at this time.
0 commit comments