-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump
@sentry/node
to 8.10.0 (#738)
* wip, waiting for issue to be resolved * chore: apply prisma patch to import-in-the-middle * chore: bump sentry to latest * chore: flush sentry in tests * chore: remove sentry group from dependabot * chore: 0 timeout * chore: copy patches directory in dockerfile
- Loading branch information
Showing
19 changed files
with
1,177 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ SERVER_URL=http://localhost:4000 | |
REDIRECT_ORIGINS=http://localhost:3000,http://localhost:4000 | ||
RATE_LIMIT_MAX=1000 | ||
REDIS_CONNECTION_STRING=redis://:@localhost:6380 | ||
SENTRY_DNS=https://[email protected]/6553834 | ||
SENTRY_DSN=https://[email protected]/6553834 | ||
SENTRY_TRACES_SAMPLE_RATE=1.0 | ||
SESSION_COOKIE_DOMAIN=localhost | ||
SESSION_COOKIE_HTTP_ONLY=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ REDIRECT_ORIGINS=https://example.com | |
POSTMARK_API_TOKEN=verysecret | ||
RATE_LIMIT_MAX=10000000 | ||
REDIS_CONNECTION_STRING=redis://:@localhost:6380 | ||
SENTRY_DNS=https://[email protected]/6553834 | ||
SENTRY_DSN=https://[email protected]/6553834 | ||
SENTRY_TRACES_SAMPLE_RATE=1.0 | ||
SESSION_COOKIE_DOMAIN=localhost | ||
SESSION_COOKIE_HTTP_ONLY=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ SERVER_URL=http://localhost:4000 | |
REDIRECT_ORIGINS=http://localhost:3000,http://localhost:4000 | ||
RATE_LIMIT_MAX=1000 | ||
REDIS_CONNECTION_STRING=redis://:@localhost:6380 | ||
SENTRY_DNS=https://[email protected]/6553834 | ||
SENTRY_DSN=https://[email protected]/6553834 | ||
SENTRY_TRACES_SAMPLE_RATE=1.0 | ||
SESSION_COOKIE_DOMAIN=localhost | ||
SESSION_COOKIE_HTTP_ONLY=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,13 @@ | |
"type": "module", | ||
"packageManager": "[email protected]", | ||
"files": ["dist", "certs", "scripts"], | ||
"engines": { | ||
"node": ">=20", | ||
"pnpm": ">=9" | ||
}, | ||
"scripts": { | ||
"setup": "run-p generate", | ||
"start:production": "node --import ./dist/instrument.js ./dist/server.js", | ||
"build:production": "run-s generate:gql swc", | ||
"build": "pnpm run swc", | ||
"studio": "prisma studio", | ||
|
@@ -95,10 +100,15 @@ | |
"@fastify/redis": "^6.1.1", | ||
"@fastify/session": "^10.9.0", | ||
"@fastify/under-pressure": "^8.5.0", | ||
"@immobiliarelabs/fastify-sentry": "^8.0.1", | ||
"@opentelemetry/exporter-trace-otlp-http": "^0.52.0", | ||
"@opentelemetry/instrumentation": "^0.52.0", | ||
"@opentelemetry/resources": "^1.25.0", | ||
"@opentelemetry/sdk-trace-base": "^1.25.0", | ||
"@opentelemetry/sdk-trace-node": "^1.25.0", | ||
"@opentelemetry/semantic-conventions": "^1.25.0", | ||
"@prisma/client": "^5.15.1", | ||
"@sentry/node": "^7.114.0", | ||
"@sentry/tracing": "7.114.0", | ||
"@prisma/instrumentation": "^5.15.0", | ||
"@sentry/node": "^8.10.0", | ||
"@vippsmobilepay/sdk": "^1.3.1", | ||
"bullmq": "^5.8.2", | ||
"connect-redis": "^7.1.1", | ||
|
@@ -108,6 +118,7 @@ | |
"graphql": "^16.8.2", | ||
"graphql-scalars": "^1.23.0", | ||
"graphql-tag": "^2.12.6", | ||
"import-in-the-middle": "1.8.1", | ||
"ioredis": "^5.4.1", | ||
"lodash-es": "^4.17.21", | ||
"luxon": "^3.4.4", | ||
|
@@ -123,6 +134,12 @@ | |
"os": ["current", "linux"], | ||
"cpu": ["current", "x64"], | ||
"libc": ["current", "glibc"] | ||
}, | ||
"overrides": { | ||
"import-in-the-middle": "1.8.1" | ||
}, | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/lib/get-exports.js b/lib/get-exports.js | ||
index 9a78e8c6effb730d32ba768b4df2e80568356b37..de88a37b5e315bd591361b4e88fc7045a08bda64 100644 | ||
--- a/lib/get-exports.js | ||
+++ b/lib/get-exports.js | ||
@@ -43,6 +43,9 @@ async function getCjsExports (url, context, parentLoad, source) { | ||
full.add(each) | ||
} | ||
} else { | ||
+ if (re === '.') { | ||
+ re = './' | ||
+ } | ||
// Resolve the re-exported module relative to the current module. | ||
const newUrl = pathToFileURL(require.resolve(re, { paths: [dirname(fileURLToPath(url))] })).href | ||
for (const each of await getExports(newUrl, context, parentLoad)) { |
Oops, something went wrong.