chore: bump up @sentry/esbuild-plugin version to v3 (#9720)

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

<details>
<summary>getsentry/sentry-javascript-bundler-plugins (@&#8203;sentry/esbuild-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 09:20:12 +00:00
parent 268e89911a
commit 0acd23695b
2 changed files with 7 additions and 30 deletions
+1 -1
View File
@@ -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",
+6 -29
View File
@@ -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