@sentry/nuxt 10.68.0 → 11.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/build/cjs/module.js +1 -3
  2. package/build/cjs/module.js.map +1 -1
  3. package/build/cjs/vite/addServerConfig.js +0 -4
  4. package/build/cjs/vite/addServerConfig.js.map +1 -1
  5. package/build/cjs/vite/orchestrion.js +9 -2
  6. package/build/cjs/vite/orchestrion.js.map +1 -1
  7. package/build/cjs/vite/sourceMaps.js +32 -46
  8. package/build/cjs/vite/sourceMaps.js.map +1 -1
  9. package/build/esm/module.js +1 -3
  10. package/build/esm/module.js.map +1 -1
  11. package/build/esm/package.json +1 -1
  12. package/build/esm/vite/addServerConfig.js +0 -4
  13. package/build/esm/vite/addServerConfig.js.map +1 -1
  14. package/build/esm/vite/orchestrion.js +9 -2
  15. package/build/esm/vite/orchestrion.js.map +1 -1
  16. package/build/esm/vite/sourceMaps.js +30 -44
  17. package/build/esm/vite/sourceMaps.js.map +1 -1
  18. package/build/module/common/types.d.ts +3 -168
  19. package/build/module/module.json +1 -1
  20. package/build/module/module.mjs +40 -53
  21. package/build/module/runtime/hooks/updateRouteBeforeResponse.js +3 -5
  22. package/build/module/runtime/hooks/wrapMiddlewareHandler.js +8 -4
  23. package/build/module/runtime/plugins/route-detector-legacy.server.js +4 -12
  24. package/build/module/runtime/plugins/route-detector.server.js +3 -13
  25. package/build/module/runtime/plugins/sentry-cloudflare.server.js +5 -2
  26. package/build/module/runtime/utils/instrumentStorage.js +27 -7
  27. package/build/module/vite/addServerConfig.d.ts +1 -1
  28. package/build/module/vite/orchestrion.d.ts +6 -1
  29. package/build/module/vite/sourceMaps.d.ts +2 -2
  30. package/build/types/common/types.d.ts +3 -168
  31. package/build/types/common/types.d.ts.map +1 -1
  32. package/build/types/index.types.d.ts +1 -0
  33. package/build/types/index.types.d.ts.map +1 -1
  34. package/build/types/module.d.ts.map +1 -1
  35. package/build/types/runtime/hooks/updateRouteBeforeResponse.d.ts.map +1 -1
  36. package/build/types/runtime/hooks/wrapMiddlewareHandler.d.ts.map +1 -1
  37. package/build/types/runtime/plugins/database-legacy.server.d.ts.map +1 -1
  38. package/build/types/runtime/plugins/database.server.d.ts.map +1 -1
  39. package/build/types/runtime/plugins/handler-legacy.server.d.ts.map +1 -1
  40. package/build/types/runtime/plugins/handler.server.d.ts.map +1 -1
  41. package/build/types/runtime/plugins/route-detector-legacy.server.d.ts.map +1 -1
  42. package/build/types/runtime/plugins/route-detector.server.d.ts.map +1 -1
  43. package/build/types/runtime/plugins/sentry-cloudflare.server.d.ts.map +1 -1
  44. package/build/types/runtime/plugins/sentry.client.d.ts.map +1 -1
  45. package/build/types/runtime/plugins/sentry.server.d.ts.map +1 -1
  46. package/build/types/runtime/plugins/storage-legacy.server.d.ts.map +1 -1
  47. package/build/types/runtime/plugins/storage.server.d.ts.map +1 -1
  48. package/build/types/runtime/plugins/update-route-name-legacy.server.d.ts.map +1 -1
  49. package/build/types/runtime/plugins/update-route-name.server.d.ts.map +1 -1
  50. package/build/types/runtime/utils/instrumentStorage.d.ts.map +1 -1
  51. package/build/types/vite/addServerConfig.d.ts +1 -1
  52. package/build/types/vite/orchestrion.d.ts +6 -1
  53. package/build/types/vite/orchestrion.d.ts.map +1 -1
  54. package/build/types/vite/sourceMaps.d.ts +2 -2
  55. package/build/types/vite/sourceMaps.d.ts.map +1 -1
  56. package/package.json +12 -13
@@ -1,7 +1,7 @@
1
1
  import type { BuildTimeOptionsBase } from '@sentry/core';
2
2
  import type { init as initNode } from '@sentry/node';
3
- import type { SentryRollupPluginOptions } from '@sentry/rollup-plugin';
4
- import type { SentryVitePluginOptions } from '@sentry/vite-plugin';
3
+ import type { SentryRollupPluginOptions } from '@sentry/bundler-plugins/rollup';
4
+ import type { SentryVitePluginOptions } from '@sentry/bundler-plugins/vite';
5
5
  import type { init as initVue } from '@sentry/vue';
6
6
  export type SentryNuxtClientOptions = Omit<Parameters<typeof initVue>[0] & object, 'app'>;
7
7
  export type SentryNuxtServerOptions = Parameters<typeof initNode>[0] & {
@@ -18,144 +18,6 @@ export type SentryNuxtServerOptions = Parameters<typeof initNode>[0] & {
18
18
  */
19
19
  enableNitroErrorHandler?: boolean;
20
20
  };
21
- type SourceMapsOptions = {
22
- /**
23
- * Suppresses all logs.
24
- *
25
- * @default false
26
- * @deprecated Use option `silent` instead of `sourceMapsUploadOptions.silent`
27
- */
28
- silent?: boolean;
29
- /**
30
- * When an error occurs during release creation or sourcemaps upload, the plugin will call this function.
31
- *
32
- * By default, the plugin will simply throw an error, thereby stopping the bundling process.
33
- * If an `errorHandler` callback is provided, compilation will continue, unless an error is
34
- * thrown in the provided callback.
35
- *
36
- * To allow compilation to continue but still emit a warning, set this option to the following:
37
- *
38
- * ```js
39
- * (err) => {
40
- * console.warn(err);
41
- * }
42
- * ```
43
- *
44
- * @deprecated Use option `errorHandler` instead of `sourceMapsUploadOptions.errorHandler`
45
- */
46
- errorHandler?: (err: Error) => void;
47
- /**
48
- * Options related to managing the Sentry releases for a build.
49
- *
50
- * More info: https://docs.sentry.io/product/releases/
51
- *
52
- * @deprecated Use option `release` instead of `sourceMapsUploadOptions.release`
53
- */
54
- release?: {
55
- /**
56
- * Unique identifier for the release you want to create.
57
- *
58
- * This value can also be specified via the `SENTRY_RELEASE` environment variable.
59
- *
60
- * Defaults to automatically detecting a value for your environment.
61
- * This includes values for Cordova, Heroku, AWS CodeBuild, CircleCI, Xcode, and Gradle, and otherwise uses the git `HEAD`'s commit SHA.
62
- * (the latter requires access to git CLI and for the root directory to be a valid repository)
63
- *
64
- * If you didn't provide a value and the plugin can't automatically detect one, no release will be created.
65
- *
66
- * @deprecated Use `release.name` instead of `sourceMapsUploadOptions.release.name`
67
- */
68
- name?: string;
69
- };
70
- /**
71
- * If this flag is `true`, and an auth token is detected, the Sentry SDK will
72
- * automatically generate and upload source maps to Sentry during a production build.
73
- *
74
- * @default true
75
- * @deprecated Use option `sourcemaps.disable` instead of `sourceMapsUploadOptions.enabled`
76
- */
77
- enabled?: boolean;
78
- /**
79
- * The auth token to use when uploading source maps to Sentry.
80
- *
81
- * Instead of specifying this option, you can also set the `SENTRY_AUTH_TOKEN` environment variable.
82
- *
83
- * To create an auth token, follow this guide:
84
- * @see https://docs.sentry.io/product/accounts/auth-tokens/#organization-auth-tokens
85
- * @deprecated Use option `authToken` instead of `sourceMapsUploadOptions.authToken`
86
- */
87
- authToken?: string;
88
- /**
89
- * The organization slug of your Sentry organization.
90
- * Instead of specifying this option, you can also set the `SENTRY_ORG` environment variable.
91
- * @deprecated Use option `org` instead of `sourceMapsUploadOptions.org`
92
- */
93
- org?: string;
94
- /**
95
- * The URL of your Sentry instance if you're using self-hosted Sentry.
96
- *
97
- * @default https://sentry.io by default the plugin will point towards the Sentry SaaS URL
98
- * @deprecated Use `sentryUrl` instead of `sourceMapsUploadOptions.url`
99
- */
100
- url?: string;
101
- /**
102
- * The project slug of your Sentry project.
103
- * Instead of specifying this option, you can also set the `SENTRY_PROJECT` environment variable.
104
- *
105
- * @deprecated Use option `project` instead of `sourceMapsUploadOptions.project`
106
- */
107
- project?: string;
108
- /**
109
- * If this flag is `true`, the Sentry plugin will collect some telemetry data and send it to Sentry.
110
- * It will not collect any sensitive or user-specific data.
111
- *
112
- * @default true
113
- * @deprecated Use option `telemetry` instead of `sourceMapsUploadOptions.telemetry`
114
- */
115
- telemetry?: boolean;
116
- /**
117
- * Options related to sourcemaps
118
- *
119
- * @deprecated Use option `sourcemaps` instead of `sourceMapsUploadOptions.sourcemaps`
120
- */
121
- sourcemaps?: {
122
- /**
123
- * A glob or an array of globs that specify the build artifacts and source maps that will be uploaded to Sentry.
124
- *
125
- * If this option is not specified, sensible defaults based on your adapter and nuxt.config.js
126
- * setup will be used. Use this option to override these defaults, for instance if you have a
127
- * customized build setup that diverges from Nuxt's defaults.
128
- *
129
- * The globbing patterns must follow the implementation of the `glob` package.
130
- * @see https://www.npmjs.com/package/glob#glob-primer
131
- *
132
- * @deprecated Use option `sourcemaps.assets` instead of `sourceMapsUploadOptions.sourcemaps.assets`
133
- */
134
- assets?: string | Array<string>;
135
- /**
136
- * A glob or an array of globs that specifies which build artifacts should not be uploaded to Sentry.
137
- *
138
- * @default [] - By default no files are ignored. Thus, all files matching the `assets` glob
139
- * or the default value for `assets` are uploaded.
140
- *
141
- * The globbing patterns follow the implementation of the glob package. (https://www.npmjs.com/package/glob)
142
- *
143
- * @deprecated Use option `sourcemaps.ignore` instead of `sourceMapsUploadOptions.sourcemaps.ignore`
144
- */
145
- ignore?: string | Array<string>;
146
- /**
147
- * A glob or an array of globs that specifies the build artifacts that should be deleted after the artifact
148
- * upload to Sentry has been completed.
149
- *
150
- * @default [] - By default no files are deleted.
151
- *
152
- * The globbing patterns follow the implementation of the glob package. (https://www.npmjs.com/package/glob)
153
- *
154
- * @deprecated Use option `sourcemaps.filesToDeleteAfterUpload` instead of `sourceMapsUploadOptions.sourcemaps.filesToDeleteAfterUpload`
155
- */
156
- filesToDeleteAfterUpload?: string | Array<string>;
157
- };
158
- };
159
21
  /**
160
22
  * Build options for the Sentry module. These options are used during build-time by the Sentry SDK.
161
23
  */
@@ -166,32 +28,6 @@ export type SentryNuxtModuleOptions = BuildTimeOptionsBase & {
166
28
  * @default true
167
29
  */
168
30
  enabled?: boolean;
169
- /**
170
- * Experimental build-time options that may change or be removed without notice.
171
- */
172
- _experimental?: {
173
- /**
174
- * Enables build-time diagnostics-channel instrumentation for supported dependencies bundled into the Nitro server.
175
- *
176
- * 1. Call `Sentry.experimentalUseDiagnosticsChannelInjection()` just before `Sentry.init()`
177
- * 2. Remove `--import ./.output/server/sentry.server.config.mjs` from your `start`script
178
- * 3. Add `sentry.autoInjectServerSentry: 'top-level-import'` in `nuxt.config.ts` so Sentry's server configuration is automatically imported
179
- *
180
- * @default false
181
- * @experimental May change or be removed in any release.
182
- */
183
- useDiagnosticsChannelInjection?: boolean;
184
- };
185
- /**
186
- * Options for the Sentry Vite plugin to customize the source maps upload process.
187
- *
188
- * These options are always read from the `sentry` module options in the `nuxt.config.(js|ts).
189
- * Do not define them in the `sentry.client.config.(js|ts)` or `sentry.server.config.(js|ts)` files.
190
- *
191
- * @deprecated This option was deprecated as it adds unnecessary nesting.
192
- * Put the options one level higher to the root-level of the `sentry` module options.
193
- */
194
- sourceMapsUploadOptions?: SourceMapsOptions;
195
31
  /**
196
32
  *
197
33
  * Enables (partial) server tracing by automatically injecting Sentry for environments where modifying the node option `--import` is not possible.
@@ -249,12 +85,11 @@ export type SentryNuxtModuleOptions = BuildTimeOptionsBase & {
249
85
  */
250
86
  experimental_entrypointWrappedFunctions?: string[];
251
87
  /**
252
- * Options to be passed directly to the Sentry Rollup Plugin (`@sentry/rollup-plugin`) and Sentry Vite Plugin (`@sentry/vite-plugin`) that ship with the Sentry Nuxt SDK.
88
+ * Options to be passed directly to the Sentry Rollup Plugin (`@sentry/bundler-plugins/rollup`) and Sentry Vite Plugin (`@sentry/bundler-plugins/vite`) that ship with the Sentry Nuxt SDK.
253
89
  * You can use this option to override any options the SDK passes to the Vite (for Nuxt) and Rollup (for Nitro) plugin.
254
90
  *
255
91
  * Please note that this option is unstable and may change in a breaking way in any release.
256
92
  */
257
93
  unstable_sentryBundlerPluginOptions?: SentryRollupPluginOptions & SentryVitePluginOptions;
258
94
  };
259
- export {};
260
95
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,IAAI,IAAI,OAAO,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,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IAC3D;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,sBAAsB,CAAC,EAAE,kBAAkB,GAAG,6BAA6B,CAAC;IAE5E;;;;;;;;;;;;;;;OAeG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;;OAUG;IACH,uCAAuC,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnD;;;;;OAKG;IACH,mCAAmC,CAAC,EAAE,yBAAyB,GAAG,uBAAuB,CAAC;CAC3F,CAAC"}
@@ -8,6 +8,7 @@ export declare function init(options: Options | SentryNuxtClientOptions | Sentry
8
8
  export declare const linkedErrorsIntegration: typeof clientSdk.linkedErrorsIntegration;
9
9
  export declare const contextLinesIntegration: typeof clientSdk.contextLinesIntegration;
10
10
  export declare const spanStreamingIntegration: typeof clientSdk.spanStreamingIntegration;
11
+ export declare const withStaticSpan: typeof clientSdk.withStaticSpan;
11
12
  export declare const withStreamedSpan: typeof clientSdk.withStreamedSpan;
12
13
  export declare const getDefaultIntegrations: (options: Options) => Integration[];
13
14
  export declare const defaultStackParser: StackParser;
@@ -1 +1 @@
1
- {"version":3,"file":"index.types.d.ts","sourceRoot":"","sources":["../../src/index.types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACvF,OAAO,KAAK,KAAK,SAAS,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAIjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC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M,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAE/E,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,OAAO,SAAS,CAAC,qBAAqB,CAAC;AACnF,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,OAAO,SAAS,CAAC,uBAAuB,CAAC;AACvF,MAAM,CAAC,OAAO,CAAC,MAAM,gCAAgC,EAAE,OAAO,SAAS,CAAC,gCAAgC,CAAC;AACzG,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,OAAO,SAAS,CAAC,sBAAsB,CAAC;AACrF,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,OAAO,SAAS,CAAC,0BAA0B,CAAC;AAC7F,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,OAAO,SAAS,CAAC,kBAAkB,CAAC;AAC7E,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,OAAO,SAAS,CAAC,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/module.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAS9D,MAAM,MAAM,aAAa,GAAG,uBAAuB,CAAC;;AAGpD,wBAiOG"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/module.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAS9D,MAAM,MAAM,aAAa,GAAG,uBAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"updateRouteBeforeResponse.d.ts","sourceRoot":"","sources":["../../../../src/runtime/hooks/updateRouteBeforeResponse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAGlC,KAAK,qBAAqB,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;AAQjG;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CA6C5E"}
1
+ {"version":3,"file":"updateRouteBeforeResponse.d.ts","sourceRoot":"","sources":["../../../../src/runtime/hooks/updateRouteBeforeResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAGlC,KAAK,qBAAqB,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;AAQjG;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CA0C5E"}
@@ -1 +1 @@
1
- {"version":3,"file":"wrapMiddlewareHandler.d.ts","sourceRoot":"","sources":["../../../../src/runtime/hooks/wrapMiddlewareHandler.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAInB,MAAM,IAAI,CAAC;AAeZ;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAAC,QAAQ,SAAS,YAAY,GAAG,kBAAkB,EAChG,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,MAAM,GACf,QAAQ,CA+BV"}
1
+ {"version":3,"file":"wrapMiddlewareHandler.d.ts","sourceRoot":"","sources":["../../../../src/runtime/hooks/wrapMiddlewareHandler.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAInB,MAAM,IAAI,CAAC;AAeZ;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAAC,QAAQ,SAAS,YAAY,GAAG,kBAAkB,EAChG,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,MAAM,GACf,QAAQ,CA+BV"}
@@ -1 +1 @@
1
- {"version":3,"file":"database-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/database-legacy.server.ts"],"names":[],"mappings":"AAOA;;GAEG;;AACH,wBAE4B"}
1
+ {"version":3,"file":"database-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/database-legacy.server.ts"],"names":[],"mappings":"AAOA;;GAEG"}
@@ -1 +1 @@
1
- {"version":3,"file":"database.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/database.server.ts"],"names":[],"mappings":"AAOA;;GAEG;;AACH,wBAE4B"}
1
+ {"version":3,"file":"database.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/database.server.ts"],"names":[],"mappings":"AAOA;;GAEG"}
@@ -1 +1 @@
1
- {"version":3,"file":"handler-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/handler-legacy.server.ts"],"names":[],"mappings":";AAIA,wBAE4B"}
1
+ {"version":3,"file":"handler-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/handler-legacy.server.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"handler.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/handler.server.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5D;;GAEG;mCACwB,QAAQ;AAAnC,wBAK4B"}
1
+ {"version":3,"file":"handler.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/handler.server.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5D;;GAEG;mCACwB,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"route-detector-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/route-detector-legacy.server.ts"],"names":[],"mappings":";AAKA,wBA2CG"}
1
+ {"version":3,"file":"route-detector-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/route-detector-legacy.server.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"route-detector.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/route-detector.server.ts"],"names":[],"mappings":";AAKA,wBA2CG"}
1
+ {"version":3,"file":"route-detector.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/route-detector.server.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"sentry-cloudflare.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/sentry-cloudflare.server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAI5D,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAO1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,2BAA2B,GACrC,aAAa,iBAAiB,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,iBAAiB,CAAC,KAAG,cAkF/E,CAAC"}
1
+ {"version":3,"file":"sentry-cloudflare.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/sentry-cloudflare.server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAK5D,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAO1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,2BAA2B,gBACxB,iBAAiB,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,iBAAiB,CAAC,KAAG,cAoF/E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sentry.client.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/sentry.client.ts"],"names":[],"mappings":";AAiCA,wBAgDG"}
1
+ {"version":3,"file":"sentry.client.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/sentry.client.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"sentry.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/sentry.server.ts"],"names":[],"mappings":";AAOA,wBA6B4B"}
1
+ {"version":3,"file":"sentry.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/sentry.server.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"storage-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/storage-legacy.server.ts"],"names":[],"mappings":"AAMA;;GAEG;;AACH,wBAE4B"}
1
+ {"version":3,"file":"storage-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/storage-legacy.server.ts"],"names":[],"mappings":"AAMA;;GAEG"}
@@ -1 +1 @@
1
- {"version":3,"file":"storage.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/storage.server.ts"],"names":[],"mappings":"AAMA;;GAEG;;;;AACH,wBAE4B"}
1
+ {"version":3,"file":"storage.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/storage.server.ts"],"names":[],"mappings":"AAMA;;GAEG"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-route-name-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/update-route-name-legacy.server.ts"],"names":[],"mappings":";AAGA,wBAE4B"}
1
+ {"version":3,"file":"update-route-name-legacy.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/update-route-name-legacy.server.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"update-route-name.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/update-route-name.server.ts"],"names":[],"mappings":";;;AAIA,wBAG4B"}
1
+ {"version":3,"file":"update-route-name.server.d.ts","sourceRoot":"","sources":["../../../../src/runtime/plugins/update-route-name.server.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"instrumentStorage.d.ts","sourceRoot":"","sources":["../../../../src/runtime/utils/instrumentStorage.ts"],"names":[],"mappings":"AAyDA;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,UAAU,EAAE,MAAM,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA6B/G"}
1
+ {"version":3,"file":"instrumentStorage.d.ts","sourceRoot":"","sources":["../../../../src/runtime/utils/instrumentStorage.ts"],"names":[],"mappings":"AAgFA;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,UAAU,EAAE,MAAM,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA6B/G"}
@@ -16,7 +16,7 @@ export declare function addSentryTopImport(moduleOptions: SentryNuxtModuleOption
16
16
  * This function modifies the Rollup configuration to include a plugin that wraps the entry file with a dynamic import (`import()`)
17
17
  * and adds the Sentry server config with the static `import` declaration.
18
18
  *
19
- * With this, the Sentry server config can be loaded before all other modules of the application (which is needed for import-in-the-middle).
19
+ * With this, the Sentry server config can be loaded before all other modules of the application.
20
20
  * See: https://nodejs.org/api/module.html#enabling
21
21
  */
22
22
  export declare function addDynamicImportEntryFileWrapper(nitro: Nitro, serverConfigFile: string, moduleOptions: Omit<SentryNuxtModuleOptions, 'experimental_entrypointWrappedFunctions'> & Required<Pick<SentryNuxtModuleOptions, 'experimental_entrypointWrappedFunctions'>>): void;
@@ -2,6 +2,11 @@ import type { Nuxt } from '@nuxt/schema';
2
2
  /**
3
3
  * Configures Nitro to bundle and transform dependencies that publish tracing
4
4
  * events through diagnostics channels.
5
+ *
6
+ * `hasServerConfig` reflects whether a `sentry.server.config` file was found. On Node the SDK is
7
+ * initialized from that file, so orchestrion only makes sense when it exists. On Cloudflare the SDK
8
+ * is initialized through `sentryCloudflareNitroPlugin` instead (no server config file), so the
9
+ * transform must still run there — detected via the Nitro preset.
5
10
  */
6
- export declare function setupOrchestrion(nuxt: Nuxt): void;
11
+ export declare function setupOrchestrion(nuxt: Nuxt, hasServerConfig: boolean, buildTimeInstrumentation?: boolean): void;
7
12
  //# sourceMappingURL=orchestrion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrion.d.ts","sourceRoot":"","sources":["../../../src/vite/orchestrion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AASzC;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAqBjD"}
1
+ {"version":3,"file":"orchestrion.d.ts","sourceRoot":"","sources":["../../../src/vite/orchestrion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AASzC;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,wBAAwB,CAAC,EAAE,OAAO,GAAG,IAAI,CAkC/G"}
@@ -1,6 +1,6 @@
1
1
  import type { Nuxt } from '@nuxt/schema';
2
- import { type SentryRollupPluginOptions } from '@sentry/rollup-plugin';
3
- import { type SentryVitePluginOptions } from '@sentry/vite-plugin';
2
+ import { type SentryRollupPluginOptions } from '@sentry/bundler-plugins/rollup';
3
+ import { type SentryVitePluginOptions } from '@sentry/bundler-plugins/vite';
4
4
  import type { NitroConfig } from 'nitropack';
5
5
  import type { Plugin } from 'vite';
6
6
  import type { SentryNuxtModuleOptions } from '../common/types';
@@ -1 +1 @@
1
- {"version":3,"file":"sourceMaps.d.ts","sourceRoot":"","sources":["../../../src/vite/sourceMaps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAsB,KAAK,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC3F,OAAO,EAAoB,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACrF,OA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EACf,iBAAiB,GAClB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;CACtC,GAAG,IAAI,CAOP"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sentry/nuxt",
3
- "version": "10.68.0",
3
+ "version": "11.0.0-alpha.0",
4
4
  "description": "Official Sentry SDK for Nuxt",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/nuxt",
7
7
  "author": "Sentry",
8
8
  "license": "MIT",
9
9
  "engines": {
10
- "node": ">=18.19.1"
10
+ "node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
11
11
  },
12
12
  "files": [
13
13
  "/build"
@@ -54,15 +54,14 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@nuxt/kit": "^3.13.2",
57
- "@sentry/browser": "10.68.0",
58
- "@sentry/cloudflare": "10.68.0",
59
- "@sentry/core": "10.68.0",
60
- "@sentry/node": "10.68.0",
61
- "@sentry/node-core": "10.68.0",
62
- "@sentry/rollup-plugin": "^5.3.0",
63
- "@sentry/server-utils": "10.68.0",
64
- "@sentry/vite-plugin": "^5.3.0",
65
- "@sentry/vue": "10.68.0",
57
+ "@sentry/browser": "11.0.0-alpha.0",
58
+ "@sentry/cloudflare": "11.0.0-alpha.0",
59
+ "@sentry/conventions": "^0.16.0",
60
+ "@sentry/core": "11.0.0-alpha.0",
61
+ "@sentry/node": "11.0.0-alpha.0",
62
+ "@sentry/bundler-plugins": "11.0.0-alpha.0",
63
+ "@sentry/server-utils": "11.0.0-alpha.0",
64
+ "@sentry/vue": "11.0.0-alpha.0",
66
65
  "local-pkg": "^1.1.2"
67
66
  },
68
67
  "devDependencies": {
@@ -84,8 +83,8 @@
84
83
  "build:tarball": "npm pack",
85
84
  "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts",
86
85
  "clean": "rimraf build coverage sentry-nuxt-*.tgz",
87
- "lint:fix": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --fix --type-aware",
88
- "lint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --type-aware",
86
+ "lint:fix": "oxlint . --fix --type-aware",
87
+ "lint": "oxlint . --type-aware",
89
88
  "lint:es-compatibility": "es-check es2020 ./build/cjs/*.js && es-check es2020 ./build/esm/*.js --module && es-check es2020 ./build/module/*.mjs --module",
90
89
  "test": "yarn test:unit",
91
90
  "test:unit": "vitest run",