diff --git a/Cargo.lock b/Cargo.lock index a02bfb9037404..65902632950ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2825,9 +2825,9 @@ dependencies = [ [[package]] name = "libwebp-sys" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c94b08ea3ec9eedea0fa779848e7fa183dc52aa60882488828883503faf630f" +checksum = "3e0df0a0f9444d52aee6335cd724d21a2ee3285f646291799a72be518ec8ee3c" dependencies = [ "cc", "glob", diff --git a/examples/with-stripe-typescript/app/api/webhooks/route.ts b/examples/with-stripe-typescript/app/api/webhooks/route.ts index 4f121448f5bcb..bf5199296f18b 100644 --- a/examples/with-stripe-typescript/app/api/webhooks/route.ts +++ b/examples/with-stripe-typescript/app/api/webhooks/route.ts @@ -51,7 +51,7 @@ export async function POST(req: Request) { console.log(`💰 PaymentIntent status: ${data.status}`) break default: - throw new Error(`Unhhandled event: ${event.type}`) + throw new Error(`Unhandled event: ${event.type}`) } } catch (error) { console.log(error) diff --git a/packages/next/src/lib/turbopack-warning.ts b/packages/next/src/lib/turbopack-warning.ts index afc0988753165..436be820aa907 100644 --- a/packages/next/src/lib/turbopack-warning.ts +++ b/packages/next/src/lib/turbopack-warning.ts @@ -64,6 +64,8 @@ const supportedTurbopackNextConfigOptions = [ 'experimental.deploymentId', // Experimental options that don't affect compilation + 'serverRuntimeConfig', + 'publicRuntimeConfig', 'experimental.proxyTimeout', 'experimental.caseSensitiveRoutes', 'experimental.workerThreads', diff --git a/test/e2e/app-dir/app/index.test.ts b/test/e2e/app-dir/app/index.test.ts index 26f6ba749c6fa..4d64176661134 100644 --- a/test/e2e/app-dir/app/index.test.ts +++ b/test/e2e/app-dir/app/index.test.ts @@ -71,7 +71,7 @@ createNextDescribe( if (!process.env.NEXT_EXPERIMENTAL_COMPILE) { it('should have correct size in build output', async () => { expect(next.cliOutput).toMatch( - /\/dashboard\/another.*? [^0]{1,} [\w]{1,}B/ + /\/dashboard\/another.*? *?[^0]\d{1,} [\w]{1,}B/ ) }) } diff --git a/test/integration/config-mjs/next.config.mjs b/test/integration/config-mjs/next.config.mjs index ffe3265e3b572..0a5257017eccf 100644 --- a/test/integration/config-mjs/next.config.mjs +++ b/test/integration/config-mjs/next.config.mjs @@ -4,7 +4,6 @@ export default { maxInactiveAge: 1000 * 60 * 60, }, poweredByHeader: false, - cssModules: true, serverRuntimeConfig: { mySecret: 'secret', }, diff --git a/test/integration/config/next.config.js b/test/integration/config/next.config.js index c27b08ea2b3aa..5e195888f7681 100644 --- a/test/integration/config/next.config.js +++ b/test/integration/config/next.config.js @@ -4,7 +4,6 @@ module.exports = { maxInactiveAge: 1000 * 60 * 60, }, poweredByHeader: false, - cssModules: true, serverRuntimeConfig: { mySecret: 'secret', },