You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating svelte to "^5.0.0-next.192" , bug surfaces
Reproduction
-- svelte.config.js--
/** @type {import('@sveltejs/kit').Config} */constconfig={// Consult https://kit.svelte.dev/docs/integrations#preprocessors// for more information about preprocessorspreprocess: [vitePreprocess({})],kit: {csrf: {checkOrigin: false,//FIXME: CVE},// embedded: true,env: {dir: ".",publicPrefix: "PUBLIC_",privatePrefix: "",},files: {assets: "static",},// inlineStyleThreshold: 5*1024, //default 0,csp: {mode: "auto",directives: {// hack for everything"default-src": ["self","unsafe-inline","data:"],"connect-src": ["self","data:","https:","filesystem:","http:","wss:"],"style-src": ["self","unsafe-inline"],"font-src": ["self","unsafe-inline","data:"],"script-src": ["self","wasm-unsafe-eval","unsafe-inline","unsafe-hashes"],"script-src-elem": [// "https://zauth.netlify.app","self","unsafe-inline","wasm-unsafe-eval",],},// reportOnly: {// "script-src": ["self"],// },},// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.// If your environment is not supported or you settled on a specific environment, switch out the adapter.// See https://kit.svelte.dev/docs/adapters for more information about adapters.adapter: netlify({edge: false,split: false,//both don't work together}),// adapter: staticAdapter({// // default options are shown. On some platforms// // these options are set automatically — see below// pages: 'build',// assets: 'build',// fallback: '/index.html',// precompress: false,// strict: false,// }),// prerender: {// crawl: true,// concurrency: 1,// handleHttpError: ({ path, referrer, message }) => {// // ignore deliberate link to shiny 404 page// if (path === '/not-found' && referrer === '/blog/how-we-built-our-404-page') {// return;// }// // otherwise fail the build// throw new Error(message);// }// // use relative URLs similar to an anchor tag <a href="/test/1"></a>// // do not include group layout folders in the path such as /(group)/test/1// // entries: ['/proof/view/ad074eb8-2bc0-4432-9636-04cceb7c1e87', '/qr/c94476a0-8a75-4563-b70a-bf6124d7c59b']// // entries: ['*','/']// },appDir: "app",version: {// name: child_process.execSync("git rev-parse HEAD").toString().trim(),name: tag,},output: {preloadStrategy: "modulepreload",},},};exportdefaultconfig;
Describe the bug
After updating svelte to
"^5.0.0-next.192"
, bug surfacesReproduction
-- svelte.config.js--
Svetlekit :
"@sveltejs/kit": "^1.0.0-next.589",
"svelte": "^5.0.0-next.192",
Logs
System Info
System: OS: macOS 14.5 CPU: (8) arm64 Apple M1 Memory: 161.83 MB / 8.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.0 - /usr/local/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 9.8.1 - /opt/homebrew/bin/npm pnpm: 9.1.0 - /opt/homebrew/bin/pnpm bun: 1.1.13 - /opt/homebrew/bin/bun Browsers: Chrome: 126.0.6478.183 Safari: 17.5 npmPackages: svelte: ^5.0.0-next.192 => 5.0.0-next.192
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: