Skip to content

Commit 377c7fc

Browse files
feat(deps): Bump @sentry/rollup-plugin and @sentry/vite-plugin from 4.0.2 to 4.1.0 (#17383)
Bumps [@sentry/rollup-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 4.0.2 to 4.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/releases"><code>@​sentry/rollup-plugin</code>'s releases</a>.</em></p> <blockquote> <h2>4.1.0</h2> <ul> <li>feat(deps): Bump <code>@​sentry/cli</code> to 2.51.0 <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/786">#786</a></li> <li>feat(core): Add flag for disabling sourcemaps upload <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/785">#785</a></li> <li>fix(debugId): Add guards for injected code to avoid errors <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/783">#783</a></li> <li>docs(options): Improve JSDoc for options <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/781">#781</a></li> <li>feat(core): Expose method for injecting debug Ids from plugin manager <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/784">#784</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md"><code>@​sentry/rollup-plugin</code>'s changelog</a>.</em></p> <blockquote> <h2>4.1.0</h2> <ul> <li>feat(deps): Bump <code>@​sentry/cli</code> to 2.51.0 <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/786">#786</a></li> <li>feat(core): Add flag for disabling sourcemaps upload <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/785">#785</a></li> <li>fix(debugId): Add guards for injected code to avoid errors <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/783">#783</a></li> <li>docs(options): Improve JSDoc for options <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/781">#781</a></li> <li>feat(core): Expose method for injecting debug Ids from plugin manager <a href="https://redirect.github.com/gestsentry/sentry-javascript-bundler-plugins/pull/784">#784</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/commit/d76eb7034cefdbdc50f84ff1f6748007dffd4d67"><code>d76eb70</code></a> release: 4.1.0</li> <li><a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/commit/bab871bc4787386edcddb7953f7eb8d1697f2e86"><code>bab871b</code></a> meta: Add changelog entry for 4.1.0 (<a href="https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/787">#787</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/commit/9323c6549daf5fd22517c0c4f399bddaff284753"><code>9323c65</code></a> feat(deps): Bump <code>@​sentry/cli</code> to 2.51.0 (<a href="https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/786">#786</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/commit/add97e61d069a67b79dd4d1661e70b7ba5845041"><code>add97e6</code></a> feat(core): Add flag for disabling sourcemaps upload (<a href="https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/785">#785</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/commit/c1441e809b7ce574512652ed1cc0f256a0d86f78"><code>c1441e8</code></a> fix(debugId): Add guards for injected code to avoid errors (<a href="https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/783">#783</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/commit/40d1053afd61e1564a56e386353f96d47fe100f6"><code>40d1053</code></a> docs(options): Improve JSDoc for options (<a href="https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/781">#781</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/commit/bf394f1374699caead8b3f25c5a5ae1e3863a63a"><code>bf394f1</code></a> feat(core): Expose method for injecting debug Ids from plugin manager (<a href="https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/784">#784</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/commit/c15f9df84866113abf40c692274f693c7a8a869a"><code>c15f9df</code></a> Merge branch 'release/4.0.2'</li> <li>See full diff in <a href="https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/4.0.2...4.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@sentry/rollup-plugin&package-manager=npm_and_yarn&previous-version=4.0.2&new-version=4.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: s1gr1d <[email protected]>
1 parent a0c04a7 commit 377c7fc

File tree

7 files changed

+37
-35
lines changed

7 files changed

+37
-35
lines changed

packages/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@sentry/browser": "10.4.0",
6060
"@sentry/core": "10.4.0",
6161
"@sentry/node": "10.4.0",
62-
"@sentry/vite-plugin": "^4.0.0"
62+
"@sentry/vite-plugin": "^4.1.0"
6363
},
6464
"devDependencies": {
6565
"astro": "^3.5.0",

packages/core/src/build-time-plugins/buildTimeOptionsBase.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,12 @@ interface SourceMapsOptions {
205205
*
206206
* By default (`false`), the plugin automatically uploads source maps during a production build if a Sentry auth token is detected.
207207
*
208+
* If set to `"disable-upload"`, the plugin will not upload source maps to Sentry, but will inject debug IDs into the build artifacts.
209+
* This is useful if you want to manually upload source maps to Sentry at a later point in time.
210+
*
208211
* @default false
209212
*/
210-
disable?: boolean;
213+
disable?: boolean | 'disable-upload';
211214

212215
/**
213216
* A glob or an array of globs that specify the build artifacts and source maps that will be uploaded to Sentry.

packages/nuxt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
"@sentry/cloudflare": "10.4.0",
5252
"@sentry/core": "10.4.0",
5353
"@sentry/node": "10.4.0",
54-
"@sentry/rollup-plugin": "^4.0.2",
55-
"@sentry/vite-plugin": "^4.0.0",
54+
"@sentry/rollup-plugin": "^4.1.0",
55+
"@sentry/vite-plugin": "^4.1.0",
5656
"@sentry/vue": "10.4.0"
5757
},
5858
"devDependencies": {

packages/react-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@sentry/core": "10.4.0",
5555
"@sentry/node": "10.4.0",
5656
"@sentry/react": "10.4.0",
57-
"@sentry/vite-plugin": "^4.0.0",
57+
"@sentry/vite-plugin": "^4.1.0",
5858
"glob": "11.0.1"
5959
},
6060
"devDependencies": {

packages/solidstart/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@sentry/core": "10.4.0",
7070
"@sentry/node": "10.4.0",
7171
"@sentry/solid": "10.4.0",
72-
"@sentry/vite-plugin": "^4.0.0"
72+
"@sentry/vite-plugin": "^4.1.0"
7373
},
7474
"devDependencies": {
7575
"@solidjs/router": "^0.13.4",

packages/sveltekit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@sentry/core": "10.4.0",
5353
"@sentry/node": "10.4.0",
5454
"@sentry/svelte": "10.4.0",
55-
"@sentry/vite-plugin": "^4.0.0",
55+
"@sentry/vite-plugin": "^4.1.0",
5656
"magic-string": "0.30.7",
5757
"recast": "0.23.11",
5858
"sorcery": "1.0.0"

yarn.lock

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6928,38 +6928,38 @@
69286928
dependencies:
69296929
express "^4.21.1"
69306930

6931-
6932-
version "4.0.0"
6933-
resolved "https://registry.yarnpkg.com/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-4.0.0.tgz#2f4dfeabba28a76b5a1b32a1058386e52f32634f"
6934-
integrity sha512-1sozj4esnQBhJ2QO4imiLMl1858StkLjUxFF1KxgX/X1uEL/QlW2MYL8CKzbLeACy1SkR9h4V8GXSZvCnci5Dw==
6935-
69366931
69376932
version "4.0.2"
69386933
resolved "https://registry.yarnpkg.com/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-4.0.2.tgz#7c8eb80a38b5e6b4c4cea4c391d07581020c91e4"
69396934
integrity sha512-Nr/VamvpQs6w642EI5t+qaCUGnVEro0qqk+S8XO1gc8qSdpc8kkZJFnUk7ozAr+ljYWGfVgWXrxI9lLiriLsRA==
69406935

6941-
6942-
version "4.0.0"
6943-
resolved "https://registry.yarnpkg.com/@sentry/bundler-plugin-core/-/bundler-plugin-core-4.0.0.tgz#564463cf53f869496ab5d4986e97f86618a67677"
6944-
integrity sha512-dTdbcctT5MJUwdbttZm2zomO+ui1F062ZIkogHeHqlA938Fwd1+9JIJ328+XL4XdcUG2yiFAZBWUPW3bYwoN9A==
6936+
6937+
version "4.1.0"
6938+
resolved "https://registry.yarnpkg.com/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-4.1.0.tgz#6e7168f5fa59f53ac4b68e3f79c5fd54adc13f2e"
6939+
integrity sha512-UkcnqC7Bp9ODyoBN7BKcRotd1jz/I2vyruE/qjNfRC7UnP+jIRItUWYaXxQPON1fTw+N+egKdByk0M1y2OPv/Q==
6940+
6941+
6942+
version "4.0.2"
6943+
resolved "https://registry.yarnpkg.com/@sentry/bundler-plugin-core/-/bundler-plugin-core-4.0.2.tgz#2e106ac564d2e4e83e8dbc84f1e84f4eed1d6dde"
6944+
integrity sha512-LeARs8qHhEw19tk+KZd9DDV+Rh/UeapIH0+C09fTmff9p8Y82Cj89pEQ2a1rdUiF/oYIjQX45vnZscB7ra42yw==
69456945
dependencies:
69466946
"@babel/core" "^7.18.5"
6947-
"@sentry/babel-plugin-component-annotate" "4.0.0"
6947+
"@sentry/babel-plugin-component-annotate" "4.0.2"
69486948
"@sentry/cli" "^2.49.0"
69496949
dotenv "^16.3.1"
69506950
find-up "^5.0.0"
69516951
glob "^9.3.2"
69526952
magic-string "0.30.8"
69536953
unplugin "1.0.1"
69546954

6955-
"@sentry/bundler-plugin-core@4.0.2":
6956-
version "4.0.2"
6957-
resolved "https://registry.yarnpkg.com/@sentry/bundler-plugin-core/-/bundler-plugin-core-4.0.2.tgz#2e106ac564d2e4e83e8dbc84f1e84f4eed1d6dde"
6958-
integrity sha512-LeARs8qHhEw19tk+KZd9DDV+Rh/UeapIH0+C09fTmff9p8Y82Cj89pEQ2a1rdUiF/oYIjQX45vnZscB7ra42yw==
6955+
"@sentry/bundler-plugin-core@4.1.0":
6956+
version "4.1.0"
6957+
resolved "https://registry.yarnpkg.com/@sentry/bundler-plugin-core/-/bundler-plugin-core-4.1.0.tgz#c1b2f7a890a44e5ac5decc984a133aacf6147dd4"
6958+
integrity sha512-/5XBtCF6M+9frEXrrvfSWOdOC2q6I1L7oY7qbUVegNkp3kYVGihNZZnJIXGzo9rmwnA0IV7jI3o0pF/HDRqPeA==
69596959
dependencies:
69606960
"@babel/core" "^7.18.5"
6961-
"@sentry/babel-plugin-component-annotate" "4.0.2"
6962-
"@sentry/cli" "^2.49.0"
6961+
"@sentry/babel-plugin-component-annotate" "4.1.0"
6962+
"@sentry/cli" "^2.51.0"
69636963
dotenv "^16.3.1"
69646964
find-up "^5.0.0"
69656965
glob "^9.3.2"
@@ -7006,7 +7006,7 @@
70067006
resolved "https://registry.yarnpkg.com/@sentry/cli-win32-x64/-/cli-win32-x64-2.51.1.tgz#d361e37146c9269d40c37459271a6c2cfa1fa8a6"
70077007
integrity sha512-v2hreYUPPTNK1/N7+DeX7XBN/zb7p539k+2Osf0HFyVBaoUC3Y3+KBwSf4ASsnmgTAK7HCGR+X0NH1vP+icw4w==
70087008

7009-
"@sentry/cli@^2.49.0", "@sentry/cli@^2.51.1":
7009+
"@sentry/cli@^2.49.0", "@sentry/cli@^2.51.0", "@sentry/cli@^2.51.1":
70107010
version "2.51.1"
70117011
resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-2.51.1.tgz#c6bdc6025e8f600e44fc76f8274c369aeb5d4df4"
70127012
integrity sha512-FU+54kNcKJABU0+ekvtnoXHM9zVrDe1zXVFbQT7mS0On0m1P0zFRGdzbnWe2XzpzuEAJXtK6aog/W+esRU9AIA==
@@ -7026,20 +7026,20 @@
70267026
"@sentry/cli-win32-i686" "2.51.1"
70277027
"@sentry/cli-win32-x64" "2.51.1"
70287028

7029-
"@sentry/rollup-plugin@^4.0.2":
7030-
version "4.0.2"
7031-
resolved "https://registry.yarnpkg.com/@sentry/rollup-plugin/-/rollup-plugin-4.0.2.tgz#4fda1f2456cdbef7f7527921da93a92c35e67612"
7032-
integrity sha512-p8cbo34m8qcJx5LDo1hPiMlR8aSKMyVewBGBV+nGrh6cgeBUOXu8DpIVD0piOna2igon3jyUD6ydrxUtcM5/Qw==
7029+
"@sentry/rollup-plugin@^4.1.0":
7030+
version "4.1.0"
7031+
resolved "https://registry.yarnpkg.com/@sentry/rollup-plugin/-/rollup-plugin-4.1.0.tgz#3948d067bd7cf8a61904b4042190dc9f6888bceb"
7032+
integrity sha512-HDwWgQRH7JhG15N1Y4XmPik/Qk03TGbiupDkZ8WL+8257BuyQE+s6feJJGCEUoWwROED+jvsFNvWvT2tqnILrw==
70337033
dependencies:
7034-
"@sentry/bundler-plugin-core" "4.0.2"
7034+
"@sentry/bundler-plugin-core" "4.1.0"
70357035
unplugin "1.0.1"
70367036

7037-
"@sentry/vite-plugin@^4.0.0":
7038-
version "4.0.0"
7039-
resolved "https://registry.yarnpkg.com/@sentry/vite-plugin/-/vite-plugin-4.0.0.tgz#ac2780e1d2d88371b0a4a6dc834eadc8bc92d8ea"
7040-
integrity sha512-JX5irzvyoOSKto0U0eXDqigsTXdXnPRQaAms/kcU6A6Bf+WaPfCTE5NrJWg6ZeLvi7GiPWch11OO+TB6ZN8RKA==
7037+
"@sentry/vite-plugin@^4.1.0":
7038+
version "4.1.0"
7039+
resolved "https://registry.yarnpkg.com/@sentry/vite-plugin/-/vite-plugin-4.1.0.tgz#a94eaf2a294b9f16dec99b088cb05d37b364dcf5"
7040+
integrity sha512-uLZxOAW79sOQH77yWiQct8f3i+LUi36wn2fK62cejZfrGaHu5P+9R4f0Es1L70I3MrsPXOvJ0A6r5PkVS9562g==
70417041
dependencies:
7042-
"@sentry/bundler-plugin-core" "4.0.0"
7042+
"@sentry/bundler-plugin-core" "4.1.0"
70437043
unplugin "1.0.1"
70447044

70457045
"@sentry/webpack-plugin@^4.0.2":
@@ -28567,7 +28567,6 @@ [email protected], stylus@^0.59.0:
2856728567

2856828568
sucrase@^3.27.0, sucrase@^3.35.0, sucrase@getsentry/sucrase#es2020-polyfills:
2856928569
version "3.36.0"
28570-
uid fd682f6129e507c00bb4e6319cc5d6b767e36061
2857128570
resolved "https://codeload.github.com/getsentry/sucrase/tar.gz/fd682f6129e507c00bb4e6319cc5d6b767e36061"
2857228571
dependencies:
2857328572
"@jridgewell/gen-mapping" "^0.3.2"

0 commit comments

Comments
 (0)