Uh oh!
There was an error while loading. Please reload this page.
fix(deps): Bump nuxt devDependency to fix CVE-2026-24001 - #19249
Conversation
Bump nuxt from ^3.13.2 to ^3.21.1 in @sentry/nuxt devDependencies. This pulls in @nuxt/devtools@3.1.1 which depends on diff@^8.0.2, replacing the vulnerable diff@7.0.0 (DoS via parsePatch infinite loop). Fixes https://github.com/getsentry/sentry-javascript/security/dependabot/958 Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| nuxtApp.hook('app:error', error => { | ||
| if (isNuxtError(error)) { | ||
| // Do not report if status code is 3xx or 4xx | ||
| if (error.statusCode >= 300 && error.statusCode < 500) { |
There was a problem hiding this comment.
only after 3.20.1. In 3.20.0, we still need to use statusCode
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Codecov Results 📊Generated by Codecov Action |
size-limit report 📦
|
node-overhead report 🧳Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
|
f917959 to
248c31aCompareUh oh!
There was an error while loading. Please reload this page.
# Conflicts: # yarn.lock
Bump nuxt from ^3.13.2 to ^3.21.1 in @sentry/nuxt devDependencies. This pulls in @nuxt/devtools@3.1.1 which depends on diff@^8.0.2, replacing the vulnerable diff@7.0.0 (DoS via parsePatch infinite loop).
Nuxt can only be upgraded to
3.17.7because later versions are using Vite v7 as dependency and this causes our Node 18 tests to fail.Summary of Vite dependency chain:
nuxt- @nuxt/vite-builder -> vite-node -> viteAnd from Nuxt
3.20.1, vite-node was bumped from major 3 to 5 which uses vite 7But also, Nuxt
3.17.7is the last version which uses Vite 6: https://github.com/nuxt/nuxt/blob/b56bc134455391f3ea43d29140162f0b04b615b0/packages/vite/package.json#L62Fixes https://github.com/getsentry/sentry-javascript/security/dependabot/958