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": {
|
"overrides": {
|
||||||
"@azure/identity": "^4.3.0",
|
"@azure/identity": "^4.3.0",
|
||||||
|
"@n8n/typeorm>@sentry/node": "catalog:",
|
||||||
"@types/node": "^20.17.50",
|
"@types/node": "^20.17.50",
|
||||||
"chokidar": "^4.0.1",
|
"chokidar": "^4.0.1",
|
||||||
"esbuild": "^0.24.0",
|
"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 { mock } from 'jest-mock-extended';
|
||||||
import type { ErrorReporter } from 'n8n-core';
|
import type { ErrorReporter } from 'n8n-core';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Service } from '@n8n/di';
|
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 { ErrorReporter } from 'n8n-core';
|
||||||
|
|
||||||
import { SentryConfig } from './config/sentry-config';
|
import { SentryConfig } from './config/sentry-config';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { Logger } from '@n8n/backend-common';
|
import type { Logger } from '@n8n/backend-common';
|
||||||
import { QueryFailedError } from '@n8n/typeorm';
|
import { QueryFailedError } from '@n8n/typeorm';
|
||||||
import type { ErrorEvent } from '@sentry/types';
|
import type { ErrorEvent } from '@sentry/core';
|
||||||
import { AxiosError } from 'axios';
|
import { AxiosError } from 'axios';
|
||||||
import { mock } from 'jest-mock-extended';
|
import { mock } from 'jest-mock-extended';
|
||||||
import { ApplicationError, BaseError } from 'n8n-workflow';
|
import { ApplicationError, BaseError } from 'n8n-workflow';
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import { inTest, Logger } from '@n8n/backend-common';
|
|||||||
import type { InstanceType } from '@n8n/constants';
|
import type { InstanceType } from '@n8n/constants';
|
||||||
import { Service } from '@n8n/di';
|
import { Service } from '@n8n/di';
|
||||||
import type { ReportingOptions } from '@n8n/errors';
|
import type { ReportingOptions } from '@n8n/errors';
|
||||||
|
import type { ErrorEvent, EventHint } from '@sentry/core';
|
||||||
import type { NodeOptions } from '@sentry/node';
|
import type { NodeOptions } from '@sentry/node';
|
||||||
import type { ErrorEvent, EventHint } from '@sentry/types';
|
|
||||||
import { AxiosError } from 'axios';
|
import { AxiosError } from 'axios';
|
||||||
import { ApplicationError, ExecutionCancelledError, BaseError } from 'n8n-workflow';
|
import { ApplicationError, ExecutionCancelledError, BaseError } from 'n8n-workflow';
|
||||||
import { createHash } from 'node:crypto';
|
import { createHash } from 'node:crypto';
|
||||||
@@ -104,7 +104,7 @@ export class ErrorReporter {
|
|||||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||||
this.report = this.defaultReport;
|
this.report = this.defaultReport;
|
||||||
} else {
|
} else {
|
||||||
setTimeout(checkForExpiration, ONE_DAY_IN_MS);
|
this.expirationTimer = setTimeout(checkForExpiration, ONE_DAY_IN_MS);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
checkForExpiration();
|
checkForExpiration();
|
||||||
@@ -130,7 +130,7 @@ export class ErrorReporter {
|
|||||||
dsn,
|
dsn,
|
||||||
release,
|
release,
|
||||||
environment,
|
environment,
|
||||||
enableTracing: false,
|
tracesSampleRate: 0,
|
||||||
serverName,
|
serverName,
|
||||||
beforeBreadcrumb: () => null,
|
beforeBreadcrumb: () => null,
|
||||||
beforeSend: this.beforeSend.bind(this) as NodeOptions['beforeSend'],
|
beforeSend: this.beforeSend.bind(this) as NodeOptions['beforeSend'],
|
||||||
@@ -144,7 +144,6 @@ export class ErrorReporter {
|
|||||||
headers: false,
|
headers: false,
|
||||||
query_string: false,
|
query_string: false,
|
||||||
url: true,
|
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/openai': 0.5.16
|
||||||
'@langchain/anthropic': 0.3.23
|
'@langchain/anthropic': 0.3.23
|
||||||
'@langchain/community': 0.3.47
|
'@langchain/community': 0.3.47
|
||||||
'@sentry/node': 8.52.1
|
'@sentry/node': ^9.42.1
|
||||||
'@types/basic-auth': ^1.1.3
|
'@types/basic-auth': ^1.1.3
|
||||||
'@types/express': ^5.0.1
|
'@types/express': ^5.0.1
|
||||||
'@types/jsonwebtoken': ^9.0.9
|
'@types/jsonwebtoken': ^9.0.9
|
||||||
@@ -55,7 +55,7 @@ catalog:
|
|||||||
|
|
||||||
catalogs:
|
catalogs:
|
||||||
frontend:
|
frontend:
|
||||||
'@sentry/vue': ^8.33.1
|
'@sentry/vue': ^9.42.1
|
||||||
'@testing-library/jest-dom': ^6.6.3
|
'@testing-library/jest-dom': ^6.6.3
|
||||||
'@testing-library/user-event': ^14.6.1
|
'@testing-library/user-event': ^14.6.1
|
||||||
'@testing-library/vue': ^8.1.0
|
'@testing-library/vue': ^8.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user