Skip to content

Commit 86d96d8

Browse files
committed
feat(sveltekit): Add more missing @sentry/node
re-exports
1 parent 78c6a9d commit 86d96d8

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ const DEPENDENTS: Dependent[] = [
7070
{
7171
package: '@sentry/sveltekit',
7272
exports: Object.keys(SentrySvelteKit),
73-
// TODO: Fix exports in sveltekit
74-
skip: true,
73+
ignoreExports: [
74+
// Deprecated, no need to add this now to sveltekit
75+
'enableAnrDetection',
76+
'getModuleFromFilename',
77+
],
7578
},
7679
];
7780

packages/sveltekit/src/server/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export {
3030
getGlobalScope,
3131
getIsolationScope,
3232
Hub,
33+
NodeClient,
3334
// eslint-disable-next-line deprecation/deprecation
3435
makeMain,
3536
setCurrentClient,
@@ -78,6 +79,14 @@ export {
7879
continueTrace,
7980
cron,
8081
parameterize,
82+
createGetModuleFromFilename,
83+
functionToStringIntegration,
84+
hapiErrorPlugin,
85+
inboundFiltersIntegration,
86+
linkedErrorsIntegration,
87+
requestDataIntegration,
88+
metrics,
89+
runWithAsyncContext,
8190
} from '@sentry/node';
8291

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

0 commit comments

Comments
 (0)