chore: bump up @sentry/webpack-plugin version to v3 (#9721)

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

<details>
<summary>getsentry/sentry-javascript-bundler-plugins (@&#8203;sentry/webpack-plugin)</summary>

### [`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 ([#&#8203;646](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/646))
-   chore!: Remove deprecated options ([#&#8203;654](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/654))
-   feat(logger): Use console methods respective to log level ([#&#8203;652](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/652))
-   fix(webpack): Ensure process exits when done ([#&#8203;653](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/653))
-   fix: Use correct replacement matcher for `bundleSizeOptimizations.excludeTracing` ([#&#8203;644](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/644))

Work in this release contributed by [@&#8203;jdelStrother](https://redirect.github.com/jdelStrother). Thank you for your contribution!

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->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).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
This commit is contained in:
renovate
2025-01-16 07:26:07 +00:00
parent 6a07d0a7dd
commit cb81f4a963
2 changed files with 30 additions and 7 deletions

View File

@@ -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",

View File

@@ -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