diff --git a/web/package-lock.json b/web/package-lock.json index 2ee485b8f..63e991409 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -30,8 +30,8 @@ "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-replace": "^4.0.0", "@rollup/plugin-typescript": "^8.3.2", - "@sentry/browser": "^7.0.0", - "@sentry/tracing": "^7.0.0", + "@sentry/browser": "^7.1.1", + "@sentry/tracing": "^7.1.1", "@squoosh/cli": "^0.7.2", "@trivago/prettier-plugin-sort-imports": "^3.2.0", "@types/chart.js": "^2.9.37", @@ -61,7 +61,6 @@ "rollup-plugin-copy": "^3.4.0", "rollup-plugin-cssimport": "^1.0.2", "rollup-plugin-minify-html-literals": "^1.2.6", - "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "ts-lit-plugin": "^1.2.1", "tslib": "^2.4.0", @@ -2492,13 +2491,13 @@ } }, "node_modules/@sentry/browser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.0.0.tgz", - "integrity": "sha512-XJeQA/CIocrmShpfVcccJ2RvZbWZy+OustSbgLP5Vk+ZnzbqKQo1zQ92jO/dUoVIsl5dWpUaOKfT6gXmORf4vQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.1.1.tgz", + "integrity": "sha512-5AQvStZ+nOP/yxsBmeMZpeGLVtuOgnCNvswKd/c1CJwNw7bDmCE4TQeNKp1C3Gb7lSdBk8ViwUKn0ZpoVQ5MTw==", "dependencies": { - "@sentry/core": "7.0.0", - "@sentry/types": "7.0.0", - "@sentry/utils": "7.0.0", + "@sentry/core": "7.1.1", + "@sentry/types": "7.1.1", + "@sentry/utils": "7.1.1", "tslib": "^1.9.3" }, "engines": { @@ -2511,13 +2510,13 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@sentry/core": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.0.0.tgz", - "integrity": "sha512-Wl7MjmahLhuzzByYiWaYTeHKQfF6usnMp+rTTYTBbneuM4MD7TikRt6ybgnxqyqR7nI7ADH/U8OljtiqwnsOcw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.1.1.tgz", + "integrity": "sha512-SADdAoG5u1LTJhPN5KPtn5HHmH6r0mr6h2LokuZnhj6/okrAuCIIKOb6Fh8jV7j2VuABvew8+FjJHORxi7D/3Q==", "dependencies": { - "@sentry/hub": "7.0.0", - "@sentry/types": "7.0.0", - "@sentry/utils": "7.0.0", + "@sentry/hub": "7.1.1", + "@sentry/types": "7.1.1", + "@sentry/utils": "7.1.1", "tslib": "^1.9.3" }, "engines": { @@ -2530,12 +2529,12 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@sentry/hub": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.0.0.tgz", - "integrity": "sha512-my4s+SPZiL6BKOK89YNk74QFRejlwVKKSetzz+Wr1cxDLbGXOIHS3uRJlagqOpfthhD1dq8m3WBQnabPf5JlHQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.1.1.tgz", + "integrity": "sha512-ASsRVjYDIii6ZTf36JnIYKHWBQBk0P42Tgq324MpyPgaeVDg3saBcyXO5iAtWvY6Vmdi2H4JCVDoir2Zz3Me1w==", "dependencies": { - "@sentry/types": "7.0.0", - "@sentry/utils": "7.0.0", + "@sentry/types": "7.1.1", + "@sentry/utils": "7.1.1", "tslib": "^1.9.3" }, "engines": { @@ -2548,13 +2547,13 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@sentry/tracing": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.0.0.tgz", - "integrity": "sha512-eUHER2RWzm9OtFKQZIr5EwTGM3IU0xJ7l60rnAEbgW5b1bzWC0k/J6EeXeBBfGq7wric/BjH0WKQOnixtXUBpw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.1.1.tgz", + "integrity": "sha512-MJ+EPGfvPlgbJOcZRoIl6+Oi0oRE2nIi/HP2BPJSKGxXFi2Y09bcZUwfxOH8fkUa465jOGBFdCm+sXcbyExvuw==", "dependencies": { - "@sentry/hub": "7.0.0", - "@sentry/types": "7.0.0", - "@sentry/utils": "7.0.0", + "@sentry/hub": "7.1.1", + "@sentry/types": "7.1.1", + "@sentry/utils": "7.1.1", "tslib": "^1.9.3" }, "engines": { @@ -2567,19 +2566,19 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@sentry/types": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.0.0.tgz", - "integrity": "sha512-im6iugKKyeOwHWiS3u+S+Ox4F6aJQ2fe76rzTDTlzdCPol4xEqYnB2kujGVVnDYrODR+qVb24ua3OsxXxwzppA==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.1.1.tgz", + "integrity": "sha512-5N1UMd2SqvUXprcIUMyDEju3H9lJY2oWfWQBGo0lG6Amn/lGAPAYlchg+4vQCLutDQMyd8K9zPwcbKn4u6gHdw==", "engines": { "node": ">=8" } }, "node_modules/@sentry/utils": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.0.0.tgz", - "integrity": "sha512-wmZNwzl1F/xCvaGX0TLz0+M+mZP8kn5woF770o2eUgXGURIuNsnSd0Vfi0nHuBJfngVeI/3+ofOJ9MH4Co4lIw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.1.1.tgz", + "integrity": "sha512-DPRHDf3InfyVgmxToE4Z+AATAR4OVm+wsXDLFGGyncR91CE1x4wLQKOcAJJwX3F0Hz1VHENfmx1DvyYTHOrC/A==", "dependencies": { - "@sentry/types": "7.0.0", + "@sentry/types": "7.1.1", "tslib": "^1.9.3" }, "engines": { @@ -7467,27 +7466,6 @@ "rollup": "^0.65.2 || ^1.0.0 || ^2.0.0" } }, - "node_modules/rollup-plugin-sourcemaps": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz", - "integrity": "sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==", - "dependencies": { - "@rollup/pluginutils": "^3.0.9", - "source-map-resolve": "^0.6.0" - }, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "@types/node": ">=10.0.0", - "rollup": ">=0.31.2" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, "node_modules/rollup-plugin-terser": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", @@ -8026,15 +8004,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-resolve": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.6.0.tgz", - "integrity": "sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==", - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0" - } - }, "node_modules/source-map-support": { "version": "0.5.19", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", @@ -10671,13 +10640,13 @@ } }, "@sentry/browser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.0.0.tgz", - "integrity": "sha512-XJeQA/CIocrmShpfVcccJ2RvZbWZy+OustSbgLP5Vk+ZnzbqKQo1zQ92jO/dUoVIsl5dWpUaOKfT6gXmORf4vQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.1.1.tgz", + "integrity": "sha512-5AQvStZ+nOP/yxsBmeMZpeGLVtuOgnCNvswKd/c1CJwNw7bDmCE4TQeNKp1C3Gb7lSdBk8ViwUKn0ZpoVQ5MTw==", "requires": { - "@sentry/core": "7.0.0", - "@sentry/types": "7.0.0", - "@sentry/utils": "7.0.0", + "@sentry/core": "7.1.1", + "@sentry/types": "7.1.1", + "@sentry/utils": "7.1.1", "tslib": "^1.9.3" }, "dependencies": { @@ -10689,13 +10658,13 @@ } }, "@sentry/core": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.0.0.tgz", - "integrity": "sha512-Wl7MjmahLhuzzByYiWaYTeHKQfF6usnMp+rTTYTBbneuM4MD7TikRt6ybgnxqyqR7nI7ADH/U8OljtiqwnsOcw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.1.1.tgz", + "integrity": "sha512-SADdAoG5u1LTJhPN5KPtn5HHmH6r0mr6h2LokuZnhj6/okrAuCIIKOb6Fh8jV7j2VuABvew8+FjJHORxi7D/3Q==", "requires": { - "@sentry/hub": "7.0.0", - "@sentry/types": "7.0.0", - "@sentry/utils": "7.0.0", + "@sentry/hub": "7.1.1", + "@sentry/types": "7.1.1", + "@sentry/utils": "7.1.1", "tslib": "^1.9.3" }, "dependencies": { @@ -10707,12 +10676,12 @@ } }, "@sentry/hub": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.0.0.tgz", - "integrity": "sha512-my4s+SPZiL6BKOK89YNk74QFRejlwVKKSetzz+Wr1cxDLbGXOIHS3uRJlagqOpfthhD1dq8m3WBQnabPf5JlHQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.1.1.tgz", + "integrity": "sha512-ASsRVjYDIii6ZTf36JnIYKHWBQBk0P42Tgq324MpyPgaeVDg3saBcyXO5iAtWvY6Vmdi2H4JCVDoir2Zz3Me1w==", "requires": { - "@sentry/types": "7.0.0", - "@sentry/utils": "7.0.0", + "@sentry/types": "7.1.1", + "@sentry/utils": "7.1.1", "tslib": "^1.9.3" }, "dependencies": { @@ -10724,13 +10693,13 @@ } }, "@sentry/tracing": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.0.0.tgz", - "integrity": "sha512-eUHER2RWzm9OtFKQZIr5EwTGM3IU0xJ7l60rnAEbgW5b1bzWC0k/J6EeXeBBfGq7wric/BjH0WKQOnixtXUBpw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.1.1.tgz", + "integrity": "sha512-MJ+EPGfvPlgbJOcZRoIl6+Oi0oRE2nIi/HP2BPJSKGxXFi2Y09bcZUwfxOH8fkUa465jOGBFdCm+sXcbyExvuw==", "requires": { - "@sentry/hub": "7.0.0", - "@sentry/types": "7.0.0", - "@sentry/utils": "7.0.0", + "@sentry/hub": "7.1.1", + "@sentry/types": "7.1.1", + "@sentry/utils": "7.1.1", "tslib": "^1.9.3" }, "dependencies": { @@ -10742,16 +10711,16 @@ } }, "@sentry/types": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.0.0.tgz", - "integrity": "sha512-im6iugKKyeOwHWiS3u+S+Ox4F6aJQ2fe76rzTDTlzdCPol4xEqYnB2kujGVVnDYrODR+qVb24ua3OsxXxwzppA==" + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.1.1.tgz", + "integrity": "sha512-5N1UMd2SqvUXprcIUMyDEju3H9lJY2oWfWQBGo0lG6Amn/lGAPAYlchg+4vQCLutDQMyd8K9zPwcbKn4u6gHdw==" }, "@sentry/utils": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.0.0.tgz", - "integrity": "sha512-wmZNwzl1F/xCvaGX0TLz0+M+mZP8kn5woF770o2eUgXGURIuNsnSd0Vfi0nHuBJfngVeI/3+ofOJ9MH4Co4lIw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.1.1.tgz", + "integrity": "sha512-DPRHDf3InfyVgmxToE4Z+AATAR4OVm+wsXDLFGGyncR91CE1x4wLQKOcAJJwX3F0Hz1VHENfmx1DvyYTHOrC/A==", "requires": { - "@sentry/types": "7.0.0", + "@sentry/types": "7.1.1", "tslib": "^1.9.3" }, "dependencies": { @@ -14364,15 +14333,6 @@ "rollup-pluginutils": "^2.8.2" } }, - "rollup-plugin-sourcemaps": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz", - "integrity": "sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==", - "requires": { - "@rollup/pluginutils": "^3.0.9", - "source-map-resolve": "^0.6.0" - } - }, "rollup-plugin-terser": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", @@ -14806,15 +14766,6 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" }, - "source-map-resolve": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.6.0.tgz", - "integrity": "sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==", - "requires": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0" - } - }, "source-map-support": { "version": "0.5.19", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", diff --git a/web/package.json b/web/package.json index 784a4e40c..5aec0a982 100644 --- a/web/package.json +++ b/web/package.json @@ -73,8 +73,8 @@ "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-replace": "^4.0.0", "@rollup/plugin-typescript": "^8.3.2", - "@sentry/browser": "^7.0.0", - "@sentry/tracing": "^7.0.0", + "@sentry/browser": "^7.1.1", + "@sentry/tracing": "^7.1.1", "@squoosh/cli": "^0.7.2", "@trivago/prettier-plugin-sort-imports": "^3.2.0", "@types/chart.js": "^2.9.37", @@ -104,7 +104,6 @@ "rollup-plugin-copy": "^3.4.0", "rollup-plugin-cssimport": "^1.0.2", "rollup-plugin-minify-html-literals": "^1.2.6", - "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "ts-lit-plugin": "^1.2.1", "tslib": "^2.4.0", diff --git a/web/rollup.config.js b/web/rollup.config.js index ee0ebb0db..8e4ff033f 100644 --- a/web/rollup.config.js +++ b/web/rollup.config.js @@ -5,7 +5,6 @@ import { nodeResolve } from "@rollup/plugin-node-resolve"; import replace from "@rollup/plugin-replace"; import copy from "rollup-plugin-copy"; import cssimport from "rollup-plugin-cssimport"; -import sourcemaps from "rollup-plugin-sourcemaps"; import { terser } from "rollup-plugin-terser"; const extensions = [".js", ".jsx", ".ts", ".tsx"]; @@ -86,9 +85,6 @@ export const defaultOptions = { "process.env.AK_API_BASE_PATH": JSON.stringify(apiBasePath), "preventAssignment": true, }), - sourcemaps({ - exclude: [/@sentry/], - }), isProdBuild && terser(), ].filter((p) => p), watch: {