Skip to content

Commit 0605f17

Browse files
authored
feat(sveltekit): Add more missing @sentry/node re-exports (#10392)
Adds missing re-exports from `@sentry/node` in the sveltekit server SDK and enables the re-export test for @sentry/sveltekit
1 parent 2267493 commit 0605f17

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ const DEPENDENTS: Dependent[] = [
6565
{
6666
package: '@sentry/sveltekit',
6767
exports: Object.keys(SentrySvelteKit),
68-
// TODO: Fix exports in sveltekit
69-
skip: true,
7068
},
7169
];
7270

packages/sveltekit/src/server/index.ts

Lines changed: 13 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,18 @@ export {
7879
continueTrace,
7980
cron,
8081
parameterize,
82+
// eslint-disable-next-line deprecation/deprecation
83+
getModuleFromFilename,
84+
createGetModuleFromFilename,
85+
functionToStringIntegration,
86+
hapiErrorPlugin,
87+
inboundFiltersIntegration,
88+
linkedErrorsIntegration,
89+
requestDataIntegration,
90+
metrics,
91+
runWithAsyncContext,
92+
// eslint-disable-next-line deprecation/deprecation
93+
enableAnrDetection,
8194
} from '@sentry/node';
8295

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

0 commit comments

Comments
 (0)