From 03dee91d813727240045a1cf8169950a97d17c23 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 18:16:11 -0300 Subject: [PATCH] build(deps): bump @sentry/core from 8.9.2 to 8.25.0 (#710) * build(deps): bump @sentry/core from 8.9.2 to 8.25.0 Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript) from 8.9.2 to 8.25.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/8.9.2...8.25.0) --- updated-dependencies: - dependency-name: "@sentry/core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update Siblings on package.json * Update CHANGELOG.md * fix EOF * upgrade to 8.13 * upgrade to 8.15.0 * bump to 8.25.0 * sleep test * more safe fields * test * test2 * test other naming scheme * check all folders * action broke * log * maybe upload doesnt like anymore long paths? * it was the path ... * bump native samples --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: LucasZF --- .github/workflows/buildandtest.yml | 5 +- CHANGELOG.md | 4 +- example/ionic-angular-v3/package.json | 2 +- example/ionic-angular-v3/yarn.lock | 156 +++++++++--------- example/ionic-angular-v4/package.json | 4 +- example/ionic-angular-v4/yarn.lock | 156 +++++++++--------- example/ionic-angular-v5/ios/App/Podfile.lock | 14 +- example/ionic-angular-v5/package.json | 2 +- example/ionic-angular-v5/yarn.lock | 156 +++++++++--------- example/ionic-angular-v6/ios/App/Podfile.lock | 14 +- example/ionic-angular-v6/package.json | 2 +- example/ionic-angular-v6/yarn.lock | 156 +++++++++--------- example/ionic-vue3/ios/App/Podfile.lock | 14 +- example/ionic-vue3/yarn.lock | 81 ++++++++- package.json | 26 +-- src/nativeOptions.ts | 2 + src/options.ts | 2 +- src/wrapper.ts | 2 +- test/wrapper.test.ts | 16 ++ tsconfig.build.json | 8 +- tsconfig.esm.json | 8 +- tsconfig.json | 24 ++- yarn.lock | 148 ++++++++--------- 23 files changed, 539 insertions(+), 463 deletions(-) diff --git a/.github/workflows/buildandtest.yml b/.github/workflows/buildandtest.yml index 8135f395..3827ebf1 100644 --- a/.github/workflows/buildandtest.yml +++ b/.github/workflows/buildandtest.yml @@ -84,7 +84,8 @@ jobs: uses: actions/upload-artifact@v4 with: name: yalc-package - path: ~/.yalc # Path to yalc directory where the package is published + if-no-files-found: error + path: ~/.yalc/packages/@sentry/capacitor/ # Path to yalc directory where the package is published outputs: # this needs to be passed on, because the `needs` context only looks at direct ancestors (so steps which depend on @@ -128,7 +129,7 @@ jobs: uses: actions/download-artifact@v4 with: name: yalc-package - path: ~/.yalc # Ensure this path matches where yalc expects to find the package + path: ~/.yalc/packages/@sentry/capacitor/ # Ensure this path matches where yalc expects to find the package - name: Publish test broken node. working-directory: example/broken_node_module diff --git a/CHANGELOG.md b/CHANGELOG.md index ad75ba61..3055f828 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### Dependencies +- Bump JavaScript SDK from v8.9.2 to v8.25.0 ([#710](https://github.com/getsentry/sentry-capacitor/pull/710)) + - [changelog](https://github.com/getsentry/sentry-javascript/blob/8.25.0/CHANGELOG.md) + - [diff](https://github.com/getsentry/sentry-javascript/compare/8.9.2...8.25.0) - Bump Android SDK from v7.6.0 to v7.14.0 ([#705](https://github.com/getsentry/sentry-capacitor/pull/705), [#711](https://github.com/getsentry/sentry-capacitor/pull/711)) - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7140) - [diff](https://github.com/getsentry/sentry-java/compare/7.6.0...7.14.0) @@ -11,7 +14,6 @@ - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8360) - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.21.0...8.36.0) - ### How to Upgrade to Version 1: - Angular minimum supported version changed to version 14, upgrade to Angular 14 or higher for using the latest SDK. diff --git a/example/ionic-angular-v3/package.json b/example/ionic-angular-v3/package.json index 1769435c..f32e28f5 100644 --- a/example/ionic-angular-v3/package.json +++ b/example/ionic-angular-v3/package.json @@ -14,7 +14,7 @@ "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "6.7.5", - "@sentry/angular": "8.9.2", + "@sentry/angular": "8.25.0", "@sentry/capacitor": "file:.yalc/@sentry/capacitor", "rxjs": "~6.5.5", "tslib": "^2.0.0", diff --git a/example/ionic-angular-v3/yarn.lock b/example/ionic-angular-v3/yarn.lock index 5f6873a5..16338836 100644 --- a/example/ionic-angular-v3/yarn.lock +++ b/example/ionic-angular-v3/yarn.lock @@ -2187,75 +2187,75 @@ "@angular-devkit/schematics" "17.0.2" jsonc-parser "3.2.0" -"@sentry-internal/browser-utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.9.2.tgz#36b077fcb1a4ee8f2ed67437b2d9030c4e9e7586" - integrity sha512-2A0A6TnfzFDvYCRWS9My3t+JKG6KlslhyaN35BTiOTlYDauEekyJP7BFFyeTJXCHm2BQgI8aRZhBKm+oR9QuYw== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/feedback@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.9.2.tgz#0afa4c630820b49125ad4b9ad2b38db10de81134" - integrity sha512-v04Q+08ohwautwmiDfK5hI+nFW2B/IYhBz7pZM9x1srkwmNA69XOFyo5u34TeVHhYOPbMM2Ubs0uNEcSWHgbbQ== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/replay-canvas@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.9.2.tgz#76ff2302f7dd6e3870a34b656e6b9b34e9275c18" - integrity sha512-vu9TssSjO+XbZjnoyYxMrBI4KgXG+zyqw3ThfPqG6o7O0BGa54fFwtZiMdGq/BHz017FuNiEz4fgtzuDd4gZJQ== - dependencies: - "@sentry-internal/replay" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/replay@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.9.2.tgz#35460590a4be71ba050fd49de95e3f8b0f27e50f" - integrity sha512-YPnrnXJd6mJpJspJ8pI8hd1KTMOxw+BARP5twiDwXlij1RTotwnNoX9UGaSm+ZPTexPD++6Zyp6xQf4vKKP3yg== - dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry/angular@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/angular/-/angular-8.9.2.tgz#719ec90155ac8ffe2df0b8d671e546a346e1d350" - integrity sha512-U9bfhxQ/LMiCO1gOBUvfErLSpz9FZj/+uI74C7fBqcJHl5vrrB3xAYnx0HSxa06ZYzSxm7yu+u/Y0AWTI0OzDw== - dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" +"@sentry-internal/browser-utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.25.0.tgz#a240133f845f2314b39e7bef7a70fcc79e6e1dd3" + integrity sha512-nlWgp1lVhNQOTUplW85G3qm0fOIgAhJ/sl/31OIuScVrITYhYDF2bO+Zv/jQ8YsdUBAUXqY1tPT9wwPJklnPhw== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/feedback@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.25.0.tgz#d5d1371b6250abe239834c7b9a3fa984d72a03d2" + integrity sha512-327I5XJAFrsgjc5qUKxZ9rff3WNCfGvf1fIii70LQ2YQhQgG4XHZILmkD06ETEyXb+H1tkrNQQEJ1/d4ai+q5g== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/replay-canvas@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.25.0.tgz#1841bf72c87ad52ebefb4abfc58ccf6d966357a0" + integrity sha512-dPXlkAbkFL1DBum8rGTaHS+apJKaXEZJF9gLcBBKTruhTCizrugFLxajzIfVSiFVuwNKuJWa2fzhzbeQM0ee7w== + dependencies: + "@sentry-internal/replay" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/replay@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.25.0.tgz#f80125546fd061923b76dc5cb9b66da47cfd811b" + integrity sha512-3f7x8EYthyj157uV9V8vBjun+1gJnHhh2+i0qxYLhMGx7N2Fq0J3Bvvo1rosSg+fYh5HzPNZDufwIRdg5C/MQw== + dependencies: + "@sentry-internal/browser-utils" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry/angular@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/angular/-/angular-8.25.0.tgz#89181d1671de9cc7fa05764ca357a48cbf58f500" + integrity sha512-sOHQrmD9B0adZxKTKs7CS0PaEShOBYRoCKOGjNx0iCEpPiswHHi9DzpniRYk1vNIL3Z0O7/eWoudnBojZNs8/g== + dependencies: + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" tslib "^2.4.1" -"@sentry/browser@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.9.2.tgz#4cfd63449f0038718b5435a4537f3d11123a396b" - integrity sha512-jI5XY4j8Sa+YteokI+4SW+A/ErZxPDnspjvV3dm5pIPWvEFhvDyXWZSepqaoqwo3L7fdkRMzXY8Bi4T7qDVMWg== +"@sentry/browser@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.25.0.tgz#eaf129755c365905b427f8031b747211dc388c05" + integrity sha512-51bdVGXjyooqVGzaSGsnExqRTt9NvZ1zGFsxbbCSXi5UoEFN6zdMUz6jKYsL2K80eeELP2VKOVlobHlEzeJQfw== dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry-internal/feedback" "8.9.2" - "@sentry-internal/replay" "8.9.2" - "@sentry-internal/replay-canvas" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry-internal/browser-utils" "8.25.0" + "@sentry-internal/feedback" "8.25.0" + "@sentry-internal/replay" "8.25.0" + "@sentry-internal/replay-canvas" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/capacitor@file:.yalc/@sentry/capacitor": - version "0.18.0" + version "1.0.0-beta.1" dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/cli-darwin@2.25.2": version "2.25.2" @@ -2311,25 +2311,25 @@ "@sentry/cli-win32-i686" "2.25.2" "@sentry/cli-win32-x64" "2.25.2" -"@sentry/core@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.9.2.tgz#af0f2ec25b88da5467cf327d2ffcd555323c30e6" - integrity sha512-ixm8NISFlPlEo3FjSaqmq4nnd13BRHoafwJ5MG+okCz6BKGZ1SexEggP42/QpGvDprUUHnfncG6WUMgcarr1zA== +"@sentry/core@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.25.0.tgz#f64e50b88ee5b13f1d52b543638b2eb5c8e326d8" + integrity sha512-7KtglbrW1eX4DOHkf6i4rRIExEf2CgtQ99qZ8gn5FUaAmNMg0rK7bb1yZMx0RZtp5G1TSz/S0jQQgxHWebaEig== dependencies: - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" -"@sentry/types@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.9.2.tgz#d143383fc35552d9f153042cc6d56c5ee8ec2fa6" - integrity sha512-+LFOyQGl+zk5SZRGZD2MEURf7i5RHgP/mt3s85Rza+vz8M211WJ0YsjkIGUJFSY842nged5QLx4JysLaBlLymg== +"@sentry/types@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.25.0.tgz#cde3d900efe7fb7614a670f0af2634a2cbd92693" + integrity sha512-ojim0gDcRhGJPguYrtms4FsprX4xZz3LGNk9Z0hwTbSVEdlhQIInsQ7CYcdM3sjUs+qT7kfpxTRZGUeZNRRJcA== -"@sentry/utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.9.2.tgz#58b003d9c1302f61192e7c99ea42bf1cd5cad7f7" - integrity sha512-A4srR9mEBFdVXwSEKjQ94msUbVkMr8JeFiEj9ouOFORw/Y/ux/WV2bWVD/ZI9wq0TcTNK8L1wBgU8UMS5lIq3A== +"@sentry/utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.25.0.tgz#708ccf8b953f64e1a5915e09d4cb33105b29e436" + integrity sha512-mVlkV7S62ZZ2jM38/kOwWx2xoW8fUv2cjw2IwFKoAIPyLBh3mo1WJtvfdtN/rXGjQWZJBKW53EWaWnD00rkjyA== dependencies: - "@sentry/types" "8.9.2" + "@sentry/types" "8.25.0" "@socket.io/component-emitter@~3.1.0": version "3.1.0" diff --git a/example/ionic-angular-v4/package.json b/example/ionic-angular-v4/package.json index 540373dd..508eb44d 100644 --- a/example/ionic-angular-v4/package.json +++ b/example/ionic-angular-v4/package.json @@ -14,7 +14,7 @@ "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "6.7.5", - "@sentry/angular": "8.9.2", + "@sentry/angular": "8.25.0", "@sentry/capacitor": "file:.yalc/@sentry/capacitor", "broken_module": "file:.yalc/broken_module", "rxjs": "~6.5.5", @@ -60,4 +60,4 @@ "sentry:sourcemaps": "sentry-cli sourcemaps inject --org sentry-sdks --project sentry-capacitor ./www && sentry-cli sourcemaps upload --org sentry-sdks --project sentry-capacitor ./www" }, "version": "0.0.1" -} \ No newline at end of file +} diff --git a/example/ionic-angular-v4/yarn.lock b/example/ionic-angular-v4/yarn.lock index 17b855ea..3115a023 100644 --- a/example/ionic-angular-v4/yarn.lock +++ b/example/ionic-angular-v4/yarn.lock @@ -2172,75 +2172,75 @@ "@angular-devkit/schematics" "17.0.1" jsonc-parser "3.2.0" -"@sentry-internal/browser-utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.9.2.tgz#36b077fcb1a4ee8f2ed67437b2d9030c4e9e7586" - integrity sha512-2A0A6TnfzFDvYCRWS9My3t+JKG6KlslhyaN35BTiOTlYDauEekyJP7BFFyeTJXCHm2BQgI8aRZhBKm+oR9QuYw== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/feedback@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.9.2.tgz#0afa4c630820b49125ad4b9ad2b38db10de81134" - integrity sha512-v04Q+08ohwautwmiDfK5hI+nFW2B/IYhBz7pZM9x1srkwmNA69XOFyo5u34TeVHhYOPbMM2Ubs0uNEcSWHgbbQ== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/replay-canvas@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.9.2.tgz#76ff2302f7dd6e3870a34b656e6b9b34e9275c18" - integrity sha512-vu9TssSjO+XbZjnoyYxMrBI4KgXG+zyqw3ThfPqG6o7O0BGa54fFwtZiMdGq/BHz017FuNiEz4fgtzuDd4gZJQ== - dependencies: - "@sentry-internal/replay" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/replay@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.9.2.tgz#35460590a4be71ba050fd49de95e3f8b0f27e50f" - integrity sha512-YPnrnXJd6mJpJspJ8pI8hd1KTMOxw+BARP5twiDwXlij1RTotwnNoX9UGaSm+ZPTexPD++6Zyp6xQf4vKKP3yg== - dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry/angular@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/angular/-/angular-8.9.2.tgz#719ec90155ac8ffe2df0b8d671e546a346e1d350" - integrity sha512-U9bfhxQ/LMiCO1gOBUvfErLSpz9FZj/+uI74C7fBqcJHl5vrrB3xAYnx0HSxa06ZYzSxm7yu+u/Y0AWTI0OzDw== - dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" +"@sentry-internal/browser-utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.25.0.tgz#a240133f845f2314b39e7bef7a70fcc79e6e1dd3" + integrity sha512-nlWgp1lVhNQOTUplW85G3qm0fOIgAhJ/sl/31OIuScVrITYhYDF2bO+Zv/jQ8YsdUBAUXqY1tPT9wwPJklnPhw== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/feedback@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.25.0.tgz#d5d1371b6250abe239834c7b9a3fa984d72a03d2" + integrity sha512-327I5XJAFrsgjc5qUKxZ9rff3WNCfGvf1fIii70LQ2YQhQgG4XHZILmkD06ETEyXb+H1tkrNQQEJ1/d4ai+q5g== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/replay-canvas@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.25.0.tgz#1841bf72c87ad52ebefb4abfc58ccf6d966357a0" + integrity sha512-dPXlkAbkFL1DBum8rGTaHS+apJKaXEZJF9gLcBBKTruhTCizrugFLxajzIfVSiFVuwNKuJWa2fzhzbeQM0ee7w== + dependencies: + "@sentry-internal/replay" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/replay@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.25.0.tgz#f80125546fd061923b76dc5cb9b66da47cfd811b" + integrity sha512-3f7x8EYthyj157uV9V8vBjun+1gJnHhh2+i0qxYLhMGx7N2Fq0J3Bvvo1rosSg+fYh5HzPNZDufwIRdg5C/MQw== + dependencies: + "@sentry-internal/browser-utils" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry/angular@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/angular/-/angular-8.25.0.tgz#89181d1671de9cc7fa05764ca357a48cbf58f500" + integrity sha512-sOHQrmD9B0adZxKTKs7CS0PaEShOBYRoCKOGjNx0iCEpPiswHHi9DzpniRYk1vNIL3Z0O7/eWoudnBojZNs8/g== + dependencies: + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" tslib "^2.4.1" -"@sentry/browser@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.9.2.tgz#4cfd63449f0038718b5435a4537f3d11123a396b" - integrity sha512-jI5XY4j8Sa+YteokI+4SW+A/ErZxPDnspjvV3dm5pIPWvEFhvDyXWZSepqaoqwo3L7fdkRMzXY8Bi4T7qDVMWg== +"@sentry/browser@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.25.0.tgz#eaf129755c365905b427f8031b747211dc388c05" + integrity sha512-51bdVGXjyooqVGzaSGsnExqRTt9NvZ1zGFsxbbCSXi5UoEFN6zdMUz6jKYsL2K80eeELP2VKOVlobHlEzeJQfw== dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry-internal/feedback" "8.9.2" - "@sentry-internal/replay" "8.9.2" - "@sentry-internal/replay-canvas" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry-internal/browser-utils" "8.25.0" + "@sentry-internal/feedback" "8.25.0" + "@sentry-internal/replay" "8.25.0" + "@sentry-internal/replay-canvas" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/capacitor@file:.yalc/@sentry/capacitor": - version "0.18.0" + version "1.0.0-beta.1" dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/cli-darwin@2.25.2": version "2.25.2" @@ -2296,25 +2296,25 @@ "@sentry/cli-win32-i686" "2.25.2" "@sentry/cli-win32-x64" "2.25.2" -"@sentry/core@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.9.2.tgz#af0f2ec25b88da5467cf327d2ffcd555323c30e6" - integrity sha512-ixm8NISFlPlEo3FjSaqmq4nnd13BRHoafwJ5MG+okCz6BKGZ1SexEggP42/QpGvDprUUHnfncG6WUMgcarr1zA== +"@sentry/core@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.25.0.tgz#f64e50b88ee5b13f1d52b543638b2eb5c8e326d8" + integrity sha512-7KtglbrW1eX4DOHkf6i4rRIExEf2CgtQ99qZ8gn5FUaAmNMg0rK7bb1yZMx0RZtp5G1TSz/S0jQQgxHWebaEig== dependencies: - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" -"@sentry/types@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.9.2.tgz#d143383fc35552d9f153042cc6d56c5ee8ec2fa6" - integrity sha512-+LFOyQGl+zk5SZRGZD2MEURf7i5RHgP/mt3s85Rza+vz8M211WJ0YsjkIGUJFSY842nged5QLx4JysLaBlLymg== +"@sentry/types@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.25.0.tgz#cde3d900efe7fb7614a670f0af2634a2cbd92693" + integrity sha512-ojim0gDcRhGJPguYrtms4FsprX4xZz3LGNk9Z0hwTbSVEdlhQIInsQ7CYcdM3sjUs+qT7kfpxTRZGUeZNRRJcA== -"@sentry/utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.9.2.tgz#58b003d9c1302f61192e7c99ea42bf1cd5cad7f7" - integrity sha512-A4srR9mEBFdVXwSEKjQ94msUbVkMr8JeFiEj9ouOFORw/Y/ux/WV2bWVD/ZI9wq0TcTNK8L1wBgU8UMS5lIq3A== +"@sentry/utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.25.0.tgz#708ccf8b953f64e1a5915e09d4cb33105b29e436" + integrity sha512-mVlkV7S62ZZ2jM38/kOwWx2xoW8fUv2cjw2IwFKoAIPyLBh3mo1WJtvfdtN/rXGjQWZJBKW53EWaWnD00rkjyA== dependencies: - "@sentry/types" "8.9.2" + "@sentry/types" "8.25.0" "@socket.io/component-emitter@~3.1.0": version "3.1.0" diff --git a/example/ionic-angular-v5/ios/App/Podfile.lock b/example/ionic-angular-v5/ios/App/Podfile.lock index 6b8d95a4..1e113a15 100644 --- a/example/ionic-angular-v5/ios/App/Podfile.lock +++ b/example/ionic-angular-v5/ios/App/Podfile.lock @@ -2,12 +2,10 @@ PODS: - Capacitor (5.5.1): - CapacitorCordova - CapacitorCordova (5.5.1) - - Sentry/HybridSDK (8.21.0): - - SentryPrivate (= 8.21.0) - - "SentryCapacitor (0.18.0+86db7af5)": + - Sentry/HybridSDK (8.36.0) + - SentryCapacitor (1.0.0-beta.1): - Capacitor - - Sentry/HybridSDK (= 8.21.0) - - SentryPrivate (8.21.0) + - Sentry/HybridSDK (= 8.36.0) DEPENDENCIES: - "Capacitor (from `../../node_modules/@capacitor/ios`)" @@ -17,7 +15,6 @@ DEPENDENCIES: SPEC REPOS: trunk: - Sentry - - SentryPrivate EXTERNAL SOURCES: Capacitor: @@ -30,9 +27,8 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Capacitor: 9da0a2415e3b6098511f8b5ffdb578d91ee79f8f CapacitorCordova: e128cc7688c070ca0bfa439898a5f609da8dbcfe - Sentry: ebc12276bd17613a114ab359074096b6b3725203 - SentryCapacitor: 498127cb0ea9c88c3bb2032917cddd7d71a3efd7 - SentryPrivate: d651efb234cf385ec9a1cdd3eff94b5e78a0e0fe + Sentry: f8374b5415bc38dfb5645941b3ae31230fbeae57 + SentryCapacitor: ab15688e690007c3793b646f50b028a02fa909ee PODFILE CHECKSUM: 618eb4d85f9b0c9e5a37fffa86a92d1569bd6800 diff --git a/example/ionic-angular-v5/package.json b/example/ionic-angular-v5/package.json index 4ef9e822..1a065517 100644 --- a/example/ionic-angular-v5/package.json +++ b/example/ionic-angular-v5/package.json @@ -14,7 +14,7 @@ "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "6.7.5", - "@sentry/angular": "8.9.2", + "@sentry/angular": "8.25.0", "@sentry/capacitor": "file:.yalc/@sentry/capacitor", "rxjs": "~6.5.5", "tslib": "^2.0.0", diff --git a/example/ionic-angular-v5/yarn.lock b/example/ionic-angular-v5/yarn.lock index 06fc4a44..947a178c 100644 --- a/example/ionic-angular-v5/yarn.lock +++ b/example/ionic-angular-v5/yarn.lock @@ -2173,75 +2173,75 @@ "@angular-devkit/schematics" "17.0.1" jsonc-parser "3.2.0" -"@sentry-internal/browser-utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.9.2.tgz#36b077fcb1a4ee8f2ed67437b2d9030c4e9e7586" - integrity sha512-2A0A6TnfzFDvYCRWS9My3t+JKG6KlslhyaN35BTiOTlYDauEekyJP7BFFyeTJXCHm2BQgI8aRZhBKm+oR9QuYw== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/feedback@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.9.2.tgz#0afa4c630820b49125ad4b9ad2b38db10de81134" - integrity sha512-v04Q+08ohwautwmiDfK5hI+nFW2B/IYhBz7pZM9x1srkwmNA69XOFyo5u34TeVHhYOPbMM2Ubs0uNEcSWHgbbQ== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/replay-canvas@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.9.2.tgz#76ff2302f7dd6e3870a34b656e6b9b34e9275c18" - integrity sha512-vu9TssSjO+XbZjnoyYxMrBI4KgXG+zyqw3ThfPqG6o7O0BGa54fFwtZiMdGq/BHz017FuNiEz4fgtzuDd4gZJQ== - dependencies: - "@sentry-internal/replay" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/replay@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.9.2.tgz#35460590a4be71ba050fd49de95e3f8b0f27e50f" - integrity sha512-YPnrnXJd6mJpJspJ8pI8hd1KTMOxw+BARP5twiDwXlij1RTotwnNoX9UGaSm+ZPTexPD++6Zyp6xQf4vKKP3yg== - dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry/angular@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/angular/-/angular-8.9.2.tgz#719ec90155ac8ffe2df0b8d671e546a346e1d350" - integrity sha512-U9bfhxQ/LMiCO1gOBUvfErLSpz9FZj/+uI74C7fBqcJHl5vrrB3xAYnx0HSxa06ZYzSxm7yu+u/Y0AWTI0OzDw== - dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" +"@sentry-internal/browser-utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.25.0.tgz#a240133f845f2314b39e7bef7a70fcc79e6e1dd3" + integrity sha512-nlWgp1lVhNQOTUplW85G3qm0fOIgAhJ/sl/31OIuScVrITYhYDF2bO+Zv/jQ8YsdUBAUXqY1tPT9wwPJklnPhw== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/feedback@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.25.0.tgz#d5d1371b6250abe239834c7b9a3fa984d72a03d2" + integrity sha512-327I5XJAFrsgjc5qUKxZ9rff3WNCfGvf1fIii70LQ2YQhQgG4XHZILmkD06ETEyXb+H1tkrNQQEJ1/d4ai+q5g== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/replay-canvas@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.25.0.tgz#1841bf72c87ad52ebefb4abfc58ccf6d966357a0" + integrity sha512-dPXlkAbkFL1DBum8rGTaHS+apJKaXEZJF9gLcBBKTruhTCizrugFLxajzIfVSiFVuwNKuJWa2fzhzbeQM0ee7w== + dependencies: + "@sentry-internal/replay" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/replay@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.25.0.tgz#f80125546fd061923b76dc5cb9b66da47cfd811b" + integrity sha512-3f7x8EYthyj157uV9V8vBjun+1gJnHhh2+i0qxYLhMGx7N2Fq0J3Bvvo1rosSg+fYh5HzPNZDufwIRdg5C/MQw== + dependencies: + "@sentry-internal/browser-utils" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry/angular@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/angular/-/angular-8.25.0.tgz#89181d1671de9cc7fa05764ca357a48cbf58f500" + integrity sha512-sOHQrmD9B0adZxKTKs7CS0PaEShOBYRoCKOGjNx0iCEpPiswHHi9DzpniRYk1vNIL3Z0O7/eWoudnBojZNs8/g== + dependencies: + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" tslib "^2.4.1" -"@sentry/browser@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.9.2.tgz#4cfd63449f0038718b5435a4537f3d11123a396b" - integrity sha512-jI5XY4j8Sa+YteokI+4SW+A/ErZxPDnspjvV3dm5pIPWvEFhvDyXWZSepqaoqwo3L7fdkRMzXY8Bi4T7qDVMWg== +"@sentry/browser@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.25.0.tgz#eaf129755c365905b427f8031b747211dc388c05" + integrity sha512-51bdVGXjyooqVGzaSGsnExqRTt9NvZ1zGFsxbbCSXi5UoEFN6zdMUz6jKYsL2K80eeELP2VKOVlobHlEzeJQfw== dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry-internal/feedback" "8.9.2" - "@sentry-internal/replay" "8.9.2" - "@sentry-internal/replay-canvas" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry-internal/browser-utils" "8.25.0" + "@sentry-internal/feedback" "8.25.0" + "@sentry-internal/replay" "8.25.0" + "@sentry-internal/replay-canvas" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/capacitor@file:.yalc/@sentry/capacitor": - version "0.18.0" + version "1.0.0-beta.1" dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/cli-darwin@2.25.2": version "2.25.2" @@ -2297,25 +2297,25 @@ "@sentry/cli-win32-i686" "2.25.2" "@sentry/cli-win32-x64" "2.25.2" -"@sentry/core@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.9.2.tgz#af0f2ec25b88da5467cf327d2ffcd555323c30e6" - integrity sha512-ixm8NISFlPlEo3FjSaqmq4nnd13BRHoafwJ5MG+okCz6BKGZ1SexEggP42/QpGvDprUUHnfncG6WUMgcarr1zA== +"@sentry/core@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.25.0.tgz#f64e50b88ee5b13f1d52b543638b2eb5c8e326d8" + integrity sha512-7KtglbrW1eX4DOHkf6i4rRIExEf2CgtQ99qZ8gn5FUaAmNMg0rK7bb1yZMx0RZtp5G1TSz/S0jQQgxHWebaEig== dependencies: - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" -"@sentry/types@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.9.2.tgz#d143383fc35552d9f153042cc6d56c5ee8ec2fa6" - integrity sha512-+LFOyQGl+zk5SZRGZD2MEURf7i5RHgP/mt3s85Rza+vz8M211WJ0YsjkIGUJFSY842nged5QLx4JysLaBlLymg== +"@sentry/types@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.25.0.tgz#cde3d900efe7fb7614a670f0af2634a2cbd92693" + integrity sha512-ojim0gDcRhGJPguYrtms4FsprX4xZz3LGNk9Z0hwTbSVEdlhQIInsQ7CYcdM3sjUs+qT7kfpxTRZGUeZNRRJcA== -"@sentry/utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.9.2.tgz#58b003d9c1302f61192e7c99ea42bf1cd5cad7f7" - integrity sha512-A4srR9mEBFdVXwSEKjQ94msUbVkMr8JeFiEj9ouOFORw/Y/ux/WV2bWVD/ZI9wq0TcTNK8L1wBgU8UMS5lIq3A== +"@sentry/utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.25.0.tgz#708ccf8b953f64e1a5915e09d4cb33105b29e436" + integrity sha512-mVlkV7S62ZZ2jM38/kOwWx2xoW8fUv2cjw2IwFKoAIPyLBh3mo1WJtvfdtN/rXGjQWZJBKW53EWaWnD00rkjyA== dependencies: - "@sentry/types" "8.9.2" + "@sentry/types" "8.25.0" "@socket.io/component-emitter@~3.1.0": version "3.1.0" diff --git a/example/ionic-angular-v6/ios/App/Podfile.lock b/example/ionic-angular-v6/ios/App/Podfile.lock index 901fb001..1fd47aa8 100644 --- a/example/ionic-angular-v6/ios/App/Podfile.lock +++ b/example/ionic-angular-v6/ios/App/Podfile.lock @@ -2,12 +2,10 @@ PODS: - Capacitor (6.0.0): - CapacitorCordova - CapacitorCordova (6.0.0) - - Sentry/HybridSDK (8.21.0): - - SentryPrivate (= 8.21.0) - - "SentryCapacitor (0.18.0+86db7af5)": + - Sentry/HybridSDK (8.36.0) + - SentryCapacitor (1.0.0-beta.1): - Capacitor - - Sentry/HybridSDK (= 8.21.0) - - SentryPrivate (8.21.0) + - Sentry/HybridSDK (= 8.36.0) DEPENDENCIES: - "Capacitor (from `../../node_modules/@capacitor/ios`)" @@ -17,7 +15,6 @@ DEPENDENCIES: SPEC REPOS: trunk: - Sentry - - SentryPrivate EXTERNAL SOURCES: Capacitor: @@ -30,9 +27,8 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Capacitor: 559d073c4ca6c27f8e7002c807eea94c3ba435a9 CapacitorCordova: 8c4bfdf69368512e85b1d8b724dd7546abeb30af - Sentry: ebc12276bd17613a114ab359074096b6b3725203 - SentryCapacitor: 498127cb0ea9c88c3bb2032917cddd7d71a3efd7 - SentryPrivate: d651efb234cf385ec9a1cdd3eff94b5e78a0e0fe + Sentry: f8374b5415bc38dfb5645941b3ae31230fbeae57 + SentryCapacitor: ab15688e690007c3793b646f50b028a02fa909ee PODFILE CHECKSUM: 618eb4d85f9b0c9e5a37fffa86a92d1569bd6800 diff --git a/example/ionic-angular-v6/package.json b/example/ionic-angular-v6/package.json index f9140e51..90c6f0c8 100644 --- a/example/ionic-angular-v6/package.json +++ b/example/ionic-angular-v6/package.json @@ -14,7 +14,7 @@ "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "6.7.5", - "@sentry/angular": "8.9.2", + "@sentry/angular": "8.25.0", "@sentry/capacitor": "file:.yalc/@sentry/capacitor", "rxjs": "~6.5.5", "tslib": "^2.0.0", diff --git a/example/ionic-angular-v6/yarn.lock b/example/ionic-angular-v6/yarn.lock index 0b9916db..98864667 100644 --- a/example/ionic-angular-v6/yarn.lock +++ b/example/ionic-angular-v6/yarn.lock @@ -2115,75 +2115,75 @@ "@angular-devkit/schematics" "17.3.7" jsonc-parser "3.2.1" -"@sentry-internal/browser-utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.9.2.tgz#36b077fcb1a4ee8f2ed67437b2d9030c4e9e7586" - integrity sha512-2A0A6TnfzFDvYCRWS9My3t+JKG6KlslhyaN35BTiOTlYDauEekyJP7BFFyeTJXCHm2BQgI8aRZhBKm+oR9QuYw== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/feedback@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.9.2.tgz#0afa4c630820b49125ad4b9ad2b38db10de81134" - integrity sha512-v04Q+08ohwautwmiDfK5hI+nFW2B/IYhBz7pZM9x1srkwmNA69XOFyo5u34TeVHhYOPbMM2Ubs0uNEcSWHgbbQ== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/replay-canvas@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.9.2.tgz#76ff2302f7dd6e3870a34b656e6b9b34e9275c18" - integrity sha512-vu9TssSjO+XbZjnoyYxMrBI4KgXG+zyqw3ThfPqG6o7O0BGa54fFwtZiMdGq/BHz017FuNiEz4fgtzuDd4gZJQ== - dependencies: - "@sentry-internal/replay" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/replay@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.9.2.tgz#35460590a4be71ba050fd49de95e3f8b0f27e50f" - integrity sha512-YPnrnXJd6mJpJspJ8pI8hd1KTMOxw+BARP5twiDwXlij1RTotwnNoX9UGaSm+ZPTexPD++6Zyp6xQf4vKKP3yg== - dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry/angular@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/angular/-/angular-8.9.2.tgz#719ec90155ac8ffe2df0b8d671e546a346e1d350" - integrity sha512-U9bfhxQ/LMiCO1gOBUvfErLSpz9FZj/+uI74C7fBqcJHl5vrrB3xAYnx0HSxa06ZYzSxm7yu+u/Y0AWTI0OzDw== - dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" +"@sentry-internal/browser-utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.25.0.tgz#a240133f845f2314b39e7bef7a70fcc79e6e1dd3" + integrity sha512-nlWgp1lVhNQOTUplW85G3qm0fOIgAhJ/sl/31OIuScVrITYhYDF2bO+Zv/jQ8YsdUBAUXqY1tPT9wwPJklnPhw== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/feedback@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.25.0.tgz#d5d1371b6250abe239834c7b9a3fa984d72a03d2" + integrity sha512-327I5XJAFrsgjc5qUKxZ9rff3WNCfGvf1fIii70LQ2YQhQgG4XHZILmkD06ETEyXb+H1tkrNQQEJ1/d4ai+q5g== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/replay-canvas@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.25.0.tgz#1841bf72c87ad52ebefb4abfc58ccf6d966357a0" + integrity sha512-dPXlkAbkFL1DBum8rGTaHS+apJKaXEZJF9gLcBBKTruhTCizrugFLxajzIfVSiFVuwNKuJWa2fzhzbeQM0ee7w== + dependencies: + "@sentry-internal/replay" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/replay@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.25.0.tgz#f80125546fd061923b76dc5cb9b66da47cfd811b" + integrity sha512-3f7x8EYthyj157uV9V8vBjun+1gJnHhh2+i0qxYLhMGx7N2Fq0J3Bvvo1rosSg+fYh5HzPNZDufwIRdg5C/MQw== + dependencies: + "@sentry-internal/browser-utils" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry/angular@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/angular/-/angular-8.25.0.tgz#89181d1671de9cc7fa05764ca357a48cbf58f500" + integrity sha512-sOHQrmD9B0adZxKTKs7CS0PaEShOBYRoCKOGjNx0iCEpPiswHHi9DzpniRYk1vNIL3Z0O7/eWoudnBojZNs8/g== + dependencies: + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" tslib "^2.4.1" -"@sentry/browser@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.9.2.tgz#4cfd63449f0038718b5435a4537f3d11123a396b" - integrity sha512-jI5XY4j8Sa+YteokI+4SW+A/ErZxPDnspjvV3dm5pIPWvEFhvDyXWZSepqaoqwo3L7fdkRMzXY8Bi4T7qDVMWg== +"@sentry/browser@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.25.0.tgz#eaf129755c365905b427f8031b747211dc388c05" + integrity sha512-51bdVGXjyooqVGzaSGsnExqRTt9NvZ1zGFsxbbCSXi5UoEFN6zdMUz6jKYsL2K80eeELP2VKOVlobHlEzeJQfw== dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry-internal/feedback" "8.9.2" - "@sentry-internal/replay" "8.9.2" - "@sentry-internal/replay-canvas" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry-internal/browser-utils" "8.25.0" + "@sentry-internal/feedback" "8.25.0" + "@sentry-internal/replay" "8.25.0" + "@sentry-internal/replay-canvas" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/capacitor@file:.yalc/@sentry/capacitor": - version "0.18.0" + version "1.0.0-beta.1" dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/cli-darwin@2.31.2": version "2.31.2" @@ -2239,25 +2239,25 @@ "@sentry/cli-win32-i686" "2.31.2" "@sentry/cli-win32-x64" "2.31.2" -"@sentry/core@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.9.2.tgz#af0f2ec25b88da5467cf327d2ffcd555323c30e6" - integrity sha512-ixm8NISFlPlEo3FjSaqmq4nnd13BRHoafwJ5MG+okCz6BKGZ1SexEggP42/QpGvDprUUHnfncG6WUMgcarr1zA== +"@sentry/core@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.25.0.tgz#f64e50b88ee5b13f1d52b543638b2eb5c8e326d8" + integrity sha512-7KtglbrW1eX4DOHkf6i4rRIExEf2CgtQ99qZ8gn5FUaAmNMg0rK7bb1yZMx0RZtp5G1TSz/S0jQQgxHWebaEig== dependencies: - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" -"@sentry/types@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.9.2.tgz#d143383fc35552d9f153042cc6d56c5ee8ec2fa6" - integrity sha512-+LFOyQGl+zk5SZRGZD2MEURf7i5RHgP/mt3s85Rza+vz8M211WJ0YsjkIGUJFSY842nged5QLx4JysLaBlLymg== +"@sentry/types@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.25.0.tgz#cde3d900efe7fb7614a670f0af2634a2cbd92693" + integrity sha512-ojim0gDcRhGJPguYrtms4FsprX4xZz3LGNk9Z0hwTbSVEdlhQIInsQ7CYcdM3sjUs+qT7kfpxTRZGUeZNRRJcA== -"@sentry/utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.9.2.tgz#58b003d9c1302f61192e7c99ea42bf1cd5cad7f7" - integrity sha512-A4srR9mEBFdVXwSEKjQ94msUbVkMr8JeFiEj9ouOFORw/Y/ux/WV2bWVD/ZI9wq0TcTNK8L1wBgU8UMS5lIq3A== +"@sentry/utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.25.0.tgz#708ccf8b953f64e1a5915e09d4cb33105b29e436" + integrity sha512-mVlkV7S62ZZ2jM38/kOwWx2xoW8fUv2cjw2IwFKoAIPyLBh3mo1WJtvfdtN/rXGjQWZJBKW53EWaWnD00rkjyA== dependencies: - "@sentry/types" "8.9.2" + "@sentry/types" "8.25.0" "@socket.io/component-emitter@~3.1.0": version "3.1.2" diff --git a/example/ionic-vue3/ios/App/Podfile.lock b/example/ionic-vue3/ios/App/Podfile.lock index 2d73188a..904d3b76 100644 --- a/example/ionic-vue3/ios/App/Podfile.lock +++ b/example/ionic-vue3/ios/App/Podfile.lock @@ -10,12 +10,10 @@ PODS: - Capacitor - CapacitorStatusBar (5.0.6): - Capacitor - - Sentry/HybridSDK (8.21.0): - - SentryPrivate (= 8.21.0) - - "SentryCapacitor (0.18.0+86db7af5)": + - Sentry/HybridSDK (8.36.0) + - SentryCapacitor (1.0.0-beta.1): - Capacitor - - Sentry/HybridSDK (= 8.21.0) - - SentryPrivate (8.21.0) + - Sentry/HybridSDK (= 8.36.0) DEPENDENCIES: - "Capacitor (from `../../node_modules/@capacitor/ios`)" @@ -29,7 +27,6 @@ DEPENDENCIES: SPEC REPOS: trunk: - Sentry - - SentryPrivate EXTERNAL SOURCES: Capacitor: @@ -54,9 +51,8 @@ SPEC CHECKSUMS: CapacitorHaptics: 1fffc1217c7e64a472d7845be50fb0c2f7d4204c CapacitorKeyboard: ce5e01064cf57a2c05b32565310713b7fe6cc6f9 CapacitorStatusBar: 565c0a1ebd79bb40d797606a8992b4a105885309 - Sentry: ebc12276bd17613a114ab359074096b6b3725203 - SentryCapacitor: 498127cb0ea9c88c3bb2032917cddd7d71a3efd7 - SentryPrivate: d651efb234cf385ec9a1cdd3eff94b5e78a0e0fe + Sentry: f8374b5415bc38dfb5645941b3ae31230fbeae57 + SentryCapacitor: ab15688e690007c3793b646f50b028a02fa909ee PODFILE CHECKSUM: a972544de6bcfa1a17161b0b4ef85e6ee7586f79 diff --git a/example/ionic-vue3/yarn.lock b/example/ionic-vue3/yarn.lock index b769ce07..abb89547 100644 --- a/example/ionic-vue3/yarn.lock +++ b/example/ionic-vue3/yarn.lock @@ -1488,6 +1488,15 @@ resolved "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.6.tgz" integrity sha512-jqzNLhNDvIZOrt69Ce4UjGRpXJBzhUBzawMwnaDAwyHriki3XollsewxWzOzz+4yOFDkuJHtTsZFwMxhYJWmLQ== +"@sentry-internal/browser-utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.25.0.tgz#a240133f845f2314b39e7bef7a70fcc79e6e1dd3" + integrity sha512-nlWgp1lVhNQOTUplW85G3qm0fOIgAhJ/sl/31OIuScVrITYhYDF2bO+Zv/jQ8YsdUBAUXqY1tPT9wwPJklnPhw== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + "@sentry-internal/browser-utils@8.9.2": version "8.9.2" resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.9.2.tgz#36b077fcb1a4ee8f2ed67437b2d9030c4e9e7586" @@ -1497,6 +1506,15 @@ "@sentry/types" "8.9.2" "@sentry/utils" "8.9.2" +"@sentry-internal/feedback@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.25.0.tgz#d5d1371b6250abe239834c7b9a3fa984d72a03d2" + integrity sha512-327I5XJAFrsgjc5qUKxZ9rff3WNCfGvf1fIii70LQ2YQhQgG4XHZILmkD06ETEyXb+H1tkrNQQEJ1/d4ai+q5g== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + "@sentry-internal/feedback@8.9.2": version "8.9.2" resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.9.2.tgz#0afa4c630820b49125ad4b9ad2b38db10de81134" @@ -1506,6 +1524,16 @@ "@sentry/types" "8.9.2" "@sentry/utils" "8.9.2" +"@sentry-internal/replay-canvas@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.25.0.tgz#1841bf72c87ad52ebefb4abfc58ccf6d966357a0" + integrity sha512-dPXlkAbkFL1DBum8rGTaHS+apJKaXEZJF9gLcBBKTruhTCizrugFLxajzIfVSiFVuwNKuJWa2fzhzbeQM0ee7w== + dependencies: + "@sentry-internal/replay" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + "@sentry-internal/replay-canvas@8.9.2": version "8.9.2" resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.9.2.tgz#76ff2302f7dd6e3870a34b656e6b9b34e9275c18" @@ -1516,6 +1544,16 @@ "@sentry/types" "8.9.2" "@sentry/utils" "8.9.2" +"@sentry-internal/replay@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.25.0.tgz#f80125546fd061923b76dc5cb9b66da47cfd811b" + integrity sha512-3f7x8EYthyj157uV9V8vBjun+1gJnHhh2+i0qxYLhMGx7N2Fq0J3Bvvo1rosSg+fYh5HzPNZDufwIRdg5C/MQw== + dependencies: + "@sentry-internal/browser-utils" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + "@sentry-internal/replay@8.9.2": version "8.9.2" resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.9.2.tgz#35460590a4be71ba050fd49de95e3f8b0f27e50f" @@ -1535,6 +1573,19 @@ "@sentry/types" "7.98.0" "@sentry/utils" "7.98.0" +"@sentry/browser@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.25.0.tgz#eaf129755c365905b427f8031b747211dc388c05" + integrity sha512-51bdVGXjyooqVGzaSGsnExqRTt9NvZ1zGFsxbbCSXi5UoEFN6zdMUz6jKYsL2K80eeELP2VKOVlobHlEzeJQfw== + dependencies: + "@sentry-internal/browser-utils" "8.25.0" + "@sentry-internal/feedback" "8.25.0" + "@sentry-internal/replay" "8.25.0" + "@sentry-internal/replay-canvas" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + "@sentry/browser@8.9.2": version "8.9.2" resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.9.2.tgz#4cfd63449f0038718b5435a4537f3d11123a396b" @@ -1563,12 +1614,12 @@ unplugin "1.0.1" "@sentry/capacitor@file:.yalc/@sentry/capacitor": - version "0.18.0" + version "1.0.0-beta.1" dependencies: - "@sentry/browser" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/browser" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/cli-darwin@2.26.0": version "2.26.0" @@ -1632,6 +1683,14 @@ "@sentry/types" "7.98.0" "@sentry/utils" "7.98.0" +"@sentry/core@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.25.0.tgz#f64e50b88ee5b13f1d52b543638b2eb5c8e326d8" + integrity sha512-7KtglbrW1eX4DOHkf6i4rRIExEf2CgtQ99qZ8gn5FUaAmNMg0rK7bb1yZMx0RZtp5G1TSz/S0jQQgxHWebaEig== + dependencies: + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + "@sentry/core@8.9.2": version "8.9.2" resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.9.2.tgz#af0f2ec25b88da5467cf327d2ffcd555323c30e6" @@ -1655,6 +1714,11 @@ resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.98.0.tgz#6a88bf60679aea88ac6cba4d1517958726c2bafb" integrity sha512-pc034ziM0VTETue4bfBcBqTWGy4w0okidtoZJjGVrYAfE95ObZnUGVj/XYIQ3FeCYWIa7NFN2MvdsCS0buwivQ== +"@sentry/types@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.25.0.tgz#cde3d900efe7fb7614a670f0af2634a2cbd92693" + integrity sha512-ojim0gDcRhGJPguYrtms4FsprX4xZz3LGNk9Z0hwTbSVEdlhQIInsQ7CYcdM3sjUs+qT7kfpxTRZGUeZNRRJcA== + "@sentry/types@8.9.2": version "8.9.2" resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.9.2.tgz#d143383fc35552d9f153042cc6d56c5ee8ec2fa6" @@ -1667,6 +1731,13 @@ dependencies: "@sentry/types" "7.98.0" +"@sentry/utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.25.0.tgz#708ccf8b953f64e1a5915e09d4cb33105b29e436" + integrity sha512-mVlkV7S62ZZ2jM38/kOwWx2xoW8fUv2cjw2IwFKoAIPyLBh3mo1WJtvfdtN/rXGjQWZJBKW53EWaWnD00rkjyA== + dependencies: + "@sentry/types" "8.25.0" + "@sentry/utils@8.9.2": version "8.9.2" resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.9.2.tgz#58b003d9c1302f61192e7c99ea42bf1cd5cad7f7" diff --git a/package.json b/package.json index ae416cd8..675b0b24 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,9 @@ "module": "dist/esm/index.js", "scripts": { "build": "yarn run clean && yarn run lint && yarn run build:all", - "build:all": "yarn run build:esm && yarn run build:es5", + "build:all": "yarn run build:esm && yarn run build:es8", "build:esm": "tsc -p tsconfig.esm.json", - "build:es5": "tsc -p tsconfig.build.json", + "build:es8": "tsc -p tsconfig.build.json", "watch": "tsc --watch", "clean": "rimraf ./dist ./coverage", "test": "jest", @@ -43,9 +43,9 @@ "license": "MIT", "peerDependencies": { "@capacitor/core": ">=3.0.0", - "@sentry/angular": "8.9.2", - "@sentry/react": "8.9.2", - "@sentry/vue": "8.9.2" + "@sentry/angular": "8.25.0", + "@sentry/react": "8.25.0", + "@sentry/vue": "8.25.0" }, "peerDependenciesMeta": { "@sentry/angular": { @@ -59,19 +59,19 @@ } }, "dependencies": { - "@sentry/browser": "8.9.2", - "@sentry/core": "8.9.2", - "@sentry/types": "8.9.2", - "@sentry/utils": "8.9.2" + "@sentry/browser": "8.25.0", + "@sentry/core": "8.25.0", + "@sentry/types": "8.25.0", + "@sentry/utils": "8.25.0" }, "devDependencies": { "@capacitor/android": "^3.0.1 || ^4.0.0 || ^5.0.0 || ^6.0.0", "@capacitor/core": "^3.0.1 || ^4.0.0 || ^5.0.0 || ^6.0.0", "@capacitor/ios": "^3.0.1 || ^4.0.0 || ^5.0.0 || ^6.0.0", "@ionic/prettier-config": "^1.0.0", - "@sentry-internal/eslint-config-sdk": "8.9.2", - "@sentry-internal/eslint-plugin-sdk": "8.9.2", - "@sentry-internal/typescript": "8.9.2", + "@sentry-internal/eslint-config-sdk": "8.25.0", + "@sentry-internal/eslint-plugin-sdk": "8.25.0", + "@sentry-internal/typescript": "8.25.0", "@sentry/wizard": "3.27.0", "@types/jest": "^29.5.3", "concurrently": "^8.2.2", @@ -84,7 +84,7 @@ "rimraf": "^5.0.1", "swiftlint": "^1.0.1", "ts-jest": "^29.1.1", - "typescript": "^4.0.5" + "typescript": "^4.9.5" }, "files": [ "dist/", diff --git a/src/nativeOptions.ts b/src/nativeOptions.ts index 0ba23ad9..a376b552 100644 --- a/src/nativeOptions.ts +++ b/src/nativeOptions.ts @@ -21,6 +21,8 @@ export function FilterNativeOptions( enabled: options.enabled, enableNdkScopeSync: options.enableNdkScopeSync, enableWatchdogTerminationTracking: options.enableWatchdogTerminationTracking, + // TODO: Remove Capacitor V9 + // eslint-disable-next-line deprecation/deprecation enableTracing: options.enableTracing, environment: options.environment, // ignoreErrors: Only available on the JavaScript Layer. diff --git a/src/options.ts b/src/options.ts index 6622c1d5..97699b54 100644 --- a/src/options.ts +++ b/src/options.ts @@ -1,5 +1,5 @@ import type { BrowserOptions } from '@sentry/browser'; -import type { BrowserTransportOptions } from '@sentry/browser/types/transports/types'; +import type { BrowserTransportOptions } from '@sentry/browser/build/npm/types/transports/types'; // Path changed on 8.13.0 import type { ClientOptions } from '@sentry/types'; export interface BaseCapacitorOptions { diff --git a/src/wrapper.ts b/src/wrapper.ts index 8f5f796b..a8a48bab 100644 --- a/src/wrapper.ts +++ b/src/wrapper.ts @@ -36,7 +36,7 @@ export const NATIVE = { throw this._NativeClientError; } - const [EOL] = utf8ToBytes('\n'); + const EOL = 10; // utf8ToBytes('\n'); const [envelopeHeader, envelopeItems] = envelope; const headerString = JSON.stringify(envelopeHeader); diff --git a/test/wrapper.test.ts b/test/wrapper.test.ts index 0f0df4c0..36109023 100644 --- a/test/wrapper.test.ts +++ b/test/wrapper.test.ts @@ -275,6 +275,22 @@ describe('Tests Native Wrapper', () => { `${expectedHeader}\n${expectedItem}\n${expectedPayload}`); }); + test('Has a valid EOF string', async () => { + const [expectedEOF = -1/* Placeholder */] = utf8ToBytes('\n'); + const expectedEnvelopeBytes = utf8ToBytes(JSON.stringify({ foo: 'bar' })); + expectedEnvelopeBytes.push(expectedEOF); + + const captureEnvelopeSpy = jest.spyOn(SentryCapacitor, 'captureEnvelope'); + + const mockedEnvelope: Envelope = [{ foo: 'bar' }, []]; + + await NATIVE.sendEnvelope(mockedEnvelope); + + expect(expectedEOF).not.toBe(-1); + expect(SentryCapacitor.captureEnvelope).toHaveBeenCalledTimes(1); + expect(captureEnvelopeSpy.mock.calls[0][0].envelope).toEqual(expectedEnvelopeBytes); + }); + test('Clears breadcrumbs on Android if there is a handled exception', async () => { NATIVE.platform = 'android'; diff --git a/tsconfig.build.json b/tsconfig.build.json index 03b03278..ebf0b72a 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,8 +2,10 @@ "extends": "./node_modules/@sentry-internal/typescript/tsconfig.json", "compilerOptions": { "baseUrl": ".", - "module": "commonjs", - "outDir": "dist/build" + "outDir": "dist/build", + "lib": ["DOM", "ES2018"], + "target": "es2018", + "skipLibCheck": true, }, - "include": ["src/**/*"] + "include": ["src/**/*.ts"], } diff --git a/tsconfig.esm.json b/tsconfig.esm.json index f173df96..e6597b8a 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -3,11 +3,9 @@ "compilerOptions": { "baseUrl": ".", "outDir": "dist/esm", - "target": "es6", - "module": "es6", + "lib": ["DOM", "ES2018"], + "target": "es2018", "moduleResolution": "node", }, - "include": [ - "src/**/*" - ] + "include": ["src/**/*.ts"], } diff --git a/tsconfig.json b/tsconfig.json index 5d602f67..35336b8d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,26 +1,22 @@ { + "extends": "./tsconfig.build.json", + "include": [ + "src/**/*.ts", + "test/**/*.ts", + "typings/*.d.ts" + ], + "exclude": ["node_modules"], "compilerOptions": { + "ignoreDeprecations": "5.0", "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": [ - "dom", - "es6" - ], - "module": "es6", - "moduleResolution": "node", + "moduleResolution": "Node", "noFallthroughCasesInSwitch": true, "noUnusedLocals": true, "noUnusedParameters": true, "pretty": true, "sourceMap": true, "strict": true, - "target": "es6" - }, - "extends": "./tsconfig.build.json", - "include": [ - "src/**/*.ts", - "test/**/*.ts", - "typings/*.d.ts" - ] + } } diff --git a/yarn.lock b/yarn.lock index 27e8d4cb..7b4faf5d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -999,22 +999,22 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== -"@sentry-internal/browser-utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.9.2.tgz#36b077fcb1a4ee8f2ed67437b2d9030c4e9e7586" - integrity sha512-2A0A6TnfzFDvYCRWS9My3t+JKG6KlslhyaN35BTiOTlYDauEekyJP7BFFyeTJXCHm2BQgI8aRZhBKm+oR9QuYw== - dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" - -"@sentry-internal/eslint-config-sdk@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.9.2.tgz#76a74376f7424fe288ee5c29f05151d677a0690c" - integrity sha512-/4yxDNXRLcXterdciPaYMeIGWtxtfzHNj2jGqkiHIYtceH4ud33izpEIPNT9kcY9wB0pPZdC2KM33WdCIVTXgA== - dependencies: - "@sentry-internal/eslint-plugin-sdk" "8.9.2" - "@sentry-internal/typescript" "8.9.2" +"@sentry-internal/browser-utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.25.0.tgz#a240133f845f2314b39e7bef7a70fcc79e6e1dd3" + integrity sha512-nlWgp1lVhNQOTUplW85G3qm0fOIgAhJ/sl/31OIuScVrITYhYDF2bO+Zv/jQ8YsdUBAUXqY1tPT9wwPJklnPhw== + dependencies: + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" + +"@sentry-internal/eslint-config-sdk@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-8.25.0.tgz#5715167939783c8f183456922623142eab30f138" + integrity sha512-lTOQUHzn3u4iT2rbw95qBFpPVTCSt6DIi3hr7Y1xJ2lTH2zY9KoriSQam9gf01j4KcViuc46QAY9pvBWDGzsQQ== + dependencies: + "@sentry-internal/eslint-plugin-sdk" "8.25.0" + "@sentry-internal/typescript" "8.25.0" "@typescript-eslint/eslint-plugin" "^5.48.0" "@typescript-eslint/parser" "^5.48.0" eslint-config-prettier "^6.11.0" @@ -1024,39 +1024,39 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.9.2.tgz#50f720f49bee72727deaf2e2db8f87cb70f7a357" - integrity sha512-RvCQ8i4426fAxqEum+1mk1r+HzUnEgYdCDFviICBUSG06Sn7LLpNbEU93Jx4agZlrAIqD7lXWJwzsb1hWPv6Pg== +"@sentry-internal/eslint-plugin-sdk@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-8.25.0.tgz#d4fa1cc4bfb80484af570f40aab40545c8601ae1" + integrity sha512-/DEvY6RY7Y79Woy7DhTorfR/VPlN6Z+gKKipWmezSfehsqrPE6f/brAPRnq4gM8FZDESAiI0pcwvBUp2tYkE3Q== -"@sentry-internal/feedback@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.9.2.tgz#0afa4c630820b49125ad4b9ad2b38db10de81134" - integrity sha512-v04Q+08ohwautwmiDfK5hI+nFW2B/IYhBz7pZM9x1srkwmNA69XOFyo5u34TeVHhYOPbMM2Ubs0uNEcSWHgbbQ== +"@sentry-internal/feedback@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.25.0.tgz#d5d1371b6250abe239834c7b9a3fa984d72a03d2" + integrity sha512-327I5XJAFrsgjc5qUKxZ9rff3WNCfGvf1fIii70LQ2YQhQgG4XHZILmkD06ETEyXb+H1tkrNQQEJ1/d4ai+q5g== dependencies: - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" -"@sentry-internal/replay-canvas@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.9.2.tgz#76ff2302f7dd6e3870a34b656e6b9b34e9275c18" - integrity sha512-vu9TssSjO+XbZjnoyYxMrBI4KgXG+zyqw3ThfPqG6o7O0BGa54fFwtZiMdGq/BHz017FuNiEz4fgtzuDd4gZJQ== +"@sentry-internal/replay-canvas@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.25.0.tgz#1841bf72c87ad52ebefb4abfc58ccf6d966357a0" + integrity sha512-dPXlkAbkFL1DBum8rGTaHS+apJKaXEZJF9gLcBBKTruhTCizrugFLxajzIfVSiFVuwNKuJWa2fzhzbeQM0ee7w== dependencies: - "@sentry-internal/replay" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry-internal/replay" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" -"@sentry-internal/replay@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.9.2.tgz#35460590a4be71ba050fd49de95e3f8b0f27e50f" - integrity sha512-YPnrnXJd6mJpJspJ8pI8hd1KTMOxw+BARP5twiDwXlij1RTotwnNoX9UGaSm+ZPTexPD++6Zyp6xQf4vKKP3yg== +"@sentry-internal/replay@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.25.0.tgz#f80125546fd061923b76dc5cb9b66da47cfd811b" + integrity sha512-3f7x8EYthyj157uV9V8vBjun+1gJnHhh2+i0qxYLhMGx7N2Fq0J3Bvvo1rosSg+fYh5HzPNZDufwIRdg5C/MQw== dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry-internal/browser-utils" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry-internal/tracing@7.93.0": version "7.93.0" @@ -1067,23 +1067,23 @@ "@sentry/types" "7.93.0" "@sentry/utils" "7.93.0" -"@sentry-internal/typescript@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.9.2.tgz#6959e7fba889afc16e8bb8ef1f60e2eec0ed41f9" - integrity sha512-oR9cPqpW7m/iajjTKhEgfSnZaeluoMQSCJjCs4dcH4XzfvLlm0eMOI0fimmSKnh3OFrDUoz2d+5pZc68v5OtfQ== +"@sentry-internal/typescript@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-8.25.0.tgz#3b272cabbe93a4f5b9c87c7d4f507f8947aa7d84" + integrity sha512-s7ZlH/MYIhnZmSAYs/Jj+nUZv+6JXYy7nrTMrRweG5hPznhs+Wc85S16HaLhPar1uobJI5rahi+h7ZaxsetBTQ== -"@sentry/browser@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.9.2.tgz#4cfd63449f0038718b5435a4537f3d11123a396b" - integrity sha512-jI5XY4j8Sa+YteokI+4SW+A/ErZxPDnspjvV3dm5pIPWvEFhvDyXWZSepqaoqwo3L7fdkRMzXY8Bi4T7qDVMWg== +"@sentry/browser@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.25.0.tgz#eaf129755c365905b427f8031b747211dc388c05" + integrity sha512-51bdVGXjyooqVGzaSGsnExqRTt9NvZ1zGFsxbbCSXi5UoEFN6zdMUz6jKYsL2K80eeELP2VKOVlobHlEzeJQfw== dependencies: - "@sentry-internal/browser-utils" "8.9.2" - "@sentry-internal/feedback" "8.9.2" - "@sentry-internal/replay" "8.9.2" - "@sentry-internal/replay-canvas" "8.9.2" - "@sentry/core" "8.9.2" - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry-internal/browser-utils" "8.25.0" + "@sentry-internal/feedback" "8.25.0" + "@sentry-internal/replay" "8.25.0" + "@sentry-internal/replay-canvas" "8.25.0" + "@sentry/core" "8.25.0" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/cli@^1.72.0": version "1.75.2" @@ -1105,13 +1105,13 @@ "@sentry/types" "7.93.0" "@sentry/utils" "7.93.0" -"@sentry/core@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.9.2.tgz#af0f2ec25b88da5467cf327d2ffcd555323c30e6" - integrity sha512-ixm8NISFlPlEo3FjSaqmq4nnd13BRHoafwJ5MG+okCz6BKGZ1SexEggP42/QpGvDprUUHnfncG6WUMgcarr1zA== +"@sentry/core@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.25.0.tgz#f64e50b88ee5b13f1d52b543638b2eb5c8e326d8" + integrity sha512-7KtglbrW1eX4DOHkf6i4rRIExEf2CgtQ99qZ8gn5FUaAmNMg0rK7bb1yZMx0RZtp5G1TSz/S0jQQgxHWebaEig== dependencies: - "@sentry/types" "8.9.2" - "@sentry/utils" "8.9.2" + "@sentry/types" "8.25.0" + "@sentry/utils" "8.25.0" "@sentry/node@^7.69.0": version "7.93.0" @@ -1129,10 +1129,10 @@ resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.93.0.tgz#d76d26259b40cd0688e1d634462fbff31476c1ec" integrity sha512-UnzUccNakhFRA/esWBWP+0v7cjNg+RilFBQC03Mv9OEMaZaS29zSbcOGtRzuFOXXLBdbr44BWADqpz3VW0XaNw== -"@sentry/types@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.9.2.tgz#d143383fc35552d9f153042cc6d56c5ee8ec2fa6" - integrity sha512-+LFOyQGl+zk5SZRGZD2MEURf7i5RHgP/mt3s85Rza+vz8M211WJ0YsjkIGUJFSY842nged5QLx4JysLaBlLymg== +"@sentry/types@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.25.0.tgz#cde3d900efe7fb7614a670f0af2634a2cbd92693" + integrity sha512-ojim0gDcRhGJPguYrtms4FsprX4xZz3LGNk9Z0hwTbSVEdlhQIInsQ7CYcdM3sjUs+qT7kfpxTRZGUeZNRRJcA== "@sentry/utils@7.93.0": version "7.93.0" @@ -1141,12 +1141,12 @@ dependencies: "@sentry/types" "7.93.0" -"@sentry/utils@8.9.2": - version "8.9.2" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.9.2.tgz#58b003d9c1302f61192e7c99ea42bf1cd5cad7f7" - integrity sha512-A4srR9mEBFdVXwSEKjQ94msUbVkMr8JeFiEj9ouOFORw/Y/ux/WV2bWVD/ZI9wq0TcTNK8L1wBgU8UMS5lIq3A== +"@sentry/utils@8.25.0": + version "8.25.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.25.0.tgz#708ccf8b953f64e1a5915e09d4cb33105b29e436" + integrity sha512-mVlkV7S62ZZ2jM38/kOwWx2xoW8fUv2cjw2IwFKoAIPyLBh3mo1WJtvfdtN/rXGjQWZJBKW53EWaWnD00rkjyA== dependencies: - "@sentry/types" "8.9.2" + "@sentry/types" "8.25.0" "@sentry/wizard@3.27.0": version "3.27.0" @@ -4867,7 +4867,7 @@ typedarray-to-buffer@^3.1.2: dependencies: is-typedarray "^1.0.0" -typescript@^4.0.5: +typescript@^4.9.5: version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==