mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
refactor: Upgrade @sentry/node and @sentry/vue to 9.42.1 (#17753)
This commit is contained in:
@@ -84,6 +84,7 @@
|
||||
],
|
||||
"overrides": {
|
||||
"@azure/identity": "^4.3.0",
|
||||
"@n8n/typeorm>@sentry/node": "catalog:",
|
||||
"@types/node": "^20.17.50",
|
||||
"chokidar": "^4.0.1",
|
||||
"esbuild": "^0.24.0",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ErrorEvent } from '@sentry/types';
|
||||
import type { ErrorEvent } from '@sentry/core';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { ErrorReporter } from 'n8n-core';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Service } from '@n8n/di';
|
||||
import type { ErrorEvent, Exception } from '@sentry/types';
|
||||
import type { ErrorEvent, Exception } from '@sentry/core';
|
||||
import { ErrorReporter } from 'n8n-core';
|
||||
|
||||
import { SentryConfig } from './config/sentry-config';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Logger } from '@n8n/backend-common';
|
||||
import { QueryFailedError } from '@n8n/typeorm';
|
||||
import type { ErrorEvent } from '@sentry/types';
|
||||
import type { ErrorEvent } from '@sentry/core';
|
||||
import { AxiosError } from 'axios';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { ApplicationError, BaseError } from 'n8n-workflow';
|
||||
|
||||
@@ -2,8 +2,8 @@ import { inTest, Logger } from '@n8n/backend-common';
|
||||
import type { InstanceType } from '@n8n/constants';
|
||||
import { Service } from '@n8n/di';
|
||||
import type { ReportingOptions } from '@n8n/errors';
|
||||
import type { ErrorEvent, EventHint } from '@sentry/core';
|
||||
import type { NodeOptions } from '@sentry/node';
|
||||
import type { ErrorEvent, EventHint } from '@sentry/types';
|
||||
import { AxiosError } from 'axios';
|
||||
import { ApplicationError, ExecutionCancelledError, BaseError } from 'n8n-workflow';
|
||||
import { createHash } from 'node:crypto';
|
||||
@@ -104,7 +104,7 @@ export class ErrorReporter {
|
||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||
this.report = this.defaultReport;
|
||||
} else {
|
||||
setTimeout(checkForExpiration, ONE_DAY_IN_MS);
|
||||
this.expirationTimer = setTimeout(checkForExpiration, ONE_DAY_IN_MS);
|
||||
}
|
||||
};
|
||||
checkForExpiration();
|
||||
@@ -130,7 +130,7 @@ export class ErrorReporter {
|
||||
dsn,
|
||||
release,
|
||||
environment,
|
||||
enableTracing: false,
|
||||
tracesSampleRate: 0,
|
||||
serverName,
|
||||
beforeBreadcrumb: () => null,
|
||||
beforeSend: this.beforeSend.bind(this) as NodeOptions['beforeSend'],
|
||||
@@ -144,7 +144,6 @@ export class ErrorReporter {
|
||||
headers: false,
|
||||
query_string: false,
|
||||
url: true,
|
||||
user: false,
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
915
pnpm-lock.yaml
generated
915
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,7 @@ catalog:
|
||||
'@langchain/openai': 0.5.16
|
||||
'@langchain/anthropic': 0.3.23
|
||||
'@langchain/community': 0.3.47
|
||||
'@sentry/node': 8.52.1
|
||||
'@sentry/node': ^9.42.1
|
||||
'@types/basic-auth': ^1.1.3
|
||||
'@types/express': ^5.0.1
|
||||
'@types/jsonwebtoken': ^9.0.9
|
||||
@@ -55,7 +55,7 @@ catalog:
|
||||
|
||||
catalogs:
|
||||
frontend:
|
||||
'@sentry/vue': ^8.33.1
|
||||
'@sentry/vue': ^9.42.1
|
||||
'@testing-library/jest-dom': ^6.6.3
|
||||
'@testing-library/user-event': ^14.6.1
|
||||
'@testing-library/vue': ^8.1.0
|
||||
|
||||
Reference in New Issue
Block a user