diff --git a/assets/package-lock.json b/assets/package-lock.json index 80f17fbd..07c41495 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -9,7 +9,7 @@ "@fullstory/browser": "^2.0.4", "@heroicons/react": "^2.1.4", "@sentry/fullstory": "^3.0.0", - "@sentry/react": "^7.14.0", + "@sentry/react": "^8.13.0", "bootstrap": "^5.1.3", "classnames": "^2.5.1", "date-fns": "^3.6.0", @@ -2805,136 +2805,84 @@ "react": ">=16.14.0" } }, - "node_modules/@sentry-internal/feedback": { - "version": "7.111.0", - "license": "MIT", - "dependencies": { - "@sentry/core": "7.111.0", - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@sentry-internal/feedback/node_modules/@sentry/core": { - "version": "7.111.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.111.0.tgz", - "integrity": "sha512-/ljeMjZu8CSrLGrseBi/7S2zRIFsqMcvfyG6Nwgfc07J9nbHt8/MqouE1bXZfiaILqDBpK7BK9MLAAph4mkAWg==", - "dependencies": { - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@sentry-internal/replay-canvas": { - "version": "7.111.0", - "license": "MIT", + "node_modules/@sentry-internal/browser-utils": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-8.13.0.tgz", + "integrity": "sha512-lqq8BYbbs9KTlDuyB5NjdZB6P/llqQs32KUgaCQ/k5DFB4Zf56+BFHXObnMHxwx375X1uixtnEphagWZa+nsLQ==", "dependencies": { - "@sentry/core": "7.111.0", - "@sentry/replay": "7.111.0", - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" + "@sentry/core": "8.13.0", + "@sentry/types": "8.13.0", + "@sentry/utils": "8.13.0" }, "engines": { - "node": ">=12" + "node": ">=14.18" } }, - "node_modules/@sentry-internal/replay-canvas/node_modules/@sentry/core": { - "version": "7.111.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.111.0.tgz", - "integrity": "sha512-/ljeMjZu8CSrLGrseBi/7S2zRIFsqMcvfyG6Nwgfc07J9nbHt8/MqouE1bXZfiaILqDBpK7BK9MLAAph4mkAWg==", + "node_modules/@sentry-internal/feedback": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-8.13.0.tgz", + "integrity": "sha512-YyJ6SzpTonixvguAg0H9vkEp7Jq8ZeVY8M4n47ClR0+TtaAUp04ZhcJpHKF7PwBIAzc7DRr2XP112tmWgiVEcg==", "dependencies": { - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" + "@sentry/core": "8.13.0", + "@sentry/types": "8.13.0", + "@sentry/utils": "8.13.0" }, "engines": { - "node": ">=8" + "node": ">=14.18" } }, - "node_modules/@sentry-internal/tracing": { - "version": "7.111.0", - "license": "MIT", + "node_modules/@sentry-internal/replay": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-8.13.0.tgz", + "integrity": "sha512-DJ1jF/Pab0FH4SeCvSGCnGAu/s0wJvhBWM5VjQp7Jjmcfunp+R3vJibqU8gAVZU1nYRLaqprLdIXrSyP2Km8nQ==", "dependencies": { - "@sentry/core": "7.111.0", - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" + "@sentry-internal/browser-utils": "8.13.0", + "@sentry/core": "8.13.0", + "@sentry/types": "8.13.0", + "@sentry/utils": "8.13.0" }, "engines": { - "node": ">=8" + "node": ">=14.18" } }, - "node_modules/@sentry-internal/tracing/node_modules/@sentry/core": { - "version": "7.111.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.111.0.tgz", - "integrity": "sha512-/ljeMjZu8CSrLGrseBi/7S2zRIFsqMcvfyG6Nwgfc07J9nbHt8/MqouE1bXZfiaILqDBpK7BK9MLAAph4mkAWg==", + "node_modules/@sentry-internal/replay-canvas": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-8.13.0.tgz", + "integrity": "sha512-lPlfWVIHX+gW4S8a/UOVutuqMyQhlkNUAay0W21MVhZJT5Mtj0p21D/Cz7nrOQRDIiLNq90KAGK2tLxx5NkiWA==", "dependencies": { - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" + "@sentry-internal/replay": "8.13.0", + "@sentry/core": "8.13.0", + "@sentry/types": "8.13.0", + "@sentry/utils": "8.13.0" }, "engines": { - "node": ">=8" + "node": ">=14.18" } }, "node_modules/@sentry/browser": { - "version": "7.111.0", - "license": "MIT", - "dependencies": { - "@sentry-internal/feedback": "7.111.0", - "@sentry-internal/replay-canvas": "7.111.0", - "@sentry-internal/tracing": "7.111.0", - "@sentry/core": "7.111.0", - "@sentry/replay": "7.111.0", - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@sentry/browser/node_modules/@sentry/core": { - "version": "7.111.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.111.0.tgz", - "integrity": "sha512-/ljeMjZu8CSrLGrseBi/7S2zRIFsqMcvfyG6Nwgfc07J9nbHt8/MqouE1bXZfiaILqDBpK7BK9MLAAph4mkAWg==", - "dependencies": { - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@sentry/core": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.12.0.tgz", - "integrity": "sha512-y+5Hlf/E45nj2adJy4aUCNBefQbyWIX66Z9bOM6JjnVB0hxCm5H0sYqrFKldYqaeZx6/Q2cgAcGs61krUxNerQ==", - "peer": true, + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-8.13.0.tgz", + "integrity": "sha512-/tp7HZ5qjwDLtwooPMoexdAi2PG7gMNY0bHeMlwy20hs8mclC8RW8ZiJA6czXHfgnbmvxfrHaY53IJyz//JnlA==", "dependencies": { - "@sentry/types": "8.12.0", - "@sentry/utils": "8.12.0" + "@sentry-internal/browser-utils": "8.13.0", + "@sentry-internal/feedback": "8.13.0", + "@sentry-internal/replay": "8.13.0", + "@sentry-internal/replay-canvas": "8.13.0", + "@sentry/core": "8.13.0", + "@sentry/types": "8.13.0", + "@sentry/utils": "8.13.0" }, "engines": { "node": ">=14.18" } }, - "node_modules/@sentry/core/node_modules/@sentry/types": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.12.0.tgz", - "integrity": "sha512-pKuW64IjgcklWAOHzPJ02Ej480hyL25TLnYCAfl2TDMrYc+N0bbbH1N7ZxqJpTSVK9IxZPY/t2TRxpQBiyPEcg==", - "peer": true, - "engines": { - "node": ">=14.18" - } - }, - "node_modules/@sentry/core/node_modules/@sentry/utils": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.12.0.tgz", - "integrity": "sha512-pwYMoOmexz3vsNSOJGPvD2qwp/fsPcr8mkFk67wMM37Y+30KQ8pF4Aq1cc+HBRIn1tKmenzFDPTczSdVPFxm3Q==", - "peer": true, + "node_modules/@sentry/core": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.13.0.tgz", + "integrity": "sha512-N9Qg4ZGxZWp8eb2eUUHVVKgjBLtFIjS805nG92s6yJmkvOpKm6mLtcUaT/iDf3Hta6nG+xRkhbE3r+Z4cbXG8w==", "dependencies": { - "@sentry/types": "8.12.0" + "@sentry/types": "8.13.0", + "@sentry/utils": "8.13.0" }, "engines": { "node": ">=14.18" @@ -2952,74 +2900,40 @@ } }, "node_modules/@sentry/react": { - "version": "7.111.0", - "license": "MIT", - "dependencies": { - "@sentry/browser": "7.111.0", - "@sentry/core": "7.111.0", - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry/react/-/react-8.13.0.tgz", + "integrity": "sha512-gz+aHZMcl6uvHkmLBGzMGjJJ+Vpl+W0VXJsKB9fdjZDDF5vJpgXTR9mwMEXJ9lKi+cY6tDe0+af+DA8BGJgw0Q==", + "dependencies": { + "@sentry/browser": "8.13.0", + "@sentry/core": "8.13.0", + "@sentry/types": "8.13.0", + "@sentry/utils": "8.13.0", "hoist-non-react-statics": "^3.3.2" }, "engines": { - "node": ">=8" + "node": ">=14.18" }, "peerDependencies": { - "react": "15.x || 16.x || 17.x || 18.x" - } - }, - "node_modules/@sentry/react/node_modules/@sentry/core": { - "version": "7.111.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.111.0.tgz", - "integrity": "sha512-/ljeMjZu8CSrLGrseBi/7S2zRIFsqMcvfyG6Nwgfc07J9nbHt8/MqouE1bXZfiaILqDBpK7BK9MLAAph4mkAWg==", - "dependencies": { - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@sentry/replay": { - "version": "7.111.0", - "license": "MIT", - "dependencies": { - "@sentry-internal/tracing": "7.111.0", - "@sentry/core": "7.111.0", - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@sentry/replay/node_modules/@sentry/core": { - "version": "7.111.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.111.0.tgz", - "integrity": "sha512-/ljeMjZu8CSrLGrseBi/7S2zRIFsqMcvfyG6Nwgfc07J9nbHt8/MqouE1bXZfiaILqDBpK7BK9MLAAph4mkAWg==", - "dependencies": { - "@sentry/types": "7.111.0", - "@sentry/utils": "7.111.0" - }, - "engines": { - "node": ">=8" + "react": "^16.14.0 || 17.x || 18.x || 19.x" } }, "node_modules/@sentry/types": { - "version": "7.111.0", - "license": "MIT", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.13.0.tgz", + "integrity": "sha512-r63s/H5gvQnQM9tTGBXz2xErUbxZALh4e2Lg/1aHj4zIvGLBjA2z5qWsh6TEZYbpmgAyGShLDr6+rWeUVf9yBQ==", "engines": { - "node": ">=8" + "node": ">=14.18" } }, "node_modules/@sentry/utils": { - "version": "7.111.0", - "license": "MIT", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.13.0.tgz", + "integrity": "sha512-PxV0v9VbGWH9zP37P5w2msLUFDr287nYjoY2XVF+RSolyiTs1CQNI5ZMUO3o4MsSac/dpXxjyrZXQd72t/jRYA==", "dependencies": { - "@sentry/types": "7.111.0" + "@sentry/types": "8.13.0" }, "engines": { - "node": ">=8" + "node": ">=14.18" } }, "node_modules/@sinclair/typebox": { diff --git a/assets/package.json b/assets/package.json index 3165a452..1e0bb429 100644 --- a/assets/package.json +++ b/assets/package.json @@ -16,7 +16,7 @@ "@fullstory/browser": "^2.0.4", "@heroicons/react": "^2.1.4", "@sentry/fullstory": "^3.0.0", - "@sentry/react": "^7.14.0", + "@sentry/react": "^8.13.0", "bootstrap": "^5.1.3", "classnames": "^2.5.1", "date-fns": "^3.6.0", diff --git a/assets/webpack.config.js b/assets/webpack.config.js index 366e3cf1..8e040a93 100644 --- a/assets/webpack.config.js +++ b/assets/webpack.config.js @@ -62,6 +62,11 @@ module.exports = (env, options) => ({ Models: path.resolve(__dirname, "js/models"), Utils: path.resolve(__dirname, "js/utils"), Constants: path.resolve(__dirname, "js/constants"), + // Fix issue with React JSX rutime export + // https://github.com/facebook/react/issues/20235#issuecomment-732205073 + // This is fixed in later versions of react so this can be removed when + // upgrading react. Keeping it in shouldn't hurt anything. + "react/jsx-runtime": require.resolve("react/jsx-runtime"), }, }, plugins: [