chore(deps-dev): bump @sveltejs/vite-plugin-svelte from 4.0.2 to 5.0.2 #1493
Annotations
4 errors
Run tests:
node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/extension-bootc/extension-bootc/node_modules/svelte/src/internal/index.js from /home/runner/work/extension-bootc/extension-bootc/node_modules/tinro/dist/tinro.js not supported.
index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/extension-bootc/extension-bootc/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
❯ ../../node_modules/tinro/dist/tinro.js:1:600
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run tests:
node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/extension-bootc/extension-bootc/node_modules/svelte/src/internal/index.js from /home/runner/work/extension-bootc/extension-bootc/node_modules/tinro/dist/tinro.js not supported.
index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/extension-bootc/extension-bootc/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
❯ ../../node_modules/tinro/dist/tinro.js:1:600
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run tests:
node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/extension-bootc/extension-bootc/node_modules/svelte/src/internal/index.js from /home/runner/work/extension-bootc/extension-bootc/node_modules/tinro/dist/tinro.js not supported.
index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/extension-bootc/extension-bootc/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
❯ ../../node_modules/tinro/dist/tinro.js:1:600
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run tests
Process completed with exit code 1.
|
Loading