Skip to content

Commit 51a5aee

Browse files
committed
deps(nuxt): Add explicit peer dependencies & bump nitropack
This just bumps the underlying transitive dependency on nitropack, which apparently changes some type imports. Extracted out of #16751
1 parent a5173b7 commit 51a5aee

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

packages/nuxt/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@
6363
"devDependencies": {
6464
"@nuxt/module-builder": "^0.8.4",
6565
"@sentry/cloudflare": "9.36.0",
66-
"nuxt": "^3.13.2"
66+
"nuxt": "^3.13.2",
67+
"nuxi": "^3.25.1",
68+
"vite": "^5.4.11"
6769
},
6870
"scripts": {
6971
"build": "run-s build:types build:transpile",

packages/nuxt/src/runtime/hooks/captureErrorHook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { captureException, getClient, getCurrentScope } from '@sentry/core';
22
// eslint-disable-next-line import/no-extraneous-dependencies
33
import { H3Error } from 'h3';
4-
import type { CapturedErrorContext } from 'nitropack';
4+
import type { CapturedErrorContext } from 'nitropack/types';
55
import { extractErrorContext, flushIfServerless } from '../utils';
66

77
/**

packages/nuxt/src/runtime/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
vercelWaitUntil,
1010
} from '@sentry/core';
1111
import type { VueOptions } from '@sentry/vue/src/types';
12-
import type { CapturedErrorContext } from 'nitropack';
12+
import type { CapturedErrorContext } from 'nitropack/types';
1313
import type { NuxtRenderHTMLContext } from 'nuxt/app';
1414
import type { ComponentPublicInstance } from 'vue';
1515

yarn.lock

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22352,10 +22352,10 @@ nth-check@^2.0.1:
2235222352
dependencies:
2235322353
boolbase "^1.0.0"
2235422354

22355-
nuxi@^3.13.2:
22356-
version "3.14.0"
22357-
resolved "https://registry.yarnpkg.com/nuxi/-/nuxi-3.14.0.tgz#697a1e8b4f0d92fb8b30aa355af9295fa8c2cb4e"
22358-
integrity sha512-MhG4QR6D95jQxhnwKfdKXulZ8Yqy1nbpwbotbxY5IcabOzpEeTB8hYn2BFkmYdMUB0no81qpv2ldZmVCT9UsnQ==
22355+
nuxi@^3.13.2, nuxi@^3.25.1:
22356+
version "3.25.1"
22357+
resolved "https://registry.yarnpkg.com/nuxi/-/nuxi-3.25.1.tgz#8baea8c41a916e418728cba0cdbc135e795f86bd"
22358+
integrity sha512-NeZDRVdn58QF3+clrkKRXE3PtfhE4hkmj8/Wqf6th707SDqmdBb/KZV2BE4lwL+FhgEDgtN7AMF8WZCkicudXg==
2235922359

2236022360
nuxt@^3.13.2:
2236122361
version "3.13.2"
@@ -27468,7 +27468,6 @@ stylus@0.59.0, stylus@^0.59.0:
2746827468

2746927469
sucrase@^3.27.0, sucrase@^3.35.0, sucrase@getsentry/sucrase#es2020-polyfills:
2747027470
version "3.36.0"
27471-
uid fd682f6129e507c00bb4e6319cc5d6b767e36061
2747227471
resolved "https://codeload.github.com/getsentry/sucrase/tar.gz/fd682f6129e507c00bb4e6319cc5d6b767e36061"
2747327472
dependencies:
2747427473
"@jridgewell/gen-mapping" "^0.3.2"

0 commit comments

Comments
 (0)