Skip to content

Commit 2c5152b

Browse files
committed
ref: Move extraErrorData from @sentry/core to @sentry/integrations
1 parent 68fbad0 commit 2c5152b

File tree

7 files changed

+4
-16
lines changed

7 files changed

+4
-16
lines changed

packages/browser/src/sdk.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export const defaultIntegrations = [
77
new CoreIntegrations.Dedupe(),
88
new CoreIntegrations.InboundFilters(),
99
new CoreIntegrations.FunctionToString(),
10-
new CoreIntegrations.ExtraErrorData(),
1110
new TryCatch(),
1211
new Breadcrumbs(),
1312
new GlobalHandlers(),
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export { Dedupe } from './dedupe';
22
export { FunctionToString } from './functiontostring';
33
export { InboundFilters } from './inboundfilters';
4-
export { ExtraErrorData } from './extraerrordata';

packages/integrations/package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@sentry/core": "4.6.3",
1717
"@sentry/hub": "4.6.3",
18-
"@sentry/types": "4.5.3",
18+
"@sentry/types": "4.6.3",
1919
"@sentry/utils": "4.6.3",
2020
"tslib": "^1.9.3"
2121
},
@@ -49,14 +49,9 @@
4949
"transform": {
5050
"^.+\\.ts$": "ts-jest"
5151
},
52-
"moduleFileExtensions": [
53-
"js",
54-
"ts"
55-
],
52+
"moduleFileExtensions": ["js", "ts"],
5653
"testEnvironment": "node",
57-
"testMatch": [
58-
"**/*.test.ts"
59-
],
54+
"testMatch": ["**/*.test.ts"],
6055
"globals": {
6156
"ts-jest": {
6257
"tsConfig": "./tsconfig.json",

packages/core/test/lib/integrations/extraerrordata.test.ts renamed to packages/integrations/test/extraerrordata.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ExtendedError, SentryEvent } from '@sentry/types';
2-
import { ExtraErrorData } from '../../../src/integrations/extraerrordata';
2+
import { ExtraErrorData } from '../src/extraerrordata';
33

44
const extraErrorData = new ExtraErrorData();
55
let event: SentryEvent;

packages/node/src/sdk.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const defaultIntegrations = [
1010
new CoreIntegrations.Dedupe(),
1111
new CoreIntegrations.InboundFilters(),
1212
new CoreIntegrations.FunctionToString(),
13-
new CoreIntegrations.ExtraErrorData(),
1413
// Native Wrappers
1514
new Console(),
1615
new Http(),

yarn.lock

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6791,10 +6791,6 @@ [email protected]:
67916791
version "0.3.3"
67926792
resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.3.3.tgz#b5c8351b9464cbd750335a79650a0ec0e56118dd"
67936793

6794-
6795-
version "1.0.0"
6796-
resolved "https://registry.yarnpkg.com/lsmod/-/lsmod-1.0.0.tgz#9a00f76dca36eb23fa05350afe1b585d4299e64b"
6797-
67986794
macos-release@^2.0.0:
67996795
version "2.0.0"
68006796
resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.0.0.tgz#7dddf4caf79001a851eb4fba7fb6034f251276ab"

0 commit comments

Comments
 (0)