File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 4646 " environments"
4747 ],
4848 "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 " ,
5454 "get-port" : " ^7.1.0" ,
55- "npm-run-all2" : " ^6.2.3 " ,
55+ "npm-run-all2" : " ^8.0.1 " ,
5656 "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 "
6262 },
6363 "xo" : {
6464 "rules" : {
Original file line number Diff line number Diff line change @@ -262,8 +262,7 @@ async function runInServiceWorker(function_) {
262262 ` ;
263263
264264 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 ;
267266 const registration = await navigator . serviceWorker . register ( `${ workerUrl } ` ) ;
268267 const serviceWorker = registration . active ?? registration . waiting ?? registration . installing ;
269268
You can’t perform that action at this time.
0 commit comments