diff --git a/.changeset/itchy-bags-lay.md b/.changeset/itchy-bags-lay.md deleted file mode 100644 index 82093c39e977..000000000000 --- a/.changeset/itchy-bags-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/kit': major ---- - -breaking: require Vite 5 diff --git a/.changeset/silent-mayflies-burn.md b/.changeset/silent-mayflies-burn.md new file mode 100644 index 000000000000..ba1d0e44eb0f --- /dev/null +++ b/.changeset/silent-mayflies-burn.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': major +--- + +breaking: upgrade to TypeScript 5 and default `moduleResolution` to `bundler` in user projects diff --git a/package.json b/package.json index 61f1510c4a6c..0d1e5248fb6c 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "playwright": "1.30.0", "prettier": "^3.1.0", "svelte": "^4.2.7", - "typescript": "^4.9.4" + "typescript": "^5.3.2" }, "packageManager": "pnpm@8.10.2", "engines": { diff --git a/packages/adapter-auto/package.json b/packages/adapter-auto/package.json index 037ba5fd38ab..d3597a50d364 100644 --- a/packages/adapter-auto/package.json +++ b/packages/adapter-auto/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@sveltejs/kit": "workspace:^", "@types/node": "^16.18.6", - "typescript": "^4.9.4" + "typescript": "^5.3.2" }, "dependencies": { "import-meta-resolve": "^4.0.0" diff --git a/packages/adapter-cloudflare-workers/package.json b/packages/adapter-cloudflare-workers/package.json index 03be164fdc46..20175f8dcac6 100644 --- a/packages/adapter-cloudflare-workers/package.json +++ b/packages/adapter-cloudflare-workers/package.json @@ -37,7 +37,7 @@ "devDependencies": { "@cloudflare/kv-asset-handler": "^0.3.0", "@types/node": "^16.18.6", - "typescript": "^4.9.4" + "typescript": "^5.3.2" }, "peerDependencies": { "@sveltejs/kit": "^1.0.0" diff --git a/packages/adapter-cloudflare/package.json b/packages/adapter-cloudflare/package.json index ef43a80378db..5386bd737467 100644 --- a/packages/adapter-cloudflare/package.json +++ b/packages/adapter-cloudflare/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@types/node": "^16.18.6", "@types/ws": "^8.5.3", - "typescript": "^4.9.4" + "typescript": "^5.3.2" }, "peerDependencies": { "@sveltejs/kit": "^1.0.0" diff --git a/packages/adapter-netlify/package.json b/packages/adapter-netlify/package.json index 96b7a914a694..616c02e80ea6 100644 --- a/packages/adapter-netlify/package.json +++ b/packages/adapter-netlify/package.json @@ -38,7 +38,7 @@ "set-cookie-parser": "^2.6.0" }, "devDependencies": { - "@netlify/functions": "^2.0.1", + "@netlify/functions": "^2.4.0", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-json": "^6.0.1", "@rollup/plugin-node-resolve": "^15.2.3", @@ -46,7 +46,7 @@ "@types/node": "^16.18.6", "@types/set-cookie-parser": "^2.4.2", "rollup": "^4.2.0", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vitest": "^0.34.5" }, "peerDependencies": { diff --git a/packages/adapter-netlify/rollup.config.js b/packages/adapter-netlify/rollup.config.js index 7eca711c728c..b69d62886502 100644 --- a/packages/adapter-netlify/rollup.config.js +++ b/packages/adapter-netlify/rollup.config.js @@ -12,6 +12,7 @@ const config = { dir: 'files/esm', format: 'esm' }, + // @ts-ignore https://github.com/rollup/plugins/issues/1329 plugins: [nodeResolve({ preferBuiltins: true }), commonjs(), json()], external: (id) => id === '0SERVER' || id.startsWith('node:'), preserveEntrySignatures: 'exports-only' diff --git a/packages/adapter-netlify/tsconfig.json b/packages/adapter-netlify/tsconfig.json index 050c14d467ea..1eeee8b0847d 100644 --- a/packages/adapter-netlify/tsconfig.json +++ b/packages/adapter-netlify/tsconfig.json @@ -5,10 +5,10 @@ "noEmit": true, "noImplicitAny": true, "target": "es2022", - "module": "es2022", - // `@netlify/function` > `@netlify/serverless-functions-api` types are not compatible, - // so using this moduleResolution for now - "moduleResolution": "node", + "module": "node16", + "moduleResolution": "node16", + // https://github.com/netlify/functions/issues/447 + "skipLibCheck": true, "allowSyntheticDefaultImports": true, "baseUrl": ".", "paths": { diff --git a/packages/adapter-node/index.js b/packages/adapter-node/index.js index 2d34cfb22d29..cee513d34b90 100644 --- a/packages/adapter-node/index.js +++ b/packages/adapter-node/index.js @@ -62,7 +62,9 @@ export default function (opts = {}) { preferBuiltins: true, exportConditions: ['node'] }), + // @ts-ignore https://github.com/rollup/plugins/issues/1329 commonjs({ strictRequires: true }), + // @ts-ignore https://github.com/rollup/plugins/issues/1329 json() ] }); diff --git a/packages/adapter-node/package.json b/packages/adapter-node/package.json index 5ec180de7c7a..b1007fc5fea5 100644 --- a/packages/adapter-node/package.json +++ b/packages/adapter-node/package.json @@ -39,7 +39,7 @@ "c8": "^8.0.0", "polka": "^1.0.0-next.23", "sirv": "^2.0.3", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vitest": "^0.34.5" }, "dependencies": { diff --git a/packages/adapter-node/src/index.js b/packages/adapter-node/src/index.js index ea3feee05860..e57a985c23dc 100644 --- a/packages/adapter-node/src/index.js +++ b/packages/adapter-node/src/index.js @@ -6,6 +6,7 @@ export const path = env('SOCKET_PATH', false); export const host = env('HOST', '0.0.0.0'); export const port = env('PORT', !path && '3000'); +// @ts-ignore - https://github.com/lukeed/polka/issues/199 const server = polka().use(handler); server.listen({ path, host, port }, () => { diff --git a/packages/adapter-node/tsconfig.json b/packages/adapter-node/tsconfig.json index 7d320c09f70c..17a612157ece 100644 --- a/packages/adapter-node/tsconfig.json +++ b/packages/adapter-node/tsconfig.json @@ -6,11 +6,8 @@ "noImplicitAny": true, "allowSyntheticDefaultImports": true, "target": "es2022", - "module": "es2022", - // Can't use moduleResolution: node16 because of these issues: - // https://github.com/rollup/plugins/issues/1329 - // https://github.com/lukeed/polka/issues/199 - "moduleResolution": "node", + "module": "node16", + "moduleResolution": "node16", "baseUrl": ".", "paths": { "@sveltejs/kit": ["../kit/types/index"] diff --git a/packages/adapter-static/index.js b/packages/adapter-static/index.js index 4b4fb8465924..59791bac00ef 100644 --- a/packages/adapter-static/index.js +++ b/packages/adapter-static/index.js @@ -52,6 +52,7 @@ See https://kit.svelte.dev/docs/page-options#prerender for more details` } const { + // @ts-ignore pages = 'build', assets = pages, fallback, diff --git a/packages/adapter-static/package.json b/packages/adapter-static/package.json index 73b003df79ef..ae4fec21a246 100644 --- a/packages/adapter-static/package.json +++ b/packages/adapter-static/package.json @@ -35,7 +35,7 @@ "@types/node": "^16.18.6", "sirv": "^2.0.3", "svelte": "^4.2.7", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "peerDependencies": { diff --git a/packages/adapter-vercel/package.json b/packages/adapter-vercel/package.json index f6d1b1ad806d..8497012b4dc5 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -37,7 +37,7 @@ "devDependencies": { "@sveltejs/kit": "workspace:^", "@types/node": "^16.18.6", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vitest": "^0.34.5" }, "peerDependencies": { diff --git a/packages/create-svelte/templates/default/package.json b/packages/create-svelte/templates/default/package.json index d5c6fcb2ee1b..a29836927881 100644 --- a/packages/create-svelte/templates/default/package.json +++ b/packages/create-svelte/templates/default/package.json @@ -12,7 +12,7 @@ "@sveltejs/adapter-auto": "workspace:*", "@sveltejs/kit": "workspace:*", "svelte": "^4.2.7", - "typescript": "^5.0.0", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module", diff --git a/packages/create-svelte/templates/skeletonlib/package.template.json b/packages/create-svelte/templates/skeletonlib/package.template.json index 1ad1e5d1002e..90cdd2785475 100644 --- a/packages/create-svelte/templates/skeletonlib/package.template.json +++ b/packages/create-svelte/templates/skeletonlib/package.template.json @@ -25,7 +25,7 @@ "publint": "^0.1.9", "svelte": "^4.2.7", "tslib": "^2.4.1", - "typescript": "^5.0.0", + "typescript": "^5.3.2", "vite": "^5.0.3" }, "svelte": "./dist/index.js", diff --git a/packages/enhanced-img/package.json b/packages/enhanced-img/package.json index 28382f17577e..e2c76f32f5d9 100644 --- a/packages/enhanced-img/package.json +++ b/packages/enhanced-img/package.json @@ -28,14 +28,15 @@ "dependencies": { "magic-string": "^0.30.0", "svelte-parse-markup": "^0.1.1", - "vite-imagetools": "^6.2.5" + "vite-imagetools": "^6.2.6" }, "devDependencies": { "@types/estree": "^1.0.2", "@types/node": "^16.18.6", "estree-walker": "^3.0.3", + "rollup": "^4.2.0", "svelte": "^4.2.7", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4", "vitest": "^0.34.0" } diff --git a/packages/enhanced-img/tsconfig.json b/packages/enhanced-img/tsconfig.json index 638484204f12..0ff94d9e3f38 100644 --- a/packages/enhanced-img/tsconfig.json +++ b/packages/enhanced-img/tsconfig.json @@ -5,8 +5,8 @@ "noEmit": true, "strict": true, "target": "es2022", - "module": "es2022", - "moduleResolution": "node", + "module": "node16", + "moduleResolution": "node16", "allowSyntheticDefaultImports": true, "paths": { "types": ["./types/index"], diff --git a/packages/kit/package.json b/packages/kit/package.json index 5e46208d8669..4c0ed2923d7a 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -31,11 +31,11 @@ "@types/node": "^16.18.6", "@types/sade": "^1.7.4", "@types/set-cookie-parser": "^2.4.2", - "dts-buddy": "^0.2.4", + "dts-buddy": "^0.4.0", "rollup": "^4.2.0", "svelte": "^4.2.7", "svelte-preprocess": "^5.1.1", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4", "vitest": "^0.34.5" }, diff --git a/packages/kit/src/core/sync/write_tsconfig.js b/packages/kit/src/core/sync/write_tsconfig.js index 33aa98adb18e..e8b6dc7ced89 100644 --- a/packages/kit/src/core/sync/write_tsconfig.js +++ b/packages/kit/src/core/sync/write_tsconfig.js @@ -139,7 +139,7 @@ export function get_tsconfig(kit, include_base_url) { // This is required for svelte-package to work as expected // Can be overwritten lib: ['esnext', 'DOM', 'DOM.Iterable'], - moduleResolution: 'node', // TODO change to "bundler" in SvelteKit v2 + moduleResolution: 'bundler', module: 'esnext', noEmit: true, // prevent tsconfig error "overwriting input files" - Vite handles the build and ignores this target: 'esnext', diff --git a/packages/kit/src/core/sync/write_tsconfig.spec.js b/packages/kit/src/core/sync/write_tsconfig.spec.js index 6efa9368791e..94590cff00ac 100644 --- a/packages/kit/src/core/sync/write_tsconfig.spec.js +++ b/packages/kit/src/core/sync/write_tsconfig.spec.js @@ -65,6 +65,7 @@ test('Allows generated tsconfig to be mutated', () => { const config = get_tsconfig(kit, false); + // @ts-expect-error assert.equal(config.extends, 'some/other/tsconfig.json'); }); @@ -82,6 +83,7 @@ test('Allows generated tsconfig to be replaced', () => { const config = get_tsconfig(kit, false); + // @ts-expect-error assert.equal(config.extends, 'some/other/tsconfig.json'); }); diff --git a/packages/kit/src/core/sync/write_types/test/package.json b/packages/kit/src/core/sync/write_types/test/package.json index 47d157b4a13a..9ccb30aba068 100644 --- a/packages/kit/src/core/sync/write_types/test/package.json +++ b/packages/kit/src/core/sync/write_types/test/package.json @@ -1,5 +1,6 @@ { "private": true, + "type": "module", "scripts": { "testtypes": "tsc" } diff --git a/packages/kit/src/core/sync/write_types/test/tsconfig.json b/packages/kit/src/core/sync/write_types/test/tsconfig.json index fc3cf322453b..39ea59584873 100644 --- a/packages/kit/src/core/sync/write_types/test/tsconfig.json +++ b/packages/kit/src/core/sync/write_types/test/tsconfig.json @@ -4,9 +4,9 @@ "checkJs": true, "noEmit": true, "strict": true, - "target": "es2020", + "target": "es2022", "module": "es2022", - "moduleResolution": "node", + "moduleResolution": "bundler", "allowSyntheticDefaultImports": true, "baseUrl": ".", "paths": { diff --git a/packages/kit/src/exports/vite/index.js b/packages/kit/src/exports/vite/index.js index f698bb64ad19..9031c9cc1b66 100644 --- a/packages/kit/src/exports/vite/index.js +++ b/packages/kit/src/exports/vite/index.js @@ -78,7 +78,7 @@ const options_regex = /(export\s+const\s+(prerender|csr|ssr|trailingSlash))\s*=/ /** @type {Set} */ const warned = new Set(); -/** @type {import('@sveltejs/vite-plugin-svelte').PreprocessorGroup} */ +/** @type {import('svelte/compiler').PreprocessorGroup} */ const warning_preprocessor = { script: ({ content, filename }) => { if (!filename) return; @@ -630,7 +630,7 @@ function kit({ svelte_config }) { scoped( assets, sirv(join(svelte_config.kit.outDir, 'output/client'), { - setHeaders: (res, pathname) => { + setHeaders: (res, pathname) => { // only apply to immutable directory, not e.g. version.json if (pathname.startsWith(`/${svelte_config.kit.appDir}/immutable`)) { res.setHeader('cache-control', 'public,max-age=31536000,immutable'); diff --git a/packages/kit/src/exports/vite/preview/index.js b/packages/kit/src/exports/vite/preview/index.js index fdea3d1ab607..e612cc935c55 100644 --- a/packages/kit/src/exports/vite/preview/index.js +++ b/packages/kit/src/exports/vite/preview/index.js @@ -60,69 +60,67 @@ export async function preview(vite, vite_config, svelte_config) { // prerendered pages (we can't just use sirv because we need to // preserve the correct trailingSlash behaviour) - vite.middlewares.use( - (req, res, next) => { - let if_none_match_value = req.headers['if-none-match']; + vite.middlewares.use((req, res, next) => { + let if_none_match_value = req.headers['if-none-match']; - if (if_none_match_value?.startsWith('W/"')) { - if_none_match_value = if_none_match_value.substring(2); - } + if (if_none_match_value?.startsWith('W/"')) { + if_none_match_value = if_none_match_value.substring(2); + } - if (if_none_match_value === etag) { - res.statusCode = 304; - res.end(); - return; - } + if (if_none_match_value === etag) { + res.statusCode = 304; + res.end(); + return; + } - const { pathname, search } = new URL(/** @type {string} */ (req.url), 'http://dummy'); - - let filename = normalizePath( - join(svelte_config.kit.outDir, 'output/prerendered/pages' + pathname) - ); - let prerendered = is_file(filename); - - if (!prerendered) { - const has_trailing_slash = pathname.endsWith('/'); - const html_filename = `${filename}${has_trailing_slash ? 'index.html' : '.html'}`; - - /** @type {string | undefined} */ - let redirect; - - if (is_file(html_filename)) { - filename = html_filename; - prerendered = true; - } else if (has_trailing_slash) { - if (is_file(filename.slice(0, -1) + '.html')) { - redirect = pathname.slice(0, -1); - } - } else if (is_file(filename + '/index.html')) { - redirect = pathname + '/'; - } + const { pathname, search } = new URL(/** @type {string} */ (req.url), 'http://dummy'); + + let filename = normalizePath( + join(svelte_config.kit.outDir, 'output/prerendered/pages' + pathname) + ); + let prerendered = is_file(filename); - if (redirect) { - if (search) redirect += search; - res.writeHead(307, { - location: redirect - }); + if (!prerendered) { + const has_trailing_slash = pathname.endsWith('/'); + const html_filename = `${filename}${has_trailing_slash ? 'index.html' : '.html'}`; - res.end(); + /** @type {string | undefined} */ + let redirect; - return; + if (is_file(html_filename)) { + filename = html_filename; + prerendered = true; + } else if (has_trailing_slash) { + if (is_file(filename.slice(0, -1) + '.html')) { + redirect = pathname.slice(0, -1); } + } else if (is_file(filename + '/index.html')) { + redirect = pathname + '/'; } - if (prerendered) { - res.writeHead(200, { - 'content-type': lookup(pathname) || 'text/html', - etag + if (redirect) { + if (search) redirect += search; + res.writeHead(307, { + location: redirect }); - fs.createReadStream(filename).pipe(res); - } else { - next(); + res.end(); + + return; } } - ); + + if (prerendered) { + res.writeHead(200, { + 'content-type': lookup(pathname) || 'text/html', + etag + }); + + fs.createReadStream(filename).pipe(res); + } else { + next(); + } + }); // SSR vite.middlewares.use(async (req, res) => { diff --git a/packages/kit/src/runtime/app/navigation.js b/packages/kit/src/runtime/app/navigation.js index 0da8f93e1599..527a85fa14d7 100644 --- a/packages/kit/src/runtime/app/navigation.js +++ b/packages/kit/src/runtime/app/navigation.js @@ -109,7 +109,7 @@ export const beforeNavigate = /* @__PURE__ */ client_method('before_navigate'); * If a function (or a `Promise` that resolves to a function) is returned from the callback, it will be called once the DOM has updated. * * `onNavigate` must be called during a component initialization. It remains active as long as the component is mounted. - * @type {(callback: (navigation: import('@sveltejs/kit').OnNavigate) => import('../../types/internal.js').MaybePromise<(() => void) | void>) => void} + * @type {(callback: (navigation: import('@sveltejs/kit').OnNavigate) => import('types').MaybePromise<(() => void) | void>) => void} * @param {(navigation: import('@sveltejs/kit').OnNavigate) => void} callback * @returns {void} */ diff --git a/packages/kit/test/apps/amp/package.json b/packages/kit/test/apps/amp/package.json index cb20cba9a2bd..11eef8113870 100644 --- a/packages/kit/test/apps/amp/package.json +++ b/packages/kit/test/apps/amp/package.json @@ -18,7 +18,7 @@ "dropcss": "^1.0.16", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/apps/basics/package.json b/packages/kit/test/apps/basics/package.json index ace839b5fae1..09717a403c69 100644 --- a/packages/kit/test/apps/basics/package.json +++ b/packages/kit/test/apps/basics/package.json @@ -19,7 +19,7 @@ "marked": "^11.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/apps/dev-only/package.json b/packages/kit/test/apps/dev-only/package.json index 980ffb2d0b10..e8bec0c94122 100644 --- a/packages/kit/test/apps/dev-only/package.json +++ b/packages/kit/test/apps/dev-only/package.json @@ -14,7 +14,7 @@ "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/apps/embed/package.json b/packages/kit/test/apps/embed/package.json index eb99ec88f9f3..dfe7bf395191 100644 --- a/packages/kit/test/apps/embed/package.json +++ b/packages/kit/test/apps/embed/package.json @@ -16,7 +16,7 @@ "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/apps/options-2/package.json b/packages/kit/test/apps/options-2/package.json index 656bb191a91d..25efab46664b 100644 --- a/packages/kit/test/apps/options-2/package.json +++ b/packages/kit/test/apps/options-2/package.json @@ -17,7 +17,7 @@ "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/apps/options/package.json b/packages/kit/test/apps/options/package.json index 5dc73512f077..28dfd291a09e 100644 --- a/packages/kit/test/apps/options/package.json +++ b/packages/kit/test/apps/options/package.json @@ -16,7 +16,7 @@ "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/apps/writes/package.json b/packages/kit/test/apps/writes/package.json index 79c51417f289..b54302d4918e 100644 --- a/packages/kit/test/apps/writes/package.json +++ b/packages/kit/test/apps/writes/package.json @@ -16,7 +16,7 @@ "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/package.json b/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/package.json index 5bedbb4fa6cc..07673540b01a 100644 --- a/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/package.json +++ b/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/tsconfig.json b/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/tsconfig.json index 95d9c037df6c..c8c193a57349 100644 --- a/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/tsconfig.json +++ b/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/tsconfig.json @@ -3,8 +3,6 @@ "allowJs": true, "checkJs": true, "noEmit": true, - "module": "esnext", - "moduleResolution": "node", "paths": { "@sveltejs/kit": ["../../../../types"], "$lib": ["./src/lib"], diff --git a/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/package.json b/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/package.json index 5bedbb4fa6cc..07673540b01a 100644 --- a/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/package.json +++ b/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/tsconfig.json b/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/tsconfig.json index 95d9c037df6c..c8c193a57349 100644 --- a/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/tsconfig.json +++ b/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/tsconfig.json @@ -3,8 +3,6 @@ "allowJs": true, "checkJs": true, "noEmit": true, - "module": "esnext", - "moduleResolution": "node", "paths": { "@sveltejs/kit": ["../../../../types"], "$lib": ["./src/lib"], diff --git a/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/package.json b/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/package.json index 6270075b4942..4f757a56dbba 100644 --- a/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/package.json +++ b/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/tsconfig.json b/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/tsconfig.json index 95d9c037df6c..c8c193a57349 100644 --- a/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/tsconfig.json +++ b/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/tsconfig.json @@ -3,8 +3,6 @@ "allowJs": true, "checkJs": true, "noEmit": true, - "module": "esnext", - "moduleResolution": "node", "paths": { "@sveltejs/kit": ["../../../../types"], "$lib": ["./src/lib"], diff --git a/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/package.json b/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/package.json index 7b393439b529..b22bfa48572e 100644 --- a/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/package.json +++ b/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/private-dynamic-env/package.json b/packages/kit/test/build-errors/apps/private-dynamic-env/package.json index 63902509e0fd..0eb72dbb2a46 100644 --- a/packages/kit/test/build-errors/apps/private-dynamic-env/package.json +++ b/packages/kit/test/build-errors/apps/private-dynamic-env/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/package.json b/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/package.json index e1f4bf8a6d60..ca1940eb3722 100644 --- a/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/package.json +++ b/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/private-static-env/package.json b/packages/kit/test/build-errors/apps/private-static-env/package.json index b3cf60a8dbe7..6c456688e520 100644 --- a/packages/kit/test/build-errors/apps/private-static-env/package.json +++ b/packages/kit/test/build-errors/apps/private-static-env/package.json @@ -14,7 +14,7 @@ "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/package.json b/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/package.json index 71b8b764958f..e9cf0049feb0 100644 --- a/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/package.json +++ b/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/server-only-folder/package.json b/packages/kit/test/build-errors/apps/server-only-folder/package.json index 3d30b603b26a..dda29bcddf76 100644 --- a/packages/kit/test/build-errors/apps/server-only-folder/package.json +++ b/packages/kit/test/build-errors/apps/server-only-folder/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/package.json b/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/package.json index 5ff8888d8e5f..1bc4a6796d4b 100644 --- a/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/package.json +++ b/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/server-only-module/package.json b/packages/kit/test/build-errors/apps/server-only-module/package.json index 13c8997c9d55..9e9015681fcb 100644 --- a/packages/kit/test/build-errors/apps/server-only-module/package.json +++ b/packages/kit/test/build-errors/apps/server-only-module/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/build-errors/apps/syntax-error/package.json b/packages/kit/test/build-errors/apps/syntax-error/package.json index 717ea6760b9a..4a612a019f53 100644 --- a/packages/kit/test/build-errors/apps/syntax-error/package.json +++ b/packages/kit/test/build-errors/apps/syntax-error/package.json @@ -11,7 +11,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/packages/kit/test/prerendering/basics/package.json b/packages/kit/test/prerendering/basics/package.json index 3b261ecc6d98..cc66b6cb5926 100644 --- a/packages/kit/test/prerendering/basics/package.json +++ b/packages/kit/test/prerendering/basics/package.json @@ -14,7 +14,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4", "vitest": "^0.34.5" }, diff --git a/packages/kit/test/prerendering/basics/tsconfig.json b/packages/kit/test/prerendering/basics/tsconfig.json index df547741d5bb..858415b26691 100644 --- a/packages/kit/test/prerendering/basics/tsconfig.json +++ b/packages/kit/test/prerendering/basics/tsconfig.json @@ -3,8 +3,6 @@ "allowJs": true, "checkJs": true, "noEmit": true, - "module": "esnext", - "moduleResolution": "node", "paths": { "@sveltejs/kit": ["../../../types"], "$lib": ["./src/lib"], diff --git a/packages/kit/test/prerendering/options/package.json b/packages/kit/test/prerendering/options/package.json index 2920d2bb32fc..441d4cf99f47 100644 --- a/packages/kit/test/prerendering/options/package.json +++ b/packages/kit/test/prerendering/options/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4", "vitest": "^0.34.5" }, diff --git a/packages/kit/test/prerendering/options/tsconfig.json b/packages/kit/test/prerendering/options/tsconfig.json index df547741d5bb..858415b26691 100644 --- a/packages/kit/test/prerendering/options/tsconfig.json +++ b/packages/kit/test/prerendering/options/tsconfig.json @@ -3,8 +3,6 @@ "allowJs": true, "checkJs": true, "noEmit": true, - "module": "esnext", - "moduleResolution": "node", "paths": { "@sveltejs/kit": ["../../../types"], "$lib": ["./src/lib"], diff --git a/packages/kit/test/prerendering/paths-base/package.json b/packages/kit/test/prerendering/paths-base/package.json index fe41abdf63b2..a198a9d4e994 100644 --- a/packages/kit/test/prerendering/paths-base/package.json +++ b/packages/kit/test/prerendering/paths-base/package.json @@ -13,7 +13,7 @@ "@sveltejs/kit": "workspace:^", "svelte": "^4.2.7", "svelte-check": "^3.4.4", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "vite": "^5.0.4", "vitest": "^0.34.5" }, diff --git a/packages/kit/test/prerendering/paths-base/tsconfig.json b/packages/kit/test/prerendering/paths-base/tsconfig.json index df547741d5bb..858415b26691 100644 --- a/packages/kit/test/prerendering/paths-base/tsconfig.json +++ b/packages/kit/test/prerendering/paths-base/tsconfig.json @@ -3,8 +3,6 @@ "allowJs": true, "checkJs": true, "noEmit": true, - "module": "esnext", - "moduleResolution": "node", "paths": { "@sveltejs/kit": ["../../../types"], "$lib": ["./src/lib"], diff --git a/packages/migrate/package.json b/packages/migrate/package.json index 90520af8b54b..8e401899368b 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -30,7 +30,7 @@ "semver": "^7.5.3", "tiny-glob": "^0.2.9", "ts-morph": "^20.0.0", - "typescript": "^5.0.4" + "typescript": "^5.3.2" }, "devDependencies": { "@types/node": "^16.18.6", diff --git a/packages/package/package.json b/packages/package/package.json index 677dff7d5e3a..ca54b5bd43a5 100644 --- a/packages/package/package.json +++ b/packages/package/package.json @@ -22,7 +22,7 @@ "@types/semver": "^7.5.0", "svelte": "^4.2.7", "svelte-preprocess": "^5.1.1", - "typescript": "^4.9.4", + "typescript": "^5.3.2", "uvu": "^0.5.6" }, "peerDependencies": { diff --git a/packages/package/src/typescript.js b/packages/package/src/typescript.js index 5d1e79878f57..5163676082e3 100644 --- a/packages/package/src/typescript.js +++ b/packages/package/src/typescript.js @@ -74,7 +74,7 @@ export async function transpile_ts(filename, source) { compilerOptions: { ...options, module: ts.ModuleKind.ESNext, - moduleResolution: ts.ModuleResolutionKind.NodeJs // switch this to bundler in the next major, although it probably doesn't make a difference + moduleResolution: ts.ModuleResolutionKind.NodeNext }, fileName: filename }).outputText; diff --git a/playgrounds/basic/package.json b/playgrounds/basic/package.json index 340953b2ddb0..096640146049 100644 --- a/playgrounds/basic/package.json +++ b/playgrounds/basic/package.json @@ -11,7 +11,7 @@ "@sveltejs/adapter-auto": "workspace:*", "@sveltejs/kit": "workspace:*", "svelte": "^4.2.7", - "typescript": "^5.0.0", + "typescript": "^5.3.2", "vite": "^5.0.4" }, "type": "module" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 48f65b954e25..be28bb370ce3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,13 +13,13 @@ importers: version: 2.26.2 '@sveltejs/eslint-config': specifier: ^6.0.4 - version: 6.0.4(@typescript-eslint/eslint-plugin@6.0.0)(@typescript-eslint/parser@6.13.1)(eslint-config-prettier@9.0.0)(eslint-plugin-svelte@2.31.0)(eslint-plugin-unicorn@49.0.0)(eslint@8.52.0)(typescript@4.9.4) + version: 6.0.4(@typescript-eslint/eslint-plugin@6.0.0)(@typescript-eslint/parser@6.13.1)(eslint-config-prettier@9.0.0)(eslint-plugin-svelte@2.31.0)(eslint-plugin-unicorn@49.0.0)(eslint@8.52.0)(typescript@5.3.2) '@svitejs/changesets-changelog-github-compact': specifier: ^1.1.0 version: 1.1.0 '@typescript-eslint/eslint-plugin': specifier: ^6.0.0 - version: 6.0.0(@typescript-eslint/parser@6.13.1)(eslint@8.52.0)(typescript@4.9.4) + version: 6.0.0(@typescript-eslint/parser@6.13.1)(eslint@8.52.0)(typescript@5.3.2) eslint: specifier: ^8.52.0 version: 8.52.0 @@ -42,8 +42,8 @@ importers: specifier: ^4.2.7 version: 4.2.7 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 packages/adapter-auto: dependencies: @@ -58,8 +58,8 @@ importers: specifier: ^16.18.6 version: 16.18.6 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 packages/adapter-cloudflare: dependencies: @@ -83,8 +83,8 @@ importers: specifier: ^8.5.3 version: 8.5.3 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 packages/adapter-cloudflare-workers: dependencies: @@ -108,8 +108,8 @@ importers: specifier: ^16.18.6 version: 16.18.6 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 packages/adapter-netlify: dependencies: @@ -124,8 +124,8 @@ importers: version: 2.6.0 devDependencies: '@netlify/functions': - specifier: ^2.0.1 - version: 2.0.2 + specifier: ^2.4.0 + version: 2.4.0 '@rollup/plugin-commonjs': specifier: ^25.0.7 version: 25.0.7(rollup@4.5.2) @@ -148,8 +148,8 @@ importers: specifier: ^4.2.0 version: 4.5.2 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vitest: specifier: ^0.34.5 version: 0.34.5(playwright@1.30.0) @@ -188,8 +188,8 @@ importers: specifier: ^2.0.3 version: 2.0.3 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vitest: specifier: ^0.34.5 version: 0.34.5(playwright@1.30.0) @@ -212,8 +212,8 @@ importers: specifier: ^4.2.7 version: 4.2.7 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -267,8 +267,8 @@ importers: specifier: ^16.18.6 version: 16.18.6 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vitest: specifier: ^0.34.5 version: 0.34.5(playwright@1.30.0) @@ -335,8 +335,8 @@ importers: specifier: ^4.2.7 version: 4.2.7 typescript: - specifier: ^5.0.0 - version: 5.0.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -356,8 +356,8 @@ importers: specifier: ^0.1.1 version: 0.1.2(svelte@4.2.7) vite-imagetools: - specifier: ^6.2.5 - version: 6.2.5 + specifier: ^6.2.6 + version: 6.2.6(rollup@4.6.1) devDependencies: '@types/estree': specifier: ^1.0.2 @@ -368,12 +368,15 @@ importers: estree-walker: specifier: ^3.0.3 version: 3.0.3 + rollup: + specifier: ^4.2.0 + version: 4.6.1 svelte: specifier: ^4.2.7 version: 4.2.7 typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -439,8 +442,8 @@ importers: specifier: ^2.4.2 version: 2.4.2 dts-buddy: - specifier: ^0.2.4 - version: 0.2.4 + specifier: ^0.4.0 + version: 0.4.0(typescript@5.3.2) rollup: specifier: ^4.2.0 version: 4.5.2 @@ -449,10 +452,10 @@ importers: version: 4.2.7 svelte-preprocess: specifier: ^5.1.1 - version: 5.1.1(postcss@8.4.31)(svelte@4.2.7)(typescript@4.9.4) + version: 5.1.1(postcss@8.4.31)(svelte@4.2.7)(typescript@5.3.2) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -481,8 +484,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -505,8 +508,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -526,8 +529,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -547,8 +550,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -568,8 +571,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -592,8 +595,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -613,8 +616,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -640,8 +643,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -661,8 +664,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -682,8 +685,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -700,8 +703,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -718,8 +721,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -739,8 +742,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -757,8 +760,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -775,8 +778,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -793,8 +796,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -811,8 +814,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -829,8 +832,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -847,8 +850,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -865,8 +868,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -886,8 +889,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -907,8 +910,8 @@ importers: specifier: ^3.4.4 version: 3.4.4(postcss@8.4.31)(svelte@4.2.7) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -937,8 +940,8 @@ importers: specifier: ^20.0.0 version: 20.0.0 typescript: - specifier: ^5.0.4 - version: 5.0.4 + specifier: ^5.3.2 + version: 5.3.2 devDependencies: '@types/node': specifier: ^16.18.6 @@ -972,7 +975,7 @@ importers: version: 7.5.3 svelte2tsx: specifier: ~0.6.19 - version: 0.6.19(svelte@4.2.7)(typescript@4.9.4) + version: 0.6.19(svelte@4.2.7)(typescript@5.3.2) devDependencies: '@types/node': specifier: ^16.18.6 @@ -985,10 +988,10 @@ importers: version: 4.2.7 svelte-preprocess: specifier: ^5.1.1 - version: 5.1.1(postcss@8.4.31)(svelte@4.2.7)(typescript@4.9.4) + version: 5.1.1(postcss@8.4.31)(svelte@4.2.7)(typescript@5.3.2) typescript: - specifier: ^4.9.4 - version: 4.9.4 + specifier: ^5.3.2 + version: 5.3.2 uvu: specifier: ^0.5.6 version: 0.5.6 @@ -1005,8 +1008,8 @@ importers: specifier: ^4.2.7 version: 4.2.7 typescript: - specifier: ^5.0.0 - version: 5.0.4 + specifier: ^5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -1070,7 +1073,7 @@ importers: version: 1.29.0 shiki-twoslash: specifier: ^3.1.2 - version: 3.1.2(typescript@5.0.4) + version: 3.1.2(typescript@5.3.2) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -1078,8 +1081,8 @@ importers: specifier: ^0.2.9 version: 0.2.9 typescript: - specifier: 5.0.4 - version: 5.0.4 + specifier: 5.3.2 + version: 5.3.2 vite: specifier: ^5.0.4 version: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) @@ -2028,7 +2031,7 @@ packages: resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} dependencies: '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.19 + '@jridgewell/trace-mapping': 0.3.20 dev: true /@jridgewell/sourcemap-codec@1.4.15: @@ -2040,6 +2043,13 @@ packages: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 + /@jridgewell/trace-mapping@0.3.20: + resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + /@manypkg/find-root@1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} dependencies: @@ -2082,11 +2092,11 @@ packages: resolution: {integrity: sha512-SmksyaJAdSlMa9cTidVSIqYo1qti+WTsviNDwgjNVm+KQ3DRP2Df9umDIzC4vCcpEYY+chQe0i2IKnLw03AT8Q==} dev: true - /@netlify/functions@2.0.2: - resolution: {integrity: sha512-goWRtaIPUK/q47qLYtfGGj7HgJIRaT0snw7zZ0yeoNTfQfCRwQwvRrMAsXkCsCtq2N2Oo81L26SpkMxEQMk9hg==} + /@netlify/functions@2.4.0: + resolution: {integrity: sha512-dIqhdj5u4Lu/8qbYwtYpn8NfvIyPHbSTV2lAP4ocL+iwC9As06AXT0wa/xOpO2vRWJa0IMxdZaqCPnkyHlHiyg==} engines: {node: '>=14.0.0'} dependencies: - '@netlify/serverless-functions-api': 1.7.3 + '@netlify/serverless-functions-api': 1.11.0 is-promise: 4.0.0 dev: true @@ -2095,8 +2105,8 @@ packages: engines: {node: ^14.16.0 || >=16.0.0} dev: true - /@netlify/serverless-functions-api@1.7.3: - resolution: {integrity: sha512-n6/7cJlSWvvbBlUOEAbkGyEld80S6KbG/ldQI9OhLfe1lTatgKmrTNIgqVNpaWpUdTgP2OHWFjmFBzkxxBWs5w==} + /@netlify/serverless-functions-api@1.11.0: + resolution: {integrity: sha512-3splAsr2CekL7VTwgo6yTvzD2+f269/s+TJafYazonqMNNo31yzvFxD5HpLtni4DNE1ppymVKZ4X/rLN3yl0vQ==} engines: {node: ^14.18.0 || >=16.0.0} dependencies: '@netlify/node-cookies': 0.1.0 @@ -2201,6 +2211,21 @@ packages: picomatch: 2.3.1 rollup: 4.5.2 + /@rollup/pluginutils@5.0.5(rollup@4.6.1): + resolution: {integrity: sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.5 + estree-walker: 2.0.2 + picomatch: 2.3.1 + rollup: 4.6.1 + dev: false + /@rollup/rollup-android-arm-eabi@4.5.2: resolution: {integrity: sha512-ee7BudTwwrglFYSc3UnqInDDjCLWHKrFmGNi4aK7jlEyg4CyPa1DCMrZfsN1O13YT76UFEqXz2CoN7BCGpUlJw==} cpu: [arm] @@ -2373,7 +2398,7 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@sveltejs/eslint-config@6.0.4(@typescript-eslint/eslint-plugin@6.0.0)(@typescript-eslint/parser@6.13.1)(eslint-config-prettier@9.0.0)(eslint-plugin-svelte@2.31.0)(eslint-plugin-unicorn@49.0.0)(eslint@8.52.0)(typescript@4.9.4): + /@sveltejs/eslint-config@6.0.4(@typescript-eslint/eslint-plugin@6.0.0)(@typescript-eslint/parser@6.13.1)(eslint-config-prettier@9.0.0)(eslint-plugin-svelte@2.31.0)(eslint-plugin-unicorn@49.0.0)(eslint@8.52.0)(typescript@5.3.2): resolution: {integrity: sha512-U9pwmDs+DbmsnCgTfu6Bacdwqn0DuI1IQNSiQqTgzVyYfaaj+zy9ZoQCiJfxFBGXHkklyXuRHp0KMx346N0lcQ==} peerDependencies: '@typescript-eslint/eslint-plugin': '>= 5' @@ -2384,13 +2409,13 @@ packages: eslint-plugin-unicorn: '>= 47' typescript: '>= 4' dependencies: - '@typescript-eslint/eslint-plugin': 6.0.0(@typescript-eslint/parser@6.13.1)(eslint@8.52.0)(typescript@4.9.4) - '@typescript-eslint/parser': 6.13.1(eslint@8.52.0)(typescript@4.9.4) + '@typescript-eslint/eslint-plugin': 6.0.0(@typescript-eslint/parser@6.13.1)(eslint@8.52.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.52.0)(typescript@5.3.2) eslint: 8.52.0 eslint-config-prettier: 9.0.0(eslint@8.52.0) eslint-plugin-svelte: 2.31.0(eslint@8.52.0)(svelte@4.2.7) eslint-plugin-unicorn: 49.0.0(eslint@8.52.0) - typescript: 4.9.4 + typescript: 5.3.2 dev: true /@sveltejs/site-kit@6.0.0-next.52(@sveltejs/kit@packages+kit)(svelte@4.2.7): @@ -2568,7 +2593,7 @@ packages: '@types/node': 16.18.6 dev: true - /@typescript-eslint/eslint-plugin@6.0.0(@typescript-eslint/parser@6.13.1)(eslint@8.52.0)(typescript@4.9.4): + /@typescript-eslint/eslint-plugin@6.0.0(@typescript-eslint/parser@6.13.1)(eslint@8.52.0)(typescript@5.3.2): resolution: {integrity: sha512-xuv6ghKGoiq856Bww/yVYnXGsKa588kY3M0XK7uUW/3fJNNULKRfZfSBkMTSpqGG/8ZCXCadfh8G/z/B4aqS/A==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2580,10 +2605,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.6.2 - '@typescript-eslint/parser': 6.13.1(eslint@8.52.0)(typescript@4.9.4) + '@typescript-eslint/parser': 6.13.1(eslint@8.52.0)(typescript@5.3.2) '@typescript-eslint/scope-manager': 6.0.0 - '@typescript-eslint/type-utils': 6.0.0(eslint@8.52.0)(typescript@4.9.4) - '@typescript-eslint/utils': 6.0.0(eslint@8.52.0)(typescript@4.9.4) + '@typescript-eslint/type-utils': 6.0.0(eslint@8.52.0)(typescript@5.3.2) + '@typescript-eslint/utils': 6.0.0(eslint@8.52.0)(typescript@5.3.2) '@typescript-eslint/visitor-keys': 6.0.0 debug: 4.3.4 eslint: 8.52.0 @@ -2593,13 +2618,13 @@ packages: natural-compare: 1.4.0 natural-compare-lite: 1.4.0 semver: 7.5.4 - ts-api-utils: 1.0.1(typescript@4.9.4) - typescript: 4.9.4 + ts-api-utils: 1.0.1(typescript@5.3.2) + typescript: 5.3.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@6.13.1(eslint@8.52.0)(typescript@4.9.4): + /@typescript-eslint/parser@6.13.1(eslint@8.52.0)(typescript@5.3.2): resolution: {integrity: sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2611,11 +2636,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 6.13.1 '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/typescript-estree': 6.13.1(typescript@4.9.4) + '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) '@typescript-eslint/visitor-keys': 6.13.1 debug: 4.3.4 eslint: 8.52.0 - typescript: 4.9.4 + typescript: 5.3.2 transitivePeerDependencies: - supports-color dev: true @@ -2636,7 +2661,7 @@ packages: '@typescript-eslint/visitor-keys': 6.13.1 dev: true - /@typescript-eslint/type-utils@6.0.0(eslint@8.52.0)(typescript@4.9.4): + /@typescript-eslint/type-utils@6.0.0(eslint@8.52.0)(typescript@5.3.2): resolution: {integrity: sha512-ah6LJvLgkoZ/pyJ9GAdFkzeuMZ8goV6BH7eC9FPmojrnX9yNCIsfjB+zYcnex28YO3RFvBkV6rMV6WpIqkPvoQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2646,12 +2671,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.0.0(typescript@4.9.4) - '@typescript-eslint/utils': 6.0.0(eslint@8.52.0)(typescript@4.9.4) + '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.3.2) + '@typescript-eslint/utils': 6.0.0(eslint@8.52.0)(typescript@5.3.2) debug: 4.3.4 eslint: 8.52.0 - ts-api-utils: 1.0.1(typescript@4.9.4) - typescript: 4.9.4 + ts-api-utils: 1.0.1(typescript@5.3.2) + typescript: 5.3.2 transitivePeerDependencies: - supports-color dev: true @@ -2666,7 +2691,7 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.0.0(typescript@4.9.4): + /@typescript-eslint/typescript-estree@6.0.0(typescript@5.3.2): resolution: {integrity: sha512-2zq4O7P6YCQADfmJ5OTDQTP3ktajnXIRrYAtHM9ofto/CJZV3QfJ89GEaM2BNGeSr1KgmBuLhEkz5FBkS2RQhQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2681,13 +2706,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - ts-api-utils: 1.0.1(typescript@4.9.4) - typescript: 4.9.4 + ts-api-utils: 1.0.1(typescript@5.3.2) + typescript: 5.3.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.13.1(typescript@4.9.4): + /@typescript-eslint/typescript-estree@6.13.1(typescript@5.3.2): resolution: {integrity: sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2702,13 +2727,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@4.9.4) - typescript: 4.9.4 + ts-api-utils: 1.0.3(typescript@5.3.2) + typescript: 5.3.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@6.0.0(eslint@8.52.0)(typescript@4.9.4): + /@typescript-eslint/utils@6.0.0(eslint@8.52.0)(typescript@5.3.2): resolution: {integrity: sha512-SOr6l4NB6HE4H/ktz0JVVWNXqCJTOo/mHnvIte1ZhBQ0Cvd04x5uKZa3zT6tiodL06zf5xxdK8COiDvPnQ27JQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2719,7 +2744,7 @@ packages: '@types/semver': 7.5.0 '@typescript-eslint/scope-manager': 6.0.0 '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/typescript-estree': 6.0.0(typescript@4.9.4) + '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.3.2) eslint: 8.52.0 eslint-scope: 5.1.1 semver: 7.5.4 @@ -3545,9 +3570,11 @@ packages: resolution: {integrity: sha512-QgA6BUh2SoBYE/dSuMmeGhNdoGtGewt3Rn66xKyXoGNyjrKRXf163wuM+xeQ83p87l/3ALoB6Il1dgKyGS5pEw==} dev: true - /dts-buddy@0.2.4: - resolution: {integrity: sha512-41d7aGv2DXJYlzeKSKHf0GtpCC8OdpEHhz+aqjylKV5aP3fl4APzNmQ5hL5vSKZMaO/lrkrKWC+HQrxl+mcgUw==} + /dts-buddy@0.4.0(typescript@5.3.2): + resolution: {integrity: sha512-L8sHp1mmpufZhz/+HLIA40hJG6T937rsWhEIED2W2QMbGSpdg1G5pc2EK1WLKvmd1DvGZ0Qs8uoeSUaqK5mqkw==} hasBin: true + peerDependencies: + typescript: '>=5.0.4 <5.3' dependencies: '@jridgewell/source-map': 0.3.5 '@jridgewell/sourcemap-codec': 1.4.15 @@ -3557,8 +3584,8 @@ packages: magic-string: 0.30.5 sade: 1.8.1 tiny-glob: 0.2.9 - ts-api-utils: 1.0.2(typescript@5.0.4) - typescript: 5.0.4 + ts-api-utils: 1.0.3(typescript@5.3.2) + typescript: 5.3.2 dev: true /electron-to-chromium@1.4.488: @@ -4376,8 +4403,8 @@ packages: engines: {node: '>= 4'} dev: true - /imagetools-core@6.0.1: - resolution: {integrity: sha512-F8NDWHUnVwAmvZ4k4nkSfgmNvwtRZQu2ipoyjo4f5q4+A9Ex1HgJxbdyXY+wCODUcn0dCH3uLLHXawa2FXt/vA==} + /imagetools-core@6.0.2: + resolution: {integrity: sha512-dEe63JskqmQDilUfUC0v/98ILA3T9sMqZqk/bOlM82Esq8XR49l+cEjZ89+oZaSjgoZejtSbzmN0eeJAl79abQ==} engines: {node: '>=12.0.0'} dependencies: sharp: 0.32.6 @@ -5882,7 +5909,7 @@ packages: engines: {node: '>=8'} dev: true - /shiki-twoslash@3.1.2(typescript@5.0.4): + /shiki-twoslash@3.1.2(typescript@5.3.2): resolution: {integrity: sha512-JBcRIIizi+exIA/OUhYkV6jtyeZco0ykCkIRd5sgwIt1Pm4pz+maoaRZpm6SkhPwvif4fCA7xOtJOykhpIV64Q==} peerDependencies: typescript: '>3' @@ -5891,7 +5918,7 @@ packages: '@typescript/vfs': 1.3.4 fenceparser: 1.1.1 shiki: 0.10.1 - typescript: 5.0.4 + typescript: 5.3.2 transitivePeerDependencies: - supports-color dev: true @@ -6167,8 +6194,8 @@ packages: picocolors: 1.0.0 sade: 1.8.1 svelte: 4.2.7 - svelte-preprocess: 5.0.4(postcss@8.4.31)(svelte@4.2.7)(typescript@5.0.4) - typescript: 5.0.4 + svelte-preprocess: 5.0.4(postcss@8.4.31)(svelte@4.2.7)(typescript@5.3.2) + typescript: 5.3.2 transitivePeerDependencies: - '@babel/core' - coffeescript @@ -6224,7 +6251,7 @@ packages: svelte: 4.2.7 dev: false - /svelte-preprocess@5.0.4(postcss@8.4.31)(svelte@4.2.7)(typescript@5.0.4): + /svelte-preprocess@5.0.4(postcss@8.4.31)(svelte@4.2.7)(typescript@5.3.2): resolution: {integrity: sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==} engines: {node: '>= 14.10.0'} requiresBuild: true @@ -6269,10 +6296,10 @@ packages: sorcery: 0.11.0 strip-indent: 3.0.0 svelte: 4.2.7 - typescript: 5.0.4 + typescript: 5.3.2 dev: true - /svelte-preprocess@5.1.1(postcss@8.4.31)(svelte@4.2.7)(typescript@4.9.4): + /svelte-preprocess@5.1.1(postcss@8.4.31)(svelte@4.2.7)(typescript@5.3.2): resolution: {integrity: sha512-p/Dp4hmrBW5mrCCq29lEMFpIJT2FZsRlouxEc5qpbOmXRbaFs7clLs8oKPwD3xCFyZfv1bIhvOzpQkhMEVQdMw==} engines: {node: '>= 14.10.0'} requiresBuild: true @@ -6317,10 +6344,10 @@ packages: sorcery: 0.11.0 strip-indent: 3.0.0 svelte: 4.2.7 - typescript: 4.9.4 + typescript: 5.3.2 dev: true - /svelte2tsx@0.6.19(svelte@4.2.7)(typescript@4.9.4): + /svelte2tsx@0.6.19(svelte@4.2.7)(typescript@5.3.2): resolution: {integrity: sha512-h3b5OtcO8zyVL/RiB2zsDwCopeo/UH+887uyhgb2mjnewOFwiTxu+4IGuVwrrlyuh2onM2ktfUemNrNmQwXONQ==} peerDependencies: svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 @@ -6329,7 +6356,7 @@ packages: dedent-js: 1.0.1 pascal-case: 3.1.2 svelte: 4.2.7 - typescript: 4.9.4 + typescript: 5.3.2 dev: false /svelte@4.2.7: @@ -6493,31 +6520,22 @@ packages: regexparam: 1.3.0 dev: true - /ts-api-utils@1.0.1(typescript@4.9.4): + /ts-api-utils@1.0.1(typescript@5.3.2): resolution: {integrity: sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==} engines: {node: '>=16.13.0'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 4.9.4 + typescript: 5.3.2 dev: true - /ts-api-utils@1.0.2(typescript@5.0.4): - resolution: {integrity: sha512-Cbu4nIqnEdd+THNEsBdkolnOXhg0I8XteoHaEKgvsxpsbWda4IsUut2c187HxywQCvveojow0Dgw/amxtSKVkQ==} - engines: {node: '>=16.13.0'} - peerDependencies: - typescript: '>=4.2.0' - dependencies: - typescript: 5.0.4 - dev: true - - /ts-api-utils@1.0.3(typescript@4.9.4): + /ts-api-utils@1.0.3(typescript@5.3.2): resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} engines: {node: '>=16.13.0'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 4.9.4 + typescript: 5.3.2 dev: true /ts-interface-checker@0.1.13: @@ -6625,14 +6643,9 @@ packages: is-typed-array: 1.1.12 dev: true - /typescript@4.9.4: - resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==} - engines: {node: '>=4.2.0'} - hasBin: true - - /typescript@5.0.4: - resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} - engines: {node: '>=12.20'} + /typescript@5.3.2: + resolution: {integrity: sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==} + engines: {node: '>=14.17'} hasBin: true /ufo@1.3.0: @@ -6711,12 +6724,12 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /vite-imagetools@6.2.5: - resolution: {integrity: sha512-3E7Og8SanzFkN9qmcOQm5/p2RPz3p5ThVDS0m44eHKP8yRcm6h+z8A1p7ykrVSqPE+lX6bSbTZsR9bjEiLtqJw==} + /vite-imagetools@6.2.6(rollup@4.6.1): + resolution: {integrity: sha512-YdBgM10+80wPLRHYAcJnhERx3WV/OfMvnvby2cpGXOiFqjno7xI/954dP9DUntHTtohB9EW2yCfgwYiBIuxkpA==} engines: {node: '>=12.0.0'} dependencies: - '@rollup/pluginutils': 5.0.5(rollup@4.5.2) - imagetools-core: 6.0.1 + '@rollup/pluginutils': 5.0.5(rollup@4.6.1) + imagetools-core: 6.0.2 transitivePeerDependencies: - rollup dev: false diff --git a/sites/kit.svelte.dev/package.json b/sites/kit.svelte.dev/package.json index 49d12f833eed..d91c974fef32 100644 --- a/sites/kit.svelte.dev/package.json +++ b/sites/kit.svelte.dev/package.json @@ -31,7 +31,7 @@ "shiki-twoslash": "^3.1.2", "svelte": "^4.2.7", "tiny-glob": "^0.2.9", - "typescript": "5.0.4", + "typescript": "5.3.2", "vite": "^5.0.4", "vitest": "^0.34.5" },