diff --git a/.changeset/hip-trainers-sort.md b/.changeset/hip-trainers-sort.md new file mode 100644 index 000000000000..a0864ad9a97f --- /dev/null +++ b/.changeset/hip-trainers-sort.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': patch +--- + +[breaking] require vite.config.js diff --git a/.changeset/light-kings-beam.md b/.changeset/light-kings-beam.md new file mode 100644 index 000000000000..ab1c85e13825 --- /dev/null +++ b/.changeset/light-kings-beam.md @@ -0,0 +1,5 @@ +--- +'create-svelte': patch +--- + +Add vite.config.js to the create-svelte templates diff --git a/.changeset/proud-phones-hear.md b/.changeset/proud-phones-hear.md new file mode 100644 index 000000000000..5239d14ee2ac --- /dev/null +++ b/.changeset/proud-phones-hear.md @@ -0,0 +1,5 @@ +--- +"@sveltejs/kit": patch +--- + +[breaking] graduate @sveltejs/kit/vite from experimental diff --git a/.changeset/unlucky-oranges-exercise.md b/.changeset/unlucky-oranges-exercise.md new file mode 100644 index 000000000000..375d1103b901 --- /dev/null +++ b/.changeset/unlucky-oranges-exercise.md @@ -0,0 +1,6 @@ +--- +'create-svelte': patch +'@sveltejs/kit': patch +--- + +[breaking] switch to vite CLI for dev, build, and preview commands diff --git a/.gitignore b/.gitignore index f3c197139c82..85901d97cbd3 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ yarn.lock .cloudflare .pnpm-debug.log .netlify -.turbo \ No newline at end of file +.turbo +.vercel diff --git a/documentation/docs/07-service-workers.md b/documentation/docs/07-service-workers.md index ad34a7cac3ed..ddf6d0ecac2a 100644 --- a/documentation/docs/07-service-workers.md +++ b/documentation/docs/07-service-workers.md @@ -10,4 +10,4 @@ In SvelteKit, if you have a `src/service-worker.js` file (or `src/service-worker Inside the service worker you have access to the [`$service-worker` module](/docs/modules#$service-worker). -Because it needs to be bundled (since browsers don't yet support `import` in this context), and depends on the client-side app's build manifest, **service workers only work in the production build, not in development**. To test it locally, use [`svelte-kit preview`](/docs/cli#svelte-kit-preview). +Because it needs to be bundled (since browsers don't yet support `import` in this context), and depends on the client-side app's build manifest, **service workers only work in the production build, not in development**. To test it locally, use `vite preview`. diff --git a/documentation/docs/10-adapters.md b/documentation/docs/10-adapters.md index a144f27f7390..a3b7231f8346 100644 --- a/documentation/docs/10-adapters.md +++ b/documentation/docs/10-adapters.md @@ -28,7 +28,7 @@ To create a simple Node server, install the [`@sveltejs/adapter-node`](https://g +import adapter from '@sveltejs/adapter-node'; ``` -With this, [svelte-kit build](/docs/cli#svelte-kit-build) will generate a self-contained Node app inside the `build` directory. You can pass options to adapters, such as customising the output directory: +With this, `vite build` will generate a self-contained Node app inside the `build` directory. You can pass options to adapters, such as customising the output directory: ```diff /// file: svelte.config.js diff --git a/documentation/docs/13-cli.md b/documentation/docs/13-cli.md index 98cc802d9c48..681427e61412 100644 --- a/documentation/docs/13-cli.md +++ b/documentation/docs/13-cli.md @@ -2,48 +2,22 @@ title: Command Line Interface --- -SvelteKit includes a command line interface for building and running your app. +SvelteKit projects use [Vite](https://vitejs.dev), meaning you'll mostly use its CLI (albeit via `npm run dev/build/preview` scripts): -In the default project template `svelte-kit dev`, `svelte-kit build` and `svelte-kit preview` are aliased as `npm run dev`, `npm run build` and `npm run preview` respectively. You can also invoke the CLI with [npx](https://www.npmjs.com/package/npx): +- `vite dev` — start a development server +- `vite build` — build a production version of your app +- `vite preview` — run the production version locally -```bash -npx svelte-kit dev -``` - -### svelte-kit dev - -Starts a development server. It accepts the following options: - -- `-p`/`--port` — which port to start the server on -- `-o`/`--open` — open a browser tab once the server starts -- `--host` — expose the server to the network. -- `--https` — launch an HTTPS server using a self-signed certificate. Useful for testing HTTPS-only features on an external device - -> This command will fail if the specified (or default) port is unavailable. To use an alternative port instead of failing, set the [`config.kit.vite.server.strictPort`](/docs/configuration#vite) option to `false`. - -### svelte-kit build - -Builds a production version of your app, and runs your adapter if you have one specified in your [config](/docs/configuration). It accepts the following option: - -- `--verbose` — log more detail - -After building the app, you can reference the documentation of your chosen [adapter](/docs/adapters) and hosting platform for specific instructions on how to serve your app. - -### svelte-kit preview - -After you've built your app with `svelte-kit build`, you can start the production version (irrespective of any adapter that has been applied) locally with `svelte-kit preview`. This is intended for testing the production build locally, **not for serving your app**, for which you should always use an [adapter](/docs/adapters). - -Like `svelte-kit dev`, it accepts the following options: - -- `-p`/`--port` -- `-o`/`--open` -- `--host` -- `--https` +However SvelteKit includes its own CLI for creating distributable packages and initialising your project: ### svelte-kit package > `svelte-kit package` is currently experimental and is not subject to Semantic Versioning rules. Non-backward compatible changes may occur in any future release. -For package authors, see [packaging](/docs/packaging). `svelte-kit package` accepts the following options: +See [packaging](/docs/packaging). `svelte-kit package` accepts the following options: - `-w`/`--watch` — watch files in `src/lib` for changes and rebuild the package + +### svelte-kit sync + +`svelte-kit sync` creates the generated files for your project such as types and a `tsconfig.json`. When you create a new project, it is listed as the `prepare` script and will be run automatically as part of the npm lifecycle, so you should not ordinarily have to run this command. diff --git a/documentation/docs/14-configuration.md b/documentation/docs/14-configuration.md index 498f3b95bb2d..5986e694e83f 100644 --- a/documentation/docs/14-configuration.md +++ b/documentation/docs/14-configuration.md @@ -90,7 +90,7 @@ export default config; ### adapter -Required when running `svelte-kit build` and determines how the output is converted for different platforms. See [Adapters](/docs/adapters). +Run when executing `vite build` and determines how the output is converted for different platforms. See [Adapters](/docs/adapters). ### alias diff --git a/documentation/docs/15-types.md b/documentation/docs/15-types.md index 7e573f5b8004..ac738004cf7f 100644 --- a/documentation/docs/15-types.md +++ b/documentation/docs/15-types.md @@ -117,7 +117,7 @@ Others are required for SvelteKit to work properly, and should also be left unto // markup, so we need this "preserveValueImports": true, - // This ensures both `svelte-kit build` + // This ensures both `vite build` // and `svelte-kit package` work correctly "lib": ["esnext", "DOM"], "moduleResolution": "node", diff --git a/documentation/docs/80-migrating.md b/documentation/docs/80-migrating.md index 3c6cddcf89ff..99cc03e49dd4 100644 --- a/documentation/docs/80-migrating.md +++ b/documentation/docs/80-migrating.md @@ -26,9 +26,9 @@ Remove `sapper` from your `devDependencies` and replace it with `@sveltejs/kit` Any scripts that reference `sapper` should be updated: -- `sapper build` should become [`svelte-kit build`](/docs/cli#svelte-kit-build) using the Node [adapter](/docs/adapters) -- `sapper export` should become [`svelte-kit build`](/docs/cli#svelte-kit-build) using the static [adapter](/docs/adapters) -- `sapper dev` should become [`svelte-kit dev`](/docs/cli#svelte-kit-dev) +- `sapper build` should become `vite build` using the Node [adapter](/docs/adapters) +- `sapper export` should become `vite build` using the static [adapter](/docs/adapters) +- `sapper dev` should become `vite dev` - `node __sapper__/build` should become `node build` ### Project files @@ -191,4 +191,4 @@ export async function handle({ event, resolve }) { } ``` -Note that `prerendering` is `false` when using `svelte-kit preview` to test the production build of the site, so to verify the results of minifying, you'll need to inspect the built HTML files directly. +Note that `prerendering` is `false` when using `vite preview` to test the production build of the site, so to verify the results of minifying, you'll need to inspect the built HTML files directly. diff --git a/package.json b/package.json index bce1650117ae..6f3820c32e75 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "homepage": "https://github.com/sveltejs/kit#readme", "devDependencies": { "@changesets/cli": "^2.22.0", - "@rollup/plugin-commonjs": "^21.1.0", + "@rollup/plugin-commonjs": "^22.0.1", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", "@sveltejs/eslint-config": "github:sveltejs/eslint-config#v5.8.0", diff --git a/packages/adapter-netlify/package.json b/packages/adapter-netlify/package.json index 477beb773ec4..2453bb1c68e3 100644 --- a/packages/adapter-netlify/package.json +++ b/packages/adapter-netlify/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@netlify/functions": "^1.0.0", - "@rollup/plugin-commonjs": "^21.1.0", + "@rollup/plugin-commonjs": "^22.0.1", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", "@sveltejs/kit": "workspace:*", diff --git a/packages/adapter-static/package.json b/packages/adapter-static/package.json index fe7f679d98f3..59f9a61085ee 100644 --- a/packages/adapter-static/package.json +++ b/packages/adapter-static/package.json @@ -36,6 +36,7 @@ "sirv": "^2.0.2", "svelte": "^3.48.0", "typescript": "^4.7.2", - "uvu": "^0.5.3" + "uvu": "^0.5.3", + "vite": "^2.9.13" } } diff --git a/packages/adapter-static/test/apps/prerendered/package.json b/packages/adapter-static/test/apps/prerendered/package.json index e67611496c3b..ff98f1205789 100644 --- a/packages/adapter-static/test/apps/prerendered/package.json +++ b/packages/adapter-static/test/apps/prerendered/package.json @@ -3,13 +3,14 @@ "version": "0.0.1", "private": true, "scripts": { - "dev": "../../../../kit/svelte-kit.js dev", - "build": "../../../../kit/svelte-kit.js build", - "start": "../../../../kit/svelte-kit.js start" + "dev": "vite dev", + "build": "vite build", + "start": "vite start" }, "devDependencies": { - "@sveltejs/kit": "next", - "svelte": "^3.48.0" + "@sveltejs/kit": "workspace:*", + "svelte": "^3.48.0", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/adapter-static/test/apps/prerendered/svelte.config.js b/packages/adapter-static/test/apps/prerendered/svelte.config.js index 380b23209116..b2c66c3eeb9e 100644 --- a/packages/adapter-static/test/apps/prerendered/svelte.config.js +++ b/packages/adapter-static/test/apps/prerendered/svelte.config.js @@ -7,12 +7,6 @@ const config = { prerender: { default: true - }, - - vite: { - build: { - minify: false - } } } }; diff --git a/packages/adapter-static/test/apps/prerendered/vite.config.js b/packages/adapter-static/test/apps/prerendered/vite.config.js new file mode 100644 index 000000000000..d12c532038ec --- /dev/null +++ b/packages/adapter-static/test/apps/prerendered/vite.config.js @@ -0,0 +1,11 @@ +const { sveltekit } = await import(process.env.SVELTEKIT_PLUGIN); + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + plugins: [sveltekit()] +}; + +export default config; diff --git a/packages/adapter-static/test/apps/spa/package.json b/packages/adapter-static/test/apps/spa/package.json index 1742bbdf320b..028d0e11362a 100644 --- a/packages/adapter-static/test/apps/spa/package.json +++ b/packages/adapter-static/test/apps/spa/package.json @@ -3,15 +3,16 @@ "version": "0.0.1", "private": true, "scripts": { - "dev": "../../../../kit/svelte-kit.js dev", - "build": "../../../../kit/svelte-kit.js build", + "dev": "vite dev", + "build": "vite build", "start": "sirv -s 200.html build" }, "devDependencies": { - "@sveltejs/adapter-node": "next", - "@sveltejs/kit": "next", + "@sveltejs/adapter-node": "workspace:*", + "@sveltejs/kit": "workspace:*", "sirv-cli": "^2.0.2", - "svelte": "^3.48.0" + "svelte": "^3.48.0", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/adapter-static/test/apps/spa/svelte.config.js b/packages/adapter-static/test/apps/spa/svelte.config.js index 847cc2947041..da388bfc49d9 100644 --- a/packages/adapter-static/test/apps/spa/svelte.config.js +++ b/packages/adapter-static/test/apps/spa/svelte.config.js @@ -5,13 +5,7 @@ const config = { kit: { adapter: adapter({ fallback: '200.html' - }), - - vite: { - build: { - minify: false - } - } + }) } }; diff --git a/packages/adapter-static/test/apps/spa/vite.config.js b/packages/adapter-static/test/apps/spa/vite.config.js new file mode 100644 index 000000000000..d12c532038ec --- /dev/null +++ b/packages/adapter-static/test/apps/spa/vite.config.js @@ -0,0 +1,11 @@ +const { sveltekit } = await import(process.env.SVELTEKIT_PLUGIN); + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + plugins: [sveltekit()] +}; + +export default config; diff --git a/packages/adapter-static/test/utils.js b/packages/adapter-static/test/utils.js index eeba60c4362a..ec85731dd40f 100644 --- a/packages/adapter-static/test/utils.js +++ b/packages/adapter-static/test/utils.js @@ -30,11 +30,13 @@ export function run(app, callback) { try { const cwd = fileURLToPath(new URL(`apps/${app}`, import.meta.url)); const mode = process.env.CI ? 'dist' : 'src'; - const cli_path = fileURLToPath(new URL(`../../kit/${mode}/cli.js`, import.meta.url)); + + process.env.SVELTEKIT_PLUGIN = + mode === 'dist' ? '@sveltejs/kit/vite' : '../../../../kit/src/vite/index.js'; rimraf(`${cwd}/build`); - await spawn(`"${process.execPath}" ${cli_path} build`, { + await spawn('npm run build', { cwd, stdio: 'inherit', shell: true diff --git a/packages/create-svelte/templates/default/package.json b/packages/create-svelte/templates/default/package.json index 0549f5ec040f..7239e0b1858c 100644 --- a/packages/create-svelte/templates/default/package.json +++ b/packages/create-svelte/templates/default/package.json @@ -3,17 +3,18 @@ "version": "0.0.2-next.0", "private": true, "scripts": { - "dev": "svelte-kit dev", - "build": "svelte-kit build --verbose", + "dev": "vite dev", + "build": "vite build", "package": "svelte-kit package", - "preview": "svelte-kit preview" + "preview": "vite preview" }, "devDependencies": { "@sveltejs/adapter-auto": "workspace:*", "@sveltejs/kit": "workspace:*", "svelte": "^3.48.0", "svelte-preprocess": "^4.10.6", - "typescript": "^4.7.2" + "typescript": "^4.7.2", + "vite": "^2.9.13" }, "type": "module", "dependencies": { diff --git a/packages/create-svelte/templates/default/package.template.json b/packages/create-svelte/templates/default/package.template.json index d41f9d457557..e31113544646 100644 --- a/packages/create-svelte/templates/default/package.template.json +++ b/packages/create-svelte/templates/default/package.template.json @@ -2,16 +2,17 @@ "name": "~TODO~", "version": "0.0.1", "scripts": { - "dev": "svelte-kit dev", - "build": "svelte-kit build", + "dev": "vite dev", + "build": "vite build", "package": "svelte-kit package", - "preview": "svelte-kit preview", + "preview": "vite preview", "prepare": "svelte-kit sync" }, "devDependencies": { "@sveltejs/adapter-auto": "next", "@sveltejs/kit": "next", - "svelte": "^3.46.0" + "svelte": "^3.46.0", + "vite": "^2.9.13" }, "type": "module", "dependencies": { diff --git a/packages/create-svelte/templates/default/vite.config.js b/packages/create-svelte/templates/default/vite.config.js new file mode 100644 index 000000000000..8747050534d8 --- /dev/null +++ b/packages/create-svelte/templates/default/vite.config.js @@ -0,0 +1,8 @@ +import { sveltekit } from '@sveltejs/kit/vite'; + +/** @type {import('vite').UserConfig} */ +const config = { + plugins: [sveltekit()] +}; + +export default config; diff --git a/packages/create-svelte/templates/skeleton/package.template.json b/packages/create-svelte/templates/skeleton/package.template.json index 26ce591ed495..ae9859dbdaad 100644 --- a/packages/create-svelte/templates/skeleton/package.template.json +++ b/packages/create-svelte/templates/skeleton/package.template.json @@ -2,16 +2,17 @@ "name": "~TODO~", "version": "0.0.1", "scripts": { - "dev": "svelte-kit dev", - "build": "svelte-kit build", + "dev": "vite dev", + "build": "vite build", "package": "svelte-kit package", - "preview": "svelte-kit preview", + "preview": "vite preview", "prepare": "svelte-kit sync" }, "devDependencies": { "@sveltejs/adapter-auto": "workspace:*", "@sveltejs/kit": "workspace:*", - "svelte": "^3.44.0" + "svelte": "^3.44.0", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/create-svelte/templates/skeleton/vite.config.js b/packages/create-svelte/templates/skeleton/vite.config.js new file mode 100644 index 000000000000..8747050534d8 --- /dev/null +++ b/packages/create-svelte/templates/skeleton/vite.config.js @@ -0,0 +1,8 @@ +import { sveltekit } from '@sveltejs/kit/vite'; + +/** @type {import('vite').UserConfig} */ +const config = { + plugins: [sveltekit()] +}; + +export default config; diff --git a/packages/kit/package.json b/packages/kit/package.json index 3ec794faaed3..986570f717e8 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -12,8 +12,7 @@ "dependencies": { "@sveltejs/vite-plugin-svelte": "^1.0.0-next.48", "chokidar": "^3.5.3", - "sade": "^1.8.1", - "vite": "^2.9.10" + "sade": "^1.8.1" }, "devDependencies": { "@playwright/test": "^1.22.2", @@ -45,11 +44,13 @@ "svelte2tsx": "~0.5.10", "tiny-glob": "^0.2.9", "typescript": "^4.7.2", - "undici": "^5.4.0", - "uvu": "^0.5.3" + "undici": "^5.6.0", + "uvu": "^0.5.3", + "vite": "^2.9.13" }, "peerDependencies": { - "svelte": "^3.44.0" + "svelte": "^3.44.0", + "vite": "^2.9.10" }, "bin": { "svelte-kit": "svelte-kit.js" @@ -90,7 +91,7 @@ "./hooks": { "import": "./dist/hooks.js" }, - "./experimental/vite": { + "./vite": { "import": "./dist/vite.js" } }, diff --git a/packages/kit/src/cli.js b/packages/kit/src/cli.js index d08ac2f3e046..3f1a28f3764e 100755 --- a/packages/kit/src/cli.js +++ b/packages/kit/src/cli.js @@ -1,11 +1,6 @@ -import chokidar from 'chokidar'; import fs from 'fs'; -import path from 'path'; import colors from 'kleur'; import sade from 'sade'; -import * as vite from 'vite'; -import { networkInterfaces, release } from 'os'; -import { pathToFileURL } from 'url'; import { load_config } from './core/config/index.js'; import { coalesce_to_error } from './utils/error.js'; @@ -23,177 +18,8 @@ function handle_error(e) { process.exit(1); } -/** - * @param {number} port - * @param {boolean} https - * @param {string} base - */ -async function launch(port, https, base) { - const { exec } = await import('child_process'); - let cmd = 'open'; - if (process.platform == 'win32') { - cmd = 'start'; - } else if (process.platform == 'linux') { - if (/microsoft/i.test(release())) { - cmd = 'cmd.exe /c start'; - } else { - cmd = 'xdg-open'; - } - } - exec(`${cmd} ${https ? 'https' : 'http'}://localhost:${port}${base}`); -} - const prog = sade('svelte-kit').version('__VERSION__'); -prog - .command('dev') - .describe('Start a development server') - .option('-p, --port', 'Port') - .option('-o, --open', 'Open a browser tab') - .option('--host', 'Host (only use this on trusted networks)') - .option('--https', 'Use self-signed HTTPS certificate') - .option('-H', 'no longer supported, use --https instead') // TODO remove for 1.0 - .action(async ({ port, host, https, open, H }) => { - let first = true; - let relaunching = false; - let uid = 1; - - /** @type {() => Promise} */ - let close; - - async function start() { - const svelte_config = await load_config(); - const config = await get_vite_config(svelte_config); - config.server = config.server || {}; - - // optional config from command-line flags - // these should take precedence, but not print conflict warnings - if (host) { - config.server.host = host; - } - - // if https is already enabled then do nothing. it could be an object and we - // don't want to overwrite with a boolean - if (https && !config?.server?.https) { - config.server.https = https; - } - - if (port) { - config.server.port = port; - } - - const server = await vite.createServer(config); - await server.listen(port); - - const address_info = /** @type {import('net').AddressInfo} */ ( - /** @type {import('http').Server} */ (server.httpServer).address() - ); - - const resolved_config = server.config; - - welcome({ - port: address_info.port, - host: address_info.address, - https: !!(https || resolved_config.server.https), - open: first && (open || !!resolved_config.server.open), - base: svelte_config.kit.paths.base, - loose: resolved_config.server.fs.strict === false, - allow: resolved_config.server.fs.allow - }); - - first = false; - - return server.close; - } - - // TODO: we should probably replace this with something like vite-plugin-restart - async function relaunch() { - const id = uid; - relaunching = true; - - try { - await close(); - close = await start(); - - if (id !== uid) relaunch(); - } catch (e) { - const error = /** @type {Error} */ (e); - - console.error(colors.bold().red(`> ${error.message}`)); - if (error.stack) { - console.error(colors.gray(error.stack.split('\n').slice(1).join('\n'))); - } - } - - relaunching = false; - } - - try { - if (H) throw new Error('-H is no longer supported — use --https instead'); - - process.env.NODE_ENV = process.env.NODE_ENV || 'development'; - - close = await start(); - - chokidar.watch('svelte.config.js', { ignoreInitial: true }).on('change', () => { - if (relaunching) uid += 1; - else relaunch(); - }); - } catch (error) { - handle_error(error); - } - }); - -prog - .command('build') - .describe('Create a production build of your app') - .option('--verbose', 'Log more stuff', false) - .action(async ({ verbose }) => { - try { - process.env.NODE_ENV = process.env.NODE_ENV || 'production'; - process.env.VERBOSE = verbose; - - const svelte_config = await load_config(); - const vite_config = await get_vite_config(svelte_config); - await vite.build(vite_config); // TODO when we get rid of config.kit.vite, this can just be vite.build() - } catch (error) { - handle_error(error); - } - }); - -prog - .command('preview') - .describe('Serve an already-built app') - .option('-p, --port', 'Port', 3000) - .option('-o, --open', 'Open a browser tab', false) - .option('--host', 'Host (only use this on trusted networks)', 'localhost') - .option('--https', 'Use self-signed HTTPS certificate', false) - .option('-H', 'no longer supported, use --https instead') // TODO remove for 1.0 - .action(async ({ port, host, https, open, H }) => { - try { - if (H) throw new Error('-H is no longer supported — use --https instead'); - - process.env.NODE_ENV = process.env.NODE_ENV || 'production'; - - const svelte_config = await load_config(); - const vite_config = await get_vite_config(svelte_config); - - vite_config.preview = vite_config.preview || {}; - - // optional config from command-line flags - // these should take precedence, but not print conflict warnings - if (host) vite_config.preview.host = host; - if (https) vite_config.preview.https = https; - if (port) vite_config.preview.port = port; - - const preview_server = await vite.preview(vite_config); - - welcome({ port, host, https, open, base: preview_server.config.base }); - } catch (error) { - handle_error(error); - } - }); - prog .command('package') .describe('Create a package') @@ -227,81 +53,46 @@ prog } }); -prog.parse(process.argv, { unknown: (arg) => `Unknown option: ${arg}` }); +// TODO remove for 1.0 +replace('dev'); +replace('build'); +replace('preview'); -/** - * @param {{ - * open: boolean; - * host: string; - * https: boolean; - * port: number; - * base: string; - * loose?: boolean; - * allow?: string[]; - * cwd?: string; - * }} param0 - */ -function welcome({ port, host, https, open, base, loose, allow, cwd }) { - if (open) launch(port, https, base); +prog.parse(process.argv, { unknown: (arg) => `Unknown option: ${arg}` }); - console.log(colors.bold().cyan(`\n SvelteKit v${'__VERSION__'}\n`)); +/** @param {string} command */ +function replace(command) { + prog + .command(command) + .describe(`No longer available — use vite ${command} instead`) + .action(async () => { + const message = `\n> svelte-kit ${command} is no longer available — use vite ${command} instead`; + console.error(colors.bold().red(message)); + + const steps = [ + 'Install vite as a devDependency with npm/pnpm/etc', + 'Create a vite.config.js with the @sveltejs/kit/vite plugin (see below)', + `Update your package.json scripts to reference \`vite ${command}\` instead of \`svelte-kit ${command}\`` + ]; + + steps.forEach((step, i) => { + console.error(` ${i + 1}. ${colors.cyan(step)}`); + }); - const protocol = https ? 'https:' : 'http:'; - const exposed = typeof host !== 'undefined' && host !== 'localhost' && host !== '127.0.0.1'; + console.error( + ` + ${colors.grey('// vite.config.js')} + import { sveltekit } from '@sveltejs/kit/vite'; - Object.values(networkInterfaces()).forEach((interfaces) => { - if (!interfaces) return; - interfaces.forEach((details) => { - // @ts-ignore node18 returns a number - if (details.family !== 'IPv4' && details.family !== 4) return; + /** @type {import('vite').UserConfig} */ + const config = { + plugins: [sveltekit()] + }; - // prettier-ignore - if (details.internal) { - console.log(` ${colors.gray('local: ')} ${protocol}//${colors.bold(`localhost:${port}`)}`); - } else { - if (details.mac === '00:00:00:00:00:00') return; + export default config; - if (exposed) { - console.log(` ${colors.gray('network:')} ${protocol}//${colors.bold(`${details.address}:${port}`)}`); - if (loose) { - console.log(`\n ${colors.yellow('Serving with vite.server.fs.strict: false. Note that all files on your machine will be accessible to anyone on your network.')}`); - } else if (allow?.length && cwd) { - console.log(`\n ${colors.yellow('Note that all files in the following directories will be accessible to anyone on your network: ' + allow.map(a => path.relative(cwd, a)).join(', '))}`); - } - } else { - console.log(` ${colors.gray('network: not exposed')}`); - } - } + `.replace(/^\t{4}/gm, '') + ); + process.exit(1); }); - }); - - if (!exposed) { - console.log('\n Use --host to expose server to other devices on this network'); - } - - console.log('\n'); -} - -/** - * @param {import('types').ValidatedConfig} svelte_config - * @return {Promise} - */ -export async function get_vite_config(svelte_config) { - for (const file of ['vite.config.js', 'vite.config.mjs', 'vite.config.cjs']) { - if (fs.existsSync(file)) { - // TODO warn here if config.kit.vite was specified - const module = await import(pathToFileURL(file).toString()); - return { - ...module.default, - configFile: false - }; - } - } - - const { sveltekit } = await import('./vite/index.js'); - - // TODO: stop reading Vite config from SvelteKit config or move to CLI - const vite_config = await svelte_config.kit.vite(); - vite_config.plugins = [...(vite_config.plugins || []), ...sveltekit()]; - return vite_config; } diff --git a/packages/kit/src/core/config/index.spec.js b/packages/kit/src/core/config/index.spec.js index 7e59cf7379fd..fc50b31b6406 100644 --- a/packages/kit/src/core/config/index.spec.js +++ b/packages/kit/src/core/config/index.spec.js @@ -120,7 +120,8 @@ const get_defaults = (prefix = '') => ({ version: { name: Date.now().toString(), pollInterval: 0 - } + }, + vite: undefined } }); @@ -130,7 +131,7 @@ test('fills in defaults', () => { assert.equal(validated.kit.package.exports(''), true); assert.equal(validated.kit.package.files(''), true); assert.equal(validated.kit.serviceWorker.files(''), true); - assert.equal(validated.kit.vite(), {}); + assert.equal(validated.kit.vite, undefined); remove_keys(validated, ([, v]) => typeof v === 'function'); @@ -196,7 +197,7 @@ test('fills in partial blanks', () => { assert.equal(validated.kit.package.exports(''), true); assert.equal(validated.kit.package.files(''), true); assert.equal(validated.kit.serviceWorker.files(''), true); - assert.equal(validated.kit.vite(), {}); + assert.equal(validated.kit.vite, undefined); remove_keys(validated, ([, v]) => typeof v === 'function'); diff --git a/packages/kit/src/core/config/options.js b/packages/kit/src/core/config/options.js index ac78e3fcced1..219ec30e54ba 100644 --- a/packages/kit/src/core/config/options.js +++ b/packages/kit/src/core/config/options.js @@ -278,7 +278,7 @@ const options = object( // TODO remove this for 1.0 ssr: error( (keypath) => - `${keypath} has been removed — use the handle hook instead: https://kit.svelte.dev/docs/hooks#handle'` + `${keypath} has been removed — use the handle hook instead: https://kit.svelte.dev/docs/hooks#handle` ), // TODO remove this for 1.0 @@ -291,23 +291,8 @@ const options = object( pollInterval: number(0) }), - vite: validate( - () => ({}), - (input, keypath) => { - if (typeof input === 'object') { - const config = input; - input = () => config; - } - - if (typeof input !== 'function') { - throw new Error( - `${keypath} must be a Vite config object (https://vitejs.dev/config) or a function that returns one` - ); - } - - return input; - } - ) + // TODO remove this for 1.0 + vite: error((keypath) => `${keypath} has been removed — use vite.config.js instead`) }) }, true diff --git a/packages/kit/src/core/constants.js b/packages/kit/src/core/constants.js index 630bc3e90f89..75388913b97c 100644 --- a/packages/kit/src/core/constants.js +++ b/packages/kit/src/core/constants.js @@ -1,4 +1,3 @@ -// in `svelte-kit dev` and `svelte-kit preview`, we use a fake -// asset path so that we can serve local assets while still -// verifying that requests are correctly prefixed +// in `vite dev` and `vite preview`, we use a fake asset path so that we can +// serve local assets while verifying that requests are correctly prefixed export const SVELTE_KIT_ASSETS = '/_svelte_kit_assets'; diff --git a/packages/kit/src/core/sync/copy_assets.js b/packages/kit/src/core/sync/copy_assets.js index 10401aa25b54..79181a175b02 100644 --- a/packages/kit/src/core/sync/copy_assets.js +++ b/packages/kit/src/core/sync/copy_assets.js @@ -3,8 +3,8 @@ import path from 'path'; import { copy } from '../../utils/filesystem.js'; import { fileURLToPath } from 'url'; -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); +const filename = fileURLToPath(import.meta.url); +const dirname = path.dirname(filename); /** @param {string} dest */ export function copy_assets(dest) { @@ -13,7 +13,7 @@ export function copy_assets(dest) { do { // we jump through these hoops so that this function // works whether or not it's been bundled - const resolved = path.resolve(__dirname, `${prefix}/assets`); + const resolved = path.resolve(dirname, `${prefix}/assets`); if (fs.existsSync(resolved)) { copy(resolved, dest); diff --git a/packages/kit/src/vite/build/build_server.js b/packages/kit/src/vite/build/build_server.js index d878455ae9b7..394755dfef94 100644 --- a/packages/kit/src/vite/build/build_server.js +++ b/packages/kit/src/vite/build/build_server.js @@ -1,7 +1,7 @@ import fs from 'fs'; import path from 'path'; import { mkdirp, posixify } from '../../utils/filesystem.js'; -import { merge_vite_configs, resolve_entry } from '../utils.js'; +import { get_vite_config, merge_vite_configs, resolve_entry } from '../utils.js'; import { load_template } from '../../core/config/index.js'; import { get_runtime_path } from '../../core/utils.js'; import { create_build, find_deps, get_default_config, remove_svelte_kit } from './utils.js'; @@ -104,7 +104,6 @@ export class Server { `; /** - * @param {import('vite').UserConfig} vite_config * @param {{ * cwd: string; * config: import('types').ValidatedConfig @@ -115,7 +114,7 @@ export class Server { * }} options * @param {{ vite_manifest: import('vite').Manifest, assets: import('rollup').OutputAsset[] }} client */ -export async function build_server(vite_config, options, client) { +export async function build_server(options, client) { const { cwd, config, manifest_data, build_dir, output_dir, service_worker_entry_file } = options; let hooks_file = resolve_entry(config.kit.files.hooks); @@ -175,27 +174,11 @@ export async function build_server(vite_config, options, client) { }) ); - const default_config = { - build: { - target: 'node14.8' - }, - ssr: { - // when developing against the Kit src code, we want to ensure that - // our dependencies are bundled so that apps don't need to install - // them as peerDependencies - noExternal: process.env.BUNDLED - ? [] - : Object.keys( - JSON.parse(fs.readFileSync(new URL('../../../package.json', import.meta.url), 'utf-8')) - .devDependencies - ) - } - }; + const vite_config = await get_vite_config(); const merged_config = merge_vite_configs( - default_config, - vite_config, - get_default_config({ config, input, ssr: true, outDir: `${output_dir}/server` }) + get_default_config({ config, input, ssr: true, outDir: `${output_dir}/server` }), + vite_config ); remove_svelte_kit(merged_config); diff --git a/packages/kit/src/vite/build/build_service_worker.js b/packages/kit/src/vite/build/build_service_worker.js index 9a96dbea040d..747f3696d206 100644 --- a/packages/kit/src/vite/build/build_service_worker.js +++ b/packages/kit/src/vite/build/build_service_worker.js @@ -1,12 +1,11 @@ import fs from 'fs'; import * as vite from 'vite'; import { s } from '../../utils/misc.js'; -import { merge_vite_configs } from '../utils.js'; +import { get_vite_config, merge_vite_configs } from '../utils.js'; import { normalize_path } from '../../utils/url.js'; import { assets_base, remove_svelte_kit } from './utils.js'; /** - * @param {import('vite').UserConfig} vite_config * @param {{ * config: import('types').ValidatedConfig; * manifest_data: import('types').ManifestData; @@ -17,7 +16,6 @@ import { assets_base, remove_svelte_kit } from './utils.js'; * @param {import('vite').Manifest} client_manifest */ export async function build_service_worker( - vite_config, { config, manifest_data, output_dir, service_worker_entry_file }, prerendered, client_manifest @@ -67,6 +65,7 @@ export async function build_service_worker( .trim() ); + const vite_config = await get_vite_config(); const merged_config = merge_vite_configs(vite_config, { base: assets_base(config.kit), build: { @@ -83,6 +82,8 @@ export async function build_service_worker( outDir: `${output_dir}/client`, emptyOutDir: false }, + // @ts-expect-error + configFile: false, resolve: { alias: { '$service-worker': service_worker, diff --git a/packages/kit/src/vite/build/utils.js b/packages/kit/src/vite/build/utils.js index 57018d299d15..fbe9872a807b 100644 --- a/packages/kit/src/vite/build/utils.js +++ b/packages/kit/src/vite/build/utils.js @@ -1,3 +1,4 @@ +import fs from 'fs'; import * as vite from 'vite'; import { get_aliases } from '../utils.js'; @@ -77,13 +78,26 @@ export const get_default_config = function ({ config, input, ssr, outDir }) { }, preserveEntrySignatures: 'strict' }, - ssr + ssr, + target: ssr ? 'node14.8' : undefined }, // prevent Vite copying the contents of `config.kit.files.assets`, // if it happens to be 'public' instead of 'static' publicDir: false, resolve: { alias: get_aliases(config.kit) + }, + // @ts-expect-error + ssr: { + // when developing against the Kit src code, we want to ensure that + // our dependencies are bundled so that apps don't need to install + // them as peerDependencies + noExternal: process.env.BUNDLED + ? [] + : Object.keys( + JSON.parse(fs.readFileSync(new URL('../../../package.json', import.meta.url), 'utf-8')) + .devDependencies + ) } }; }; diff --git a/packages/kit/src/vite/index.js b/packages/kit/src/vite/index.js index 8a257ea8fc3d..c40e697a86db 100644 --- a/packages/kit/src/vite/index.js +++ b/packages/kit/src/vite/index.js @@ -70,7 +70,7 @@ function kit() { let svelte_config; /** @type {import('vite').UserConfig} */ - let vite_user_config; + let vite_config; /** @type {import('types').ManifestData} */ let manifest_data; @@ -84,11 +84,38 @@ function kit() { */ let paths; + function create_client_config() { + /** @type {Record} */ + const input = { + start: `${get_runtime_path(svelte_config.kit)}/client/start.js` + }; + + // This step is optional — Vite/Rollup will create the necessary chunks + // for everything regardless — but it means that entry chunks reflect + // their location in the source code, which is helpful for debugging + manifest_data.components.forEach((file) => { + const resolved = path.resolve(cwd, file); + const relative = path.relative(svelte_config.kit.files.routes, resolved); + + const name = relative.startsWith('..') + ? path.basename(file) + : posixify(path.join('pages', relative)); + input[name] = resolved; + }); + + return get_default_config({ + config: svelte_config, + input, + ssr: false, + outDir: `${paths.client_out_dir}/immutable` + }); + } + return { name: 'vite-plugin-svelte-kit', async config(config, { command }) { - vite_user_config = config; + vite_config = config; svelte_config = await load_config(); paths = { @@ -104,33 +131,11 @@ function kit() { manifest_data = sync.all(svelte_config).manifest_data; - /** @type {Record} */ - const input = { - start: `${get_runtime_path(svelte_config.kit)}/client/start.js` - }; - - // This step is optional — Vite/Rollup will create the necessary chunks - // for everything regardless — but it means that entry chunks reflect - // their location in the source code, which is helpful for debugging - manifest_data.components.forEach((file) => { - const resolved = path.resolve(cwd, file); - const relative = path.relative(svelte_config.kit.files.routes, resolved); - - const name = relative.startsWith('..') - ? path.basename(file) - : posixify(path.join('pages', relative)); - input[name] = resolved; - }); - - const result = get_default_config({ - config: svelte_config, - input, - ssr: false, - outDir: `${paths.client_out_dir}/immutable` - }); - - warn_overridden_config(config, result); - return result; + const new_config = create_client_config(); + + warn_overridden_config(config, new_config); + + return new_config; } // dev and preview config can be shared @@ -187,7 +192,8 @@ function kit() { }, async writeBundle(_options, bundle) { - const log = logger({ verbose: !!process.env.VERBOSE }); + const verbose = vite_config.logLevel === 'info'; + const log = logger({ verbose }); /** @type {import('rollup').OutputChunk[]} */ const chunks = []; @@ -241,7 +247,7 @@ function kit() { log.info('Building server'); - const server = await build_server(vite_user_config, options, client); + const server = await build_server(options, client); process.env.SVELTEKIT_SERVER_BUILD_COMPLETED = 'true'; @@ -254,12 +260,14 @@ function kit() { server }; - const manifest = `export const manifest = ${generate_manifest({ - build_data, - relative_path: '.', - routes: manifest_data.routes - })};\n`; - fs.writeFileSync(`${paths.output_dir}/server/manifest.js`, manifest); + fs.writeFileSync( + `${paths.output_dir}/server/manifest.js`, + `export const manifest = ${generate_manifest({ + build_data, + relative_path: '.', + routes: manifest_data.routes + })};\n` + ); const static_files = manifest_data.assets.map((asset) => posixify(asset.file)); @@ -294,7 +302,7 @@ function kit() { log.info('Building service worker'); - await build_service_worker(vite_user_config, options, prerendered, client.vite_manifest); + await build_service_worker(options, prerendered, client.vite_manifest); } console.log( @@ -327,7 +335,7 @@ function kit() { }, configurePreviewServer(vite) { - const protocol = vite_user_config.preview?.https ? 'https' : 'http'; + const protocol = vite_config.preview?.https ? 'https' : 'http'; return preview(vite, svelte_config, protocol); } }; @@ -357,7 +365,7 @@ function warn_overridden_config(config, resolved_config, path = '', out = []) { */ function find_overridden_config(config, resolved_config, path, out) { for (const key in enforced_config) { - if (key in config) { + if (typeof config === 'object' && config !== null && key in config) { if (enforced_config[key] === true && config[key] !== resolved_config[key]) { out.push(path + key); } else { diff --git a/packages/kit/src/vite/utils.js b/packages/kit/src/vite/utils.js index 4e507ef5ffa1..08c440cee685 100644 --- a/packages/kit/src/vite/utils.js +++ b/packages/kit/src/vite/utils.js @@ -1,7 +1,21 @@ import fs from 'fs'; import path from 'path'; +import { pathToFileURL } from 'url'; import { get_runtime_path } from '../core/utils.js'; +/** + * @return {Promise} + */ +export async function get_vite_config() { + for (const file of ['vite.config.js', 'vite.config.mjs', 'vite.config.cjs']) { + if (fs.existsSync(file)) { + const config = await import(pathToFileURL(file).toString()); + return config.default || config; + } + } + throw new Error('Could not find vite.config.js'); +} + /** * @param {...import('vite').UserConfig} configs * @returns {import('vite').UserConfig} diff --git a/packages/kit/test/apps/amp/package.json b/packages/kit/test/apps/amp/package.json index 20d8adb0c5e2..c6a54d072b28 100644 --- a/packages/kit/test/apps/amp/package.json +++ b/packages/kit/test/apps/amp/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.1", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check", "test": "npm run test:dev && npm run test:build", "test:dev": "cross-env DEV=true playwright test", @@ -19,7 +19,8 @@ "purify-css": "^1.2.5", "svelte": "^3.48.0", "svelte-check": "^2.7.1", - "typescript": "^4.7.2" + "typescript": "^4.7.2", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/apps/amp/svelte.config.js b/packages/kit/test/apps/amp/svelte.config.js index 9482e8972a83..df407b68f274 100644 --- a/packages/kit/test/apps/amp/svelte.config.js +++ b/packages/kit/test/apps/amp/svelte.config.js @@ -1,5 +1,3 @@ -import * as path from 'path'; - /** @type {import('@sveltejs/kit').Config} */ const config = { kit: { @@ -8,19 +6,7 @@ const config = { hydrate: false }, - inlineStyleThreshold: Infinity, - - vite: { - server: { - fs: { - allow: [path.resolve('../../../src')] - }, - - // TODO: required to support ipv6, remove on vite 3 - // https://github.com/vitejs/vite/issues/7075 - host: 'localhost' - } - } + inlineStyleThreshold: Infinity } }; diff --git a/packages/kit/test/apps/amp/vite.config.js b/packages/kit/test/apps/amp/vite.config.js new file mode 100644 index 000000000000..3789d6851a2c --- /dev/null +++ b/packages/kit/test/apps/amp/vite.config.js @@ -0,0 +1,23 @@ +import * as path from 'path'; +import { plugin } from '../../utils.js'; + +/** @type {import('vite').UserConfig} */ +const config = { + plugins: [plugin()], + server: { + // TODO: required to support ipv6, remove on vite 3 + // https://github.com/vitejs/vite/issues/7075 + host: 'localhost', + fs: { + allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] + } + } +}; + +export default config; diff --git a/packages/kit/test/apps/basics/package.json b/packages/kit/test/apps/basics/package.json index 16b2b6e642d9..3a95454d9e0b 100644 --- a/packages/kit/test/apps/basics/package.json +++ b/packages/kit/test/apps/basics/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.1", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check", "test": "npm run test:dev && npm run test:build", "test:dev": "rimraf test/errors.json && cross-env DEV=true playwright test", @@ -18,7 +18,8 @@ "rimraf": "^3.0.2", "svelte": "^3.48.0", "svelte-check": "^2.7.1", - "typescript": "^4.7.2" + "typescript": "^4.7.2", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/apps/basics/svelte.config.js b/packages/kit/test/apps/basics/svelte.config.js index a45140535e6d..96e61ff48538 100644 --- a/packages/kit/test/apps/basics/svelte.config.js +++ b/packages/kit/test/apps/basics/svelte.config.js @@ -1,30 +1,9 @@ -import * as path from 'path'; - /** @type {import('@sveltejs/kit').Config} */ const config = { kit: { prerender: { onError: 'continue' }, - vite: { - build: { - minify: false - }, - clearScreen: false, - optimizeDeps: { - // for CI, we need to explicitly prebundle deps, since - // the reload confuses Playwright - include: ['cookie', 'marked'] - }, - server: { - // TODO: required to support ipv6, remove on vite 3 - // https://github.com/vitejs/vite/issues/7075 - host: 'localhost', - fs: { - allow: [path.resolve('../../../src')] - } - } - }, methodOverride: { allowed: ['PUT', 'PATCH', 'DELETE'] } diff --git a/packages/kit/test/apps/basics/vite.config.js b/packages/kit/test/apps/basics/vite.config.js new file mode 100644 index 000000000000..6f93a3c9d99c --- /dev/null +++ b/packages/kit/test/apps/basics/vite.config.js @@ -0,0 +1,32 @@ +import * as path from 'path'; +import { plugin } from '../../utils.js'; + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + clearScreen: false, + optimizeDeps: { + // for CI, we need to explicitly prebundle deps, since + // the reload confuses Playwright + include: ['cookie', 'marked'] + }, + plugins: [plugin()], + server: { + // TODO: required to support ipv6, remove on vite 3 + // https://github.com/vitejs/vite/issues/7075 + host: 'localhost', + fs: { + allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] + } + } +}; + +export default config; diff --git a/packages/kit/test/apps/options-2/package.json b/packages/kit/test/apps/options-2/package.json index 1e4b147a5d16..27ec79c9bc98 100644 --- a/packages/kit/test/apps/options-2/package.json +++ b/packages/kit/test/apps/options-2/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.1", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check", "test": "npm run test:dev && npm run test:build", "test:dev": "cross-env DEV=true playwright test", @@ -18,7 +18,8 @@ "cross-env": "^7.0.3", "svelte": "^3.48.0", "svelte-check": "^2.7.1", - "typescript": "^4.7.2" + "typescript": "^4.7.2", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/apps/options-2/vite.config.js b/packages/kit/test/apps/options-2/vite.config.js index f9b84890d809..3789d6851a2c 100644 --- a/packages/kit/test/apps/options-2/vite.config.js +++ b/packages/kit/test/apps/options-2/vite.config.js @@ -1,15 +1,21 @@ import * as path from 'path'; -import { sveltekit } from '@sveltejs/kit/experimental/vite'; +import { plugin } from '../../utils.js'; /** @type {import('vite').UserConfig} */ const config = { - plugins: [sveltekit()], + plugins: [plugin()], server: { // TODO: required to support ipv6, remove on vite 3 // https://github.com/vitejs/vite/issues/7075 host: 'localhost', fs: { allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] } } }; diff --git a/packages/kit/test/apps/options/package.json b/packages/kit/test/apps/options/package.json index 0399950bb5d9..10e85c14ce06 100644 --- a/packages/kit/test/apps/options/package.json +++ b/packages/kit/test/apps/options/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.1", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check", "test": "npm run test:dev && npm run test:build", "test:dev": "cross-env DEV=true playwright test", @@ -17,7 +17,8 @@ "cross-env": "^7.0.3", "svelte": "^3.48.0", "svelte-check": "^2.7.1", - "typescript": "^4.7.2" + "typescript": "^4.7.2", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/apps/options/svelte.config.js b/packages/kit/test/apps/options/svelte.config.js index dac417144b74..5ef3ff54322f 100644 --- a/packages/kit/test/apps/options/svelte.config.js +++ b/packages/kit/test/apps/options/svelte.config.js @@ -1,5 +1,3 @@ -import * as path from 'path'; - /** @type {import('@sveltejs/kit').Config} */ const config = { extensions: ['.jesuslivesineveryone', '.whokilledthemuffinman', '.svelte.md', '.svelte'], @@ -22,20 +20,6 @@ const config = { inlineStyleThreshold: 1024, outDir: '.custom-out-dir', trailingSlash: 'always', - vite: { - build: { - minify: false - }, - clearScreen: false, - server: { - // TODO: required to support ipv6, remove on vite 3 - // https://github.com/vitejs/vite/issues/7075 - host: 'localhost', - fs: { - allow: [path.resolve('../../../src')] - } - } - }, paths: { base: '/path-base', assets: 'https://cdn.example.com/stuff' diff --git a/packages/kit/test/apps/options/vite.config.js b/packages/kit/test/apps/options/vite.config.js new file mode 100644 index 000000000000..0548b89a1794 --- /dev/null +++ b/packages/kit/test/apps/options/vite.config.js @@ -0,0 +1,27 @@ +import * as path from 'path'; +import { plugin } from '../../utils.js'; + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + clearScreen: false, + plugins: [plugin()], + server: { + // TODO: required to support ipv6, remove on vite 3 + // https://github.com/vitejs/vite/issues/7075 + host: 'localhost', + fs: { + allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] + } + } +}; + +export default config; diff --git a/packages/kit/test/cli.js b/packages/kit/test/cli.js index 970e9821cdc7..2749509a930f 100644 --- a/packages/kit/test/cli.js +++ b/packages/kit/test/cli.js @@ -5,10 +5,6 @@ const [node, , ...args] = process.argv; const mode = process.env.CI ? 'dist' : 'src'; const bin = fileURLToPath(new URL(`../${mode}/cli.js`, import.meta.url)); -const child = spawn(node, [bin, ...args], { +spawn(node, [bin, ...args], { stdio: 'inherit' }); - -if (child) { - child.on('exit', process.exit); -} diff --git a/packages/kit/test/prerendering/basics/package.json b/packages/kit/test/prerendering/basics/package.json index a9ff293082bf..09d1d90059e0 100644 --- a/packages/kit/test/prerendering/basics/package.json +++ b/packages/kit/test/prerendering/basics/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.2-next.0", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check", "test": "npm run build && uvu test" }, @@ -15,7 +15,8 @@ "svelte": "^3.48.0", "svelte-check": "^2.7.1", "typescript": "^4.7.2", - "uvu": "^0.5.3" + "uvu": "^0.5.3", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/prerendering/basics/svelte.config.js b/packages/kit/test/prerendering/basics/svelte.config.js index 64275704c962..dde915885a8e 100644 --- a/packages/kit/test/prerendering/basics/svelte.config.js +++ b/packages/kit/test/prerendering/basics/svelte.config.js @@ -1,4 +1,3 @@ -import * as path from 'path'; import adapter from '../../../../adapter-static/index.js'; /** @type {import('@sveltejs/kit').Config} */ @@ -9,18 +8,6 @@ const config = { prerender: { default: true, onError: 'continue' - }, - - vite: { - build: { - minify: false - }, - clearScreen: false, - server: { - fs: { - allow: [path.resolve('../../../src')] - } - } } } }; diff --git a/packages/kit/test/prerendering/basics/vite.config.js b/packages/kit/test/prerendering/basics/vite.config.js new file mode 100644 index 000000000000..0548b89a1794 --- /dev/null +++ b/packages/kit/test/prerendering/basics/vite.config.js @@ -0,0 +1,27 @@ +import * as path from 'path'; +import { plugin } from '../../utils.js'; + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + clearScreen: false, + plugins: [plugin()], + server: { + // TODO: required to support ipv6, remove on vite 3 + // https://github.com/vitejs/vite/issues/7075 + host: 'localhost', + fs: { + allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] + } + } +}; + +export default config; diff --git a/packages/kit/test/prerendering/disabled/package.json b/packages/kit/test/prerendering/disabled/package.json index 2bd8480aae90..8d1046651f1e 100644 --- a/packages/kit/test/prerendering/disabled/package.json +++ b/packages/kit/test/prerendering/disabled/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.2-next.0", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check", "test": "npm run build" }, @@ -15,7 +15,8 @@ "svelte": "^3.48.0", "svelte-check": "^2.7.1", "typescript": "^4.7.2", - "uvu": "^0.5.3" + "uvu": "^0.5.3", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/prerendering/disabled/svelte.config.js b/packages/kit/test/prerendering/disabled/svelte.config.js index 692691aac8eb..6b5a2c76d1db 100644 --- a/packages/kit/test/prerendering/disabled/svelte.config.js +++ b/packages/kit/test/prerendering/disabled/svelte.config.js @@ -1,4 +1,3 @@ -import * as path from 'path'; import adapter from '../../../../adapter-static/index.js'; /** @type {import('@sveltejs/kit').Config} */ @@ -8,18 +7,6 @@ const config = { prerender: { enabled: false - }, - - vite: { - build: { - minify: false - }, - clearScreen: false, - server: { - fs: { - allow: [path.resolve('../../../src')] - } - } } } }; diff --git a/packages/kit/test/prerendering/disabled/vite.config.js b/packages/kit/test/prerendering/disabled/vite.config.js new file mode 100644 index 000000000000..0548b89a1794 --- /dev/null +++ b/packages/kit/test/prerendering/disabled/vite.config.js @@ -0,0 +1,27 @@ +import * as path from 'path'; +import { plugin } from '../../utils.js'; + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + clearScreen: false, + plugins: [plugin()], + server: { + // TODO: required to support ipv6, remove on vite 3 + // https://github.com/vitejs/vite/issues/7075 + host: 'localhost', + fs: { + allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] + } + } +}; + +export default config; diff --git a/packages/kit/test/prerendering/options/package.json b/packages/kit/test/prerendering/options/package.json index b8fcadcd3137..592628710dc1 100644 --- a/packages/kit/test/prerendering/options/package.json +++ b/packages/kit/test/prerendering/options/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.1", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build --verbose", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check", "test": "npm run build && uvu test" }, @@ -15,7 +15,8 @@ "svelte": "^3.48.0", "svelte-check": "^2.7.1", "typescript": "^4.7.2", - "uvu": "^0.5.3" + "uvu": "^0.5.3", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/prerendering/options/svelte.config.js b/packages/kit/test/prerendering/options/svelte.config.js index 0e0bf7e3e6a2..5a2efdd38fba 100644 --- a/packages/kit/test/prerendering/options/svelte.config.js +++ b/packages/kit/test/prerendering/options/svelte.config.js @@ -1,4 +1,3 @@ -import * as path from 'path'; import adapter from '../../../../adapter-static/index.js'; /** @type {import('@sveltejs/kit').Config} */ @@ -27,19 +26,7 @@ const config = { default: true }, - trailingSlash: 'always', - - vite: { - build: { - minify: false - }, - clearScreen: false, - server: { - fs: { - allow: [path.resolve('../../../src')] - } - } - } + trailingSlash: 'always' } }; diff --git a/packages/kit/test/prerendering/options/vite.config.js b/packages/kit/test/prerendering/options/vite.config.js new file mode 100644 index 000000000000..0548b89a1794 --- /dev/null +++ b/packages/kit/test/prerendering/options/vite.config.js @@ -0,0 +1,27 @@ +import * as path from 'path'; +import { plugin } from '../../utils.js'; + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + clearScreen: false, + plugins: [plugin()], + server: { + // TODO: required to support ipv6, remove on vite 3 + // https://github.com/vitejs/vite/issues/7075 + host: 'localhost', + fs: { + allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] + } + } +}; + +export default config; diff --git a/packages/kit/test/prerendering/paths-base/package.json b/packages/kit/test/prerendering/paths-base/package.json index cd92a02e3078..03d4ed4963ca 100644 --- a/packages/kit/test/prerendering/paths-base/package.json +++ b/packages/kit/test/prerendering/paths-base/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.1", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build --verbose", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check", "test": "npm run build && uvu test" }, @@ -15,7 +15,8 @@ "svelte": "^3.48.0", "svelte-check": "^2.7.1", "typescript": "^4.7.2", - "uvu": "^0.5.3" + "uvu": "^0.5.3", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/prerendering/paths-base/svelte.config.js b/packages/kit/test/prerendering/paths-base/svelte.config.js index a489865dc085..98ed3c7c32f3 100644 --- a/packages/kit/test/prerendering/paths-base/svelte.config.js +++ b/packages/kit/test/prerendering/paths-base/svelte.config.js @@ -1,4 +1,3 @@ -import * as path from 'path'; import adapter from '../../../../adapter-static/index.js'; /** @type {import('@sveltejs/kit').Config} */ @@ -12,18 +11,6 @@ const config = { prerender: { default: true - }, - - vite: { - build: { - minify: false - }, - clearScreen: false, - server: { - fs: { - allow: [path.resolve('../../../src')] - } - } } } }; diff --git a/packages/kit/test/prerendering/paths-base/vite.config.js b/packages/kit/test/prerendering/paths-base/vite.config.js new file mode 100644 index 000000000000..0548b89a1794 --- /dev/null +++ b/packages/kit/test/prerendering/paths-base/vite.config.js @@ -0,0 +1,27 @@ +import * as path from 'path'; +import { plugin } from '../../utils.js'; + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + clearScreen: false, + plugins: [plugin()], + server: { + // TODO: required to support ipv6, remove on vite 3 + // https://github.com/vitejs/vite/issues/7075 + host: 'localhost', + fs: { + allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] + } + } +}; + +export default config; diff --git a/packages/kit/test/prerendering/trailing-slash/package.json b/packages/kit/test/prerendering/trailing-slash/package.json index 16e3efe679c5..b0bcf689004b 100644 --- a/packages/kit/test/prerendering/trailing-slash/package.json +++ b/packages/kit/test/prerendering/trailing-slash/package.json @@ -3,10 +3,10 @@ "private": true, "version": "0.0.1", "scripts": { - "dev": "node ../../cli.js dev", - "build": "node ../../cli.js build --verbose", - "preview": "node ../../cli.js preview", - "sync": "node ../../cli.js sync", + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "node ../../cli.js sync", "check": "tsc && svelte-check" }, "devDependencies": { @@ -14,7 +14,8 @@ "svelte": "^3.48.0", "svelte-check": "^2.7.1", "typescript": "^4.7.2", - "uvu": "^0.5.3" + "uvu": "^0.5.3", + "vite": "^2.9.13" }, "type": "module" } diff --git a/packages/kit/test/prerendering/trailing-slash/svelte.config.js b/packages/kit/test/prerendering/trailing-slash/svelte.config.js index 5f30fd6fbb68..2b9bebbb2b9d 100644 --- a/packages/kit/test/prerendering/trailing-slash/svelte.config.js +++ b/packages/kit/test/prerendering/trailing-slash/svelte.config.js @@ -1,4 +1,3 @@ -import path from 'path'; import adapter from '../../../../adapter-static/index.js'; /** @type {import('@sveltejs/kit').Config} */ @@ -12,19 +11,7 @@ const config = { default: true }, - trailingSlash: 'always', - - vite: { - build: { - minify: false - }, - clearScreen: false, - server: { - fs: { - allow: [path.resolve('../../../src')] - } - } - } + trailingSlash: 'always' } }; diff --git a/packages/kit/test/prerendering/trailing-slash/vite.config.js b/packages/kit/test/prerendering/trailing-slash/vite.config.js new file mode 100644 index 000000000000..0548b89a1794 --- /dev/null +++ b/packages/kit/test/prerendering/trailing-slash/vite.config.js @@ -0,0 +1,27 @@ +import * as path from 'path'; +import { plugin } from '../../utils.js'; + +/** @type {import('vite').UserConfig} */ +const config = { + build: { + minify: false + }, + clearScreen: false, + plugins: [plugin()], + server: { + // TODO: required to support ipv6, remove on vite 3 + // https://github.com/vitejs/vite/issues/7075 + host: 'localhost', + fs: { + allow: [path.resolve('../../../src')] + }, + // TODO: remove on vite 3 + // https://github.com/vitejs/vite/pull/8778 + watch: { + // perf, do not watch playwright output dir + ignored: ['**/test-results/**'] + } + } +}; + +export default config; diff --git a/packages/kit/test/tsconfig.json b/packages/kit/test/tsconfig.json new file mode 100644 index 000000000000..4aa5d15ca67c --- /dev/null +++ b/packages/kit/test/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "allowJs": true, + "checkJs": true, + "noEmit": true, + "strict": true, + "target": "esnext", + "module": "esnext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "paths": { + "@sveltejs/kit": ["../types/index"], + // internal use only + "types": ["../types/internal"] + } + } +} diff --git a/packages/kit/test/utils.d.ts b/packages/kit/test/utils.d.ts index c0aedd55959e..050b525bd86f 100644 --- a/packages/kit/test/utils.d.ts +++ b/packages/kit/test/utils.d.ts @@ -7,6 +7,7 @@ import { TestType } from '@playwright/test'; import { IncomingMessage, ServerResponse } from 'http'; +import { Plugin } from 'vite'; export const test: TestType< PlaywrightTestArgs & @@ -36,3 +37,5 @@ export const start_server: ( port: number; close: () => Promise; }>; + +export const plugin: () => Plugin; diff --git a/packages/kit/test/utils.js b/packages/kit/test/utils.js index a32f1be78273..365a0f8da1a1 100644 --- a/packages/kit/test/utils.js +++ b/packages/kit/test/utils.js @@ -199,3 +199,7 @@ export async function start_server(handler, start = 4000) { } }; } + +export const plugin = process.env.CI + ? (await import('../dist/vite.js')).sveltekit + : (await import('../src/vite/index.js')).sveltekit; diff --git a/packages/kit/types/ambient.d.ts b/packages/kit/types/ambient.d.ts index 25d22b29708e..697149731a62 100644 --- a/packages/kit/types/ambient.d.ts +++ b/packages/kit/types/ambient.d.ts @@ -82,7 +82,7 @@ declare module '$app/env' { /** * The Vite.js mode the app is running in. Configure in `config.kit.vite.mode`. * Vite.js loads the dotenv file associated with the provided mode, `.env.[mode]` or `.env.[mode].local`. - * By default, `svelte-kit dev` runs with `mode=development` and `svelte-kit build` runs with `mode=production`. + * By default, `vite dev` runs with `mode=development` and `vite build` runs with `mode=production`. */ export const mode: string; @@ -190,7 +190,7 @@ declare module '$app/paths' { /** * An absolute path that matches [`config.kit.paths.assets`](/docs/configuration#paths). * - * > If a value for `config.kit.paths.assets` is specified, it will be replaced with `'/_svelte_kit_assets'` during [`svelte-kit dev`](/docs/cli#svelte-kit-dev) or [`svelte-kit preview`](/docs/cli#svelte-kit-preview), since the assets don't yet live at their eventual URL. + * > If a value for `config.kit.paths.assets` is specified, it will be replaced with `'/_svelte_kit_assets'` during `vite dev` or `vite preview`, since the assets don't yet live at their eventual URL. */ export const assets: `https://${string}` | `http://${string}`; } @@ -335,7 +335,7 @@ declare module '@sveltejs/kit/node' { export function setResponse(res: import('http').ServerResponse, response: Response): void; } -declare module '@sveltejs/kit/experimental/vite' { +declare module '@sveltejs/kit/vite' { import { Plugin } from 'vite'; /** diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 661c135e2883..fffd82bb8079 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,7 @@ importers: .: specifiers: '@changesets/cli': ^2.22.0 - '@rollup/plugin-commonjs': ^21.1.0 + '@rollup/plugin-commonjs': ^22.0.1 '@rollup/plugin-json': ^4.1.0 '@rollup/plugin-node-resolve': ^13.3.0 '@sveltejs/eslint-config': github:sveltejs/eslint-config#v5.8.0 @@ -23,24 +23,24 @@ importers: turbo: ^1.2.14 typescript: ^4.7.2 devDependencies: - '@changesets/cli': 2.22.0 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.75.3 + '@changesets/cli': 2.23.0 + '@rollup/plugin-commonjs': 22.0.1_rollup@2.75.3 '@rollup/plugin-json': 4.1.0_rollup@2.75.3 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.75.3 - '@sveltejs/eslint-config': github.com/sveltejs/eslint-config/9a7d728e03ac433e5856a6e06775c17ee986d641_w4rs2ccfif2v7dzo5nj6mjdwui + '@sveltejs/eslint-config': github.com/sveltejs/eslint-config/9a7d728e03ac433e5856a6e06775c17ee986d641_5nge3uy3zvbeyedwlvrgstgizy '@svitejs/changesets-changelog-github-compact': 0.1.1 - '@typescript-eslint/eslint-plugin': 5.27.0_dszb5tb7atwkjjijmmov4qhi7i - '@typescript-eslint/parser': 5.27.0_xztl6dhthcahlo6akmb2bmjmle - eslint: 8.16.0 - eslint-plugin-import: 2.26.0_xsmuhwqsfrjm7m3kqio7zoeziq - eslint-plugin-node: 11.1.0_eslint@8.16.0 - eslint-plugin-svelte3: 4.0.0_vypdqzeyqutkgs6qzc7qod4c64 - prettier: 2.6.2 + '@typescript-eslint/eslint-plugin': 5.30.3_uhfrv6c56y4b7yuzllo3ym4bou + '@typescript-eslint/parser': 5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e + eslint: 8.18.0 + eslint-plugin-import: 2.26.0_stpfporf4ezjetv6zdnl75453m + eslint-plugin-node: 11.1.0_eslint@8.18.0 + eslint-plugin-svelte3: 4.0.0_wy4erphnvhealet26qderqv6bu + prettier: 2.7.1 rollup: 2.75.3 svelte: 3.48.0 tiny-glob: 0.2.9 - turbo: 1.2.14 - typescript: 4.7.2 + turbo: 1.3.1 + typescript: 4.7.4 packages/adapter-auto: specifiers: @@ -54,8 +54,8 @@ importers: '@sveltejs/adapter-netlify': link:../adapter-netlify '@sveltejs/adapter-vercel': link:../adapter-vercel devDependencies: - '@types/node': 16.11.36 - typescript: 4.7.2 + '@types/node': 16.11.42 + typescript: 4.7.4 packages/adapter-cloudflare: specifiers: @@ -68,9 +68,9 @@ importers: esbuild: 0.14.42 worktop: 0.8.0-next.14 devDependencies: - '@types/node': 16.11.36 + '@types/node': 16.11.42 '@types/ws': 8.5.3 - typescript: 4.7.2 + typescript: 4.7.4 packages/adapter-cloudflare-workers: specifiers: @@ -84,14 +84,14 @@ importers: esbuild: 0.14.42 devDependencies: '@cloudflare/kv-asset-handler': 0.2.0 - '@types/node': 16.11.36 - typescript: 4.7.2 + '@types/node': 16.11.42 + typescript: 4.7.4 packages/adapter-netlify: specifiers: '@iarna/toml': ^2.2.5 '@netlify/functions': ^1.0.0 - '@rollup/plugin-commonjs': ^21.1.0 + '@rollup/plugin-commonjs': ^22.0.1 '@rollup/plugin-json': ^4.1.0 '@rollup/plugin-node-resolve': ^13.3.0 '@sveltejs/kit': workspace:* @@ -107,20 +107,20 @@ importers: dependencies: '@iarna/toml': 2.2.5 esbuild: 0.14.42 - set-cookie-parser: 2.4.8 + set-cookie-parser: 2.5.0 tiny-glob: 0.2.9 devDependencies: '@netlify/functions': 1.0.0 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.75.3 + '@rollup/plugin-commonjs': 22.0.1_rollup@2.75.3 '@rollup/plugin-json': 4.1.0_rollup@2.75.3 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.75.3 '@sveltejs/kit': link:../kit - '@types/node': 16.11.36 + '@types/node': 16.11.42 '@types/set-cookie-parser': 2.4.2 rimraf: 3.0.2 rollup: 2.75.3 - typescript: 4.7.2 - uvu: 0.5.3 + typescript: 4.7.4 + uvu: 0.5.4 packages/adapter-node: specifiers: @@ -144,16 +144,16 @@ importers: '@rollup/plugin-json': 4.1.0_rollup@2.75.3 '@sveltejs/kit': link:../kit '@types/compression': 1.7.2 - '@types/node': 16.11.36 + '@types/node': 16.11.42 c8: 7.11.3 compression: 1.7.4 - node-fetch: 3.2.4 + node-fetch: 3.2.6 polka: 1.0.0-next.22 rimraf: 3.0.2 rollup: 2.75.3 sirv: 2.0.2 - typescript: 4.7.2 - uvu: 0.5.3 + typescript: 4.7.4 + uvu: 0.5.4 packages/adapter-static: specifiers: @@ -166,17 +166,43 @@ importers: tiny-glob: ^0.2.9 typescript: ^4.7.2 uvu: ^0.5.3 + vite: ^2.9.13 dependencies: tiny-glob: 0.2.9 devDependencies: '@sveltejs/kit': link:../kit - '@types/node': 16.11.36 - playwright-chromium: 1.22.2 + '@types/node': 16.11.42 + playwright-chromium: 1.23.1 port-authority: 1.2.0 sirv: 2.0.2 svelte: 3.48.0 - typescript: 4.7.2 - uvu: 0.5.3 + typescript: 4.7.4 + uvu: 0.5.4 + vite: 2.9.13 + + packages/adapter-static/test/apps/prerendered: + specifiers: + '@sveltejs/kit': workspace:* + svelte: ^3.48.0 + vite: ^2.9.13 + devDependencies: + '@sveltejs/kit': link:../../../../kit + svelte: 3.48.0 + vite: 2.9.13 + + packages/adapter-static/test/apps/spa: + specifiers: + '@sveltejs/adapter-node': workspace:* + '@sveltejs/kit': workspace:* + sirv-cli: ^2.0.2 + svelte: ^3.48.0 + vite: ^2.9.13 + devDependencies: + '@sveltejs/adapter-node': link:../../../../adapter-node + '@sveltejs/kit': link:../../../../kit + sirv-cli: 2.0.2 + svelte: 3.48.0 + vite: 2.9.13 packages/adapter-vercel: specifiers: @@ -186,12 +212,12 @@ importers: esbuild: ^0.14.42 typescript: ^4.7.2 dependencies: - '@vercel/nft': 0.20.0 + '@vercel/nft': 0.20.1 esbuild: 0.14.42 devDependencies: '@sveltejs/kit': link:../kit - '@types/node': 16.11.36 - typescript: 4.7.2 + '@types/node': 16.11.42 + typescript: 4.7.4 packages/amp: specifiers: {} @@ -213,20 +239,20 @@ importers: svelte-preprocess: ^4.10.6 tiny-glob: ^0.2.9 dependencies: - kleur: 4.1.4 + kleur: 4.1.5 prompts: 2.4.2 devDependencies: - '@playwright/test': 1.22.2 + '@playwright/test': 1.23.1 '@sveltejs/kit': link:../kit '@types/gitignore-parser': 0.0.0 '@types/prettier': 2.6.3 '@types/prompts': 2.0.14 gitignore-parser: 0.0.2 - prettier: 2.6.2 - prettier-plugin-svelte: 2.7.0_kkjbqzpydplecjtkxrgomroeru - sucrase: 3.21.0 + prettier: 2.7.1 + prettier-plugin-svelte: 2.7.0_nakrehnrzdf7fdea5k3a4dfy4m + sucrase: 3.23.0 svelte: 3.48.0 - svelte-preprocess: 4.10.6_svelte@3.48.0 + svelte-preprocess: 4.10.7_svelte@3.48.0 tiny-glob: 0.2.9 packages/create-svelte/templates/default: @@ -239,6 +265,7 @@ importers: svelte: ^3.48.0 svelte-preprocess: ^4.10.6 typescript: ^4.7.2 + vite: ^2.9.13 dependencies: '@fontsource/fira-mono': 4.5.8 '@lukeed/uuid': 2.0.0 @@ -247,8 +274,9 @@ importers: '@sveltejs/adapter-auto': link:../../../adapter-auto '@sveltejs/kit': link:../../../kit svelte: 3.48.0 - svelte-preprocess: 4.10.6_rxzurg3hjloskwsrdpptpplucy - typescript: 4.7.2 + svelte-preprocess: 4.10.7_lvfi2wesz6u4l5rfbnetbucfmm + typescript: 4.7.4 + vite: 2.9.13 packages/kit: specifiers: @@ -284,46 +312,46 @@ importers: svelte2tsx: ~0.5.10 tiny-glob: ^0.2.9 typescript: ^4.7.2 - undici: ^5.4.0 + undici: ^5.6.0 uvu: ^0.5.3 - vite: ^2.9.10 + vite: ^2.9.13 dependencies: - '@sveltejs/vite-plugin-svelte': 1.0.0-next.48_svelte@3.48.0+vite@2.9.10 + '@sveltejs/vite-plugin-svelte': 1.0.0-next.49_svelte@3.48.0+vite@2.9.13 chokidar: 3.5.3 sade: 1.8.1 - vite: 2.9.10 devDependencies: - '@playwright/test': 1.22.2 + '@playwright/test': 1.23.1 '@rollup/plugin-replace': 4.0.0_rollup@2.75.3 '@types/connect': 3.4.35 '@types/cookie': 0.5.1 '@types/marked': 4.0.3 '@types/mime': 2.0.3 - '@types/node': 16.11.36 + '@types/node': 16.11.42 '@types/sade': 1.7.4 '@types/set-cookie-parser': 2.4.2 cookie: 0.5.0 cross-env: 7.0.3 devalue: 2.0.1 - eslint: 8.16.0 - kleur: 4.1.4 + eslint: 8.18.0 + kleur: 4.1.5 locate-character: 2.0.5 - marked: 4.0.16 + marked: 4.0.17 mime: 3.0.0 - node-fetch: 3.2.4 + node-fetch: 3.2.6 port-authority: 2.0.1 rollup: 2.75.3 selfsigned: 2.0.1 - set-cookie-parser: 2.4.8 + set-cookie-parser: 2.5.0 sirv: 2.0.2 svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - svelte-preprocess: 4.10.6_rxzurg3hjloskwsrdpptpplucy - svelte2tsx: 0.5.10_rxzurg3hjloskwsrdpptpplucy + svelte-check: 2.8.0_svelte@3.48.0 + svelte-preprocess: 4.10.7_lvfi2wesz6u4l5rfbnetbucfmm + svelte2tsx: 0.5.11_lvfi2wesz6u4l5rfbnetbucfmm tiny-glob: 0.2.9 - typescript: 4.7.2 - undici: 5.4.0 - uvu: 0.5.3 + typescript: 4.7.4 + undici: 5.6.0 + uvu: 0.5.4 + vite: 2.9.13 packages/kit/test/apps/amp: specifiers: @@ -334,14 +362,16 @@ importers: svelte: ^3.48.0 svelte-check: ^2.7.1 typescript: ^4.7.2 + vite: ^2.9.13 devDependencies: '@sveltejs/amp': link:../../../../amp '@sveltejs/kit': link:../../.. cross-env: 7.0.3 purify-css: 1.2.5 svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + vite: 2.9.13 packages/kit/test/apps/basics: specifiers: @@ -351,13 +381,15 @@ importers: svelte: ^3.48.0 svelte-check: ^2.7.1 typescript: ^4.7.2 + vite: ^2.9.13 devDependencies: '@sveltejs/kit': link:../../.. cross-env: 7.0.3 rimraf: 3.0.2 svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + vite: 2.9.13 packages/kit/test/apps/options: specifiers: @@ -366,12 +398,14 @@ importers: svelte: ^3.48.0 svelte-check: ^2.7.1 typescript: ^4.7.2 + vite: ^2.9.13 devDependencies: '@sveltejs/kit': link:../../.. cross-env: 7.0.3 svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + vite: 2.9.13 packages/kit/test/apps/options-2: specifiers: @@ -381,13 +415,15 @@ importers: svelte: ^3.48.0 svelte-check: ^2.7.1 typescript: ^4.7.2 + vite: ^2.9.13 devDependencies: '@sveltejs/adapter-node': link:../../../../adapter-node '@sveltejs/kit': link:../../.. cross-env: 7.0.3 svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + vite: 2.9.13 packages/kit/test/prerendering/basics: specifiers: @@ -396,12 +432,14 @@ importers: svelte-check: ^2.7.1 typescript: ^4.7.2 uvu: ^0.5.3 + vite: ^2.9.13 devDependencies: '@sveltejs/kit': link:../../.. svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 - uvu: 0.5.3 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + uvu: 0.5.4 + vite: 2.9.13 packages/kit/test/prerendering/disabled: specifiers: @@ -410,12 +448,14 @@ importers: svelte-check: ^2.7.1 typescript: ^4.7.2 uvu: ^0.5.3 + vite: ^2.9.13 devDependencies: '@sveltejs/kit': link:../../.. svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 - uvu: 0.5.3 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + uvu: 0.5.4 + vite: 2.9.13 packages/kit/test/prerendering/options: specifiers: @@ -424,12 +464,14 @@ importers: svelte-check: ^2.7.1 typescript: ^4.7.2 uvu: ^0.5.3 + vite: ^2.9.13 devDependencies: '@sveltejs/kit': link:../../.. svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 - uvu: 0.5.3 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + uvu: 0.5.4 + vite: 2.9.13 packages/kit/test/prerendering/paths-base: specifiers: @@ -438,12 +480,14 @@ importers: svelte-check: ^2.7.1 typescript: ^4.7.2 uvu: ^0.5.3 + vite: ^2.9.13 devDependencies: '@sveltejs/kit': link:../../.. svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 - uvu: 0.5.3 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + uvu: 0.5.4 + vite: 2.9.13 packages/kit/test/prerendering/trailing-slash: specifiers: @@ -452,12 +496,14 @@ importers: svelte-check: ^2.7.1 typescript: ^4.7.2 uvu: ^0.5.3 + vite: ^2.9.13 devDependencies: '@sveltejs/kit': link:../../.. svelte: 3.48.0 - svelte-check: 2.7.1_svelte@3.48.0 - typescript: 4.7.2 - uvu: 0.5.3 + svelte-check: 2.8.0_svelte@3.48.0 + typescript: 4.7.4 + uvu: 0.5.4 + vite: 2.9.13 sites/kit.svelte.dev: specifiers: @@ -482,42 +528,42 @@ importers: '@sveltejs/amp': link:../../packages/amp '@sveltejs/kit': link:../../packages/kit '@sveltejs/site-kit': 2.1.0 - '@types/node': 16.11.36 + '@types/node': 16.11.42 flexsearch: 0.7.21 - marked: 4.0.16 + marked: 4.0.17 prism-svelte: 0.5.0 prismjs: 1.28.0 - shiki-twoslash: 3.0.2 + shiki-twoslash: 3.1.0 svelte: 3.48.0 - typescript: 4.7.2 - vite: 2.9.10 - vite-imagetools: 4.0.3 + typescript: 4.7.4 + vite: 2.9.13 + vite-imagetools: 4.0.4 packages: - /@babel/code-frame/7.16.7: - resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} + /@babel/code-frame/7.18.6: + resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/highlight': 7.17.12 + '@babel/highlight': 7.18.6 dev: true - /@babel/helper-validator-identifier/7.16.7: - resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==} + /@babel/helper-validator-identifier/7.18.6: + resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==} engines: {node: '>=6.9.0'} dev: true - /@babel/highlight/7.17.12: - resolution: {integrity: sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==} + /@babel/highlight/7.18.6: + resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.16.7 + '@babel/helper-validator-identifier': 7.18.6 chalk: 2.4.2 js-tokens: 4.0.0 dev: true - /@babel/runtime/7.18.3: - resolution: {integrity: sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==} + /@babel/runtime/7.18.6: + resolution: {integrity: sha512-t9wi7/AW6XtKahAe20Yw0/mMljKq0B1r2fPdvaAdV/KPDZewFXdaaa6K7lxmZBZ8FBNpCiAT6iHPmd6QO9bKfQ==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.13.9 @@ -530,7 +576,7 @@ packages: /@changesets/apply-release-plan/6.0.0: resolution: {integrity: sha512-gp6nIdVdfYdwKww2+f8whckKmvfE4JEm4jJgBhTmooi0uzHWhnxvk6JIzQi89qEAMINN0SeVNnXiAtbFY0Mj3w==} dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.18.6 '@changesets/config': 2.0.0 '@changesets/get-version-range-type': 0.3.2 '@changesets/git': 1.3.2 @@ -545,10 +591,10 @@ packages: semver: 5.7.1 dev: true - /@changesets/assemble-release-plan/5.1.2: - resolution: {integrity: sha512-nOFyDw4APSkY/vh5WNwGEtThPgEjVShp03PKVdId6wZTJALVcAALCSLmDRfeqjE2z9EsGJb7hZdDlziKlnqZgw==} + /@changesets/assemble-release-plan/5.1.3: + resolution: {integrity: sha512-I+TTkUoqvxBEuDLoJfJYKDXIJ+nyiTbVJ8KGhpXEsLq4N/ms/AStSbouJwF2d/p3cB+RCPr5+gXh31GSN4kA7w==} dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.18.6 '@changesets/errors': 0.1.4 '@changesets/get-dependents-graph': 1.3.2 '@changesets/types': 5.0.0 @@ -562,18 +608,18 @@ packages: '@changesets/types': 5.0.0 dev: true - /@changesets/cli/2.22.0: - resolution: {integrity: sha512-4bA3YoBkd5cm5WUxmrR2N9WYE7EeQcM+R3bVYMUj2NvffkQVpU3ckAI+z8UICoojq+HRl2OEwtz+S5UBmYY4zw==} + /@changesets/cli/2.23.0: + resolution: {integrity: sha512-Gi3tMi0Vr6eNd8GX6q73tbOm9XOzGfuLEm4PYVeWG2neg5DlRGNOjYwrFULJ/An3N9MHtHn4r5h1Qvnju9Ijug==} hasBin: true dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.18.6 '@changesets/apply-release-plan': 6.0.0 - '@changesets/assemble-release-plan': 5.1.2 + '@changesets/assemble-release-plan': 5.1.3 '@changesets/changelog-git': 0.1.11 '@changesets/config': 2.0.0 '@changesets/errors': 0.1.4 '@changesets/get-dependents-graph': 1.3.2 - '@changesets/get-release-plan': 3.0.8 + '@changesets/get-release-plan': 3.0.9 '@changesets/git': 1.3.2 '@changesets/logger': 0.0.5 '@changesets/pre': 1.0.11 @@ -583,6 +629,7 @@ packages: '@manypkg/get-packages': 1.1.3 '@types/is-ci': 3.0.0 '@types/semver': 6.2.3 + ansi-colors: 4.1.3 chalk: 2.4.2 enquirer: 2.3.6 external-editor: 3.1.0 @@ -597,7 +644,7 @@ packages: semver: 5.7.1 spawndamnit: 2.0.0 term-size: 2.2.1 - tty-table: 2.8.13 + tty-table: 4.1.6 dev: true /@changesets/config/2.0.0: @@ -628,8 +675,8 @@ packages: semver: 5.7.1 dev: true - /@changesets/get-github-info/0.5.0: - resolution: {integrity: sha512-vm5VgHwrxkMkUjFyn3UVNKLbDp9YMHd3vMf1IyJoa/7B+6VpqmtAaXyDS0zBLfN5bhzVCHrRnj4GcZXXcqrFTw==} + /@changesets/get-github-info/0.5.1: + resolution: {integrity: sha512-w2yl3AuG+hFuEEmT6j1zDlg7GQLM/J2UxTmk0uJBMdRqHni4zXGe/vUlPfLom5KfX3cRfHc0hzGvloDPjWFNZw==} dependencies: dataloader: 1.4.0 node-fetch: 2.6.7 @@ -637,11 +684,11 @@ packages: - encoding dev: true - /@changesets/get-release-plan/3.0.8: - resolution: {integrity: sha512-TJYiWNuP0Lzu2dL/KHuk75w7TkiE5HqoYirrXF7SJIxkhlgH9toQf2C7IapiFTObtuF1qDN8HJAX1CuIOwXldg==} + /@changesets/get-release-plan/3.0.9: + resolution: {integrity: sha512-5C1r4DcOjVxcCvPmXpymeyT6mdSTLCNiB2L+5uf19BRkDKndJdIQorH5Fe2XBR2nHUcZQFT+2TXDzCepat969w==} dependencies: - '@babel/runtime': 7.18.3 - '@changesets/assemble-release-plan': 5.1.2 + '@babel/runtime': 7.18.6 + '@changesets/assemble-release-plan': 5.1.3 '@changesets/config': 2.0.0 '@changesets/pre': 1.0.11 '@changesets/read': 0.5.5 @@ -656,7 +703,7 @@ packages: /@changesets/git/1.3.2: resolution: {integrity: sha512-p5UL+urAg0Nnpt70DLiBe2iSsMcDubTo9fTOD/61krmcJ466MGh71OHwdAwu1xG5+NKzeysdy1joRTg8CXcEXA==} dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.18.6 '@changesets/errors': 0.1.4 '@changesets/types': 5.0.0 '@manypkg/get-packages': 1.1.3 @@ -680,7 +727,7 @@ packages: /@changesets/pre/1.0.11: resolution: {integrity: sha512-CXZnt4SV9waaC9cPLm7818+SxvLKIDHUxaiTXnJYDp1c56xIexx1BNfC1yMuOdzO2a3rAIcZua5Odxr3dwSKfg==} dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.18.6 '@changesets/errors': 0.1.4 '@changesets/types': 5.0.0 '@manypkg/get-packages': 1.1.3 @@ -690,7 +737,7 @@ packages: /@changesets/read/0.5.5: resolution: {integrity: sha512-bzonrPWc29Tsjvgh+8CqJ0apQOwWim0zheeD4ZK44ApSa/GudnZJTODtA3yNOOuQzeZmL0NUebVoHIurtIkA7w==} dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.18.6 '@changesets/git': 1.3.2 '@changesets/logger': 0.0.5 '@changesets/parse': 0.3.13 @@ -711,7 +758,7 @@ packages: /@changesets/write/0.1.8: resolution: {integrity: sha512-oIHeFVMuP6jf0TPnKPpaFpvvAf3JBc+s2pmVChbeEgQTBTALoF51Z9kqxQfG4XONZPHZnqkmy564c7qohhhhTQ==} dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.18.6 '@changesets/types': 5.0.0 fs-extra: 7.0.1 human-id: 1.0.2 @@ -769,20 +816,20 @@ packages: engines: {node: '>=8'} dev: true - /@jridgewell/resolve-uri/3.0.7: - resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==} + /@jridgewell/resolve-uri/3.0.8: + resolution: {integrity: sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w==} engines: {node: '>=6.0.0'} dev: true - /@jridgewell/sourcemap-codec/1.4.13: - resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==} + /@jridgewell/sourcemap-codec/1.4.14: + resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} dev: true - /@jridgewell/trace-mapping/0.3.13: - resolution: {integrity: sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==} + /@jridgewell/trace-mapping/0.3.14: + resolution: {integrity: sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==} dependencies: - '@jridgewell/resolve-uri': 3.0.7 - '@jridgewell/sourcemap-codec': 1.4.13 + '@jridgewell/resolve-uri': 3.0.8 + '@jridgewell/sourcemap-codec': 1.4.14 dev: true /@lukeed/csprng/1.0.1: @@ -800,8 +847,8 @@ packages: /@manypkg/find-root/1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} dependencies: - '@babel/runtime': 7.18.3 - '@types/node': 12.20.52 + '@babel/runtime': 7.18.6 + '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 dev: true @@ -809,7 +856,7 @@ packages: /@manypkg/get-packages/1.1.3: resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.18.6 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 @@ -863,24 +910,24 @@ packages: fastq: 1.13.0 dev: true - /@playwright/test/1.22.2: - resolution: {integrity: sha512-cCl96BEBGPtptFz7C2FOSN3PrTnJ3rPpENe+gYCMx4GNNDlN4tmo2D89y13feGKTMMAIVrXfSQ/UmaQKLy1XLA==} + /@playwright/test/1.23.1: + resolution: {integrity: sha512-dKplLPSYPZgnsBk1xxOophhpx3ZVg8DveoNJgLPe096lDCfmaIIreLsYF+4hqzy3PG61IP+aEnG5VAOjC3bhbA==} engines: {node: '>=14'} hasBin: true dependencies: - '@types/node': 16.11.36 - playwright-core: 1.22.2 + '@types/node': 16.11.42 + playwright-core: 1.23.1 dev: true /@polka/url/1.0.0-next.21: resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} dev: true - /@rollup/plugin-commonjs/21.1.0_rollup@2.75.3: - resolution: {integrity: sha512-6ZtHx3VHIp2ReNNDxHjuUml6ur+WcQ28N1yHgCQwsbNkQg2suhxGMDQGJOn/KuDxKtd1xuZP5xSTwBA4GQ8hbA==} - engines: {node: '>= 8.0.0'} + /@rollup/plugin-commonjs/22.0.1_rollup@2.75.3: + resolution: {integrity: sha512-dGfEZvdjDHObBiP5IvwTKMVeq/tBZGMBHZFMdIV1ClMM/YoWS34xrHFGfag9SN2ZtMgNZRFruqvxZQEa70O6nQ==} + engines: {node: '>= 12.0.0'} peerDependencies: - rollup: ^2.38.3 + rollup: ^2.68.0 dependencies: '@rollup/pluginutils': 3.1.0_rollup@2.75.3 commondir: 1.0.1 @@ -951,8 +998,8 @@ packages: golden-fleece: 1.0.9 dev: true - /@sveltejs/vite-plugin-svelte/1.0.0-next.48_svelte@3.48.0+vite@2.9.10: - resolution: {integrity: sha512-hjCEww6FKSuHVMe56vZLClUDuRqK4A/ZC5hPUIx/o2fQ7HmRydp4ztEopjMMnl/YYyEceGBKgY781I9PGEYvAw==} + /@sveltejs/vite-plugin-svelte/1.0.0-next.49_svelte@3.48.0+vite@2.9.13: + resolution: {integrity: sha512-AKh0Ka8EDgidnxWUs8Hh2iZLZovkETkefO99XxZ4sW4WGJ7VFeBx5kH/NIIGlaNHLcrIvK3CK0HkZwC3Cici0A==} engines: {node: ^14.13.1 || >= 16} peerDependencies: diff-match-patch: ^1.0.5 @@ -965,11 +1012,11 @@ packages: '@rollup/pluginutils': 4.2.1 debug: 4.3.4 deepmerge: 4.2.2 - kleur: 4.1.4 + kleur: 4.1.5 magic-string: 0.26.2 svelte: 3.48.0 svelte-hmr: 0.14.12_svelte@3.48.0 - vite: 2.9.10 + vite: 2.9.13 transitivePeerDependencies: - supports-color dev: false @@ -978,7 +1025,7 @@ packages: resolution: {integrity: sha512-eBi211CfmKtkxB6tINicaDPBMbolswPbaAy7kCx+uUFL/LxztLm9cB+7jP54TgCrv+mMz8vSJWIs/baH63PjsA==} engines: {node: ^12.20 || ^14.13.1 || >= 16} dependencies: - '@changesets/get-github-info': 0.5.0 + '@changesets/get-github-info': 0.5.1 dotenv: 16.0.1 transitivePeerDependencies: - encoding @@ -988,7 +1035,7 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 17.0.36 + '@types/node': 16.11.42 dev: true /@types/compression/1.7.2: @@ -1000,7 +1047,7 @@ packages: /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 16.11.36 + '@types/node': 16.11.42 dev: true /@types/cookie/0.5.1: @@ -1011,14 +1058,14 @@ packages: resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} dev: true - /@types/estree/0.0.51: - resolution: {integrity: sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==} + /@types/estree/0.0.52: + resolution: {integrity: sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==} dev: true - /@types/express-serve-static-core/4.17.28: - resolution: {integrity: sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==} + /@types/express-serve-static-core/4.17.29: + resolution: {integrity: sha512-uMd++6dMKS32EOuw1Uli3e3BPgdLIXmezcfHv7N4c1s3gkhikBplORPpMq3fuWkxncZN1reb16d5n8yhQ80x7Q==} dependencies: - '@types/node': 17.0.36 + '@types/node': 16.11.42 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: true @@ -1027,7 +1074,7 @@ packages: resolution: {integrity: sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==} dependencies: '@types/body-parser': 1.19.2 - '@types/express-serve-static-core': 4.17.28 + '@types/express-serve-static-core': 4.17.29 '@types/qs': 6.9.7 '@types/serve-static': 1.13.10 dev: true @@ -1039,7 +1086,7 @@ packages: /@types/is-ci/3.0.0: resolution: {integrity: sha512-Q0Op0hdWbYd1iahB+IFNQcWXFq4O0Q5MwQP7uN0souuQ4rPg1vEYcnIOfr1gY+M+6rc8FGoRaBO1mOOvL29sEQ==} dependencies: - ci-info: 3.3.1 + ci-info: 3.3.2 dev: true /@types/istanbul-lib-coverage/2.0.4: @@ -1074,16 +1121,16 @@ packages: resolution: {integrity: sha512-nJOuiTlsvmClSr3+a/trTSx4DTuY/VURsWGKSf/eeavh0LRMqdsK60ti0TlwM5iHiGOK3/Ibkxsbr7i9rzGreA==} dev: true - /@types/node/12.20.52: - resolution: {integrity: sha512-cfkwWw72849SNYp3Zx0IcIs25vABmFh73xicxhCkTcvtZQeIez15PpwQN8fY3RD7gv1Wrxlc9MEtfMORZDEsGw==} + /@types/node/12.20.55: + resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true - /@types/node/16.11.36: - resolution: {integrity: sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA==} + /@types/node/16.11.42: + resolution: {integrity: sha512-iwLrPOopPy6V3E+1yHTpJea3bdsNso0b0utLOJJwaa/PLzqBt3GZl3stMcakc/gr89SfcNk2ki3z7Gvue9hYGQ==} dev: true - /@types/node/17.0.36: - resolution: {integrity: sha512-V3orv+ggDsWVHP99K3JlwtH20R7J4IhI1Kksgc+64q5VxgfRkQG8Ws3MFm/FZOKDYGy9feGFlZ70/HpCNe9QaA==} + /@types/node/18.0.0: + resolution: {integrity: sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA==} dev: true /@types/normalize-package-data/2.4.1: @@ -1097,7 +1144,7 @@ packages: /@types/prompts/2.0.14: resolution: {integrity: sha512-HZBd99fKxRWpYCErtm2/yxUZv6/PBI9J7N4TNFffl5JbrYMHBwF25DjQGTW3b3jmXq+9P6/8fCIb2ee57BFfYA==} dependencies: - '@types/node': 17.0.36 + '@types/node': 18.0.0 dev: true /@types/pug/2.0.6: @@ -1115,7 +1162,7 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 17.0.36 + '@types/node': 16.11.42 dev: true /@types/sade/1.7.4: @@ -1127,7 +1174,7 @@ packages: /@types/sass/1.43.1: resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==} dependencies: - '@types/node': 16.11.36 + '@types/node': 16.11.42 dev: true /@types/semver/6.2.3: @@ -1138,23 +1185,23 @@ packages: resolution: {integrity: sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==} dependencies: '@types/mime': 1.3.2 - '@types/node': 17.0.36 + '@types/node': 16.11.42 dev: true /@types/set-cookie-parser/2.4.2: resolution: {integrity: sha512-fBZgytwhYAUkj/jC/FAV4RQ5EerRup1YQsXQCh8rZfiHkc4UahC192oH0smGwsXol3cL3A5oETuAHeQHmhXM4w==} dependencies: - '@types/node': 16.11.36 + '@types/node': 16.11.42 dev: true /@types/ws/8.5.3: resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} dependencies: - '@types/node': 17.0.36 + '@types/node': 16.11.42 dev: true - /@typescript-eslint/eslint-plugin/5.27.0_dszb5tb7atwkjjijmmov4qhi7i: - resolution: {integrity: sha512-DDrIA7GXtmHXr1VCcx9HivA39eprYBIFxbQEHI6NyraRDxCGpxAFiYQAT/1Y0vh1C+o2vfBiy4IuPoXxtTZCAQ==} + /@typescript-eslint/eslint-plugin/5.30.3_uhfrv6c56y4b7yuzllo3ym4bou: + resolution: {integrity: sha512-QEgE1uahnDbWEkZlidq7uKB630ny1NN8KbLPmznX+8hYsYpoV1/quG1Nzvs141FVuumuS7O0EpqYw3RB4AVzRg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -1164,24 +1211,24 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.27.0_xztl6dhthcahlo6akmb2bmjmle - '@typescript-eslint/scope-manager': 5.27.0 - '@typescript-eslint/type-utils': 5.27.0_xztl6dhthcahlo6akmb2bmjmle - '@typescript-eslint/utils': 5.27.0_xztl6dhthcahlo6akmb2bmjmle + '@typescript-eslint/parser': 5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e + '@typescript-eslint/scope-manager': 5.30.3 + '@typescript-eslint/type-utils': 5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e + '@typescript-eslint/utils': 5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e debug: 4.3.4 - eslint: 8.16.0 + eslint: 8.18.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.7.2 - typescript: 4.7.2 + tsutils: 3.21.0_typescript@4.7.4 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.27.0_xztl6dhthcahlo6akmb2bmjmle: - resolution: {integrity: sha512-8oGjQF46c52l7fMiPPvX4It3u3V3JipssqDfHQ2hcR0AeR8Zge+OYyKUCm5b70X72N1qXt0qgHenwN6Gc2SXZA==} + /@typescript-eslint/parser/5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e: + resolution: {integrity: sha512-ddwGEPC3E49DduAUC8UThQafHRE5uc1NE8jdOgl+w8/NrYF50MJQNeD3u4JZrqAXdY9rJz0CdQ9HpNME20CzkA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -1190,26 +1237,26 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.27.0 - '@typescript-eslint/types': 5.27.0 - '@typescript-eslint/typescript-estree': 5.27.0_typescript@4.7.2 + '@typescript-eslint/scope-manager': 5.30.3 + '@typescript-eslint/types': 5.30.3 + '@typescript-eslint/typescript-estree': 5.30.3_typescript@4.7.4 debug: 4.3.4 - eslint: 8.16.0 - typescript: 4.7.2 + eslint: 8.18.0 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.27.0: - resolution: {integrity: sha512-VnykheBQ/sHd1Vt0LJ1JLrMH1GzHO+SzX6VTXuStISIsvRiurue/eRkTqSrG0CexHQgKG8shyJfR4o5VYioB9g==} + /@typescript-eslint/scope-manager/5.30.3: + resolution: {integrity: sha512-yVJIIUXeo/vv6Alj6lKBvsqnRs5hcxUpN3Dg3aD9Zv6r7p6Nn106jJcr5rnpRHAReEb/aMI2RWrt3JmL17eCVA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.27.0 - '@typescript-eslint/visitor-keys': 5.27.0 + '@typescript-eslint/types': 5.30.3 + '@typescript-eslint/visitor-keys': 5.30.3 dev: true - /@typescript-eslint/type-utils/5.27.0_xztl6dhthcahlo6akmb2bmjmle: - resolution: {integrity: sha512-vpTvRRchaf628Hb/Xzfek+85o//zEUotr1SmexKvTfs7czXfYjXVT/a5yDbpzLBX1rhbqxjDdr1Gyo0x1Fc64g==} + /@typescript-eslint/type-utils/5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e: + resolution: {integrity: sha512-IIzakE7OXOqdwPaXhRiPnaZ8OuJJYBLufOffd9fqzkI4IMFIYq8KC7bghdnF7QUJTirURRErQFrJ/w5UpwIqaw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -1218,22 +1265,22 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.27.0_xztl6dhthcahlo6akmb2bmjmle + '@typescript-eslint/utils': 5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e debug: 4.3.4 - eslint: 8.16.0 - tsutils: 3.21.0_typescript@4.7.2 - typescript: 4.7.2 + eslint: 8.18.0 + tsutils: 3.21.0_typescript@4.7.4 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types/5.27.0: - resolution: {integrity: sha512-lY6C7oGm9a/GWhmUDOs3xAVRz4ty/XKlQ2fOLr8GAIryGn0+UBOoJDWyHer3UgrHkenorwvBnphhP+zPmzmw0A==} + /@typescript-eslint/types/5.30.3: + resolution: {integrity: sha512-vshU3pjSTgBPNgfd55JLYngHkXuwQP68fxYFUAg1Uq+JrR3xG/XjvL9Dmv28CpOERtqwkaR4QQ3mD0NLZcE2Xw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.27.0_typescript@4.7.2: - resolution: {integrity: sha512-QywPMFvgZ+MHSLRofLI7BDL+UczFFHyj0vF5ibeChDAJgdTV8k4xgEwF0geFhVlPc1p8r70eYewzpo6ps+9LJQ==} + /@typescript-eslint/typescript-estree/5.30.3_typescript@4.7.4: + resolution: {integrity: sha512-jqVh5N9AJx6+7yRgoA+ZelAFrHezgI9pzI9giv7s84DDOmtpFwTgURcpICDHyz9x6vAeOu91iACZ4dBTVfzIyA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -1241,41 +1288,41 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.27.0 - '@typescript-eslint/visitor-keys': 5.27.0 + '@typescript-eslint/types': 5.30.3 + '@typescript-eslint/visitor-keys': 5.30.3 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.7.2 - typescript: 4.7.2 + tsutils: 3.21.0_typescript@4.7.4 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.27.0_xztl6dhthcahlo6akmb2bmjmle: - resolution: {integrity: sha512-nZvCrkIJppym7cIbP3pOwIkAefXOmfGPnCM0LQfzNaKxJHI6VjI8NC662uoiPlaf5f6ymkTy9C3NQXev2mdXmA==} + /@typescript-eslint/utils/5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e: + resolution: {integrity: sha512-OEaBXGxxdIy35H+jyXfYAMQ66KMJczK9hEhL3gR6IRbWe5PyK+bPDC9zbQNVII6rNFTfF/Mse0z21NlEU+vOMw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.11 - '@typescript-eslint/scope-manager': 5.27.0 - '@typescript-eslint/types': 5.27.0 - '@typescript-eslint/typescript-estree': 5.27.0_typescript@4.7.2 - eslint: 8.16.0 + '@typescript-eslint/scope-manager': 5.30.3 + '@typescript-eslint/types': 5.30.3 + '@typescript-eslint/typescript-estree': 5.30.3_typescript@4.7.4 + eslint: 8.18.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.16.0 + eslint-utils: 3.0.0_eslint@8.18.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys/5.27.0: - resolution: {integrity: sha512-46cYrteA2MrIAjv9ai44OQDUoCZyHeGIc4lsjCUX2WT6r4C+kidz1bNiR4017wHOPUythYeH+Sc7/cFP97KEAA==} + /@typescript-eslint/visitor-keys/5.30.3: + resolution: {integrity: sha512-ep2xtHOhnSRt6fDP9DSSxrA/FqZhdMF7/Y9fYsxrKss2uWJMbzJyBJ/We1fKc786BJ10pHwrzUlhvpz8i7XzBg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.27.0 + '@typescript-eslint/types': 5.30.3 eslint-visitor-keys: 3.3.0 dev: true @@ -1305,8 +1352,8 @@ packages: - supports-color dev: true - /@vercel/nft/0.20.0: - resolution: {integrity: sha512-+lxsJP/sG4E8UkhfrJC6evkLLfUpZrjXxqEdunr3Q9kiECi8JYBGz6B5EpU1+MmeNnRoSphLcLh/1tI998ye4w==} + /@vercel/nft/0.20.1: + resolution: {integrity: sha512-hSLcr64KHOkcNiTAlv154K4p4faEFBwYIi2eIgu1QCDhB1qyQYvFuEhtw3eaapNjA4/7x/2jcclfCAjILua/ag==} hasBin: true dependencies: '@mapbox/node-pre-gyp': 1.0.9 @@ -1316,8 +1363,7 @@ packages: glob: 7.2.3 graceful-fs: 4.2.10 micromatch: 4.0.5 - node-gyp-build: 4.4.0 - node-pre-gyp: 0.13.0 + node-gyp-build: 4.5.0 resolve-from: 5.0.0 rollup-pluginutils: 2.8.2 transitivePeerDependencies: @@ -1376,6 +1422,7 @@ packages: /ansi-regex/2.1.1: resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==} engines: {node: '>=0.10.0'} + dev: true /ansi-regex/3.0.1: resolution: {integrity: sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==} @@ -1411,19 +1458,10 @@ packages: normalize-path: 3.0.0 picomatch: 2.3.1 - /aproba/1.2.0: - resolution: {integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==} - /aproba/2.0.0: resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} dev: false - /are-we-there-yet/1.1.7: - resolution: {integrity: sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==} - dependencies: - delegates: 1.0.0 - readable-stream: 2.3.7 - /are-we-there-yet/2.0.0: resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==} engines: {node: '>=10'} @@ -1449,7 +1487,7 @@ packages: call-bind: 1.0.2 define-properties: 1.1.4 es-abstract: 1.20.1 - get-intrinsic: 1.1.1 + get-intrinsic: 1.1.2 is-string: 1.0.7 dev: true @@ -1564,7 +1602,7 @@ packages: istanbul-reports: 3.1.4 rimraf: 3.0.2 test-exclude: 6.0.0 - v8-to-istanbul: 9.0.0 + v8-to-istanbul: 9.0.1 yargs: 16.2.0 yargs-parser: 20.2.9 dev: true @@ -1573,7 +1611,7 @@ packages: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} dependencies: function-bind: 1.1.1 - get-intrinsic: 1.1.1 + get-intrinsic: 1.1.2 dev: true /callsites/3.1.0: @@ -1609,14 +1647,6 @@ packages: supports-color: 5.5.0 dev: true - /chalk/3.0.0: - resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==} - engines: {node: '>=8'} - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - dev: true - /chalk/4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} @@ -1645,14 +1675,15 @@ packages: /chownr/1.1.4: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} + dev: true /chownr/2.0.0: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} dev: false - /ci-info/3.3.1: - resolution: {integrity: sha512-SXgeMX9VwDe7iFFaEWkA5AstuER9YKqy4EhHqr4DVqkwmD9rpVimkMKWHdjn30Ja45txyjhSn63lVX69eVCckg==} + /ci-info/3.3.2: + resolution: {integrity: sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==} dev: true /clean-css/4.2.4: @@ -1694,6 +1725,7 @@ packages: /code-point-at/1.1.0: resolution: {integrity: sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==} engines: {node: '>=0.10.0'} + dev: true /color-convert/1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -1770,8 +1802,14 @@ packages: /concat-map/0.0.1: resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + /console-clear/1.1.1: + resolution: {integrity: sha512-pMD+MVR538ipqkG5JXeOEbKWS5um1H4LUUccUQG68qpeqBYbzYy79Gh55jkd2TtPdRfUaLWdv6LPP//5Zt0aPQ==} + engines: {node: '>=4'} + dev: true + /console-control-strings/1.1.0: resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} + dev: false /convert-source-map/0.3.5: resolution: {integrity: sha512-+4nRk0k3oEpwUB7/CalD7xE2z4VmtEnnq0GO2IPTkrooTrAhEsWvuLF5iWP1dXrwluki/azwXV1ve7gtYuPldg==} @@ -1787,9 +1825,6 @@ packages: resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} engines: {node: '>= 0.6'} - /core-util-is/1.0.3: - resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - /cross-env/7.0.3: resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} @@ -1875,6 +1910,7 @@ packages: optional: true dependencies: ms: 2.1.3 + dev: true /debug/4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} @@ -1919,6 +1955,7 @@ packages: /deep-extend/0.6.0: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} + dev: true /deep-is/0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -1944,6 +1981,7 @@ packages: /delegates/1.0.0: resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} + dev: false /dequal/2.0.2: resolution: {integrity: sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==} @@ -1955,11 +1993,6 @@ packages: engines: {node: '>=8'} dev: true - /detect-libc/1.0.3: - resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} - engines: {node: '>=0.10'} - hasBin: true - /detect-libc/2.0.1: resolution: {integrity: sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==} engines: {node: '>=8'} @@ -2029,7 +2062,7 @@ packages: es-to-primitive: 1.2.1 function-bind: 1.1.1 function.prototype.name: 1.1.5 - get-intrinsic: 1.1.1 + get-intrinsic: 1.1.2 get-symbol-description: 1.0.0 has: 1.0.3 has-property-descriptors: 1.0.0 @@ -2280,7 +2313,7 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.3_nd4nb6nccnlbwilvit6hlaep3q: + /eslint-module-utils/2.7.3_bzaq7d2i4y5c5mw2ofduwxq46a: resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} engines: {node: '>=4'} peerDependencies: @@ -2298,7 +2331,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.27.0_xztl6dhthcahlo6akmb2bmjmle + '@typescript-eslint/parser': 5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e debug: 3.2.7 eslint-import-resolver-node: 0.3.6 find-up: 2.1.0 @@ -2306,18 +2339,18 @@ packages: - supports-color dev: true - /eslint-plugin-es/3.0.1_eslint@8.16.0: + /eslint-plugin-es/3.0.1_eslint@8.18.0: resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=4.19.1' dependencies: - eslint: 8.16.0 + eslint: 8.18.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: true - /eslint-plugin-import/2.26.0_xsmuhwqsfrjm7m3kqio7zoeziq: + /eslint-plugin-import/2.26.0_stpfporf4ezjetv6zdnl75453m: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: @@ -2327,14 +2360,14 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.27.0_xztl6dhthcahlo6akmb2bmjmle + '@typescript-eslint/parser': 5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e array-includes: 3.1.5 array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 - eslint: 8.16.0 + eslint: 8.18.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3_nd4nb6nccnlbwilvit6hlaep3q + eslint-module-utils: 2.7.3_bzaq7d2i4y5c5mw2ofduwxq46a has: 1.0.3 is-core-module: 2.9.0 is-glob: 4.0.3 @@ -2348,14 +2381,14 @@ packages: - supports-color dev: true - /eslint-plugin-node/11.1.0_eslint@8.16.0: + /eslint-plugin-node/11.1.0_eslint@8.18.0: resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=5.16.0' dependencies: - eslint: 8.16.0 - eslint-plugin-es: 3.0.1_eslint@8.16.0 + eslint: 8.18.0 + eslint-plugin-es: 3.0.1_eslint@8.18.0 eslint-utils: 2.1.0 ignore: 5.2.0 minimatch: 3.1.2 @@ -2363,13 +2396,13 @@ packages: semver: 6.3.0 dev: true - /eslint-plugin-svelte3/4.0.0_vypdqzeyqutkgs6qzc7qod4c64: + /eslint-plugin-svelte3/4.0.0_wy4erphnvhealet26qderqv6bu: resolution: {integrity: sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g==} peerDependencies: eslint: '>=8.0.0' svelte: ^3.2.0 dependencies: - eslint: 8.16.0 + eslint: 8.18.0 svelte: 3.48.0 dev: true @@ -2396,13 +2429,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.16.0: + /eslint-utils/3.0.0_eslint@8.18.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.16.0 + eslint: 8.18.0 eslint-visitor-keys: 2.1.0 dev: true @@ -2421,8 +2454,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.16.0: - resolution: {integrity: sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==} + /eslint/8.18.0: + resolution: {integrity: sha512-As1EfFMVk7Xc6/CvhssHUjsAQSkpfXvUGMFC3ce8JDe6WvqCgRrLOBQbVpsBFr1X1V+RACOadnzVvcUS5ni2bA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: @@ -2435,7 +2468,7 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.16.0 + eslint-utils: 3.0.0_eslint@8.18.0 eslint-visitor-keys: 3.3.0 espree: 9.3.2 esquery: 1.4.0 @@ -2639,12 +2672,12 @@ packages: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} engines: {node: ^10.12.0 || >=12.0.0} dependencies: - flatted: 3.2.5 + flatted: 3.2.6 rimraf: 3.0.2 dev: true - /flatted/3.2.5: - resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==} + /flatted/3.2.6: + resolution: {integrity: sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ==} dev: true /flexsearch/0.7.21: @@ -2688,17 +2721,11 @@ packages: universalify: 0.1.2 dev: true - /fs-minipass/1.2.7: - resolution: {integrity: sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==} - dependencies: - minipass: 2.9.0 - dev: false - /fs-minipass/2.1.0: resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} engines: {node: '>= 8'} dependencies: - minipass: 3.1.6 + minipass: 3.3.4 dev: false /fs.realpath/1.0.0: @@ -2732,18 +2759,6 @@ packages: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} dev: true - /gauge/2.7.4: - resolution: {integrity: sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==} - dependencies: - aproba: 1.2.0 - console-control-strings: 1.1.0 - has-unicode: 2.0.1 - object-assign: 4.1.1 - signal-exit: 3.0.7 - string-width: 1.0.2 - strip-ansi: 3.0.1 - wide-align: 1.1.5 - /gauge/3.0.2: resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==} engines: {node: '>=10'} @@ -2768,14 +2783,19 @@ packages: engines: {node: 6.* || 8.* || >= 10.*} dev: true - /get-intrinsic/1.1.1: - resolution: {integrity: sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==} + /get-intrinsic/1.1.2: + resolution: {integrity: sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==} dependencies: function-bind: 1.1.1 has: 1.0.3 has-symbols: 1.0.3 dev: true + /get-port/3.2.0: + resolution: {integrity: sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==} + engines: {node: '>=4'} + dev: true + /get-stream/3.0.0: resolution: {integrity: sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==} engines: {node: '>=4'} @@ -2786,7 +2806,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - get-intrinsic: 1.1.1 + get-intrinsic: 1.1.2 dev: true /github-from-package/0.0.0: @@ -2890,7 +2910,7 @@ packages: /has-property-descriptors/1.0.0: resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} dependencies: - get-intrinsic: 1.1.1 + get-intrinsic: 1.1.2 dev: true /has-symbols/1.0.3: @@ -2907,6 +2927,7 @@ packages: /has-unicode/2.0.1: resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} + dev: false /has/1.0.3: resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} @@ -2941,27 +2962,22 @@ packages: engines: {node: '>=0.10.0'} dependencies: safer-buffer: 2.1.2 + dev: true /ieee754/1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} dev: true - /ignore-walk/3.0.4: - resolution: {integrity: sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==} - dependencies: - minimatch: 3.1.2 - dev: false - /ignore/5.2.0: resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} engines: {node: '>= 4'} dev: true - /imagetools-core/3.0.2: - resolution: {integrity: sha512-DlArpNiefCc1syIqvOONcE8L8IahN8GjwaEjm6wIJIvuKoFoI1RcKmWWfS2dYxSlTiSp2X5b3JnHDjUXmWqlVA==} + /imagetools-core/3.0.3: + resolution: {integrity: sha512-JK7kb0ezkzD27zQgZs7mtRd7DekC+/RTePjIzPsuBAp3S/Z17wNt+6TSEdDJRQSV5xiGV+SOG00weSGVdX3Xig==} engines: {node: '>=12.0.0'} dependencies: - sharp: 0.29.3 + sharp: 0.30.7 dev: true /import-fresh/3.3.0: @@ -2993,12 +3009,13 @@ packages: /ini/1.3.8: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + dev: true /internal-slot/1.0.3: resolution: {integrity: sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.1.1 + get-intrinsic: 1.1.2 has: 1.0.3 side-channel: 1.0.4 dev: true @@ -3052,7 +3069,7 @@ packages: resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} hasBin: true dependencies: - ci-info: 3.3.1 + ci-info: 3.3.2 dev: true /is-core-module/2.9.0: @@ -3076,6 +3093,7 @@ packages: engines: {node: '>=0.10.0'} dependencies: number-is-nan: 1.0.1 + dev: true /is-fullwidth-code-point/2.0.0: resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} @@ -3124,7 +3142,7 @@ packages: /is-reference/1.2.1: resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} dependencies: - '@types/estree': 0.0.51 + '@types/estree': 0.0.52 dev: true /is-regex/1.1.4: @@ -3178,9 +3196,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /isarray/1.0.0: - resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} - /isexe/2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true @@ -3265,8 +3280,8 @@ packages: engines: {node: '>=6'} dev: false - /kleur/4.1.4: - resolution: {integrity: sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==} + /kleur/4.1.5: + resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} /lcid/1.0.0: @@ -3308,6 +3323,11 @@ packages: strip-bom: 3.0.0 dev: true + /local-access/1.1.0: + resolution: {integrity: sha512-XfegD5pyTAfb+GY6chk283Ox5z8WexG56OvM06RWLpAc/UHozO8X6xAxEkIitZOtsSMM1Yr3DkHgW5W+onLhCw==} + engines: {node: '>=6'} + dev: true + /locate-character/2.0.5: resolution: {integrity: sha512-n2GmejDXtOPBAZdIiEFy5dJ5N38xBCXLNOtw2WpB9kGh6pnrEuKlwYI+Tkpofc4wDtVXHtoAOJaMRlYG/oYaxg==} dev: true @@ -3355,12 +3375,6 @@ packages: yallist: 2.1.2 dev: true - /lru-cache/5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - dependencies: - yallist: 3.1.1 - dev: true - /lru-cache/6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} @@ -3383,7 +3397,6 @@ packages: engines: {node: '>=12'} dependencies: sourcemap-codec: 1.4.8 - dev: false /make-dir/3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} @@ -3401,14 +3414,14 @@ packages: engines: {node: '>=8'} dev: true - /marked/4.0.16: - resolution: {integrity: sha512-wahonIQ5Jnyatt2fn8KqF/nIqZM8mh3oRu2+l5EANGMhu6RFjiSG52QNE2eWzFMI94HqYSgN184NurgNG6CztA==} + /marked/4.0.17: + resolution: {integrity: sha512-Wfk0ATOK5iPxM4ptrORkFemqroz0ZDxp5MWfYA7H/F+wO17NRWV5Ypxi6p3g2Xmw2bKeiYOl6oVnLHKxBA0VhA==} engines: {node: '>= 12'} hasBin: true dev: true /mem/1.1.0: - resolution: {integrity: sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=} + resolution: {integrity: sha512-nOBDrc/wgpkd3X/JOhMqYR+/eLqlfLP4oQfoBA6QExIxEl+GU01oyEkwWyueyO8110pUKijtiHGhEmYoOn88oQ==} engines: {node: '>=4'} dependencies: mimic-fn: 1.2.0 @@ -3492,32 +3505,20 @@ packages: /minimist/1.2.6: resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} + dev: true - /minipass/2.9.0: - resolution: {integrity: sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==} - dependencies: - safe-buffer: 5.2.1 - yallist: 3.1.1 - dev: false - - /minipass/3.1.6: - resolution: {integrity: sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==} + /minipass/3.3.4: + resolution: {integrity: sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw==} engines: {node: '>=8'} dependencies: yallist: 4.0.0 dev: false - /minizlib/1.3.3: - resolution: {integrity: sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==} - dependencies: - minipass: 2.9.0 - dev: false - /minizlib/2.1.2: resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} engines: {node: '>= 8'} dependencies: - minipass: 3.1.6 + minipass: 3.3.4 yallist: 4.0.0 dev: false @@ -3535,6 +3536,7 @@ packages: hasBin: true dependencies: minimist: 1.2.6 + dev: true /mkdirp/1.0.4: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} @@ -3546,12 +3548,12 @@ packages: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} - /mrmime/1.0.0: - resolution: {integrity: sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ==} + /mrmime/1.0.1: + resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==} engines: {node: '>=10'} /ms/2.0.0: - resolution: {integrity: sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=} + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} dev: true /ms/2.1.2: @@ -3559,6 +3561,7 @@ packages: /ms/2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + dev: true /mz/2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} @@ -3578,21 +3581,9 @@ packages: dev: true /natural-compare/1.4.0: - resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=} + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true - /needle/2.9.1: - resolution: {integrity: sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==} - engines: {node: '>= 4.4.x'} - hasBin: true - dependencies: - debug: 3.2.7 - iconv-lite: 0.4.24 - sax: 1.2.4 - transitivePeerDependencies: - - supports-color - dev: false - /negotiator/0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} @@ -3612,8 +3603,8 @@ packages: semver: 7.3.7 dev: true - /node-addon-api/4.3.0: - resolution: {integrity: sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==} + /node-addon-api/5.0.0: + resolution: {integrity: sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA==} dev: true /node-domexception/1.0.0: @@ -3632,8 +3623,8 @@ packages: dependencies: whatwg-url: 5.0.0 - /node-fetch/3.2.4: - resolution: {integrity: sha512-WvYJRN7mMyOLurFR2YpysQGuwYrJN+qrrpHjJDuKMcSPdfFccRUla/kng2mz6HWSBxJcqPbvatS6Gb4RhOzCJw==} + /node-fetch/3.2.6: + resolution: {integrity: sha512-LAy/HZnLADOVkVPubaxHDft29booGglPFDr2Hw0J1AercRh01UiVFm++KMDnJeH9sHgNB4hsXPii7Sgym/sTbw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: data-uri-to-buffer: 4.0.0 @@ -3646,36 +3637,9 @@ packages: engines: {node: '>= 6.13.0'} dev: true - /node-gyp-build/4.4.0: - resolution: {integrity: sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ==} - hasBin: true - dev: false - - /node-pre-gyp/0.13.0: - resolution: {integrity: sha512-Md1D3xnEne8b/HGVQkZZwV27WUi1ZRuZBij24TNaZwUPU3ZAFtvT6xxJGaUVillfmMKnn5oD1HoGsp2Ftik7SQ==} - deprecated: 'Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future' + /node-gyp-build/4.5.0: + resolution: {integrity: sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==} hasBin: true - dependencies: - detect-libc: 1.0.3 - mkdirp: 0.5.6 - needle: 2.9.1 - nopt: 4.0.3 - npm-packlist: 1.4.8 - npmlog: 4.1.2 - rc: 1.2.8 - rimraf: 2.7.1 - semver: 5.7.1 - tar: 4.4.19 - transitivePeerDependencies: - - supports-color - dev: false - - /nopt/4.0.3: - resolution: {integrity: sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==} - hasBin: true - dependencies: - abbrev: 1.1.1 - osenv: 0.1.5 dev: false /nopt/5.0.0: @@ -3699,39 +3663,13 @@ packages: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} - /npm-bundled/1.1.2: - resolution: {integrity: sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==} - dependencies: - npm-normalize-package-bin: 1.0.1 - dev: false - - /npm-normalize-package-bin/1.0.1: - resolution: {integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==} - dev: false - - /npm-packlist/1.4.8: - resolution: {integrity: sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==} - dependencies: - ignore-walk: 3.0.4 - npm-bundled: 1.1.2 - npm-normalize-package-bin: 1.0.1 - dev: false - /npm-run-path/2.0.2: - resolution: {integrity: sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=} + resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} engines: {node: '>=4'} dependencies: path-key: 2.0.1 dev: true - /npmlog/4.1.2: - resolution: {integrity: sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==} - dependencies: - are-we-there-yet: 1.1.7 - console-control-strings: 1.1.0 - gauge: 2.7.4 - set-blocking: 2.0.0 - /npmlog/5.0.1: resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==} dependencies: @@ -3744,9 +3682,10 @@ packages: /number-is-nan/1.0.1: resolution: {integrity: sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==} engines: {node: '>=0.10.0'} + dev: true /object-assign/4.1.1: - resolution: {integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=} + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} /object-inspect/1.12.2: @@ -3783,16 +3722,10 @@ packages: dev: true /once/1.4.0: - resolution: {integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E=} + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} dependencies: wrappy: 1.0.2 - /onigasm/2.2.5: - resolution: {integrity: sha512-F+th54mPc0l1lp1ZcFMyL/jTs2Tlq4SqIHKIXGZOR/VkHkF9A7Fr5rRr5+ZG/lWeRsyrClLYRq7s/yFQ/XhWCA==} - dependencies: - lru-cache: 5.1.1 - dev: true - /optionator/0.9.1: resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} engines: {node: '>= 0.8.0'} @@ -3805,11 +3738,6 @@ packages: word-wrap: 1.2.3 dev: true - /os-homedir/1.0.2: - resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==} - engines: {node: '>=0.10.0'} - dev: false - /os-locale/2.1.0: resolution: {integrity: sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==} engines: {node: '>=4'} @@ -3822,13 +3750,7 @@ packages: /os-tmpdir/1.0.2: resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} engines: {node: '>=0.10.0'} - - /osenv/0.1.5: - resolution: {integrity: sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==} - dependencies: - os-homedir: 1.0.2 - os-tmpdir: 1.0.2 - dev: false + dev: true /outdent/0.5.0: resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} @@ -3842,7 +3764,7 @@ packages: dev: true /p-finally/1.0.0: - resolution: {integrity: sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=} + resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} engines: {node: '>=4'} dev: true @@ -3868,7 +3790,7 @@ packages: dev: true /p-locate/2.0.0: - resolution: {integrity: sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=} + resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} engines: {node: '>=4'} dependencies: p-limit: 1.3.0 @@ -3894,7 +3816,7 @@ packages: dev: true /p-try/1.0.0: - resolution: {integrity: sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=} + resolution: {integrity: sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==} engines: {node: '>=4'} dev: true @@ -3911,7 +3833,7 @@ packages: dev: true /parse-json/2.2.0: - resolution: {integrity: sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=} + resolution: {integrity: sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==} engines: {node: '>=0.10.0'} dependencies: error-ex: 1.3.2 @@ -3921,7 +3843,7 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.16.7 + '@babel/code-frame': 7.18.6 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -3935,7 +3857,7 @@ packages: dev: true /path-exists/3.0.0: - resolution: {integrity: sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=} + resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} engines: {node: '>=4'} dev: true @@ -3945,11 +3867,11 @@ packages: dev: true /path-is-absolute/1.0.1: - resolution: {integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18=} + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} /path-key/2.0.1: - resolution: {integrity: sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=} + resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} engines: {node: '>=4'} dev: true @@ -3962,7 +3884,7 @@ packages: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} /path-type/2.0.0: - resolution: {integrity: sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=} + resolution: {integrity: sha512-dUnb5dXUf+kzhC/W/F4e5/SkluXIFf5VUHolW1Eg1irn1hGWjPGdsRcvYJ1nD6lhk8Ir7VM0bHJKsYTx8Jx9OQ==} engines: {node: '>=4'} dependencies: pify: 2.3.0 @@ -3981,7 +3903,7 @@ packages: engines: {node: '>=8.6'} /pify/2.3.0: - resolution: {integrity: sha1-7RQaasBDqEnqWISY59yosVMw6Qw=} + resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} engines: {node: '>=0.10.0'} dev: true @@ -4002,17 +3924,17 @@ packages: find-up: 4.1.0 dev: true - /playwright-chromium/1.22.2: - resolution: {integrity: sha512-msRcdCIJkdM2R6S+NMJZ02uyZHzJ7TIzkjzs3usDJ1Pwacp9HMhv9T/S4AxtpFXFmvMZq7UJYb0x+tCdHx9+0w==} + /playwright-chromium/1.23.1: + resolution: {integrity: sha512-Cx9VkJBFPxSim7qz571aDXU+oXmqYJW2W+Po6eiq2vi/abkH87BtxM/E0tsFJavFMB8ZpBWX1Z+77LctZv3V5w==} engines: {node: '>=14'} hasBin: true requiresBuild: true dependencies: - playwright-core: 1.22.2 + playwright-core: 1.23.1 dev: true - /playwright-core/1.22.2: - resolution: {integrity: sha512-w/hc/Ld0RM4pmsNeE6aL/fPNWw8BWit2tg+TfqJ3+p59c6s3B6C8mXvXrIPmfQEobkcFDc+4KirNzOQ+uBSP1Q==} + /playwright-core/1.23.1: + resolution: {integrity: sha512-9CXsE0gawph4KXl6oUaa0ehHRySZjHvly4TybcBXDvzK3N3o6L/eZ8Q6iVWUiMn0LLS5bRFxo1qEtOETlYJxjw==} engines: {node: '>=14'} hasBin: true dev: true @@ -4041,8 +3963,8 @@ packages: picocolors: 1.0.0 source-map-js: 1.0.2 - /prebuild-install/7.1.0: - resolution: {integrity: sha512-CNcMgI1xBypOyGqjp3wOc8AAo1nMhZS3Cwd3iHIxOdAUbb+YxdNuM4Z5iIrZ8RLvOsf3F3bl7b7xGq6DjQoNYA==} + /prebuild-install/7.1.1: + resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} engines: {node: '>=10'} hasBin: true dependencies: @@ -4053,7 +3975,6 @@ packages: mkdirp-classic: 0.5.3 napi-build-utils: 1.0.2 node-abi: 3.22.0 - npmlog: 4.1.2 pump: 3.0.0 rc: 1.2.8 simple-get: 4.0.1 @@ -4076,13 +3997,13 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier-plugin-svelte/2.7.0_kkjbqzpydplecjtkxrgomroeru: + /prettier-plugin-svelte/2.7.0_nakrehnrzdf7fdea5k3a4dfy4m: resolution: {integrity: sha512-fQhhZICprZot2IqEyoiUYLTRdumULGRvw0o4dzl5jt0jfzVWdGqeYW27QTWAeXhoupEZJULmNoH3ueJwUWFLIA==} peerDependencies: prettier: ^1.16.4 || ^2.0.0 svelte: ^3.2.0 dependencies: - prettier: 2.6.2 + prettier: 2.7.1 svelte: 3.48.0 dev: true @@ -4092,8 +4013,8 @@ packages: hasBin: true dev: true - /prettier/2.6.2: - resolution: {integrity: sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==} + /prettier/2.7.1: + resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==} engines: {node: '>=10.13.0'} hasBin: true dev: true @@ -4107,9 +4028,6 @@ packages: engines: {node: '>=6'} dev: true - /process-nextick-args/2.0.1: - resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} - /prompts/2.4.2: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} @@ -4119,7 +4037,7 @@ packages: dev: false /pseudomap/1.0.2: - resolution: {integrity: sha1-8FKijacOYYkX7wqKw0wa5aaChrM=} + resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} dev: true /pump/3.0.0: @@ -4141,7 +4059,7 @@ packages: clean-css: 4.2.4 glob: 7.2.3 rework: 1.0.1 - uglify-js: 3.15.5 + uglify-js: 3.16.1 yargs: 8.0.2 dev: true @@ -4162,9 +4080,10 @@ packages: ini: 1.3.8 minimist: 1.2.6 strip-json-comments: 2.0.1 + dev: true /read-pkg-up/2.0.0: - resolution: {integrity: sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=} + resolution: {integrity: sha512-1orxQfbWGUiTn9XsPlChs6rLie/AV9jwZTGmu2NZw/CUDJQchXJFYE0Fq5j7+n558T1JhDWLdhyd1Zj+wLY//w==} engines: {node: '>=4'} dependencies: find-up: 2.1.0 @@ -4181,7 +4100,7 @@ packages: dev: true /read-pkg/2.0.0: - resolution: {integrity: sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=} + resolution: {integrity: sha512-eFIBOPW7FGjzBuk3hdXEuNSiTZS/xEMlH49HxMyzb0hyPfu4EhVjT2DH32K1hSSmVq4sebAWnZuuY5auISUTGA==} engines: {node: '>=4'} dependencies: load-json-file: 2.0.0 @@ -4209,17 +4128,6 @@ packages: strip-bom: 3.0.0 dev: true - /readable-stream/2.3.7: - resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==} - dependencies: - core-util-is: 1.0.3 - inherits: 2.0.4 - isarray: 1.0.0 - process-nextick-args: 2.0.1 - safe-buffer: 5.1.2 - string_decoder: 1.1.1 - util-deprecate: 1.0.2 - /readable-stream/3.6.0: resolution: {integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==} engines: {node: '>= 6'} @@ -4271,12 +4179,12 @@ packages: dev: true /require-directory/2.1.1: - resolution: {integrity: sha1-jGStX9MNqxyXbiNE/+f3kqam30I=} + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} dev: true /require-main-filename/1.0.1: - resolution: {integrity: sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=} + resolution: {integrity: sha512-IqSUtOVP4ksd1C/ej5zeEh/BIP2ajqpn8c5x+q99gvcIG/Qf0cud5raVnE/Dwd0ua9TXYDoDc0RE5hBSdz22Ug==} dev: true /require-main-filename/2.0.0: @@ -4293,7 +4201,7 @@ packages: engines: {node: '>=8'} /resolve-url/0.2.1: - resolution: {integrity: sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=} + resolution: {integrity: sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==} deprecated: https://github.com/lydell/resolve-url#deprecated dev: true @@ -4311,7 +4219,7 @@ packages: dev: true /rework/1.0.1: - resolution: {integrity: sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc=} + resolution: {integrity: sha512-eEjL8FdkdsxApd0yWVZgBGzfCQiT8yqSc2H1p4jpZpQdtz7ohETiDMoje5PlM8I9WgkqkreVxFUKYOiJdVWDXw==} dependencies: convert-source-map: 0.3.5 css: 2.2.4 @@ -4322,6 +4230,7 @@ packages: hasBin: true dependencies: glob: 7.2.3 + dev: true /rimraf/3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} @@ -4356,15 +4265,17 @@ packages: /safe-buffer/5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + dev: true /safe-buffer/5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} /safer-buffer/2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + dev: true /sander/0.5.1: - resolution: {integrity: sha1-dB4kXiMfB8r7b98PEzrfohalAq0=} + resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} dependencies: es6-promise: 3.3.1 graceful-fs: 4.2.10 @@ -4372,10 +4283,6 @@ packages: rimraf: 2.7.1 dev: true - /sax/1.2.4: - resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} - dev: false - /selfsigned/2.0.1: resolution: {integrity: sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ==} engines: {node: '>=10'} @@ -4383,9 +4290,15 @@ packages: node-forge: 1.3.1 dev: true + /semiver/1.1.0: + resolution: {integrity: sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==} + engines: {node: '>=6'} + dev: true + /semver/5.7.1: resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} hasBin: true + dev: true /semver/6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} @@ -4399,20 +4312,20 @@ packages: lru-cache: 6.0.0 /set-blocking/2.0.0: - resolution: {integrity: sha1-BF+XgtARrppoA93TgrJDkrPYkPc=} + resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} - /set-cookie-parser/2.4.8: - resolution: {integrity: sha512-edRH8mBKEWNVIVMKejNnuJxleqYE/ZSdcT8/Nem9/mmosx12pctd80s2Oy00KNZzrogMZS5mauK2/ymL1bvlvg==} + /set-cookie-parser/2.5.0: + resolution: {integrity: sha512-cHMAtSXilfyBePduZEBVPTCftTQWz6ehWJD5YNUg4mqvRosrrjKbo4WS8JkB0/RxonMoohHm7cOGH60mDkRQ9w==} - /sharp/0.29.3: - resolution: {integrity: sha512-fKWUuOw77E4nhpyzCCJR1ayrttHoFHBT2U/kR/qEMRhvPEcluG4BKj324+SCO1e84+knXHwhJ1HHJGnUt4ElGA==} + /sharp/0.30.7: + resolution: {integrity: sha512-G+MY2YW33jgflKPTXXptVO28HvNOo9G3j0MybYAHeEmby+QuD2U98dT6ueht9cv/XDqZspSpIhoSW+BAKJ7Hig==} engines: {node: '>=12.13.0'} requiresBuild: true dependencies: color: 4.2.3 - detect-libc: 1.0.3 - node-addon-api: 4.3.0 - prebuild-install: 7.1.0 + detect-libc: 2.0.1 + node-addon-api: 5.0.0 + prebuild-install: 7.1.1 semver: 7.3.7 simple-get: 4.0.1 tar-fs: 2.1.1 @@ -4420,7 +4333,7 @@ packages: dev: true /shebang-command/1.2.0: - resolution: {integrity: sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=} + resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} engines: {node: '>=0.10.0'} dependencies: shebang-regex: 1.0.0 @@ -4434,7 +4347,7 @@ packages: dev: true /shebang-regex/1.0.0: - resolution: {integrity: sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=} + resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} engines: {node: '>=0.10.0'} dev: true @@ -4443,22 +4356,22 @@ packages: engines: {node: '>=8'} dev: true - /shiki-twoslash/3.0.2: - resolution: {integrity: sha512-2VxUykJ0ETWxageixkfKcMjK5mpMYxJU3uhAoscTZnfX/iq+bWnEpLZnsrcErMJrD85orxABMw5w/GoO4nUiqg==} + /shiki-twoslash/3.1.0: + resolution: {integrity: sha512-uDqrTutOIZzyHbo103GsK7Vvc10saK1XCCivnOQ1NHJzgp3FBilEpftGeVzVSMOJs+JyhI7whkvhXV7kXQ5zCg==} dependencies: '@typescript/twoslash': 3.1.0 '@typescript/vfs': 1.3.4 - shiki: 0.9.11 - typescript: 4.7.2 + shiki: 0.10.1 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true - /shiki/0.9.11: - resolution: {integrity: sha512-tjruNTLFhU0hruCPoJP0y+B9LKOmcqUhTpxn7pcJB3fa+04gFChuEmxmrUfOJ7ZO6Jd+HwMnDHgY3lv3Tqonuw==} + /shiki/0.10.1: + resolution: {integrity: sha512-VsY7QJVzU51j5o1+DguUd+6vmCmZ5v/6gYu4vyYAhzjuNQU6P/vmSy4uQaOhvje031qQMiW0d2BwgMH52vqMng==} dependencies: jsonc-parser: 3.0.0 - onigasm: 2.2.5 + vscode-oniguruma: 1.6.2 vscode-textmate: 5.2.0 dev: true @@ -4466,7 +4379,7 @@ packages: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} dependencies: call-bind: 1.0.2 - get-intrinsic: 1.1.1 + get-intrinsic: 1.1.2 object-inspect: 1.12.2 dev: true @@ -4486,17 +4399,32 @@ packages: dev: true /simple-swizzle/0.2.2: - resolution: {integrity: sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=} + resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} dependencies: is-arrayish: 0.3.2 dev: true + /sirv-cli/2.0.2: + resolution: {integrity: sha512-OtSJDwxsF1NWHc7ps3Sa0s+dPtP15iQNJzfKVz+MxkEo3z72mCD+yu30ct79rPr0CaV1HXSOBp+MIY5uIhHZ1A==} + engines: {node: '>= 10'} + hasBin: true + dependencies: + console-clear: 1.1.1 + get-port: 3.2.0 + kleur: 4.1.5 + local-access: 1.1.0 + sade: 1.8.1 + semiver: 1.1.0 + sirv: 2.0.2 + tinydate: 1.3.0 + dev: true + /sirv/2.0.2: resolution: {integrity: sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==} engines: {node: '>= 10'} dependencies: '@polka/url': 1.0.0-next.21 - mrmime: 1.0.0 + mrmime: 1.0.1 totalist: 3.0.0 dev: true @@ -4509,11 +4437,12 @@ packages: engines: {node: '>=8'} dev: true - /smartwrap/1.2.5: - resolution: {integrity: sha512-bzWRwHwu0RnWjwU7dFy7tF68pDAx/zMSu3g7xr9Nx5J0iSImYInglwEVExyHLxXljy6PWMjkSAbwF7t2mPnRmg==} - deprecated: Backported compatibility to node > 6 + /smartwrap/2.0.2: + resolution: {integrity: sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==} + engines: {node: '>=6'} hasBin: true dependencies: + array.prototype.flat: 1.3.0 breakword: 1.0.5 grapheme-splitter: 1.0.4 strip-ansi: 6.0.1 @@ -4522,7 +4451,7 @@ packages: dev: true /sorcery/0.10.0: - resolution: {integrity: sha1-iukK19fLBfxZ8asMY3hF1cFaUrc=} + resolution: {integrity: sha512-R5ocFmKZQFfSTstfOtHjJuAwbpGyf9qjQa1egyhvXSbM7emjrtLXtGdZsDJDABC85YBfVvrOiGWKSYXPKdvP1g==} hasBin: true dependencies: buffer-crc32: 0.2.13 @@ -4589,7 +4518,7 @@ packages: dev: true /sprintf-js/1.0.3: - resolution: {integrity: sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=} + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} dev: true /stream-transform/2.1.3: @@ -4605,6 +4534,7 @@ packages: code-point-at: 1.1.0 is-fullwidth-code-point: 1.0.0 strip-ansi: 3.0.1 + dev: true /string-width/2.1.1: resolution: {integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==} @@ -4638,11 +4568,6 @@ packages: es-abstract: 1.20.1 dev: true - /string_decoder/1.1.1: - resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} - dependencies: - safe-buffer: 5.1.2 - /string_decoder/1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} dependencies: @@ -4653,9 +4578,10 @@ packages: engines: {node: '>=0.10.0'} dependencies: ansi-regex: 2.1.1 + dev: true /strip-ansi/4.0.0: - resolution: {integrity: sha1-qEeQIusaw2iocTibY1JixQXuNo8=} + resolution: {integrity: sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==} engines: {node: '>=4'} dependencies: ansi-regex: 3.0.1 @@ -4668,12 +4594,12 @@ packages: ansi-regex: 5.0.1 /strip-bom/3.0.0: - resolution: {integrity: sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=} + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} dev: true /strip-eof/1.0.0: - resolution: {integrity: sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=} + resolution: {integrity: sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==} engines: {node: '>=0.10.0'} dev: true @@ -4687,14 +4613,15 @@ packages: /strip-json-comments/2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} engines: {node: '>=0.10.0'} + dev: true /strip-json-comments/3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} dev: true - /sucrase/3.21.0: - resolution: {integrity: sha512-FjAhMJjDcifARI7bZej0Bi1yekjWQHoEvWIXhLPwDhC6O4iZ5PtGb86WV56riW87hzpgB13wwBKO9vKAiWu5VQ==} + /sucrase/3.23.0: + resolution: {integrity: sha512-xgC1xboStzGhCnRywlBf/DLmkC+SkdAKqrNCDsxGrzM0phR5oUxoFKiQNrsc2D8wDdAm03iLbSZqjHDddo3IzQ==} engines: {node: '>=8'} hasBin: true dependencies: @@ -4724,21 +4651,21 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /svelte-check/2.7.1_svelte@3.48.0: - resolution: {integrity: sha512-vHVu2+SQ6ibt77iTQaq2oiOjBgGL48qqcg0ZdEOsP5pPOjgeyR9QbnaEdzdBs9nsVYBc/42haKtzb2uFqS8GVw==} + /svelte-check/2.8.0_svelte@3.48.0: + resolution: {integrity: sha512-HRL66BxffMAZusqe5I5k26mRWQ+BobGd9Rxm3onh7ZVu0nTk8YTKJ9vu3LVPjUGLU9IX7zS+jmwPVhJYdXJ8vg==} hasBin: true peerDependencies: svelte: ^3.24.0 dependencies: - '@jridgewell/trace-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.14 chokidar: 3.5.3 fast-glob: 3.2.11 import-fresh: 3.3.0 picocolors: 1.0.0 sade: 1.8.1 svelte: 3.48.0 - svelte-preprocess: 4.10.6_rxzurg3hjloskwsrdpptpplucy - typescript: 4.7.2 + svelte-preprocess: 4.10.7_lvfi2wesz6u4l5rfbnetbucfmm + typescript: 4.7.4 transitivePeerDependencies: - '@babel/core' - coffeescript @@ -4761,8 +4688,8 @@ packages: svelte: 3.48.0 dev: false - /svelte-preprocess/4.10.6_rxzurg3hjloskwsrdpptpplucy: - resolution: {integrity: sha512-I2SV1w/AveMvgIQlUF/ZOO3PYVnhxfcpNyGt8pxpUVhPfyfL/CZBkkw/KPfuFix5FJ9TnnNYMhACK3DtSaYVVQ==} + /svelte-preprocess/4.10.7_lvfi2wesz6u4l5rfbnetbucfmm: + resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} engines: {node: '>= 9.11.2'} requiresBuild: true peerDependencies: @@ -4771,7 +4698,7 @@ packages: less: ^3.11.3 || ^4.0.0 node-sass: '*' postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 + postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 pug: ^3.0.0 sass: ^1.26.8 stylus: ^0.55.0 @@ -4809,11 +4736,11 @@ packages: sorcery: 0.10.0 strip-indent: 3.0.0 svelte: 3.48.0 - typescript: 4.7.2 + typescript: 4.7.4 dev: true - /svelte-preprocess/4.10.6_svelte@3.48.0: - resolution: {integrity: sha512-I2SV1w/AveMvgIQlUF/ZOO3PYVnhxfcpNyGt8pxpUVhPfyfL/CZBkkw/KPfuFix5FJ9TnnNYMhACK3DtSaYVVQ==} + /svelte-preprocess/4.10.7_svelte@3.48.0: + resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} engines: {node: '>= 9.11.2'} requiresBuild: true peerDependencies: @@ -4822,7 +4749,7 @@ packages: less: ^3.11.3 || ^4.0.0 node-sass: '*' postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 + postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 pug: ^3.0.0 sass: ^1.26.8 stylus: ^0.55.0 @@ -4865,10 +4792,9 @@ packages: /svelte/3.48.0: resolution: {integrity: sha512-fN2YRm/bGumvjUpu6yI3BpvZnpIm9I6A7HR4oUNYd7ggYyIwSA/BX7DJ+UXXffLp6XNcUijyLvttbPVCYa/3xQ==} engines: {node: '>= 8'} - dev: true - /svelte2tsx/0.5.10_rxzurg3hjloskwsrdpptpplucy: - resolution: {integrity: sha512-nokQ0HTTWMcNX6tLrDLiOmJCuqjKZU9nCZ6/mVuCL3nusXdbp+9nv69VG2pCy7uQC66kV4Ls+j0WfvvJuGVnkg==} + /svelte2tsx/0.5.11_lvfi2wesz6u4l5rfbnetbucfmm: + resolution: {integrity: sha512-Is95G1wqNvEUJZ9DITRS2zfMwVJRZztMduPs1vJJ0cm65WUg/avBl5vBXjHycQL/qmFpaqa3NG4qWnf7bCHPag==} peerDependencies: svelte: ^3.24 typescript: ^4.1.2 @@ -4876,7 +4802,7 @@ packages: dedent-js: 1.0.1 pascal-case: 3.1.2 svelte: 3.48.0 - typescript: 4.7.2 + typescript: 4.7.4 dev: true /tar-fs/2.1.1: @@ -4899,26 +4825,13 @@ packages: readable-stream: 3.6.0 dev: true - /tar/4.4.19: - resolution: {integrity: sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==} - engines: {node: '>=4.5'} - dependencies: - chownr: 1.1.4 - fs-minipass: 1.2.7 - minipass: 2.9.0 - minizlib: 1.3.3 - mkdirp: 0.5.6 - safe-buffer: 5.2.1 - yallist: 3.1.1 - dev: false - /tar/6.1.11: resolution: {integrity: sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==} engines: {node: '>= 10'} dependencies: chownr: 2.0.0 fs-minipass: 2.1.0 - minipass: 3.1.6 + minipass: 3.3.4 minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 @@ -4939,11 +4852,11 @@ packages: dev: true /text-table/0.2.0: - resolution: {integrity: sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=} + resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} dev: true /thenify-all/1.6.0: - resolution: {integrity: sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY=} + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} dependencies: thenify: 3.3.1 @@ -4961,6 +4874,11 @@ packages: globalyzer: 0.1.0 globrex: 0.1.2 + /tinydate/1.3.0: + resolution: {integrity: sha512-7cR8rLy2QhYHpsBDBVYnnWXm8uRTr38RoZakFSW7Bs7PzfMPNZthuMLkwqZv7MTu8lhQ91cOFYS5a7iFj2oR3w==} + engines: {node: '>=4'} + dev: true + /tmp/0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -4980,7 +4898,7 @@ packages: dev: true /tr46/0.0.3: - resolution: {integrity: sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=} + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} /trim-newlines/3.0.1: resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} @@ -5015,157 +4933,167 @@ packages: resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} dev: true - /tsutils/3.21.0_typescript@4.7.2: + /tsutils/3.21.0_typescript@4.7.4: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.7.2 + typescript: 4.7.4 dev: true - /tty-table/2.8.13: - resolution: {integrity: sha512-eVV/+kB6fIIdx+iUImhXrO22gl7f6VmmYh0Zbu6C196fe1elcHXd7U6LcLXu0YoVPc2kNesWiukYcdK8ZmJ6aQ==} - engines: {node: '>=8.16.0'} + /tty-table/4.1.6: + resolution: {integrity: sha512-kRj5CBzOrakV4VRRY5kUWbNYvo/FpOsz65DzI5op9P+cHov3+IqPbo1JE1ZnQGkHdZgNFDsrEjrfqqy/Ply9fw==} + engines: {node: '>=8.0.0'} hasBin: true dependencies: - chalk: 3.0.0 + chalk: 4.1.2 csv: 5.5.3 - smartwrap: 1.2.5 + kleur: 4.1.5 + smartwrap: 2.0.2 strip-ansi: 6.0.1 wcwidth: 1.0.1 - yargs: 15.4.1 + yargs: 17.5.1 dev: true /tunnel-agent/0.6.0: - resolution: {integrity: sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=} + resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} dependencies: safe-buffer: 5.2.1 dev: true - /turbo-darwin-64/1.2.14: - resolution: {integrity: sha512-Fdx212fvhcbF/KKnSoenTtNLZ5Wzl+DDBmwHoHXmG2DX/1qFk4HD1/D6waCySZU1Hu1bQToIimEyrWgwAkCVbQ==} + /turbo-android-arm64/1.3.1: + resolution: {integrity: sha512-JcnZh9tLbZDpKaXaao/s/k4qXt3TbNEc1xEYYXurVWnqiMueGeS7QAtThVB85ZSqzj7djk+ngSrZabPy5RG25Q==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /turbo-darwin-64/1.3.1: + resolution: {integrity: sha512-TIGDradVFoGck86VIuM38KaDeNxdKaP2ti93UpQeFw26ZhPIeTAa6wUgnz4DQP6bjIvQmXlYJ16ETZb4tFYygg==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64/1.2.14: - resolution: {integrity: sha512-B9LRgZKW1D8EwMLNhW6n8pADiZZ+M7Qgb/Pv9DAJM+/MW5ozRn/PBA4Y+teyx2dGuaMOzvX9QzRhT1jn5U71TA==} + /turbo-darwin-arm64/1.3.1: + resolution: {integrity: sha512-aLBq8KiMMmop7uKBkvDt/y+eER2UzxZyUzh1KWcZ7DZB5tFZnknEUyf2qggY2vd2WcDVfQ1EUjZ0MFxhhVaVzA==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-freebsd-64/1.2.14: - resolution: {integrity: sha512-kmDgDZXS3vdDremUPPkaY4bAtEyqqUnhcH3tVGsHZJ6OF1eCoy+oiXWa9Aw7Wm2B0Ph5TyMooOjChgE44q4cMA==} + /turbo-freebsd-64/1.3.1: + resolution: {integrity: sha512-BOr/ifmxjlBeuDkDQLUJtzqzXQ2zPHHcI14U9Ys+z4Mza1uzQn/oSJqQvU5RuyRBVai7noMrpPS7QuKtDz0Cyg==} cpu: [x64] os: [freebsd] requiresBuild: true dev: true optional: true - /turbo-freebsd-arm64/1.2.14: - resolution: {integrity: sha512-ZDbxkIXkBQJGJOrwihmfbza+jnfObMspbThEL0bp/MtMJS8QO4NELyjHDM0LgTfecduXtS1rJMSe7pZjiEK/Vg==} + /turbo-freebsd-arm64/1.3.1: + resolution: {integrity: sha512-bHPZjK4xnGLz6/oxl5XmWhdYOdtBMSadrGhptWSZ0wBGNn/gQzDTeZAkQeqhh25AD0eM1hzDe8QUz8GlS43lrA==} cpu: [arm64] os: [freebsd] requiresBuild: true dev: true optional: true - /turbo-linux-32/1.2.14: - resolution: {integrity: sha512-fBGbevGtvbGV5bK+w6O8vve5C07TbdfIk5j59odTZo782F4Xs7fgY57mRQtNOq71YUW9Hs7FGrLUI1iRsVODAA==} + /turbo-linux-32/1.3.1: + resolution: {integrity: sha512-c5okimusfvivu9wS8MKSr+rXpQAV+M4TyR9JX+spIK8B1I7AjfECAqiK2D5WFWO1bQ33bUAuxXOEpUuLpgEm+g==} cpu: [ia32] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-64/1.2.14: - resolution: {integrity: sha512-im46sHYjZ/yl4JSmjF8HbgHpvClVHtFMvIkRVnJGuJK+e74L5YVX7ML/o1PdBj4NtQNNxyPRWfit7zfM/yLjtQ==} + /turbo-linux-64/1.3.1: + resolution: {integrity: sha512-O0pNX+N5gbmRcyZT+jsCPUNCN3DpIZHqNN35j7MT5nr0IkZa83CGbZnrEc+7Qws//jFJ26EngqD/JyRB2E8nwQ==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm/1.2.14: - resolution: {integrity: sha512-d8v53TxIQpq6w3RFxcOyHrQzLcvgyA3VC9oxZ2phZtlcTvjjZulYmuToUAHdRW24cA2DGZkwA2wSF//zJoBcdQ==} + /turbo-linux-arm/1.3.1: + resolution: {integrity: sha512-f+r6JIwv/7ylxxJtgVi8cVw+6oNoD/r1IMTU6ejH8bfyMZZko4kkNwH9VYribQ44KDkJEgzdltnzFG5f6Hz10g==} cpu: [arm] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64/1.2.14: - resolution: {integrity: sha512-qyusEtylnt5cF2+jIOMIN4iCzMG/tur2y3++YeKRCdGaboPUbsfCcTXbhM29VxxNWw5JVxh7FC0+ZUsEFRYDNg==} + /turbo-linux-arm64/1.3.1: + resolution: {integrity: sha512-D6+1MeS/x+/VCCooHPU4NIpB8qI/eW70eMRA79bqTPaxxluP0g2CaxXgucco05P51YtNsSxeVcH7X76iadON6Q==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-mips64le/1.2.14: - resolution: {integrity: sha512-zKPi9ArRDu4BKB8YmcQ6i89Hhzd5xk4W+m7YuZKBmeEVCFBDUUAyWnKsvmBoYuGTpdQqMSH14BdYMTr5s2thjw==} + /turbo-linux-mips64le/1.3.1: + resolution: {integrity: sha512-yL64jgwVCziOpBcdpMxIsczkgwwOvmaqKObFKWyCNlk/LOl5NKODLwXEaryLaALtpwUAoS4ltMSI64gKqmLrOA==} cpu: [mips64el] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-ppc64le/1.2.14: - resolution: {integrity: sha512-gW43yKJjSHZjZdjI/MihrnIEACnwhB+okJJjYYFKuEteJF+TCWHvY3rfL9MFI7vH2zwFUgoncIOuGvaeZo3K0A==} + /turbo-linux-ppc64le/1.3.1: + resolution: {integrity: sha512-tjnM+8RosykS1lBpOPLDXGOz/Po2h796ty17uBd7IFslWPOI16a/akFOFoLH8PCiGGJMe3CYgRhEKn4sPWNxFA==} cpu: [ppc64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-32/1.2.14: - resolution: {integrity: sha512-BMqpSaHx5mgvMdXotMoVinU3dSGBoRdZZkwOAs8R0WPUCwZVMPo6fTuKIhcOlKFOt6swQGFD02IzCWD+SGfEuA==} + /turbo-windows-32/1.3.1: + resolution: {integrity: sha512-Snnv+TVigulqwK6guHKndMlrLw88NXj8BtHRGrEksPR0QkyuHlwLf+tHYB4HmvpUl4W9lnXQf4hsljWP64BEdw==} cpu: [ia32] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-64/1.2.14: - resolution: {integrity: sha512-SA9YNAyZ2wYBccPtWbQckpSZOAuhH71893UZsstRWUEUj/cZ+PFpwNGTrHTGoySbwQPbOVHQNXEO7QX405Ajow==} + /turbo-windows-64/1.3.1: + resolution: {integrity: sha512-gLeohHG07yIhON1Pp0YNE00i/yzip2GFhkA6HdJaK95uE5bKULpqxuO414hOS/WzGwrGVXBKCImfe24XXh5T+Q==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64/1.2.14: - resolution: {integrity: sha512-VNxbJ2LlRWzkiRE15nwW4oA/wBMFf1h8fuPCHHXtB6ThjfeG8SN5QgPUrhTIP4p7WiEdN/Sq7UJzFrGA4I8jqg==} + /turbo-windows-arm64/1.3.1: + resolution: {integrity: sha512-0MWcHLvYgs/qdcoTFZ55nu8HhrpeiwXEMw9cbNfgqTlzy3OsrAsovYEJFyQ8KSxeploiD+QJlCdvhxx+5C0tlA==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo/1.2.14: - resolution: {integrity: sha512-una2aE2agjTT2SgC3kCmUrYIPy5uh5NLPQrRCKKBIgvII90vyajvFhcq+yJUYdh5f+2o0xb/9YXaj+FAITds0A==} + /turbo/1.3.1: + resolution: {integrity: sha512-DXckoGKlZgvTn/PrHpBI/57aeXR7tfyPf2dK+4LmBczt24ELA3o6eYHeA7KzfpSYhB2LE9qveYFQ6mJ1OzGjjg==} hasBin: true requiresBuild: true optionalDependencies: - turbo-darwin-64: 1.2.14 - turbo-darwin-arm64: 1.2.14 - turbo-freebsd-64: 1.2.14 - turbo-freebsd-arm64: 1.2.14 - turbo-linux-32: 1.2.14 - turbo-linux-64: 1.2.14 - turbo-linux-arm: 1.2.14 - turbo-linux-arm64: 1.2.14 - turbo-linux-mips64le: 1.2.14 - turbo-linux-ppc64le: 1.2.14 - turbo-windows-32: 1.2.14 - turbo-windows-64: 1.2.14 - turbo-windows-arm64: 1.2.14 + turbo-android-arm64: 1.3.1 + turbo-darwin-64: 1.3.1 + turbo-darwin-arm64: 1.3.1 + turbo-freebsd-64: 1.3.1 + turbo-freebsd-arm64: 1.3.1 + turbo-linux-32: 1.3.1 + turbo-linux-64: 1.3.1 + turbo-linux-arm: 1.3.1 + turbo-linux-arm64: 1.3.1 + turbo-linux-mips64le: 1.3.1 + turbo-linux-ppc64le: 1.3.1 + turbo-windows-32: 1.3.1 + turbo-windows-64: 1.3.1 + turbo-windows-arm64: 1.3.1 dev: true /type-check/0.4.0: @@ -5195,14 +5123,14 @@ packages: engines: {node: '>=8'} dev: true - /typescript/4.7.2: - resolution: {integrity: sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==} + /typescript/4.7.4: + resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} engines: {node: '>=4.2.0'} hasBin: true dev: true - /uglify-js/3.15.5: - resolution: {integrity: sha512-hNM5q5GbBRB5xB+PMqVRcgYe4c8jbyZ1pzZhS6jbq54/4F2gFK869ZheiE5A8/t+W5jtTNpWef/5Q9zk639FNQ==} + /uglify-js/3.16.1: + resolution: {integrity: sha512-X5BGTIDH8U6IQ1TIRP62YC36k+ULAa1d59BxlWvPUJ1NkW5L3FwcGfEzuVvGmhJFBu0YJ5Ge25tmRISqCmLiRQ==} engines: {node: '>=0.8.0'} hasBin: true dev: true @@ -5216,8 +5144,8 @@ packages: which-boxed-primitive: 1.0.2 dev: true - /undici/5.4.0: - resolution: {integrity: sha512-A1SRXysDg7J+mVP46jF+9cKANw0kptqSFZ8tGyL+HBiv0K1spjxPX8Z4EGu+Eu6pjClJUBdnUPlxrOafR668/g==} + /undici/5.6.0: + resolution: {integrity: sha512-mc+8SY1fXubTrdx4CXDkeFFGV8lI3Tq4I/70U1V8Z6g4iscGII0uLO7CPnDt56bXEbvaKwo2T2+VrteWbZiXiQ==} engines: {node: '>=12.18'} dev: true @@ -5233,21 +5161,21 @@ packages: dev: true /urix/0.1.0: - resolution: {integrity: sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=} + resolution: {integrity: sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==} deprecated: Please see https://github.com/lydell/urix#deprecated dev: true /util-deprecate/1.0.2: - resolution: {integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=} + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - /uvu/0.5.3: - resolution: {integrity: sha512-brFwqA3FXzilmtnIyJ+CxdkInkY/i4ErvP7uV0DnUVxQcQ55reuHphorpF+tZoVHK2MniZ/VJzI7zJQoc9T9Yw==} + /uvu/0.5.4: + resolution: {integrity: sha512-x1CyUjcP9VKaNPhjeB3FIc/jqgLsz2Q9LFhRzUTu/jnaaHILEGNuE0XckQonl8ISLcwyk9I2EZvWlYsQnwxqvQ==} engines: {node: '>=8'} hasBin: true dependencies: dequal: 2.0.2 diff: 5.1.0 - kleur: 4.1.4 + kleur: 4.1.5 sade: 1.8.1 dev: true @@ -5255,11 +5183,11 @@ packages: resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==} dev: true - /v8-to-istanbul/9.0.0: - resolution: {integrity: sha512-HcvgY/xaRm7isYmyx+lFKA4uQmfUbN0J4M0nNItvzTvH/iQ9kW5j/t4YSR+Ge323/lrgDAWJoF46tzGQHwBHFw==} + /v8-to-istanbul/9.0.1: + resolution: {integrity: sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==} engines: {node: '>=10.12.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.14 '@types/istanbul-lib-coverage': 2.0.4 convert-source-map: 1.8.0 dev: true @@ -5272,21 +5200,21 @@ packages: dev: true /vary/1.1.2: - resolution: {integrity: sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=} + resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} dev: true - /vite-imagetools/4.0.3: - resolution: {integrity: sha512-8MfpwoUvJBGNgrBhVNd+HIRH32+1yN9vtFVGEAAWxa+/9E1pXGu4Lwj3d9Ydi6HwR9sFi4ZQdgaRkQDGKX9O1Q==} + /vite-imagetools/4.0.4: + resolution: {integrity: sha512-ik1Sq4ueKYN2iBjxe3g8YxqM9aul2goQ2z8CuTKKxOG3M1nF63SRqialbXMuJVH8aKJ9A2oGhs1sktCAoo9EBg==} engines: {node: '>=12.0.0'} dependencies: '@rollup/pluginutils': 4.2.1 - imagetools-core: 3.0.2 - magic-string: 0.25.9 + imagetools-core: 3.0.3 + magic-string: 0.26.2 dev: true - /vite/2.9.10: - resolution: {integrity: sha512-TwZRuSMYjpTurLqXspct+HZE7ONiW9d+wSWgvADGxhDPPyoIcNywY+RX4ng+QpK30DCa1l/oZgi2PLZDibhzbQ==} + /vite/2.9.13: + resolution: {integrity: sha512-AsOBAaT0AD7Mhe8DuK+/kE4aWYFMx/i0ZNi98hJclxb4e0OhQcZYUrvLjIaQ8e59Ui7txcvKMiJC1yftqpQoDw==} engines: {node: '>=12.2.0'} hasBin: true peerDependencies: @@ -5308,12 +5236,16 @@ packages: optionalDependencies: fsevents: 2.3.2 + /vscode-oniguruma/1.6.2: + resolution: {integrity: sha512-KH8+KKov5eS/9WhofZR8M8dMHWN2gTxjMsG4jd04YhpbPR91fUj7rYQ2/XjeHCJWbg7X++ApRIU9NUwM2vTvLA==} + dev: true + /vscode-textmate/5.2.0: resolution: {integrity: sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==} dev: true /wcwidth/1.0.1: - resolution: {integrity: sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=} + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} dependencies: defaults: 1.0.3 dev: true @@ -5324,10 +5256,10 @@ packages: dev: true /webidl-conversions/3.0.1: - resolution: {integrity: sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=} + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} /whatwg-url/5.0.0: - resolution: {integrity: sha1-lmRU6HZUYuN2RNNib2dCzotwll0=} + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} dependencies: tr46: 0.0.3 webidl-conversions: 3.0.1 @@ -5343,7 +5275,7 @@ packages: dev: true /which-module/2.0.0: - resolution: {integrity: sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=} + resolution: {integrity: sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==} dev: true /which-pm/2.0.0: @@ -5373,6 +5305,7 @@ packages: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} dependencies: string-width: 4.2.3 + dev: false /word-wrap/1.2.3: resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} @@ -5383,12 +5316,12 @@ packages: resolution: {integrity: sha512-RZgqHu1w/JcUdWOE/BUEAzarrUUHh39eWkLdX8XpA6MfgLJF6X5Vl26CV7/wcm4O/UpZvHMGJUtB9eYTqDjc9g==} engines: {node: '>=12'} dependencies: - mrmime: 1.0.0 + mrmime: 1.0.1 regexparam: 2.0.0 dev: false /wrap-ansi/2.1.0: - resolution: {integrity: sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=} + resolution: {integrity: sha512-vAaEaDM946gbNpH5pLVNR+vX2ht6n0Bt3GXwVB1AuAqZosOvHNF3P7wDnh8KLkSqgUh0uh77le7Owgoz+Z9XBw==} engines: {node: '>=0.10.0'} dependencies: string-width: 1.0.2 @@ -5414,7 +5347,7 @@ packages: dev: true /wrappy/1.0.2: - resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=} + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} /y18n/3.2.2: resolution: {integrity: sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==} @@ -5430,12 +5363,9 @@ packages: dev: true /yallist/2.1.2: - resolution: {integrity: sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=} + resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} dev: true - /yallist/3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - /yallist/4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} @@ -5452,8 +5382,13 @@ packages: engines: {node: '>=10'} dev: true + /yargs-parser/21.0.1: + resolution: {integrity: sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==} + engines: {node: '>=12'} + dev: true + /yargs-parser/7.0.0: - resolution: {integrity: sha1-jQrELxbqVd69MyyvTEA4s+P139k=} + resolution: {integrity: sha512-WhzC+xgstid9MbVUktco/bf+KJG+Uu6vMX0LN1sLJvwmbCQVxb4D8LzogobonKycNasCZLdOzTAk1SK7+K7swg==} dependencies: camelcase: 4.1.0 dev: true @@ -5488,8 +5423,21 @@ packages: yargs-parser: 20.2.9 dev: true + /yargs/17.5.1: + resolution: {integrity: sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==} + engines: {node: '>=12'} + dependencies: + cliui: 7.0.4 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.0.1 + dev: true + /yargs/8.0.2: - resolution: {integrity: sha1-YpmpBVsc78lp/355wdkY3Osiw2A=} + resolution: {integrity: sha512-3RiZrpLpjrzIAKgGdPktBcMP/eG5bDFlkI+PHle1qwzyVXyDQL+pD/eZaMoOOO0Y7LLBfjpucObuUm/icvbpKQ==} dependencies: camelcase: 4.1.0 cliui: 3.2.0 @@ -5511,7 +5459,7 @@ packages: engines: {node: '>=10'} dev: true - github.com/sveltejs/eslint-config/9a7d728e03ac433e5856a6e06775c17ee986d641_w4rs2ccfif2v7dzo5nj6mjdwui: + github.com/sveltejs/eslint-config/9a7d728e03ac433e5856a6e06775c17ee986d641_5nge3uy3zvbeyedwlvrgstgizy: resolution: {tarball: https://codeload.github.com/sveltejs/eslint-config/tar.gz/9a7d728e03ac433e5856a6e06775c17ee986d641} id: github.com/sveltejs/eslint-config/9a7d728e03ac433e5856a6e06775c17ee986d641 name: '@sveltejs/eslint-config' @@ -5525,11 +5473,11 @@ packages: eslint-plugin-svelte3: '>= 2' typescript: '>= 3' dependencies: - '@typescript-eslint/eslint-plugin': 5.27.0_dszb5tb7atwkjjijmmov4qhi7i - '@typescript-eslint/parser': 5.27.0_xztl6dhthcahlo6akmb2bmjmle - eslint: 8.16.0 - eslint-plugin-import: 2.26.0_xsmuhwqsfrjm7m3kqio7zoeziq - eslint-plugin-node: 11.1.0_eslint@8.16.0 - eslint-plugin-svelte3: 4.0.0_vypdqzeyqutkgs6qzc7qod4c64 - typescript: 4.7.2 + '@typescript-eslint/eslint-plugin': 5.30.3_uhfrv6c56y4b7yuzllo3ym4bou + '@typescript-eslint/parser': 5.30.3_b5e7v2qnwxfo6hmiq56u52mz3e + eslint: 8.18.0 + eslint-plugin-import: 2.26.0_stpfporf4ezjetv6zdnl75453m + eslint-plugin-node: 11.1.0_eslint@8.18.0 + eslint-plugin-svelte3: 4.0.0_wy4erphnvhealet26qderqv6bu + typescript: 4.7.4 dev: true diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 1dfb83b1e23b..0c98d7980422 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,6 +1,7 @@ packages: - 'packages/*' - 'sites/*' + - 'packages/adapter-static/test/apps/*' - 'packages/kit/test/apps/*' - 'packages/kit/test/prerendering/*' - 'packages/create-svelte/templates/*' diff --git a/sites/kit.svelte.dev/package.json b/sites/kit.svelte.dev/package.json index fb9554b7bd95..10facb6a0b5b 100644 --- a/sites/kit.svelte.dev/package.json +++ b/sites/kit.svelte.dev/package.json @@ -2,10 +2,10 @@ "name": "kit.svelte.dev", "version": "0.0.1", "scripts": { - "dev": "node ./svelte-kit.js dev", - "build": "node ./svelte-kit.js build --verbose", + "dev": "vite dev", + "build": "vite build", "prebuild": "test \"$CI\" = true && npx pnpm install --store=node_modules/.pnpm-store || echo skipping pnpm install", - "preview": "node ./svelte-kit.js preview" + "preview": "vite preview" }, "devDependencies": { "@sveltejs/adapter-auto": "workspace:*", diff --git a/sites/kit.svelte.dev/svelte-kit.js b/sites/kit.svelte.dev/svelte-kit.js deleted file mode 100644 index 5f6cfa80fdf6..000000000000 --- a/sites/kit.svelte.dev/svelte-kit.js +++ /dev/null @@ -1,14 +0,0 @@ -import { spawn } from 'child_process'; -import { fileURLToPath } from 'url'; - -const [node, , ...args] = process.argv; -const mode = process.env.CI ? 'dist' : 'src'; -const bin = fileURLToPath(new URL(`../../packages/kit/${mode}/cli.js`, import.meta.url)); - -const child = spawn(node, [bin, ...args], { - stdio: 'inherit' -}); - -if (child) { - child.on('exit', process.exit); -} diff --git a/sites/kit.svelte.dev/svelte.config.js b/sites/kit.svelte.dev/svelte.config.js index 26364debb05c..f59272ed425e 100644 --- a/sites/kit.svelte.dev/svelte.config.js +++ b/sites/kit.svelte.dev/svelte.config.js @@ -1,6 +1,4 @@ -import * as path from 'path'; import adapter from '@sveltejs/adapter-auto'; -import { imagetools } from 'vite-imagetools'; /** @type {import('@sveltejs/kit').Config} */ const config = { @@ -10,22 +8,6 @@ const config = { prerender: { default: true, entries: ['*', '/content.json'] - }, - - vite: { - plugins: [imagetools()], - - resolve: { - alias: { - $img: path.resolve('src/images') - } - }, - - server: { - fs: { - strict: false - } - } } } }; diff --git a/sites/kit.svelte.dev/vite.config.js b/sites/kit.svelte.dev/vite.config.js new file mode 100644 index 000000000000..0d5d051e31d3 --- /dev/null +++ b/sites/kit.svelte.dev/vite.config.js @@ -0,0 +1,22 @@ +import { sveltekit } from '@sveltejs/kit/vite'; +import * as path from 'path'; +import { imagetools } from 'vite-imagetools'; + +/** @type {import('vite').UserConfig} */ +const config = { + plugins: [imagetools(), sveltekit()], + + resolve: { + alias: { + $img: path.resolve('src/images') + } + }, + + server: { + fs: { + strict: false + } + } +}; + +export default config; diff --git a/turbo.json b/turbo.json index 1316f3c80926..8ad2b2218461 100644 --- a/turbo.json +++ b/turbo.json @@ -23,13 +23,24 @@ ] }, "check": { - "dependsOn": ["sync"], - "inputs": ["src/**", "types/**", ".svelte-kit/types/**", ".custom-out-dir/types/**", ".svelte-kit/tsconfig.json"], + "dependsOn": ["prepare"], + "inputs": [ + "src/**", + "types/**", + ".svelte-kit/types/**", + ".custom-out-dir/types/**", + ".svelte-kit/tsconfig.json" + ], "outputs": [] }, "format": {}, - "sync": { - "outputs": [".svelte-kit/types/**", ".custom-out-dir/types/**"] + "prepare": { + "outputs": [ + ".svelte-kit/types/**", + ".svelte-kit/tsconfig.json", + ".custom-out-dir/types/**", + ".custom-out-dir/tsconfig.json" + ] }, "test": { "dependsOn": ["^build", "$CI", "$TURBO_CACHE_KEY"],