@sentry/node 8.24.0 → 8.26.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.
- package/build/cjs/index.js +3 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/integrations/anr/index.js +1 -1
- package/build/cjs/integrations/fs.js +142 -0
- package/build/cjs/integrations/fs.js.map +1 -0
- package/build/cjs/integrations/local-variables/local-variables-async.js +1 -1
- package/build/cjs/integrations/spotlight.js +5 -0
- package/build/cjs/integrations/spotlight.js.map +1 -1
- package/build/cjs/integrations/tracing/graphql.js +31 -0
- package/build/cjs/integrations/tracing/graphql.js.map +1 -1
- package/build/cjs/integrations/tracing/nest/helpers.js.map +1 -1
- package/build/cjs/integrations/tracing/nest/sentry-nest-instrumentation.js +53 -3
- package/build/cjs/integrations/tracing/nest/sentry-nest-instrumentation.js.map +1 -1
- package/build/cjs/sdk/index.js +9 -21
- package/build/cjs/sdk/index.js.map +1 -1
- package/build/esm/index.js +2 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/integrations/anr/index.js +1 -1
- package/build/esm/integrations/anr/worker-script.js +2 -2
- package/build/esm/integrations/fs.js +140 -0
- package/build/esm/integrations/fs.js.map +1 -0
- package/build/esm/integrations/local-variables/local-variables-async.js +1 -1
- package/build/esm/integrations/local-variables/worker-script.js +1 -1
- package/build/esm/integrations/spotlight.js +5 -1
- package/build/esm/integrations/spotlight.js.map +1 -1
- package/build/esm/integrations/tracing/graphql.js +32 -1
- package/build/esm/integrations/tracing/graphql.js.map +1 -1
- package/build/esm/integrations/tracing/nest/helpers.js.map +1 -1
- package/build/esm/integrations/tracing/nest/sentry-nest-instrumentation.js +53 -3
- package/build/esm/integrations/tracing/nest/sentry-nest-instrumentation.js.map +1 -1
- package/build/esm/sdk/index.js +10 -22
- package/build/esm/sdk/index.js.map +1 -1
- package/build/types/index.d.ts +2 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/integrations/fs.d.ts +24 -0
- package/build/types/integrations/fs.d.ts.map +1 -0
- package/build/types/integrations/spotlight.d.ts +1 -0
- package/build/types/integrations/spotlight.d.ts.map +1 -1
- package/build/types/integrations/tracing/graphql.d.ts +15 -2
- package/build/types/integrations/tracing/graphql.d.ts.map +1 -1
- package/build/types/integrations/tracing/nest/helpers.d.ts +3 -3
- package/build/types/integrations/tracing/nest/helpers.d.ts.map +1 -1
- package/build/types/integrations/tracing/nest/sentry-nest-instrumentation.d.ts +8 -2
- package/build/types/integrations/tracing/nest/sentry-nest-instrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing/nest/types.d.ts +11 -0
- package/build/types/integrations/tracing/nest/types.d.ts.map +1 -1
- package/build/types/sdk/index.d.ts.map +1 -1
- package/build/types-ts3.8/index.d.ts +2 -1
- package/build/types-ts3.8/integrations/fs.d.ts +24 -0
- package/build/types-ts3.8/integrations/spotlight.d.ts +1 -0
- package/build/types-ts3.8/integrations/tracing/graphql.d.ts +15 -2
- package/build/types-ts3.8/integrations/tracing/nest/helpers.d.ts +3 -3
- package/build/types-ts3.8/integrations/tracing/nest/sentry-nest-instrumentation.d.ts +8 -2
- package/build/types-ts3.8/integrations/tracing/nest/types.d.ts +11 -0
- package/package.json +6 -5
|
@@ -19,11 +19,17 @@ export declare class SentryNestInstrumentation extends InstrumentationBase {
|
|
|
19
19
|
* Wraps the @Injectable decorator.
|
|
20
20
|
*/
|
|
21
21
|
private _getInjectableFileInstrumentation;
|
|
22
|
+
/**
|
|
23
|
+
* Wraps the @Catch decorator.
|
|
24
|
+
*/
|
|
25
|
+
private _getCatchFileInstrumentation;
|
|
22
26
|
/**
|
|
23
27
|
* Creates a wrapper function for the @Injectable decorator.
|
|
24
|
-
*
|
|
25
|
-
* Wraps the use method to instrument nest class middleware.
|
|
26
28
|
*/
|
|
27
29
|
private _createWrapInjectable;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a wrapper function for the @Catch decorator. Used to instrument exception filters.
|
|
32
|
+
*/
|
|
33
|
+
private _createWrapCatch;
|
|
28
34
|
}
|
|
29
35
|
//# sourceMappingURL=sentry-nest-instrumentation.d.ts.map
|
|
@@ -46,5 +46,16 @@ export interface InjectableTarget {
|
|
|
46
46
|
intercept?: (context: unknown, next: CallHandler, ...args: any[]) => Observable<any>;
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Represents a target class in NestJS annotated with @Catch.
|
|
51
|
+
*/
|
|
52
|
+
export interface CatchTarget {
|
|
53
|
+
name: string;
|
|
54
|
+
sentryPatched?: boolean;
|
|
55
|
+
__SENTRY_INTERNAL__?: boolean;
|
|
56
|
+
prototype: {
|
|
57
|
+
catch?: (...args: any[]) => any;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
49
60
|
export {};
|
|
50
61
|
//# sourceMappingURL=types.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/node",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.26.0",
|
|
4
4
|
"description": "Sentry Node SDK using OpenTelemetry for performance instrumentation",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/node",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"@opentelemetry/instrumentation-connect": "0.38.0",
|
|
73
73
|
"@opentelemetry/instrumentation-express": "0.41.1",
|
|
74
74
|
"@opentelemetry/instrumentation-fastify": "0.38.0",
|
|
75
|
+
"@opentelemetry/instrumentation-fs": "0.14.0",
|
|
75
76
|
"@opentelemetry/instrumentation-graphql": "0.42.0",
|
|
76
77
|
"@opentelemetry/instrumentation-hapi": "0.40.0",
|
|
77
78
|
"@opentelemetry/instrumentation-http": "0.52.1",
|
|
@@ -88,10 +89,10 @@
|
|
|
88
89
|
"@opentelemetry/sdk-trace-base": "^1.25.1",
|
|
89
90
|
"@opentelemetry/semantic-conventions": "^1.25.1",
|
|
90
91
|
"@prisma/instrumentation": "5.17.0",
|
|
91
|
-
"@sentry/core": "8.
|
|
92
|
-
"@sentry/opentelemetry": "8.
|
|
93
|
-
"@sentry/types": "8.
|
|
94
|
-
"@sentry/utils": "8.
|
|
92
|
+
"@sentry/core": "8.26.0",
|
|
93
|
+
"@sentry/opentelemetry": "8.26.0",
|
|
94
|
+
"@sentry/types": "8.26.0",
|
|
95
|
+
"@sentry/utils": "8.26.0",
|
|
95
96
|
"import-in-the-middle": "^1.11.0"
|
|
96
97
|
},
|
|
97
98
|
"devDependencies": {
|