From d180989ce9c7600bb51ebc6509403da2d855aeae Mon Sep 17 00:00:00 2001 From: Tim Fish Date: Tue, 23 Apr 2024 16:50:45 +0200 Subject: [PATCH] feat: Update to v7.112.0 of the JavaScript SDKs (#888) --- package.json | 14 +-- src/renderer/sdk.ts | 2 +- yarn.lock | 221 +++++++++++++++++++++++++------------------- 3 files changed, 134 insertions(+), 103 deletions(-) diff --git a/package.json b/package.json index f81dfa4d..e6de65fc 100644 --- a/package.json +++ b/package.json @@ -55,19 +55,19 @@ "e2e": "cross-env TS_NODE_PROJECT=tsconfig.test.json xvfb-maybe mocha --require ts-node/register/transpile-only --retries 3 ./test/e2e/*.ts" }, "dependencies": { - "@sentry/browser": "7.110.0", - "@sentry/core": "7.110.0", - "@sentry/node": "7.110.0", - "@sentry/types": "7.110.0", - "@sentry/utils": "7.110.0", + "@sentry/browser": "7.112.0", + "@sentry/core": "7.112.0", + "@sentry/node": "7.112.0", + "@sentry/types": "7.112.0", + "@sentry/utils": "7.112.0", "deepmerge": "4.3.0", "tslib": "^2.5.0" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.2.1", "@rollup/plugin-typescript": "^11.1.4", - "@sentry-internal/eslint-config-sdk": "7.110.0", - "@sentry-internal/typescript": "7.110.0", + "@sentry-internal/eslint-config-sdk": "7.112.0", + "@sentry-internal/typescript": "7.112.0", "@types/busboy": "^0.2.3", "@types/chai": "^4.2.10", "@types/chai-as-promised": "^7.1.5", diff --git a/src/renderer/sdk.ts b/src/renderer/sdk.ts index 7f104723..28b1bf50 100644 --- a/src/renderer/sdk.ts +++ b/src/renderer/sdk.ts @@ -46,7 +46,7 @@ interface ElectronRendererOptions extends BrowserOptions { export function init( options: ElectronRendererOptions & O = {} as ElectronRendererOptions & O, // This parameter name ensures that TypeScript error messages contain a hint for fixing SDK version mismatches - originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v7_110_0: O) => void = browserInit, + originalInit: (if_you_get_a_typescript_error_ensure_sdks_use_version_v7_112_0: O) => void = browserInit, ): void { ensureProcess('renderer'); diff --git a/yarn.lock b/yarn.lock index cafc3f17..dc21f233 100644 --- a/yarn.lock +++ b/yarn.lock @@ -164,13 +164,13 @@ estree-walker "^2.0.2" picomatch "^2.3.1" -"@sentry-internal/eslint-config-sdk@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-7.110.0.tgz#d928ba988fab46a52a6499e852fe2521ba29f1bc" - integrity sha512-SC/ybGO6a+dzNkMIhTkX5nsOLT30U3ZJ3K3SV7PDnIqDlSdI1tZyjct/9xUqC78Ajnbo/6j4aX37lB28jMLeFA== +"@sentry-internal/eslint-config-sdk@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-7.112.0.tgz#e6cdad04f7fdf6eebc672836fc90d3cdfe9b6571" + integrity sha512-bkWmtRuwWv1NLOB6DX0bFb+NdiwInamvNzOCiu+Qa2i1+wqJNMT4b8babol4+YXfvVEJN58/iG8D3EMlVAWIlg== dependencies: - "@sentry-internal/eslint-plugin-sdk" "7.110.0" - "@sentry-internal/typescript" "7.110.0" + "@sentry-internal/eslint-plugin-sdk" "7.112.0" + "@sentry-internal/typescript" "7.112.0" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -180,98 +180,110 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-7.110.0.tgz#4f6d72cd3d33e6c3436bd872423bc1edd2ab563d" - integrity sha512-45tBX57Qbv+1V54IYl1lngAkjf5ycaP0e1br7yeNRLidRW2vNl/6nfWw4BO59ZNCJoE98cqeijHHYQvzPZKmzA== +"@sentry-internal/eslint-plugin-sdk@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-7.112.0.tgz#83cb175c581baa5698eb15b4d8e8ca8ccb0047f3" + integrity sha512-n1lhJZf7Q9XCv7LIT+GjG2pNsxGlW1mguzrflM7NuIxOT2CUDmWgFvszaApjtq2gPj7I8sphklSf1eyH7KaR/g== dependencies: requireindex "~1.1.0" -"@sentry-internal/feedback@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.110.0.tgz#7103a08cd6bfb43583087d7476a5f24c5857cc22" - integrity sha512-hrfWa3WkSOiBO5Srcr1j4kuGOlbsQic+REpLOofllVIs56DOo9+Aj9svxT+dcvZERv/nlFSV/E0BfGy9g08IEg== - dependencies: - "@sentry/core" "7.110.0" - "@sentry/types" "7.110.0" - "@sentry/utils" "7.110.0" - -"@sentry-internal/replay-canvas@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-7.110.0.tgz#af21b56157f44c44a2eedf4326ef37f4ea440fa8" - integrity sha512-SNa+AfyfX+vc6Xw0pIfDsa5Qnc9cpexU6M2D19gadtVhmep7qoFBuhBVZrSv6BtdCxvrb5EyYsHYGfjQdIDcvg== - dependencies: - "@sentry/core" "7.110.0" - "@sentry/replay" "7.110.0" - "@sentry/types" "7.110.0" - "@sentry/utils" "7.110.0" - -"@sentry-internal/tracing@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.110.0.tgz#00f2086b0efb8dd5a67831074e52b176aa542d32" - integrity sha512-IIHHa9e/mE7uOMJfNELI8adyoELxOy6u6TNCn5t6fphmq84w8FTc9adXkG/FY2AQpglkIvlILojfMROFB2aaAQ== - dependencies: - "@sentry/core" "7.110.0" - "@sentry/types" "7.110.0" - "@sentry/utils" "7.110.0" - -"@sentry-internal/typescript@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-7.110.0.tgz#643868b601fac03cfdc36b2fb8c1b3eececee1d0" - integrity sha512-ANRip5PD184omixtJtpI7c25oCW8wmYi7Suk0nV4kY0X1IIxMEHZhTBWnSBadnJeofjh/PnZzvYoZLePb8RGOA== - -"@sentry/browser@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.110.0.tgz#40900d76a8f423a7163a594ec9267a2e0ebd8a5b" - integrity sha512-gIxedVm6ZgkjQfgCDgLWJgAsolq6OxV8hQ2j1+RaDL2RngvelFo/vlX5f2sD6EbjVp77Cri8u5GkMJF+v4p84g== - dependencies: - "@sentry-internal/feedback" "7.110.0" - "@sentry-internal/replay-canvas" "7.110.0" - "@sentry-internal/tracing" "7.110.0" - "@sentry/core" "7.110.0" - "@sentry/replay" "7.110.0" - "@sentry/types" "7.110.0" - "@sentry/utils" "7.110.0" - -"@sentry/core@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.110.0.tgz#2945d3ac0ef116ed313fbfb9da4f483b66fe5bca" - integrity sha512-g4suCQO94mZsKVaAbyD1zLFC5YSuBQCIPHXx9fdgtfoPib7BWjWWePkllkrvsKAv4u8Oq05RfnKOhOMRHpOKqg== - dependencies: - "@sentry/types" "7.110.0" - "@sentry/utils" "7.110.0" - -"@sentry/node@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.110.0.tgz#c75a7568e641ddb48d1636e62aaa37e9589e8806" - integrity sha512-YPfweCSzo/omnx5q1xOEZfI8Em3jnPqj7OM4ObXmoSKEK+kM1oUF3BTRzw5BJOaOCSTBFY1RAsGyfVIyrwxWnA== - dependencies: - "@sentry-internal/tracing" "7.110.0" - "@sentry/core" "7.110.0" - "@sentry/types" "7.110.0" - "@sentry/utils" "7.110.0" - -"@sentry/replay@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.110.0.tgz#e185c88cec573724b46b79ada7ef5a7098acd1b6" - integrity sha512-EEpGPf3iBJjWejvoxKLVMnLtLNwPTUxHJV1oxUkbcSi3B/tG5hW7LArYDjAcvkfa4VmA8JLCwj2vYU5MQ8tj6g== - dependencies: - "@sentry-internal/tracing" "7.110.0" - "@sentry/core" "7.110.0" - "@sentry/types" "7.110.0" - "@sentry/utils" "7.110.0" - -"@sentry/types@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.110.0.tgz#c3f252b008cab905097fc71e174191f20bdaf4f3" - integrity sha512-DqYBLyE8thC5P5MuPn+sj8tL60nCd/f5cerFFPcudn5nJ4Zs1eI6lKlwwyHYTEu5c4KFjCB0qql6kXfwAHmTyA== - -"@sentry/utils@7.110.0": - version "7.110.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.110.0.tgz#68ef59359d608a1a6a7205b780196a042ad73ab2" - integrity sha512-VBsdLLN+5tf73fhf/Cm7JIsUJ6y9DkJj8h4I6Mxx0rszrvOyH6S5px40K+V4jdLBzMEvVinC7q2Cbf1YM18BSw== - dependencies: - "@sentry/types" "7.110.0" +"@sentry-internal/feedback@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-7.112.0.tgz#3dd9ccf7a57fe6a0d643a4ae534dcd0f346d607c" + integrity sha512-aqndxnTvZnqo/uUhuWLNWY/0W3zOxNs9FofLYi1SK5+QzMqDIyFY1dc9+ZqQH3/9GIlEGao+zveGAHeUEtpE8g== + dependencies: + "@sentry/core" "7.112.0" + "@sentry/types" "7.112.0" + "@sentry/utils" "7.112.0" + +"@sentry-internal/replay-canvas@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-7.112.0.tgz#339d4cbf97c7a1573402459c700331b3375b0de7" + integrity sha512-DwpGY5oZf0ab4Jm9HtM8fB3xqnpAcxBKORqiVHZizz7eo0arrb1n9HCXcxsRNNOAuMRBS8aEHKberfdL6rYpyw== + dependencies: + "@sentry/core" "7.112.0" + "@sentry/replay" "7.112.0" + "@sentry/types" "7.112.0" + "@sentry/utils" "7.112.0" + +"@sentry-internal/tracing@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.112.0.tgz#bf77cbf613a95379e6ae4dfe0f53bfe445cd32b6" + integrity sha512-PkA3NaSg4nTWp9pwVsV9x0EBiY0pEAnIboIpMuLGE5MJ/FL10NC5Fn1GPebcxNnOou62dM7P/z7Wtcm8czAn6A== + dependencies: + "@sentry/core" "7.112.0" + "@sentry/types" "7.112.0" + "@sentry/utils" "7.112.0" + +"@sentry-internal/typescript@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-7.112.0.tgz#9f7e26903f1c15c60a936b46dd665337ef3fb90d" + integrity sha512-f7tAj2/VZVkesrmk36teyV1ew3NmNe5M47ODPMZvDwxItAIfOpxwrnu90QGyXEpIrv/SaE332P1Q+dcARwuU5A== + +"@sentry/browser@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.112.0.tgz#9d20bb62f848738c0711cdd2c01a122bac917b37" + integrity sha512-xqxtlQ/GMHxYcJYAhWR0ELO4kCnQV9GuIcBUEHlU/mYbPBDPxNYFzXkoz3514DBKxRVTHDkVle6vLuG0yKvXsg== + dependencies: + "@sentry-internal/feedback" "7.112.0" + "@sentry-internal/replay-canvas" "7.112.0" + "@sentry-internal/tracing" "7.112.0" + "@sentry/core" "7.112.0" + "@sentry/integrations" "7.112.0" + "@sentry/replay" "7.112.0" + "@sentry/types" "7.112.0" + "@sentry/utils" "7.112.0" + +"@sentry/core@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.112.0.tgz#081516c160c1e35ebb09d2110cee84a4c84a23d5" + integrity sha512-q4K0fTULXMf9vb0Je6qFwQyVjfMvuPiKRRvRHcpWvWudV7oTcfPixlbbIQaj3OiY3nrjk5q86hktqboI/Z6ISw== + dependencies: + "@sentry/types" "7.112.0" + "@sentry/utils" "7.112.0" + +"@sentry/integrations@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.112.0.tgz#bfe2ec6bac6228ef1b2f31e6484131283e654599" + integrity sha512-brN6eZkXuz1e/OKhMGJsAZjc0cUU+5G+LQWet+gGXWVGM2v7uY7mKDHr5Yl/c8WxeJBurjJzJn7YmtmR9++ZKQ== + dependencies: + "@sentry/core" "7.112.0" + "@sentry/types" "7.112.0" + "@sentry/utils" "7.112.0" + localforage "^1.8.1" + +"@sentry/node@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.112.0.tgz#ab32ac0d0c1908bd39484123e30024029a313b9c" + integrity sha512-Me0Um3PbPQADHhm5zJ1EM4/me+i1OMT3w+1ZUgkPGX+2Wtqfp0djHF/SzCOL45X1IR+YLVrcCTpyAWRhPZAdVw== + dependencies: + "@sentry-internal/tracing" "7.112.0" + "@sentry/core" "7.112.0" + "@sentry/integrations" "7.112.0" + "@sentry/types" "7.112.0" + "@sentry/utils" "7.112.0" + +"@sentry/replay@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.112.0.tgz#ddd0a3c1d93456fbb189ffe625cbb07456a84b27" + integrity sha512-uP38yQpYKdU9onJEl77nSJslajXMbTLp3j+8EK4tNnXDMv+yDnSouODEdHQyX9fajKHsFi/FjjOIrVujR0Qd7w== + dependencies: + "@sentry-internal/tracing" "7.112.0" + "@sentry/core" "7.112.0" + "@sentry/types" "7.112.0" + "@sentry/utils" "7.112.0" + +"@sentry/types@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.112.0.tgz#1bd482e21db854e0235875bc57d9649e2bd07ba1" + integrity sha512-ASonavVCSrgDjMyWjuNMSytKMGYJq7d/1+IoBJsQFLgLe1gLIXuDNbhfUAM4A+muQUGZepV9iRX4ZYhiROMHVQ== + +"@sentry/utils@7.112.0": + version "7.112.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.112.0.tgz#e9f09d63148f30a452905c9079de78fb52b3af9c" + integrity sha512-dNGcNWKoJE9VwIAZxQsqC6/7BC+8wn1rT7Km9S8xltcjhRvaK4n3QZwXoNLHjNWT0mS2lZaFyRx2hsHjblQqLg== + dependencies: + "@sentry/types" "7.112.0" "@sindresorhus/is@^4.0.0": version "4.6.0" @@ -2225,6 +2237,11 @@ ignore@^5.2.0: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== +immediate@~3.0.5: + version "3.0.6" + resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" + integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ== + import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -2610,6 +2627,13 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +lie@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/lie/-/lie-3.1.1.tgz#9a436b2cc7746ca59de7a41fa469b3efb76bd87e" + integrity sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw== + dependencies: + immediate "~3.0.5" + load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" @@ -2620,6 +2644,13 @@ load-json-file@^4.0.0: pify "^3.0.0" strip-bom "^3.0.0" +localforage@^1.8.1: + version "1.10.0" + resolved "https://registry.yarnpkg.com/localforage/-/localforage-1.10.0.tgz#5c465dc5f62b2807c3a84c0c6a1b1b3212781dd4" + integrity sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg== + dependencies: + lie "3.1.1" + locate-path@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286"