Skip to content

Instantly share code, notes, and snippets.

View BlakeB415's full-sized avatar

Blake B. BlakeB415

View GitHub Profile
@BlakeB415
BlakeB415 / @sentry+node+6.19.7.patch
Created June 1, 2022 04:17
Patch file for @sentry/node on Nuxt 3
diff --git a/node_modules/@sentry/node/esm/integrations/http.js b/node_modules/@sentry/node/esm/integrations/http.js
index 3fe1317..c8fc3ef 100644
--- a/node_modules/@sentry/node/esm/integrations/http.js
+++ b/node_modules/@sentry/node/esm/integrations/http.js
@@ -3,7 +3,16 @@ import { getCurrentHub } from '@sentry/core';
import { fill, logger, parseSemver } from '@sentry/utils';
import { IS_DEBUG_BUILD } from '../flags';
import { cleanSpanDescription, extractUrl, isSentryRequest, normalizeRequestArgs, } from './utils/http';
+
var NODE_VERSION = parseSemver(process.versions.node);