diff --git a/package-lock.json b/package-lock.json index 738e835ad..c56449a78 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,8 +32,7 @@ "@bcrs-shared-components/share-structure": "2.1.4", "@bcrs-shared-components/staff-payment": "2.1.4", "@mdi/font": "^5.9.55", - "@sentry/browser": "^5.30.0", - "@sentry/integrations": "^5.30.0", + "@sentry/vue": "^7.49.0", "array.prototype.move": "0.0.4", "axios": "^0.27.2", "core-js": "^3.8.3", @@ -3762,93 +3761,98 @@ "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==", "dev": true }, - "node_modules/@sentry/browser": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.30.0.tgz", - "integrity": "sha512-rOb58ZNVJWh1VuMuBG1mL9r54nZqKeaIlwSlvzJfc89vyfd7n6tQ1UXMN383QBz/MS5H5z44Hy5eE+7pCrYAfw==", + "node_modules/@sentry-internal/tracing": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.49.0.tgz", + "integrity": "sha512-ESh3+ZneQk/3HESTUmIPNrW5GVPu/HrRJU+eAJJto74vm+6vP7zDn2YV2gJ1w18O/37nc7W/bVCgZJlhZ3cwew==", "dependencies": { - "@sentry/core": "5.30.0", - "@sentry/types": "5.30.0", - "@sentry/utils": "5.30.0", + "@sentry/core": "7.49.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0", "tslib": "^1.9.3" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/@sentry/core": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.30.0.tgz", - "integrity": "sha512-TmfrII8w1PQZSZgPpUESqjB+jC6MvZJZdLtE/0hZ+SrnKhW3x5WlYLvTXZpcWePYBku7rl2wn1RZu6uT0qCTeg==", - "dependencies": { - "@sentry/hub": "5.30.0", - "@sentry/minimal": "5.30.0", - "@sentry/types": "5.30.0", - "@sentry/utils": "5.30.0", + "node_modules/@sentry/browser": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.49.0.tgz", + "integrity": "sha512-x2DekKkQoY7/dhBzE4J25mdQ978NtPBTVQb+uZqlF/t5mp4K44TAszmPqy8lC/CmVHkp7qcpRGSCIzeboUL4KA==", + "dependencies": { + "@sentry-internal/tracing": "7.49.0", + "@sentry/core": "7.49.0", + "@sentry/replay": "7.49.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0", "tslib": "^1.9.3" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/@sentry/hub": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.30.0.tgz", - "integrity": "sha512-2tYrGnzb1gKz2EkMDQcfLrDTvmGcQPuWxLnJKXJvYTQDGLlEvi2tWz1VIHjunmOvJrB5aIQLhm+dcMRwFZDCqQ==", + "node_modules/@sentry/core": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.49.0.tgz", + "integrity": "sha512-AlSnCYgfEbvK8pkNluUkmdW/cD9UpvOVCa+ERQswXNRkAv5aDGCL6Ihv6fnIajE++BYuwZh0+HwZUBVKTFzoZg==", "dependencies": { - "@sentry/types": "5.30.0", - "@sentry/utils": "5.30.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0", "tslib": "^1.9.3" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/@sentry/integrations": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-5.30.0.tgz", - "integrity": "sha512-Fqh4ALLoQWdd+1ih0iBduANWFyNmFWMxwvBu3V/wLDRi8OcquI0lEzWai1InzTJTiNhRHPnhuU++l/vkO0OCww==", + "node_modules/@sentry/replay": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.49.0.tgz", + "integrity": "sha512-UY3bHoBDPOu4Dpq3m3oxNjLrq09NiFVYUfrTN4QOq1Am2SA04XbuCj/YZ+jNVy/NrFtoz9cTovK6oQbNw53jog==", "dependencies": { - "@sentry/types": "5.30.0", - "@sentry/utils": "5.30.0", - "localforage": "1.8.1", - "tslib": "^1.9.3" + "@sentry/core": "7.49.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0" }, "engines": { - "node": ">=6" + "node": ">=12" } }, - "node_modules/@sentry/minimal": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.30.0.tgz", - "integrity": "sha512-BwWb/owZKtkDX+Sc4zCSTNcvZUq7YcH3uAVlmh/gtR9rmUvbzAA3ewLuB3myi4wWRAMEtny6+J/FN/x+2wn9Xw==", - "dependencies": { - "@sentry/hub": "5.30.0", - "@sentry/types": "5.30.0", - "tslib": "^1.9.3" - }, + "node_modules/@sentry/types": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.49.0.tgz", + "integrity": "sha512-9yXXh7iv76+O6h2ONUVx0wsL1auqJFWez62mTjWk4350SgMmWp/zUkBxnVXhmcYqscz/CepC+Loz9vITLXtgxg==", "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/@sentry/types": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.30.0.tgz", - "integrity": "sha512-R8xOqlSTZ+htqrfteCWU5Nk0CDN5ApUTvrlvBuiH1DyP6czDZ4ktbZB0hAgBlVcK0U+qpD3ag3Tqqpa5Q67rPw==", + "node_modules/@sentry/utils": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.49.0.tgz", + "integrity": "sha512-JdC9yGnOgev4ISJVwmIoFsk8Zx0psDZJAj2DV7x4wMZsO6QK+YjC7G3mUED/S5D5lsrkBZ/3uvQQhr8DQI4UcQ==", + "dependencies": { + "@sentry/types": "7.49.0", + "tslib": "^1.9.3" + }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/@sentry/utils": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.30.0.tgz", - "integrity": "sha512-zaYmoH0NWWtvnJjC9/CBseXMtKHm/tm40sz3YfJRxeQjyzRqNQPgivpd9R/oDJCYj999mzdW382p/qi2ypjLww==", + "node_modules/@sentry/vue": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-7.49.0.tgz", + "integrity": "sha512-n/LLdhQeID7brIiSOyx7mQ4lEBBeAnX7UK6Vph2Yp1vn2sePT3X+9zNV7CNGZe6FQ4bkfx98FYN9944IWxDzFA==", "dependencies": { - "@sentry/types": "5.30.0", + "@sentry/browser": "7.49.0", + "@sentry/core": "7.49.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0", "tslib": "^1.9.3" }, "engines": { - "node": ">=6" + "node": ">=8" + }, + "peerDependencies": { + "vue": "2.x || 3.x" } }, "node_modules/@sideway/address": { @@ -10755,11 +10759,6 @@ "node": ">= 4" } }, - "node_modules/immediate": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", - "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==" - }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -15040,14 +15039,6 @@ "node": ">= 0.8.0" } }, - "node_modules/lie": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", - "integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==", - "dependencies": { - "immediate": "~3.0.5" - } - }, "node_modules/lilconfig": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", @@ -15086,14 +15077,6 @@ "node": ">=8.9.0" } }, - "node_modules/localforage": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/localforage/-/localforage-1.8.1.tgz", - "integrity": "sha512-azSSJJfc7h4bVpi0PGi+SmLQKJl2/8NErI+LhJsrORNikMZnhaQ7rv9fHj+ofwgSHrKRlsDCL/639a6nECIKuQ==", - "dependencies": { - "lie": "3.1.1" - } - }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -24078,71 +24061,73 @@ "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==", "dev": true }, - "@sentry/browser": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.30.0.tgz", - "integrity": "sha512-rOb58ZNVJWh1VuMuBG1mL9r54nZqKeaIlwSlvzJfc89vyfd7n6tQ1UXMN383QBz/MS5H5z44Hy5eE+7pCrYAfw==", + "@sentry-internal/tracing": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.49.0.tgz", + "integrity": "sha512-ESh3+ZneQk/3HESTUmIPNrW5GVPu/HrRJU+eAJJto74vm+6vP7zDn2YV2gJ1w18O/37nc7W/bVCgZJlhZ3cwew==", "requires": { - "@sentry/core": "5.30.0", - "@sentry/types": "5.30.0", - "@sentry/utils": "5.30.0", + "@sentry/core": "7.49.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0", "tslib": "^1.9.3" } }, - "@sentry/core": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.30.0.tgz", - "integrity": "sha512-TmfrII8w1PQZSZgPpUESqjB+jC6MvZJZdLtE/0hZ+SrnKhW3x5WlYLvTXZpcWePYBku7rl2wn1RZu6uT0qCTeg==", - "requires": { - "@sentry/hub": "5.30.0", - "@sentry/minimal": "5.30.0", - "@sentry/types": "5.30.0", - "@sentry/utils": "5.30.0", + "@sentry/browser": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.49.0.tgz", + "integrity": "sha512-x2DekKkQoY7/dhBzE4J25mdQ978NtPBTVQb+uZqlF/t5mp4K44TAszmPqy8lC/CmVHkp7qcpRGSCIzeboUL4KA==", + "requires": { + "@sentry-internal/tracing": "7.49.0", + "@sentry/core": "7.49.0", + "@sentry/replay": "7.49.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0", "tslib": "^1.9.3" } }, - "@sentry/hub": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.30.0.tgz", - "integrity": "sha512-2tYrGnzb1gKz2EkMDQcfLrDTvmGcQPuWxLnJKXJvYTQDGLlEvi2tWz1VIHjunmOvJrB5aIQLhm+dcMRwFZDCqQ==", + "@sentry/core": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.49.0.tgz", + "integrity": "sha512-AlSnCYgfEbvK8pkNluUkmdW/cD9UpvOVCa+ERQswXNRkAv5aDGCL6Ihv6fnIajE++BYuwZh0+HwZUBVKTFzoZg==", "requires": { - "@sentry/types": "5.30.0", - "@sentry/utils": "5.30.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0", "tslib": "^1.9.3" } }, - "@sentry/integrations": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-5.30.0.tgz", - "integrity": "sha512-Fqh4ALLoQWdd+1ih0iBduANWFyNmFWMxwvBu3V/wLDRi8OcquI0lEzWai1InzTJTiNhRHPnhuU++l/vkO0OCww==", + "@sentry/replay": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.49.0.tgz", + "integrity": "sha512-UY3bHoBDPOu4Dpq3m3oxNjLrq09NiFVYUfrTN4QOq1Am2SA04XbuCj/YZ+jNVy/NrFtoz9cTovK6oQbNw53jog==", "requires": { - "@sentry/types": "5.30.0", - "@sentry/utils": "5.30.0", - "localforage": "1.8.1", - "tslib": "^1.9.3" + "@sentry/core": "7.49.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0" } }, - "@sentry/minimal": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.30.0.tgz", - "integrity": "sha512-BwWb/owZKtkDX+Sc4zCSTNcvZUq7YcH3uAVlmh/gtR9rmUvbzAA3ewLuB3myi4wWRAMEtny6+J/FN/x+2wn9Xw==", + "@sentry/types": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.49.0.tgz", + "integrity": "sha512-9yXXh7iv76+O6h2ONUVx0wsL1auqJFWez62mTjWk4350SgMmWp/zUkBxnVXhmcYqscz/CepC+Loz9vITLXtgxg==" + }, + "@sentry/utils": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.49.0.tgz", + "integrity": "sha512-JdC9yGnOgev4ISJVwmIoFsk8Zx0psDZJAj2DV7x4wMZsO6QK+YjC7G3mUED/S5D5lsrkBZ/3uvQQhr8DQI4UcQ==", "requires": { - "@sentry/hub": "5.30.0", - "@sentry/types": "5.30.0", + "@sentry/types": "7.49.0", "tslib": "^1.9.3" } }, - "@sentry/types": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.30.0.tgz", - "integrity": "sha512-R8xOqlSTZ+htqrfteCWU5Nk0CDN5ApUTvrlvBuiH1DyP6czDZ4ktbZB0hAgBlVcK0U+qpD3ag3Tqqpa5Q67rPw==" - }, - "@sentry/utils": { - "version": "5.30.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.30.0.tgz", - "integrity": "sha512-zaYmoH0NWWtvnJjC9/CBseXMtKHm/tm40sz3YfJRxeQjyzRqNQPgivpd9R/oDJCYj999mzdW382p/qi2ypjLww==", + "@sentry/vue": { + "version": "7.49.0", + "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-7.49.0.tgz", + "integrity": "sha512-n/LLdhQeID7brIiSOyx7mQ4lEBBeAnX7UK6Vph2Yp1vn2sePT3X+9zNV7CNGZe6FQ4bkfx98FYN9944IWxDzFA==", "requires": { - "@sentry/types": "5.30.0", + "@sentry/browser": "7.49.0", + "@sentry/core": "7.49.0", + "@sentry/types": "7.49.0", + "@sentry/utils": "7.49.0", "tslib": "^1.9.3" } }, @@ -24958,7 +24943,7 @@ "@vue/cli-shared-utils": "^5.0.8", "babel-loader": "^8.2.2", "thread-loader": "^3.0.0", - "webpack": "5.78" + "webpack": "^5.54.0" } }, "@vue/cli-plugin-eslint": { @@ -24970,7 +24955,7 @@ "@vue/cli-shared-utils": "^5.0.8", "eslint-webpack-plugin": "^3.1.0", "globby": "^11.0.2", - "webpack": "5.78", + "webpack": "^5.54.0", "yorkie": "^2.0.0" }, "dependencies": { @@ -25087,7 +25072,7 @@ "globby": "^11.0.2", "thread-loader": "^3.0.0", "ts-loader": "^9.2.5", - "webpack": "5.78" + "webpack": "^5.54.0" }, "dependencies": { "ansi-styles": { @@ -25242,7 +25227,7 @@ "thread-loader": "^3.0.0", "vue-loader": "^17.0.0", "vue-style-loader": "^4.1.3", - "webpack": "5.78", + "webpack": "^5.54.0", "webpack-bundle-analyzer": "^4.4.0", "webpack-chain": "^6.5.1", "webpack-dev-server": "^4.7.3", @@ -29347,11 +29332,6 @@ "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", "dev": true }, - "immediate": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", - "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==" - }, "import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -32611,14 +32591,6 @@ "type-check": "~0.3.2" } }, - "lie": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", - "integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==", - "requires": { - "immediate": "~3.0.5" - } - }, "lilconfig": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", @@ -32648,14 +32620,6 @@ "json5": "^2.1.2" } }, - "localforage": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/localforage/-/localforage-1.8.1.tgz", - "integrity": "sha512-azSSJJfc7h4bVpi0PGi+SmLQKJl2/8NErI+LhJsrORNikMZnhaQ7rv9fHj+ofwgSHrKRlsDCL/639a6nECIKuQ==", - "requires": { - "lie": "3.1.1" - } - }, "locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", diff --git a/package.json b/package.json index 6d9be50e8..f9b33b932 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,7 @@ "@bcrs-shared-components/share-structure": "2.1.4", "@bcrs-shared-components/staff-payment": "2.1.4", "@mdi/font": "^5.9.55", - "@sentry/browser": "^5.30.0", - "@sentry/integrations": "^5.30.0", + "@sentry/vue": "^7.49.0", "array.prototype.move": "0.0.4", "axios": "^0.27.2", "core-js": "^3.8.3", diff --git a/src/main.ts b/src/main.ts index cb53c427f..8e34015e7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,8 +9,7 @@ import Vuelidate from 'vuelidate' import Affix from 'vue-affix' import Vue2Filters from 'vue2-filters' // needed by SbcFeeSummary import Hotjar from 'vue-hotjar' -import * as Sentry from '@sentry/browser' -import * as Integrations from '@sentry/integrations' +import * as Sentry from '@sentry/vue' import { getVueRouter } from '@/router/' import { getPiniaStore, getVuexStore } from '@/store/' @@ -57,7 +56,7 @@ async function start () { console.info('Initializing Sentry...') // eslint-disable-line no-console Sentry.init({ dsn: window['sentryDsn'], - integrations: [new Integrations.Vue({ Vue, attachProps: true })] + Vue }) }