Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update sentry-javascript monorepo to v8.47.0 #1001

Merged
merged 3 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .syncpackrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@sentry/node",
"@sentry/**"
],
"pinVersion": "8.41.0",
"pinVersion": "8.47.0",
"label": "Sentry Dependencies should all have the same version (uses a specifc package as the first one for Renovate to latch to)"
},
{
Expand Down
13 changes: 1 addition & 12 deletions infrastructure/user-list-search/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,4 @@ terraform {
}

required_version = ">= 1.8.3"
}

data "terraform_remote_state" "incident_management" {
backend = "remote"

config = {
organization = "Pocket"
workspaces = {
name = "incident-management"
}
}
}
}
2 changes: 1 addition & 1 deletion lambdas/account-data-deleter-batch-delete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@aws-sdk/client-dynamodb": "3.696.0",
"@aws-sdk/lib-dynamodb": "3.696.0",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"exponential-backoff": "^3.1.1",
"lodash": "4.17.21",
"tslib": "2.8.0"
Expand Down
2 changes: 1 addition & 1 deletion lambdas/account-data-deleter-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@aws-sdk/client-lambda": "3.696.0",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"fetch-retry": "^5.0.6",
"stripe": "16.9.0",
"tslib": "2.8.0"
Expand Down
2 changes: 1 addition & 1 deletion lambdas/account-delete-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@aws-sdk/client-dynamodb": "3.696.0",
"@aws-sdk/lib-dynamodb": "3.696.0",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"exponential-backoff": "^3.1.1",
"tslib": "2.8.0"
},
Expand Down
2 changes: 1 addition & 1 deletion lambdas/annotations-api-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"tslib": "2.8.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion lambdas/fxa-webook-proxy-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@aws-sdk/client-sqs": "3.696.0",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"jsonwebtoken": "^9.0.0",
"jwk-to-pem": "^2.0.5",
"jwks-rsa": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion lambdas/fxa-webook-proxy-sqs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@aws-sdk/client-sqs": "3.696.0",
"@pocket-tools/jwt-utils": "workspace:*",
"@pocket-tools/lambda-secrets": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"tslib": "2.8.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion lambdas/instant-sync-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"@pocket-tools/lambda-secrets": "workspace:*",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"knex": "3.1.0",
"knex-serverless-mysql": "1.1.0",
"lodash": "4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion lambdas/sendgrid-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@aws-sdk/client-firehose": "3.696.0",
"@pocket-tools/ts-logger": "workspace:*",
"@sendgrid/client": "^8.0.0",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"tslib": "2.8.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion lambdas/shareable-lists-api-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"fetch-retry": "^5.0.6",
"tslib": "2.8.0"
},
Expand Down
2 changes: 1 addition & 1 deletion lambdas/transactional-emails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@aws-sdk/client-ssm": "3.696.0",
"@pocket-tools/event-bridge": "workspace:*",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"braze-api": "^2.9.1",
"fetch-retry": "^5.0.6",
"tslib": "2.8.0"
Expand Down
2 changes: 1 addition & 1 deletion lambdas/user-list-search-corpus-indexing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@opensearch-project/opensearch": "^2.10.0",
"@pocket-tools/event-bridge": "workspace:*",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"fetch-retry": "^5.0.6",
"tslib": "2.8.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@aws-sdk/client-sagemaker-runtime": "3.696.0",
"@pocket-tools/event-bridge": "workspace:*",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"@smithy/node-http-handler": "3.2.0",
"@smithy/util-retry": "3.0.3",
"fetch-retry": "^5.0.6",
Expand Down
2 changes: 1 addition & 1 deletion lambdas/user-list-search-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@pocket-tools/event-bridge": "workspace:*",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"tslib": "2.8.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion lambdas/user-list-search-indexing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "jest \"\\.spec\\.ts\" --runInBand --forceExit"
},
"dependencies": {
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"nanoid": "3.3.8",
"tslib": "2.8.0"
},
Expand Down
2 changes: 1 addition & 1 deletion lambdas/user-list-search-kinesis-to-sqs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@aws-sdk/client-sqs": "3.696.0",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.41.0",
"@sentry/aws-serverless": "8.47.0",
"highland": "2.13.5",
"tslib": "2.8.0",
"uuid": "^10.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"@apollo/utils.keyvadapter": "3.1.0",
"@apollo/utils.keyvaluecache": "3.1.0",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/node": "8.41.0",
"@sentry/node": "8.47.0",
"express": "4.20.0",
"graphql": "16.9.0",
"graphql-tag": "2.12.6",
Expand Down
7 changes: 5 additions & 2 deletions packages/apollo-utils/src/errorHandler/errorHandler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ const server = new ApolloServer({
});

describe('Server error handling: ', () => {
const logErrorSpy = jest.spyOn(defaultLogger, 'error');
const sentrySpy = jest.spyOn(Sentry, 'captureException');
const logErrorSpy: jest.SpyInstance<typeof defaultLogger> = jest.spyOn(
defaultLogger,
'error',
);
const sentrySpy: jest.SpyInstance = jest.spyOn(Sentry, 'captureException');

afterEach(() => {
logErrorSpy.mockReset();
Expand Down
2 changes: 1 addition & 1 deletion packages/event-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@aws-sdk/client-eventbridge": "3.696.0",
"@aws-sdk/client-sqs": "3.696.0",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/node": "8.41.0",
"@sentry/node": "8.47.0",
"ajv": "8.17.1",
"ajv-formats": "3.0.1",
"lodash": "4.17.21",
Expand Down
6 changes: 3 additions & 3 deletions packages/sentry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@
]
},
"dependencies": {
"@sentry/node": "8.41.0",
"@sentry/node": "8.47.0",
"tslib": "2.8.0"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@pocket-tools/eslint-config": "workspace:*",
"@semantic-release/exec": "6.0.3",
"@sentry/types": "8.41.0",
"@sentry/types": "8.47.0",
"@types/express": "4.17.21",
"@types/jest": "29.5.14",
"@types/node": "^22.8.2",
Expand All @@ -97,7 +97,7 @@
"typescript": "5.5.4"
},
"peerDependencies": {
"@sentry/node": "8.41.0"
"@sentry/node": "8.47.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
"@opentelemetry/semantic-conventions": "1.28.0",
"@opentelemetry/winston-transport": "0.8.0",
"@prisma/instrumentation": "5.21.1",
"@sentry/node": "8.41.0",
"@sentry/opentelemetry": "8.41.0",
"@sentry/node": "8.47.0",
"@sentry/opentelemetry": "8.47.0",
"tslib": "2.8.0",
"unleash-client": "6.1.2"
},
Expand Down
Loading
Loading