Upgrade Sentry to latest to add excludeServerRoutes in order to exclude OG Edge endpoint since Sentry won't work on the Edge yet, but WILL crash the api route. (#5574)
This commit is contained in:
1 parent
1010e2894a
commit
d8102615b1
3 files changed
+98
-1
No files matched your search
@@ -232,6 +232,8 @@ const nextConfig = {
|
||||
},
|
||||
sentry: {
|
||||
hideSourceMaps: true,
|
||||
// Prevents Sentry from running on this Edge function, where Sentry doesn't work yet (build whould crash the api route).
|
||||
excludeServerRoutes: [/\/api\/social\/og\/image\/?/],
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"@radix-ui/react-switch": "^1.0.0",
|
||||
"@radix-ui/react-toggle-group": "^1.0.0",
|
||||
"@radix-ui/react-tooltip": "^1.0.0",
|
||||
"@sentry/nextjs": "^7.17.3",
|
||||
"@sentry/nextjs": "^7.20.0",
|
||||
"@stripe/react-stripe-js": "^1.10.0",
|
||||
"@stripe/stripe-js": "^1.35.0",
|
||||
"@tanstack/react-query": "^4.3.9",
|
||||
|
||||
@@ -5033,6 +5033,16 @@
|
||||
"@sentry/utils" "7.17.4"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/browser@7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.20.0.tgz#e917cab48d3bba2fe8a2e3a8987b0bd9b9149db8"
|
||||
integrity sha512-L84CdB7DPQ2ohVcWh/KivemndWSZyXRvBZBr+tHFlQchzcaZZ/8lIPvjwvb8OJhzhecDq6JCAyUxaZwyItdyAg==
|
||||
dependencies:
|
||||
"@sentry/core" "7.20.0"
|
||||
"@sentry/types" "7.20.0"
|
||||
"@sentry/utils" "7.20.0"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/cli@^1.74.6":
|
||||
version "1.74.6"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-1.74.6.tgz#c4f276e52c6f5e8c8d692845a965988068ebc6f5"
|
||||
@@ -5055,6 +5065,15 @@
|
||||
"@sentry/utils" "7.17.4"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/core@7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.20.0.tgz#7becd848c982d5422627f69c4061d5914946c54a"
|
||||
integrity sha512-8dIHk8niyEyVayUQpgECHnV2p444nPBjIyuQrtkdTxL7sBLC5+Y0DhRjxg9cJyZe/bZnXVerGkgcA7niKW4W8A==
|
||||
dependencies:
|
||||
"@sentry/types" "7.20.0"
|
||||
"@sentry/utils" "7.20.0"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/integrations@7.17.4":
|
||||
version "7.17.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.17.4.tgz#facdc4abb1d4714175c7d66bab634a898cc7eead"
|
||||
@@ -5065,6 +5084,16 @@
|
||||
localforage "^1.8.1"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/integrations@7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.20.0.tgz#78fc544847c5516acb86fc507d0bfdaedb295fd8"
|
||||
integrity sha512-wT00rtdKiVOZm/2fGEotIQ2ItCU9xTODz3KveQLq2X2nI5Jg4opkDOY2NorEnuOfBNg6BncBxaC8TG8ujvRyfw==
|
||||
dependencies:
|
||||
"@sentry/types" "7.20.0"
|
||||
"@sentry/utils" "7.20.0"
|
||||
localforage "^1.8.1"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/nextjs@^7.17.3":
|
||||
version "7.17.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/nextjs/-/nextjs-7.17.4.tgz#9c6d71d17e37da3fcbe753a374e93307a56dbf02"
|
||||
@@ -5084,6 +5113,25 @@
|
||||
rollup "2.78.0"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/nextjs@^7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/nextjs/-/nextjs-7.20.0.tgz#e30cdf43be4bf0bc955b4e8d3f8eacccada21900"
|
||||
integrity sha512-riPRp/+1awbOQ+TJXp1nmNKwvdtQrGFvTf1l6eONUbmIqN0ZWfToyEGYfFX1jbHamRHNvXcwKhixuPlJG+Nqyg==
|
||||
dependencies:
|
||||
"@rollup/plugin-sucrase" "4.0.4"
|
||||
"@rollup/plugin-virtual" "3.0.0"
|
||||
"@sentry/core" "7.20.0"
|
||||
"@sentry/integrations" "7.20.0"
|
||||
"@sentry/node" "7.20.0"
|
||||
"@sentry/react" "7.20.0"
|
||||
"@sentry/tracing" "7.20.0"
|
||||
"@sentry/types" "7.20.0"
|
||||
"@sentry/utils" "7.20.0"
|
||||
"@sentry/webpack-plugin" "1.20.0"
|
||||
chalk "3.0.0"
|
||||
rollup "2.78.0"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/node@7.17.4":
|
||||
version "7.17.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.17.4.tgz#647ebcbd7228e5fa326dc3f95aceab34771205d3"
|
||||
@@ -5097,6 +5145,19 @@
|
||||
lru_map "^0.3.3"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/node@7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.20.0.tgz#a32e37b2c93607e8b8d7f3741f60418ec2d99ddb"
|
||||
integrity sha512-aB0VSueCiWPg53DIevnKNYSu2OGsPweWO1eKhMhu1uJNbL+ZYAFRczdcLdkWCqa38X5jjqO82GKuIZYpXUGX+A==
|
||||
dependencies:
|
||||
"@sentry/core" "7.20.0"
|
||||
"@sentry/types" "7.20.0"
|
||||
"@sentry/utils" "7.20.0"
|
||||
cookie "^0.4.1"
|
||||
https-proxy-agent "^5.0.0"
|
||||
lru_map "^0.3.3"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/react@7.17.4":
|
||||
version "7.17.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.17.4.tgz#1d2c752841ace0561043be6a863de9fc7437f64c"
|
||||
@@ -5108,6 +5169,17 @@
|
||||
hoist-non-react-statics "^3.3.2"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/react@7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.20.0.tgz#41e1edb5a7330bf15ab06e0c0b3e0be7cf36a7d3"
|
||||
integrity sha512-hXPObzl4I7TgeCGEb3b03yLI7zF/oYQ5NoGz65fmhUainOGuW+S8KSyCWmAvaHXZ1cZao+sLfQSxl29sVVQyww==
|
||||
dependencies:
|
||||
"@sentry/browser" "7.20.0"
|
||||
"@sentry/types" "7.20.0"
|
||||
"@sentry/utils" "7.20.0"
|
||||
hoist-non-react-statics "^3.3.2"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/tracing@7.17.4":
|
||||
version "7.17.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.17.4.tgz#1254f4eb7397e1134248de1dade33d2fec864005"
|
||||
@@ -5118,11 +5190,26 @@
|
||||
"@sentry/utils" "7.17.4"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/tracing@7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.20.0.tgz#346bf72bc5574ac78de43bd8ab6f6027f8b64cbd"
|
||||
integrity sha512-qg3sMvjuMQl/NEaF8I2IpvUcJ4HGGVIwEqqqZ6hkeHXIKt02p6f+nls45pVhluMiNHAaQJ+vefMTUc3E1yZwDA==
|
||||
dependencies:
|
||||
"@sentry/core" "7.20.0"
|
||||
"@sentry/types" "7.20.0"
|
||||
"@sentry/utils" "7.20.0"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/types@7.17.4":
|
||||
version "7.17.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.17.4.tgz#476522bc988989101e7aee9eee3c3f8f16fa59ea"
|
||||
integrity sha512-QJj8vO4AtxuzQfJIzDnECSmoxwnS+WJsm1Ta2Cwdy+TUCBJyWpW7aIJJGta76zb9gNPGb3UcAbeEjhMJBJeRMQ==
|
||||
|
||||
"@sentry/types@7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.20.0.tgz#ace232e00407355dccedf65e27471635b4331265"
|
||||
integrity sha512-x17ddduGWqW95neBFVvxzmInb5WXVw+2PcNASHXpGFhi7v2gz2a7/w2CcIKxsqODNnc+z/k1t0Y+uy9B6aH6ag==
|
||||
|
||||
"@sentry/utils@7.17.4":
|
||||
version "7.17.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.17.4.tgz#b8f4fb6a329765b97668b34f6d397e8de2169fef"
|
||||
@@ -5131,6 +5218,14 @@
|
||||
"@sentry/types" "7.17.4"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/utils@7.20.0":
|
||||
version "7.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.20.0.tgz#cca09e2256b64bfb41a78c89af3c88fcc7ca84c2"
|
||||
integrity sha512-4lc122TFgkaCAvoPRy+uc5vgOCumTa/2nPkzCSxVsezQs+ebHxyMJQK7GWBLI6P+EzKfEjlgyMzRWaPJ3iJatA==
|
||||
dependencies:
|
||||
"@sentry/types" "7.20.0"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@sentry/webpack-plugin@1.20.0":
|
||||
version "1.20.0"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.20.0.tgz#e7add76122708fb6b4ee7951294b521019720e58"
|
||||
|
||||
Reference in new issue
Block a user