diff --git a/package-lock.json b/package-lock.json index bf4e6ec037..b9c8608e6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,8 +20,6 @@ "@angular/platform-browser-dynamic": "^5.2.9", "@angular/router": "^5.2.9", "@node-steam/vdf": "^2.0.1", - "@sentry/electron": "^2.5.4", - "@sentry/webpack-plugin": "^1.18.3", "ajv": "^6.4.0", "appid": "^1.0.3", "async": "^2.6.4", @@ -82,7 +80,6 @@ "@types/minimatch": "^3.0.3", "@types/node": "12.12.46", "@types/rangy": "0.0.32", - "@types/which": "^2.0.1", "@types/winreg": "^1.2.31", "angular2-template-loader": "^0.6.2", "autoprefixer": "^10.4.0", @@ -497,165 +494,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@sentry/browser": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.7.1.tgz", - "integrity": "sha512-R5PYx4TTvifcU790XkK6JVGwavKaXwycDU0MaAwfc4Vf7BLm5KCNJCsDySu1RPAap/017MVYf54p6dWvKiRviA==", - "dependencies": { - "@sentry/core": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/cli": { - "version": "1.71.0", - "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-1.71.0.tgz", - "integrity": "sha512-Z8TzH7PkiRfjWSzjXOfPWWp6wxjr+n39Jdrt26OcInVQZM1sx/gZULrDiQZ1L2dy9Fe9AR4SF4nt2/7h2GmLQQ==", - "hasInstallScript": true, - "dependencies": { - "https-proxy-agent": "^5.0.0", - "mkdirp": "^0.5.5", - "node-fetch": "^2.6.0", - "npmlog": "^4.1.2", - "progress": "^2.0.3", - "proxy-from-env": "^1.1.0" - }, - "bin": { - "sentry-cli": "bin/sentry-cli" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@sentry/core": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.7.1.tgz", - "integrity": "sha512-VAv8OR/7INn2JfiLcuop4hfDcyC7mfL9fdPndQEhlacjmw8gRrgXjR7qyhnCTgzFLkHI7V5bcdIzA83TRPYQpA==", - "dependencies": { - "@sentry/hub": "6.7.1", - "@sentry/minimal": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/electron": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/@sentry/electron/-/electron-2.5.4.tgz", - "integrity": "sha512-tCCK+P581TmdjsDpHBQz7qYcldzGdUk1Fd6FPxPy1JKGzeY4uf/uSLKzR80Lzs5kTpEZFOwiMHSA8yjwFp5qoA==", - "dependencies": { - "@sentry/browser": "6.7.1", - "@sentry/core": "6.7.1", - "@sentry/minimal": "6.7.1", - "@sentry/node": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^2.2.0" - } - }, - "node_modules/@sentry/electron/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, - "node_modules/@sentry/hub": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.7.1.tgz", - "integrity": "sha512-eVCTWvvcp6xa0A5GGNHMQEWslmKPlisE5rGmsV/kjvSUv3zSrI0eIDfb51ikdnCiBjHpK2NBWP8Vy8cZOEJegg==", - "dependencies": { - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/minimal": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.7.1.tgz", - "integrity": "sha512-HDDPEnQRD6hC0qaHdqqKDStcdE1KhkFh0RCtJNMCDn0zpav8Dj9AteF70x6kLSlliAJ/JFwi6AmQrLz+FxPexw==", - "dependencies": { - "@sentry/hub": "6.7.1", - "@sentry/types": "6.7.1", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/node": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/node/-/node-6.7.1.tgz", - "integrity": "sha512-rtZo1O8ROv4lZwuljQz3iFZW89oXSlgXCG2VqkxQyRspPWu89abROpxLjYzsWwQ8djnur1XjFv51kOLDUTS6Qw==", - "dependencies": { - "@sentry/core": "6.7.1", - "@sentry/hub": "6.7.1", - "@sentry/tracing": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "cookie": "^0.4.1", - "https-proxy-agent": "^5.0.0", - "lru_map": "^0.3.3", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/tracing": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.7.1.tgz", - "integrity": "sha512-wyS3nWNl5mzaC1qZ2AIp1hjXnfO9EERjMIJjCihs2LWBz1r3efxrHxJHs8wXlNWvrT3KLhq/7vvF5CdU82uPeQ==", - "dependencies": { - "@sentry/hub": "6.7.1", - "@sentry/minimal": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/types": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.7.1.tgz", - "integrity": "sha512-9AO7HKoip2MBMNQJEd6+AKtjj2+q9Ze4ooWUdEvdOVSt5drg7BGpK221/p9JEOyJAZwEPEXdcMd3VAIMiOb4MA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/utils": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.7.1.tgz", - "integrity": "sha512-Tq2otdbWlHAkctD+EWTYKkEx6BL1Qn3Z/imkO06/PvzpWvVhJWQ5qHAzz5XnwwqNHyV03KVzYB6znq1Bea9HuA==", - "dependencies": { - "@sentry/types": "6.7.1", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/webpack-plugin": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/@sentry/webpack-plugin/-/webpack-plugin-1.18.3.tgz", - "integrity": "sha512-Qk3Jevislc5DZK0X/WwRVcOtO7iatnWARsEgTV/TuXvDN+fUDDpD/2MytAWAbpLaLy3xEB/cXGeLsbv6d1XNkQ==", - "dependencies": { - "@sentry/cli": "^1.70.1" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/@sindresorhus/is": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", @@ -909,12 +747,6 @@ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.9.tgz", "integrity": "sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==" }, - "node_modules/@types/which": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/which/-/which-2.0.1.tgz", - "integrity": "sha512-Jjakcv8Roqtio6w1gr0D7y6twbhx6gGgFGF5BLwajPpnOIOxFkakFhCq+LmyyeAz7BX6ULrjBOxdKaCDy+4+dQ==", - "dev": true - }, "node_modules/@types/winreg": { "version": "1.2.31", "resolved": "https://registry.npmjs.org/@types/winreg/-/winreg-1.2.31.tgz", @@ -1176,6 +1008,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, "dependencies": { "debug": "4" }, @@ -2551,14 +2384,6 @@ "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" }, - "node_modules/cookie": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", - "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/core-util-is": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", @@ -3756,6 +3581,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, "optional": true, "dependencies": { "iconv-lite": "^0.6.2" @@ -3779,6 +3605,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -4712,6 +4539,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dev": true, "dependencies": { "agent-base": "6", "debug": "4" @@ -5688,11 +5516,6 @@ "node": ">=0.10.0" } }, - "node_modules/lru_map": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", - "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=" - }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -6224,25 +6047,6 @@ "node": ">=10" } }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, "node_modules/node-gyp": { "version": "8.4.1", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz", @@ -7211,6 +7015,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true, "engines": { "node": ">=0.4.0" } @@ -7241,11 +7046,6 @@ "dev": true, "optional": true }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "node_modules/prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -8666,11 +8466,6 @@ "node": ">=0.8" } }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" - }, "node_modules/truncate-utf8-bytes": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", @@ -9069,11 +8864,6 @@ "defaults": "^1.0.3" } }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" - }, "node_modules/webpack": { "version": "5.64.2", "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.64.2.tgz", @@ -9316,15 +9106,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10094,133 +9875,6 @@ } } }, - "@sentry/browser": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.7.1.tgz", - "integrity": "sha512-R5PYx4TTvifcU790XkK6JVGwavKaXwycDU0MaAwfc4Vf7BLm5KCNJCsDySu1RPAap/017MVYf54p6dWvKiRviA==", - "requires": { - "@sentry/core": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^1.9.3" - } - }, - "@sentry/cli": { - "version": "1.71.0", - "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-1.71.0.tgz", - "integrity": "sha512-Z8TzH7PkiRfjWSzjXOfPWWp6wxjr+n39Jdrt26OcInVQZM1sx/gZULrDiQZ1L2dy9Fe9AR4SF4nt2/7h2GmLQQ==", - "requires": { - "https-proxy-agent": "^5.0.0", - "mkdirp": "^0.5.5", - "node-fetch": "^2.6.0", - "npmlog": "^4.1.2", - "progress": "^2.0.3", - "proxy-from-env": "^1.1.0" - } - }, - "@sentry/core": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.7.1.tgz", - "integrity": "sha512-VAv8OR/7INn2JfiLcuop4hfDcyC7mfL9fdPndQEhlacjmw8gRrgXjR7qyhnCTgzFLkHI7V5bcdIzA83TRPYQpA==", - "requires": { - "@sentry/hub": "6.7.1", - "@sentry/minimal": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^1.9.3" - } - }, - "@sentry/electron": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/@sentry/electron/-/electron-2.5.4.tgz", - "integrity": "sha512-tCCK+P581TmdjsDpHBQz7qYcldzGdUk1Fd6FPxPy1JKGzeY4uf/uSLKzR80Lzs5kTpEZFOwiMHSA8yjwFp5qoA==", - "requires": { - "@sentry/browser": "6.7.1", - "@sentry/core": "6.7.1", - "@sentry/minimal": "6.7.1", - "@sentry/node": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^2.2.0" - }, - "dependencies": { - "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - } - } - }, - "@sentry/hub": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.7.1.tgz", - "integrity": "sha512-eVCTWvvcp6xa0A5GGNHMQEWslmKPlisE5rGmsV/kjvSUv3zSrI0eIDfb51ikdnCiBjHpK2NBWP8Vy8cZOEJegg==", - "requires": { - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^1.9.3" - } - }, - "@sentry/minimal": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.7.1.tgz", - "integrity": "sha512-HDDPEnQRD6hC0qaHdqqKDStcdE1KhkFh0RCtJNMCDn0zpav8Dj9AteF70x6kLSlliAJ/JFwi6AmQrLz+FxPexw==", - "requires": { - "@sentry/hub": "6.7.1", - "@sentry/types": "6.7.1", - "tslib": "^1.9.3" - } - }, - "@sentry/node": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/node/-/node-6.7.1.tgz", - "integrity": "sha512-rtZo1O8ROv4lZwuljQz3iFZW89oXSlgXCG2VqkxQyRspPWu89abROpxLjYzsWwQ8djnur1XjFv51kOLDUTS6Qw==", - "requires": { - "@sentry/core": "6.7.1", - "@sentry/hub": "6.7.1", - "@sentry/tracing": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "cookie": "^0.4.1", - "https-proxy-agent": "^5.0.0", - "lru_map": "^0.3.3", - "tslib": "^1.9.3" - } - }, - "@sentry/tracing": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.7.1.tgz", - "integrity": "sha512-wyS3nWNl5mzaC1qZ2AIp1hjXnfO9EERjMIJjCihs2LWBz1r3efxrHxJHs8wXlNWvrT3KLhq/7vvF5CdU82uPeQ==", - "requires": { - "@sentry/hub": "6.7.1", - "@sentry/minimal": "6.7.1", - "@sentry/types": "6.7.1", - "@sentry/utils": "6.7.1", - "tslib": "^1.9.3" - } - }, - "@sentry/types": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.7.1.tgz", - "integrity": "sha512-9AO7HKoip2MBMNQJEd6+AKtjj2+q9Ze4ooWUdEvdOVSt5drg7BGpK221/p9JEOyJAZwEPEXdcMd3VAIMiOb4MA==" - }, - "@sentry/utils": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.7.1.tgz", - "integrity": "sha512-Tq2otdbWlHAkctD+EWTYKkEx6BL1Qn3Z/imkO06/PvzpWvVhJWQ5qHAzz5XnwwqNHyV03KVzYB6znq1Bea9HuA==", - "requires": { - "@sentry/types": "6.7.1", - "tslib": "^1.9.3" - } - }, - "@sentry/webpack-plugin": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/@sentry/webpack-plugin/-/webpack-plugin-1.18.3.tgz", - "integrity": "sha512-Qk3Jevislc5DZK0X/WwRVcOtO7iatnWARsEgTV/TuXvDN+fUDDpD/2MytAWAbpLaLy3xEB/cXGeLsbv6d1XNkQ==", - "requires": { - "@sentry/cli": "^1.70.1" - } - }, "@sindresorhus/is": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", @@ -10465,12 +10119,6 @@ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.9.tgz", "integrity": "sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==" }, - "@types/which": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/which/-/which-2.0.1.tgz", - "integrity": "sha512-Jjakcv8Roqtio6w1gr0D7y6twbhx6gGgFGF5BLwajPpnOIOxFkakFhCq+LmyyeAz7BX6ULrjBOxdKaCDy+4+dQ==", - "dev": true - }, "@types/winreg": { "version": "1.2.31", "resolved": "https://registry.npmjs.org/@types/winreg/-/winreg-1.2.31.tgz", @@ -10705,6 +10353,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, "requires": { "debug": "4" } @@ -11779,11 +11428,6 @@ "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" }, - "cookie": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", - "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" - }, "core-util-is": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", @@ -12709,6 +12353,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, "optional": true, "requires": { "iconv-lite": "^0.6.2" @@ -12718,6 +12363,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, "optional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -13452,6 +13098,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dev": true, "requires": { "agent-base": "6", "debug": "4" @@ -14215,11 +13862,6 @@ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", "dev": true }, - "lru_map": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", - "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=" - }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -14629,14 +14271,6 @@ } } }, - "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "requires": { - "whatwg-url": "^5.0.0" - } - }, "node-gyp": { "version": "8.4.1", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz", @@ -15356,7 +14990,8 @@ "progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true }, "promise-inflight": { "version": "1.0.1", @@ -15381,11 +15016,6 @@ "dev": true, "optional": true }, - "proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -16469,11 +16099,6 @@ "punycode": "^2.1.1" } }, - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" - }, "truncate-utf8-bytes": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", @@ -16773,11 +16398,6 @@ "defaults": "^1.0.3" } }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" - }, "webpack": { "version": "5.64.2", "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.64.2.tgz", @@ -16937,15 +16557,6 @@ "integrity": "sha512-cp5qdmHnu5T8wRg2G3vZZHoJPN14aqQ89SyQ11NpGH5zEMDCclt49rzo+MaRazk7/UeILhAI+/sEtcM+7Fr0nw==", "dev": true }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 7dbacb2f51..5d7c624799 100644 --- a/package.json +++ b/package.json @@ -71,10 +71,10 @@ "build:dist": "rimraf dist && npm run build:main && npm run build:renderer", "build:win": "electron-builder --win --ia32 --x64", "build:linux": "electron-builder --linux --ia32 --x64", - "build:linuxdir": "electron-builder --linux --dir", - "build:flatpak": "cp LICENSE release/linux-unpacked/ && cp electron-version release/linux-unpacked/version && electron-installer-flatpak --src release/linux-unpacked --dest release/ --arch x64 --config flatconf.json", - "build:docker": "electron-builder --linux --win --ia32 --x64 --publish onTagOrDraft", - "build:mac": "electron-builder --mac --ia32 --x64" + "build:mac": "electron-builder --mac --ia32 --x64", + "build:linuxdir": "electron-builder --linux --x64 --dir && cp electron-version release/linux-unpacked/version && cp LICENSE release/linux-unpacked/", + "build:flatpak": "electron-installer-flatpak --src release/linux-unpacked --dest release/ --arch x64 --config flatconf.json", + "build:docker": "electron-builder --linux --win --ia32 --x64 --publish onTagOrDraft" }, "dependencies": { "@angular/animations": "^5.2.9", @@ -87,8 +87,6 @@ "@angular/platform-browser-dynamic": "^5.2.9", "@angular/router": "^5.2.9", "@node-steam/vdf": "^2.0.1", - "@sentry/electron": "^2.5.4", - "@sentry/webpack-plugin": "^1.18.3", "ajv": "^6.4.0", "appid": "^1.0.3", "async": "^2.6.4", @@ -149,7 +147,6 @@ "@types/minimatch": "^3.0.3", "@types/node": "12.12.46", "@types/rangy": "0.0.32", - "@types/which": "^2.0.1", "@types/winreg": "^1.2.31", "angular2-template-loader": "^0.6.2", "autoprefixer": "^10.4.0", diff --git a/src/lib/file-parser.ts b/src/lib/file-parser.ts index ae59e73932..08e8ba352f 100644 --- a/src/lib/file-parser.ts +++ b/src/lib/file-parser.ts @@ -13,7 +13,6 @@ import * as _ from 'lodash'; import * as path from 'path'; import * as fs from 'fs-extra'; import * as os from 'os'; -import * as Sentry from '@sentry/electron'; import { getPath, getArgs, getStartDir } from 'windows-shortcuts-ps'; import * as xdgparse from 'xdg-parse'; diff --git a/src/lib/parsers/amazon-games.parser.ts b/src/lib/parsers/amazon-games.parser.ts index 490094cea5..3fa720049b 100644 --- a/src/lib/parsers/amazon-games.parser.ts +++ b/src/lib/parsers/amazon-games.parser.ts @@ -5,7 +5,6 @@ import * as os from "os"; import * as sqlite from "better-sqlite3"; import * as path from 'path'; import { parse } from 'yaml'; -import * as Sentry from '@sentry/electron'; export class AmazonGamesParser implements GenericParser { @@ -86,7 +85,6 @@ export class AmazonGamesParser implements GenericParser { resolve({executableLocation: launcherMode ? amazonGamesExe : null, success: games, failed:[]}); } catch(err) { - Sentry.captureException(err); reject(this.lang.errors.fatalError__i.interpolate({error: err})); } }) diff --git a/src/lib/parsers/epic.parser.ts b/src/lib/parsers/epic.parser.ts index 8b03d67de6..6f32597a41 100644 --- a/src/lib/parsers/epic.parser.ts +++ b/src/lib/parsers/epic.parser.ts @@ -6,7 +6,6 @@ import * as os from "os"; import * as genericParser from '@node-steam/vdf'; import * as path from "path"; import { globPromise } from "../helpers/glob/promise" -import * as Sentry from '@sentry/electron'; export class EpicParser implements GenericParser { @@ -86,7 +85,6 @@ export class EpicParser implements GenericParser { } resolve(parsedData); }).catch((err)=>{ - Sentry.captureException(err); reject(this.lang.errors.fatalError__i.interpolate({error: err})); }); }) diff --git a/src/lib/parsers/exe.parser.ts b/src/lib/parsers/exe.parser.ts index 24f8673674..4bb1c8a52f 100644 --- a/src/lib/parsers/exe.parser.ts +++ b/src/lib/parsers/exe.parser.ts @@ -4,7 +4,6 @@ import * as _ from "lodash"; import * as fs from "fs-extra"; import * as genericParser from '@node-steam/vdf'; import * as path from "path"; -import * as Sentry from '@sentry/electron'; export class SteamParser implements GenericParser { @@ -36,7 +35,6 @@ export class SteamParser implements GenericParser { } resolve(parsedData); }).catch((err)=>{ - Sentry.captureException(err); reject(this.lang.errors.fatalError__i.interpolate({error: err})); }); }) diff --git a/src/lib/parsers/gog-galaxy.parser.ts b/src/lib/parsers/gog-galaxy.parser.ts index 4a76befe38..61c1dd341b 100644 --- a/src/lib/parsers/gog-galaxy.parser.ts +++ b/src/lib/parsers/gog-galaxy.parser.ts @@ -4,7 +4,6 @@ import * as _ from "lodash"; import * as fs from "fs-extra"; import * as genericParser from '@node-steam/vdf'; import * as path from "path"; -import * as Sentry from '@sentry/electron'; import * as os from "os"; import * as json from "../helpers/json"; import * as sqlite from "better-sqlite3"; @@ -94,7 +93,6 @@ export class GOGParser implements GenericParser { } resolve(parsedData); }).catch((err)=>{ - Sentry.captureException(err); reject(this.lang.errors.fatalError__i.interpolate({error: err})); }); }) diff --git a/src/lib/parsers/itch-io.parser.ts b/src/lib/parsers/itch-io.parser.ts index 51358e739d..918e7fe28c 100644 --- a/src/lib/parsers/itch-io.parser.ts +++ b/src/lib/parsers/itch-io.parser.ts @@ -3,7 +3,6 @@ import { APP } from '../../variables'; import * as fs from "fs-extra"; import * as os from "os"; import * as sqlite from "better-sqlite3"; -import * as Sentry from '@sentry/electron'; export class ItchIoParser implements GenericParser { @@ -79,7 +78,6 @@ export class ItchIoParser implements GenericParser { .filter((gameDetails:any) => gameDetails !== null); resolve({success: games, failed:[]}); } catch(err) { - Sentry.captureException(err); reject(this.lang.errors.fatalError__i.interpolate({error: err})); } }) diff --git a/src/lib/parsers/manual.parser.ts b/src/lib/parsers/manual.parser.ts index cab84a3337..c7f5e98b56 100644 --- a/src/lib/parsers/manual.parser.ts +++ b/src/lib/parsers/manual.parser.ts @@ -4,7 +4,6 @@ import * as _ from "lodash"; import * as fs from "fs-extra"; import * as genericParser from '@node-steam/vdf'; import * as path from "path"; -import * as Sentry from '@sentry/electron'; import { stat } from 'original-fs'; export class ManualParser implements GenericParser { @@ -47,14 +46,12 @@ export class ManualParser implements GenericParser { } } catch (err) { - Sentry.captureException(err); parsedData.failed.push(filePath); } } } return parsedData; }).catch((err) => { - Sentry.captureException(err); return undefined; }); } diff --git a/src/lib/parsers/origin.parser.ts b/src/lib/parsers/origin.parser.ts index 029837efca..3120d1c294 100644 --- a/src/lib/parsers/origin.parser.ts +++ b/src/lib/parsers/origin.parser.ts @@ -4,7 +4,6 @@ import * as _ from "lodash"; import * as fs from "fs-extra"; import * as genericParser from '@node-steam/vdf'; import * as path from "path"; -import * as Sentry from '@sentry/electron'; export class SteamParser implements GenericParser { @@ -36,7 +35,6 @@ export class SteamParser implements GenericParser { } resolve(parsedData); }).catch((err)=>{ - Sentry.captureException(err); reject(this.lang.errors.fatalError__i.interpolate({error: err})); }); }) diff --git a/src/lib/parsers/steam.parser.ts b/src/lib/parsers/steam.parser.ts index 18003565a1..15f950a3d6 100644 --- a/src/lib/parsers/steam.parser.ts +++ b/src/lib/parsers/steam.parser.ts @@ -6,7 +6,6 @@ import * as genericParser from '@node-steam/vdf'; import * as path from "path"; import * as appid from "appid"; import * as bvdf from "binary-vdf"; -import * as Sentry from '@sentry/electron'; import * as json from "../helpers/json"; export class SteamParser implements GenericParser { @@ -72,7 +71,6 @@ export class SteamParser implements GenericParser { resolve(parsedData); }) .catch((err)=>{ - Sentry.captureException(err); reject(this.lang.errors.fatalError__i.interpolate({error: err})); }); diff --git a/src/lib/parsers/uplay.parser.ts b/src/lib/parsers/uplay.parser.ts index 6d3ec93a45..cd322995cc 100644 --- a/src/lib/parsers/uplay.parser.ts +++ b/src/lib/parsers/uplay.parser.ts @@ -7,7 +7,6 @@ import * as Registry from "winreg"; import * as genericParser from '@node-steam/vdf'; import * as path from "path"; import * as os from "os"; -import * as Sentry from '@sentry/electron'; export class UPlayParser implements GenericParser { @@ -203,7 +202,6 @@ export class UPlayParser implements GenericParser { } resolve(parsedData); }).catch((err)=>{ - Sentry.captureException(err); reject(this.lang.errors.fatalError__i.interpolate({error: err})); }); }) diff --git a/src/main/app.ts b/src/main/app.ts index 8f2ffaa1a5..193d216ca7 100644 --- a/src/main/app.ts +++ b/src/main/app.ts @@ -5,10 +5,6 @@ import * as paths from "../paths"; import * as path from 'path'; import * as url from 'url'; -// Sentry setup -import * as Sentry from "@sentry/electron"; -Sentry.init({dsn: 'https://6d0c7793f478480d8b82fb5d4e55ecea@o406253.ingest.sentry.io/5273341'}); - // Window setup const windowStateKeeper = require('electron-window-state'); diff --git a/src/renderer/app.ts b/src/renderer/app.ts index d2cf818d7b..5f33ee219c 100644 --- a/src/renderer/app.ts +++ b/src/renderer/app.ts @@ -11,10 +11,6 @@ import './styles/themes.global.scss'; import './styles/fonts.global.scss'; import './styles/main.global.scss'; -// Sentry setup -import * as Sentry from "@sentry/electron"; -Sentry.init({dsn: 'https://6d0c7793f478480d8b82fb5d4e55ecea@o406253.ingest.sentry.io/5273341'}); - if (process.env.NODE_ENV === 'production') { enableProdMode(); } diff --git a/src/renderer/services/preview.service.ts b/src/renderer/services/preview.service.ts index 7ad1c54786..8cc74094ea 100644 --- a/src/renderer/services/preview.service.ts +++ b/src/renderer/services/preview.service.ts @@ -20,7 +20,6 @@ import * as ids from '../../lib/helpers/steam'; import * as _ from "lodash"; import * as fs from "fs-extra"; import * as path from "path"; -import * as Sentry from "@sentry/electron"; @Injectable() export class PreviewService { @@ -212,7 +211,6 @@ export class PreviewService { this.previewVariables.listIsBeingSaved = false; this.loggerService.error(this.lang.errors.fatalError,{ invokeAlert: true, alertTimeout: 3000 }); this.loggerService.error(this.lang.errors.fatalError__i.interpolate({error: failureError})); - Sentry.captureException(failureError); return false; }) return chain; @@ -501,7 +499,6 @@ export class PreviewService { this.loggerService.error(error); this.previewVariables.listIsBeingGenerated = false; this.previewDataChanged.next(); - Sentry.captureException(error); }); } } diff --git a/webpack/renderer.ts b/webpack/renderer.ts index 51db0af8f4..49c90144f9 100644 --- a/webpack/renderer.ts +++ b/webpack/renderer.ts @@ -1,6 +1,5 @@ import * as HtmlWebpackPlugin from 'html-webpack-plugin'; import * as MiniCssExtractPlugin from 'mini-css-extract-plugin'; -import * as SentryCliPlugin from '@sentry/webpack-plugin'; import { merge } from 'webpack-merge'; import { Configuration } from 'webpack'; @@ -112,18 +111,6 @@ let productionConfig: Configuration = { bail: false }; -if(process.env.SENTRY_AUTH) { - clientConfig.plugins.push( - new SentryCliPlugin({ - include: '../src', - org: 'steam-rom-manager', - project: 'steam-rom-manager', - release: require('child_process').execSync('git rev-parse --short HEAD').toString().trim(), - authToken: process.env.SENTRY_AUTH - }) - ) -} - if (process.env.NODE_ENV === 'production') module.exports = merge(clientConfig, productionConfig); else module.exports = merge(clientConfig, developmentConfig);