From 0acd23695b8add016b8423b49e41f86174c4e19c Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Thu, 16 Jan 2025 09:20:12 +0000 Subject: [PATCH] chore: bump up @sentry/esbuild-plugin version to v3 (#9720) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@sentry/esbuild-plugin](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/esbuild-plugin) ([source](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins)) | [`^2.22.7` -> `^3.0.0`](https://renovatebot.com/diffs/npm/@sentry%2fesbuild-plugin/2.23.0/3.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fesbuild-plugin/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2fesbuild-plugin/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2fesbuild-plugin/2.23.0/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2fesbuild-plugin/2.23.0/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
getsentry/sentry-javascript-bundler-plugins (@​sentry/esbuild-plugin) ### [`v3.0.0`](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/compare/2.23.0...3.0.0) ##### Breaking Changes - Injected code will now use `let`, which was added in ES6 (ES2015). This means that ES6 is the minimum JavaScript version that the Sentry bundler plugins support. - Deprecated options have been removed: - `deleteFilesAfterUpload` - Use `filesToDeleteAfterUpload` instead - `bundleSizeOptimizations.excludePerformanceMonitoring` - Use `bundleSizeOptimizations.excludeTracing` instead - `_experiments.moduleMetadata` - Use `moduleMetadata` instead - `cleanArtifacts` - Did not do anything ##### List of Changes - fix!: Wrap injected code in block-statement to contain scope ([#​646](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/646)) - chore!: Remove deprecated options ([#​654](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/654)) - feat(logger): Use console methods respective to log level ([#​652](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/652)) - fix(webpack): Ensure process exits when done ([#​653](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/653)) - fix: Use correct replacement matcher for `bundleSizeOptimizations.excludeTracing` ([#​644](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/644)) Work in this release contributed by [@​jdelStrother](https://redirect.github.com/jdelStrother). Thank you for your contribution!
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). --- packages/frontend/apps/electron/package.json | 2 +- yarn.lock | 35 ++++---------------- 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/packages/frontend/apps/electron/package.json b/packages/frontend/apps/electron/package.json index c1f80dce1..ee8f61f14 100644 --- a/packages/frontend/apps/electron/package.json +++ b/packages/frontend/apps/electron/package.json @@ -48,7 +48,7 @@ "@electron-forge/shared-types": "^7.6.0", "@pengx17/electron-forge-maker-appimage": "^1.2.1", "@sentry/electron": "^5.8.0", - "@sentry/esbuild-plugin": "^2.22.7", + "@sentry/esbuild-plugin": "^3.0.0", "@sentry/react": "^8.44.0", "@toeverything/infra": "workspace:*", "@types/set-cookie-parser": "^2.4.10", diff --git a/yarn.lock b/yarn.lock index c5fd8fee9..715644f3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -511,7 +511,7 @@ __metadata: "@electron-forge/shared-types": "npm:^7.6.0" "@pengx17/electron-forge-maker-appimage": "npm:^1.2.1" "@sentry/electron": "npm:^5.8.0" - "@sentry/esbuild-plugin": "npm:^2.22.7" + "@sentry/esbuild-plugin": "npm:^3.0.0" "@sentry/react": "npm:^8.44.0" "@toeverything/infra": "workspace:*" "@types/set-cookie-parser": "npm:^2.4.10" @@ -12267,13 +12267,6 @@ __metadata: languageName: node linkType: hard -"@sentry/babel-plugin-component-annotate@npm:2.23.0": - version: 2.23.0 - resolution: "@sentry/babel-plugin-component-annotate@npm:2.23.0" - checksum: 10/2c64d06fd20c641a1d80b53f5dfaca5467fbf7d6108f85517a5555fe1cad7bdd731abd58ab3ed14cedaf6698f323945cfd7c63471a0392e61e4f6c6e62aee13b - languageName: node - linkType: hard - "@sentry/babel-plugin-component-annotate@npm:3.0.0": version: 3.0.0 resolution: "@sentry/babel-plugin-component-annotate@npm:3.0.0" @@ -12307,22 +12300,6 @@ __metadata: languageName: node linkType: hard -"@sentry/bundler-plugin-core@npm:2.23.0": - version: 2.23.0 - resolution: "@sentry/bundler-plugin-core@npm:2.23.0" - dependencies: - "@babel/core": "npm:^7.18.5" - "@sentry/babel-plugin-component-annotate": "npm:2.23.0" - "@sentry/cli": "npm:2.39.1" - dotenv: "npm:^16.3.1" - find-up: "npm:^5.0.0" - glob: "npm:^9.3.2" - magic-string: "npm:0.30.8" - unplugin: "npm:1.0.1" - checksum: 10/de369d98cea0a7586ea63ef6c912988529eaed82337add3f41a44d862f97db969f84bccc68fb45f3a2c5ee0e8a1ccb115a4f99838e0095d31358823330e942f3 - languageName: node - linkType: hard - "@sentry/bundler-plugin-core@npm:3.0.0": version: 3.0.0 resolution: "@sentry/bundler-plugin-core@npm:3.0.0" @@ -12451,14 +12428,14 @@ __metadata: languageName: node linkType: hard -"@sentry/esbuild-plugin@npm:^2.22.7": - version: 2.23.0 - resolution: "@sentry/esbuild-plugin@npm:2.23.0" +"@sentry/esbuild-plugin@npm:^3.0.0": + version: 3.0.0 + resolution: "@sentry/esbuild-plugin@npm:3.0.0" dependencies: - "@sentry/bundler-plugin-core": "npm:2.23.0" + "@sentry/bundler-plugin-core": "npm:3.0.0" unplugin: "npm:1.0.1" uuid: "npm:^9.0.0" - checksum: 10/7e21155fde63df3662cd4fb0df0d42f31206ab0aca4ceb5b340ced6bcce7ab58d3e805579b4be12ffe451bc41c74e14d626440ed3237cfef7319503dca627dbe + checksum: 10/12fcebec65abc28366094521dfc59052a25c0e138230ca3b0b4524b0a654b14fa50a052711e444524da494938ac8999ba3fdfdb4cbdfa87e61ff775bb8ee7a5b languageName: node linkType: hard