Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d1e0135
Merge pull request #8812 from getsentry/master
github-actions[bot] Aug 14, 2023
e6e6ebf
fix(nextjs): Check for validity of API route handler signature (#8811)
Aug 14, 2023
448406a
build: Remove build-specific polyfills (#8809)
mydea Aug 14, 2023
5c085ef
feat(core): Introduce `Sentry.startActiveSpan` and `Sentry.startSpan`…
AbhiPrasad Aug 15, 2023
dc653d0
build(deps): bump protobufjs from 6.11.3 to 6.11.4 (#8822)
dependabot[bot] Aug 16, 2023
65df869
fix(sveltekit): Avoid invalidating data on route changes in `wrapServ…
Lms24 Aug 16, 2023
c20e0fb
fix(node): More relevant warning message when tracing extensions are …
timfish Aug 17, 2023
39bf783
build: Fix typo in size limit config (#8825)
mydea Aug 17, 2023
490631e
feat(ci): Cache `node_modules` in flaky test detector (#8787)
billyvg Aug 17, 2023
a6e2642
ref(sveltekit): Remove custom client fetch instrumentation and use de…
Lms24 Aug 17, 2023
e5a3885
fix: Memoize `AsyncLocalStorage` instance (#8831)
Aug 17, 2023
ff26887
test(replay): Fix flakes from `customEvents` (#8827)
billyvg Aug 17, 2023
a985738
fix(sveltekit): Remove invalid return in fetch proxy script (#8835)
Lms24 Aug 17, 2023
4a4df0d
fix(replay): Streamline session creation/refresh (#8813)
mydea Aug 18, 2023
88611c7
test(overhead): Stop loading `api.lorem.space` images (#8833)
billyvg Aug 18, 2023
2d80b4b
build(angular): Fix Nx dependency graph for Angular (#8841)
mydea Aug 18, 2023
81efb87
chore(repo): Fix Package: SvelteKit/Svelte label assignment workflow …
Lms24 Aug 28, 2023
891a44e
fix(tracing): Better guarding for performance observer (#8872)
mydea Aug 28, 2023
478b5e2
fix(nextjs): Fix `requestAsyncStorageShim` path resolution on windows…
Aug 28, 2023
4be150e
deps(sveltekit): Bump `@sentry/vite-plugin` (#8877)
Aug 28, 2023
5afb861
fix(node): Log entire error object in `OnUncaughtException` (#8876)
Lms24 Aug 28, 2023
341bc4c
ref(tracing-internal): Deprecate `tracePropagationTargets` in `Browse…
Lms24 Aug 28, 2023
31979c6
meta(changelog): Update changelog for 7.65.0
Aug 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(sveltekit): Remove invalid return in fetch proxy script (#8835)
Fixes a bug where we incorrectly returned from the sveltekit fetch proxy Html script.
  • Loading branch information
Lms24 authored Aug 17, 2023
commit a985738b9f860ca309f81673924227a8f50ceb19
7 changes: 4 additions & 3 deletions packages/sveltekit/src/server/handle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ function sendErrorToSentry(e: unknown): unknown {

const FETCH_PROXY_SCRIPT = `
const f = window.fetch;
if(!f){return}
window._sentryFetchProxy = function(...a){return f(...a)}
window.fetch = function(...a){return window._sentryFetchProxy(...a)}
if(f){
window._sentryFetchProxy = function(...a){return f(...a)}
window.fetch = function(...a){return window._sentryFetchProxy(...a)}
}
`;

export const transformPageChunk: NonNullable<ResolveOptions['transformPageChunk']> = ({ html }) => {
Expand Down