Skip to content

Commit cb2643e

Browse files
authored
cve: bump next.js for all projects (#1340)
### Description Updates Next.js for all projects These failing project deployments are orphaned (were deleted from this repo) [This is the PR that removed them](#1135) You can ignore these failing in the CI (we need to remove them on the respective Vercel team as a follow-up cleanup), but it doesn't block this PR. ## Edge API Routes (8 projects) 1. `edge-api-routes/authed-proxy` 2. `edge-api-routes/cache-control` 3. `edge-api-routes/hello-world-next` 4. `edge-api-routes/hello-world` 5. `edge-api-routes/json-response` 6. `edge-api-routes/query-parameters` 7. `edge-api-routes/wasm-rust-hello-world` 8. `edge-api-routes/wasm-rust-xor` ## Edge Functions (45 projects) 1. `edge-functions/ab-testing-google-optimize` 2. `edge-functions/ab-testing-simple` 3. `edge-functions/ab-testing-statsig` 4. `edge-functions/add-header` 5. `edge-functions/api-rate-limit-and-tokens` 6. `edge-functions/api-rate-limit` 7. `edge-functions/authed-proxy` 8. `edge-functions/basic-auth-password` 9. `edge-functions/bot-protection-botd` 10. `edge-functions/bot-protection-datadome` 11. `edge-functions/cache-control` 12. `edge-functions/clerk-authentication` 13. `edge-functions/cookies` 14. `edge-functions/cors` 15. `edge-functions/crypto` 16. `edge-functions/feature-flag-apple-store` 17. `edge-functions/feature-flag-configcat` 18. `edge-functions/feature-flag-optimizely` 19. `edge-functions/feature-flag-posthog` 20. `edge-functions/feature-flag-split` 21. `edge-functions/geolocation-country-block` 22. `edge-functions/geolocation` 23. `edge-functions/hello-world-next` 24. `edge-functions/hello-world` 25. `edge-functions/hostname-rewrites` 26. `edge-functions/i18n` 27. `edge-functions/image-response` 28. `edge-functions/ip-blocking-datadome` 29. `edge-functions/ip-blocking` 30. `edge-functions/json-response` 31. `edge-functions/jwt-authentication` 32. `edge-functions/maintenance-page` 33. `edge-functions/modify-request-header` 34. `edge-functions/next-news` 35. `edge-functions/personalization-builder-io` 36. `edge-functions/power-parity-pricing-strategies` 37. `edge-functions/power-parity-pricing` 38. `edge-functions/query-parameters` 39. `edge-functions/query-params-filter` 40. `edge-functions/redirects-upstash` 41. `edge-functions/rewrites-upstash` 42. `edge-functions/streams` 43. `edge-functions/user-agent-based-rendering` 44. `edge-functions/vercel-og-nextjs` 45. `edge-functions/wasm-rust-hello-world` 46. `edge-functions/wasm-rust-xor` Many projects also failed deploying for **months** because of Node 18 deprecation. Here is a list of projects I've bumped: `vercel-labs` ``` blob-sveltekit to Node.js 24.x nextjs-boilerplate-error to Node.js 24.x without-react-tweet-iframes to Node.js 24.x hobby-commercial-detector to Node.js 24.x cold-tests to Node.js 24.x next-base to Node.js 24.x nuxt-postgres-starter to Node.js 24.x cold-boot-benchmarks-next-app-api-xs to Node.js 24.x threads to Node.js 24.x monorepo-test-2023-03-13 to Node.js 24.x nuxt-blob-demo to Node.js 24.x chatbot-ui-sunday to Node.js 24.x liveblocks-starter-kit-test-12356 to Node.js 24.x ismael-blob-test to Node.js 24.x react-xeet-next to Node.js 24.x next-ai-news to Node.js 24.x nextjs-boilerplate-test-1234 to Node.js 24.x gtm-proxy to Node.js 24.x nextjs-cache-miss to Node.js 24.x preferred-region-next to Node.js 24.x rsc-llm-on-the-edge to Node.js 24.x nuxt-kv-starter to Node.js 24.x saas-starter-kit to Node.js 24.x client-error-logging to Node.js 24.x liftoff to Node.js 24.x vercel-ship-examples to Node.js 24.x cold-boot-benchmarks-node18-amd64-xs to Node.js 24.x prisma-server-actions to Node.js 24.x speedtest to Node.js 24.x pets to Node.js 24.x cold-boot-benchmarks-next-pages-api-xs to Node.js 24.x with to Node.js 24.x hello-world-replicate to Node.js 24.x commerce-feb-16 to Node.js 24.x react-serverless-ssr to Node.js 24.x commerce-ai-sdk to Node.js 24.x nextjs-postgres-auth-starter-12315 to Node.js 24.x nextjs-boilerplate-delete to Node.js 24.x nextjs-boilerplate-delete to Node.js 24.x cold-boot-benchmarks-node18-amd64-xs-tla to Node.js 24.x mux-meet-demo to Node.js 24.x nextjs-test to Node.js 24.x next-poc to Node.js 24.x nextjs-2139871 to Node.js 24.x geist-font-playground to Node.js 24.x kv-redis-starter-delete-me to Node.js 24.x bundlejs to Node.js 24.x remix-platforms to Node.js 24.x cold-boot-benchmarks-next-pages-api-xs-tla to Node.js 24.x visual-blog to Node.js 24.x sveltekit-kv-starter to Node.js 24.x badge-builder to Node.js 24.x lee-encabulator to Node.js 24.x postgres-sveltekit to Node.js 24.x gitbook-edge-demo to Node.js 24.x react-xeet to Node.js 24.x without-react-tweet to Node.js 24.x nextjs-conf-2023-prototypes to Node.js 24.x cache-headers-link-bug to Node.js 24.x vercel-microsite to Node.js 24.x malte-kv-test to Node.js 24.x next-on-the-edge to Node.js 24.x div-in-p to Node.js 24.x vstat to Node.js 24.x nextjs-boilerplate-12345 to Node.js 24.x sitemap-analysis to Node.js 24.x sveltekit-postgres-starter to Node.js 24.x next-ssr-kitchensink to Node.js 24.x broken-link-detector to Node.js 24.x platforms-test to Node.js 24.x app-playground-api to Node.js 24.x edge-javy to Node.js 24.x bridgeme to Node.js 24.x minidub to Node.js 24.x nextjs-chat-delete-me to Node.js 24.x intercepted-route-repro to Node.js 24.x cold-boot-benchmarks-next-app-api-xs-tla to Node.js 24.x block-traffic-with-geolocation to Node.js 24.x vercel-postgres-test-suite to Node.js 24.x check-providers-api to Node.js 24.x with-react-tweet to Node.js 24.x cfp-2023 to Node.js 24.x voting to Node.js 24.x middleware-redirect-bug to Node.js 24.x slack-poll-staging to Node.js 24.x areweturboyet to Node.js 24.x remix-on-the-edge to Node.js 24.x genui-demo to Node.js 24.x platforms to Node.js 24.x vercel-rewind to Node.js 24.x react-postgres-components to Node.js 24.x nextjs-chat-v124 to Node.js 24.x example-figma-og-image to Node.js 24.x nextjs-commerce-2 to Node.js 24.x global-latency-monitoring to Node.js 24.x app-router-auth to Node.js 24.x toolbar-facets-demo to Node.js 24.x nextjs-deellleete to Node.js 24.x blog-starter-kit-delete to Node.js 24.x nextjs-boilerplate-delete-me to Node.js 24.x remix-boilerplate-test-again-delete-me to Node.js 24.x remix-boilerplate-delete to Node.js 24.x nextjs-upstash-sqs to Node.js 24.x react-spa-server to Node.js 24.x swift-talk to Node.js 24.x react-spa to Node.js 24.x react-spa to Node.js 24.x v1 to Node.js 24.x client-i18n to Node.js 24.x toolbar-facets to Node.js 24.x cache-history-cdg1 to Node.js 24.x middleware-facets to Node.js 24.x redirect-example to Node.js 24.x streaming-serverless to Node.js 24.x vercel-windows to Node.js 24.x ab-testing-simple-max-testing to Node.js 24.x ab-testing-simple-inc-2023-11-06 to Node.js 24.x cold-boots to Node.js 24.x serverless-edge-runtime to Node.js 24.x hive-instances to Node.js 24.x wp to Node.js 24.x toolbar-flags-demo to Node.js 24.x toolbar-flags to Node.js 24.x nextjsxxxxxxxxx to Node.js 24.x toolbar-variants-next to Node.js 24.x emoji-todo to Node.js 24.x ``` `now-examples` ``` ember to Node.js 24.x gatsby to Node.js 24.x solutions-script-component-strategies to Node.js 24.x solutions-image-fallback to Node.js 24.x feature-flag-launchdarkly to Node.js 24.x edge-functions-bot-protection-botd to Node.js 24.x app-router-contentful to Node.js 24.x edge-functions-power-parity-pricing to Node.js 24.x edge-maintenance-page to Node.js 24.x flask to Node.js 24.x flask-hello-world-delete to Node.js 24.x edge-functions-feature-flag-posthog to Node.js 24.x python-hello-world to Node.js 24.x app-dir-i18n to Node.js 24.x solutions-pagination-with-ssg to Node.js 24.x solutions-reuse-responses to Node.js 24.x nodejs-api to Node.js 24.x html to Node.js 24.x solutions-microfrontends to Node.js 24.x edge-functions-image-response to Node.js 24.x suspense to Node.js 24.x example-reduce-image-bandwidth-usage to Node.js 24.x toolbar-launchdarkly to Node.js 24.x hydrogen-2 to Node.js 24.x toolbar-optimizely to Node.js 24.x edge-functions-feature-flag-configcat to Node.js 24.x vercel-rate-limit to Node.js 24.x solutions-loading-web-fonts to Node.js 24.x solutions-loading-web-fonts to Node.js 24.x toolbar-split to Node.js 24.x next-edge-api-route-hello-world to Node.js 24.x edge-functions-hostname-rewrites to Node.js 24.x i18n to Node.js 24.x edge-functions-crypto to Node.js 24.x cra-to-next to Node.js 24.x fastify to Node.js 24.x swag to Node.js 24.x feature-flag-optimizely to Node.js 24.x api-rate-limit-delete to Node.js 24.x vueprezz to Node.js 24.x acme-git-new-homepage to Node.js 24.x next-on-the-edge to Node.js 24.x edge-functions-api-rate-limit-and-tokens to Node.js 24.x edge-functions-feature-flag-split to Node.js 24.x edge-functions-api-rate-limit to Node.js 24.x edge-functions-query-params-filter to Node.js 24.x graphql-react-query to Node.js 24.x edge-functions-redirects-upstash to Node.js 24.x aem-universal-editor-nextjs to Node.js 24.x slackbot-ai-demo to Node.js 24.x cna-metadata-example to Node.js 24.x solutions-combining-data-fetching-strategies to Node.js 24.x feature-flag-hypertune to Node.js 24.x kv-redis-waiting-room to Node.js 24.x solutions-script-component-ad to Node.js 24.x edge-user-agent-based-rendering to Node.js 24.x edge-functions-bot-protection-datadome to Node.js 24.x vercel-kysley-neon to Node.js 24.x edge-rewrites-upstash to Node.js 24.x astro to Node.js 24.x app-dir-share-state to Node.js 24.x edge-functions-jwt-authentication to Node.js 24.x delete-test to Node.js 24.x edge-functions-json-response to Node.js 24.x solutions-microfrontends-docs to Node.js 24.x toolbar-statsig to Node.js 24.x django to Node.js 24.x example-feature-flag-apple-store to Node.js 24.x app-dir-css-in-js to Node.js 24.x edge-functions-geolocation to Node.js 24.x edge-functions-power-parity-pricing-strategies to Node.js 24.x edge-functions-cors to Node.js 24.x edge-functions-ip-blocking-datadome to Node.js 24.x edge-functions-cookies to Node.js 24.x solutions-image-offset to Node.js 24.x solutions-on-demand-isr to Node.js 24.x solutions-subdomains-auth to Node.js 24.x edge-middleware-modify-request-header to Node.js 24.x edge-middleware-modify-request-header to Node.js 24.x edge-geolocation-country-block to Node.js 24.x cron-jobs-test-delete to Node.js 24.x sveltekit-boilerplate-delete to Node.js 24.x storybook to Node.js 24.x sveltekit-1 to Node.js 24.x vitepress-del to Node.js 24.x bodiless-js-vital-next to Node.js 24.x nex-delete to Node.js 24.x ``` ### Demo URL <!-- Provide a URL to a live deployment where we can test your PR. If a demo isn't possible feel free to omit this section. --> ### Type of Change - [ ] New Example - [ ] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples) ### New Example Checklist - [ ] 🛫 `npm run new-example` was used to create the example - [ ] 📚 The template wasn't used but I carefuly read the [Adding a new example](https://github.com/vercel/examples#adding-a-new-example) steps and implemented them in the example - [ ] 📱 Is it responsive? Are mobile and tablets considered?
1 parent 0330b8a commit cb2643e

File tree

401 files changed

+250710
-354938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

401 files changed

+250710
-354938
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
import "./.next/types/routes.d.ts";
34

45
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

app-directory/css-in-js/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
"@emotion/styled": "^11.11.0",
1616
"@vercel/examples-ui": "^2.0.1",
1717
"framer-motion": "^10.12.22",
18-
"next": "^13.4.10",
19-
"react": "^18.2.0",
20-
"react-dom": "^18.2.0"
18+
"next": "^16.0.10",
19+
"react": "^19.2.1",
20+
"react-dom": "^19.2.1"
2121
},
2222
"devDependencies": {
23-
"@types/node": "^20.4.2",
24-
"@types/react": "^18.2.15",
23+
"@types/node": "^20",
24+
"@types/react": "^19",
2525
"autoprefixer": "^10.4.14",
2626
"eslint": "^8.45.0",
2727
"eslint-config-next": "^13.4.10",
2828
"postcss": "^8.4.26",
2929
"tailwindcss": "^3.3.3",
3030
"turbo": "^1.10.8",
31-
"typescript": "^5.1.6"
31+
"typescript": "^5"
3232
},
3333
"engines": {
3434
"node": "22.x"

0 commit comments

Comments
 (0)