From cb81f4a96369802dcc7cc32ed84275a0c69fe0a3 Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Thu, 16 Jan 2025 07:26:07 +0000 Subject: [PATCH] chore: bump up @sentry/webpack-plugin version to v3 (#9721) 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/webpack-plugin](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/webpack-plugin) ([source](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins)) | [`^2.22.7` -> `^3.0.0`](https://renovatebot.com/diffs/npm/@sentry%2fwebpack-plugin/2.23.0/3.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fwebpack-plugin/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2fwebpack-plugin/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2fwebpack-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%2fwebpack-plugin/2.23.0/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
getsentry/sentry-javascript-bundler-plugins (@​sentry/webpack-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). --- tools/cli/package.json | 2 +- yarn.lock | 35 +++++++++++++++++++++++++++++------ 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/tools/cli/package.json b/tools/cli/package.json index b683c3517..0ab2b155d 100644 --- a/tools/cli/package.json +++ b/tools/cli/package.json @@ -19,7 +19,7 @@ "@clack/prompts": "^0.9.0", "@napi-rs/simple-git": "^0.1.19", "@perfsee/webpack": "^1.13.0", - "@sentry/webpack-plugin": "^2.22.7", + "@sentry/webpack-plugin": "^3.0.0", "@vanilla-extract/webpack-plugin": "^2.3.15", "autoprefixer": "^10.4.20", "clipanion": "^3.2.1", diff --git a/yarn.lock b/yarn.lock index b86099d6d..c5fd8fee9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -104,7 +104,7 @@ __metadata: "@clack/prompts": "npm:^0.9.0" "@napi-rs/simple-git": "npm:^0.1.19" "@perfsee/webpack": "npm:^1.13.0" - "@sentry/webpack-plugin": "npm:^2.22.7" + "@sentry/webpack-plugin": "npm:^3.0.0" "@types/lodash-es": "npm:^4.17.12" "@types/mime-types": "npm:^2.1.4" "@types/node": "npm:^20.17.10" @@ -12274,6 +12274,13 @@ __metadata: 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" + checksum: 10/1db4d7735c979da76c23d45eb758cd205951b21f8d2d99066329333d542e4e9e557b449800879c4dfbd85ccd1cfb7566ff91cf706b13b7e0300db11c14c02a3f + languageName: node + linkType: hard + "@sentry/browser@npm:8.48.0": version: 8.48.0 resolution: "@sentry/browser@npm:8.48.0" @@ -12316,6 +12323,22 @@ __metadata: 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" + dependencies: + "@babel/core": "npm:^7.18.5" + "@sentry/babel-plugin-component-annotate": "npm:3.0.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/5725c251792a0d78c9f9fea7c59c1039e179f911ade7c3e1169027b76c618324154ad1995ce82b0ccad7a2b496b25270751e882655192bb6bdbc5e5ea6ecf04a + languageName: node + linkType: hard + "@sentry/cli-darwin@npm:2.39.1": version: 2.39.1 resolution: "@sentry/cli-darwin@npm:2.39.1" @@ -12510,16 +12533,16 @@ __metadata: languageName: node linkType: hard -"@sentry/webpack-plugin@npm:^2.22.7": - version: 2.23.0 - resolution: "@sentry/webpack-plugin@npm:2.23.0" +"@sentry/webpack-plugin@npm:^3.0.0": + version: 3.0.0 + resolution: "@sentry/webpack-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" peerDependencies: webpack: ">=4.40.0" - checksum: 10/c6d479e9976e92caeea0049d1ea3a8b4d493b8bf9a764792bbecf621e3c4680d3cf518cce037fe528207429ea6a015b49c77fa5f26e1044ab01ce0aa3c115c8f + checksum: 10/f6a5c23e9bfe08b79859ebeecfb12462cacb5c1d78a7eb86576d4bf59d9853633f84bfb93f05c23b43d3476686b5cf22ff9ac2262e4cf0d70da448aa533d66ca languageName: node linkType: hard