Skip to content

Commit fdcd92f

Browse files
committed
also add deprecated exports
1 parent 86d96d8 commit fdcd92f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

dev-packages/e2e-tests/test-applications/node-exports-test-app/scripts/consistentExports.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ const NODE_EXPORTS_IGNORE = [
2222
'DebugSession',
2323
'AnrIntegrationOptions',
2424
'LocalVariablesIntegrationOptions',
25-
// deprecated
26-
'spanStatusfromHttpCode',
2725
];
2826

2927
type Dependent = {
@@ -70,11 +68,6 @@ const DEPENDENTS: Dependent[] = [
7068
{
7169
package: '@sentry/sveltekit',
7270
exports: Object.keys(SentrySvelteKit),
73-
ignoreExports: [
74-
// Deprecated, no need to add this now to sveltekit
75-
'enableAnrDetection',
76-
'getModuleFromFilename',
77-
],
7871
},
7972
];
8073

packages/sveltekit/src/server/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ export {
7979
continueTrace,
8080
cron,
8181
parameterize,
82+
// eslint-disable-next-line deprecation/deprecation
83+
getModuleFromFilename,
8284
createGetModuleFromFilename,
8385
functionToStringIntegration,
8486
hapiErrorPlugin,
@@ -87,6 +89,8 @@ export {
8789
requestDataIntegration,
8890
metrics,
8991
runWithAsyncContext,
92+
// eslint-disable-next-line deprecation/deprecation
93+
enableAnrDetection,
9094
} from '@sentry/node';
9195

9296
// We can still leave this for the carrier init and type exports

0 commit comments

Comments
 (0)