diff --git a/package-lock.json b/package-lock.json index 687294b..e534b2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,6 +42,7 @@ "react": "^17.0.2", "react-device-detect": "^1.17.0", "react-dom": "^17.0.2", + "string.prototype.startswith": "^1.0.0", "tls": "^0.0.1", "uuid": "^8.3.2", "webpack": "^5.0.0", @@ -4336,6 +4337,15 @@ "node": ">=6" } }, + "node_modules/string.prototype.startswith": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.startswith/-/string.prototype.startswith-1.0.0.tgz", + "integrity": "sha512-VHhsDkuf8gsw4JNRK9cIZjYe6r7PsVUutVohaBhqYAoPaRADoQH+mMgUg7Cs/TgQeDGEvI+PzPEMOdvdsCMvpg==", + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, "node_modules/string.prototype.trimend": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", @@ -8726,6 +8736,15 @@ } } }, + "string.prototype.startswith": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.startswith/-/string.prototype.startswith-1.0.0.tgz", + "integrity": "sha512-VHhsDkuf8gsw4JNRK9cIZjYe6r7PsVUutVohaBhqYAoPaRADoQH+mMgUg7Cs/TgQeDGEvI+PzPEMOdvdsCMvpg==", + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, "string.prototype.trimend": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", diff --git a/package.json b/package.json index a334f8c..5047545 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "react": "^17.0.2", "react-device-detect": "^1.17.0", "react-dom": "^17.0.2", + "string.prototype.startswith": "^1.0.0", "tls": "^0.0.1", "uuid": "^8.3.2", "webpack": "^5.0.0", diff --git a/pages/_app.tsx b/pages/_app.tsx index 3d43130..4daa525 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -5,6 +5,8 @@ import SEO from '../next-seo.config'; import type {AppProps} from 'next/app'; import {appWithTranslation} from 'next-i18next'; +import 'string.prototype.startswith'; + import { initSentry } from '../src/sentry'; initSentry(); diff --git a/yarn.lock b/yarn.lock index 39ae521..2fb2fa4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1276,7 +1276,7 @@ dependencies: "is-arrayish" "^0.2.1" -"es-abstract@^1.18.0-next.1", "es-abstract@^1.18.0-next.2": +"es-abstract@^1.17.5", "es-abstract@^1.18.0-next.1", "es-abstract@^1.18.0-next.2": "integrity" "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==" "resolved" "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz" "version" "1.18.3" @@ -1473,11 +1473,6 @@ "resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" "version" "1.0.0" -"fsevents@~2.3.1", "fsevents@~2.3.2": - "integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==" - "resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" - "version" "2.3.2" - "function-bind@^1.1.1": "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" "resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" @@ -3090,6 +3085,14 @@ "is-fullwidth-code-point" "^2.0.0" "strip-ansi" "^5.1.0" +"string.prototype.startswith@^1.0.0": + "integrity" "sha512-VHhsDkuf8gsw4JNRK9cIZjYe6r7PsVUutVohaBhqYAoPaRADoQH+mMgUg7Cs/TgQeDGEvI+PzPEMOdvdsCMvpg==" + "resolved" "https://registry.npmjs.org/string.prototype.startswith/-/string.prototype.startswith-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "define-properties" "^1.1.3" + "es-abstract" "^1.17.5" + "string.prototype.trimend@^1.0.4": "integrity" "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==" "resolved" "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz"