Skip to content

Commit 1336b6e

Browse files
Bump @swc/core from 1.11.31 to 1.12.1 (#157)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.11.31 to 1.12.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/swc-project/swc/blob/main/CHANGELOG.md"><code>@​swc/core</code>'s changelog</a>.</em></p> <blockquote> <h2>[1.12.1] - 2025-06-12</h2> <h3>Bug Fixes</h3> <ul> <li> <p><strong>(<code>@​swc/types</code>)</strong> Remove <code>nativeClassProperties</code> (<a href="https://redirect.github.com/swc-project/swc/issues/10592">#10592</a>) (<a href="https://github.com/swc-project/swc/commit/39032dcd96bc618fcddf55d0824836c56f766eab">39032dc</a>)</p> </li> <li> <p><strong>(es/minifier)</strong> Fix top level detection of DCE (<a href="https://redirect.github.com/swc-project/swc/issues/10603">#10603</a>) (<a href="https://github.com/swc-project/swc/commit/964a5607d7bacb2bab1135bf0dd546a1a33fdb6c">964a560</a>)</p> </li> <li> <p><strong>(es/minifier)</strong> Fix inlining of arrows (<a href="https://redirect.github.com/swc-project/swc/issues/10604">#10604</a>) (<a href="https://github.com/swc-project/swc/commit/cc3bc4d66c381d33d00bc530b57c88447ae8ead8">cc3bc4d</a>)</p> </li> <li> <p><strong>(es/minifier)</strong> Perform DCE on the end (<a href="https://redirect.github.com/swc-project/swc/issues/10602">#10602</a>) (<a href="https://github.com/swc-project/swc/commit/a97b1494267bba03436d160d39cd21ce68150173">a97b149</a>)</p> </li> <li> <p><strong>(swc_common)</strong> Add <code>Files#is_in_file</code> (<a href="https://redirect.github.com/swc-project/swc/issues/10599">#10599</a>) (<a href="https://github.com/swc-project/swc/commit/e6b61ebfde2b0680c3e4144e6725803b2d9d7fc8">e6b61eb</a>)</p> </li> </ul> <h3>Features</h3> <ul> <li><strong>(es/parser)</strong> Support parsing CommonJS (<a href="https://redirect.github.com/swc-project/swc/issues/10600">#10600</a>) (<a href="https://github.com/swc-project/swc/commit/70bda6a199bec4b0f8fddb20040a382c44a78354">70bda6a</a>)</li> </ul> <h2>[1.12.0] - 2025-06-10</h2> <h3>Bug Fixes</h3> <ul> <li> <p><strong>(<code>@​swc/types</code>)</strong> Add <code>jsc.output.charset</code> (<a href="https://redirect.github.com/swc-project/swc/issues/10567">#10567</a>) (<a href="https://github.com/swc-project/swc/commit/26b41e86cb103fd6e9b76dcc9ed6625ef73ef9d0">26b41e8</a>)</p> </li> <li> <p><strong>(es/codegen)</strong> Don't call <code>cmt.get_leading</code> for dummy span (<a href="https://redirect.github.com/swc-project/swc/issues/10568">#10568</a>) (<a href="https://github.com/swc-project/swc/commit/16e204d3fa44acfea087e2e8929b7989894cf7bc">16e204d</a>)</p> </li> <li> <p><strong>(es/parser)</strong> Disallow spread operator(<code>...</code>) in JSX attribute values (<a href="https://redirect.github.com/swc-project/swc/issues/10587">#10587</a>) (<a href="https://github.com/swc-project/swc/commit/8deba787bb7a210826be09ce065a7a40eef0d508">8deba78</a>)</p> </li> <li> <p><strong>(es/typescript)</strong> Pass <code>native_class_properties</code> (<a href="https://redirect.github.com/swc-project/swc/issues/10561">#10561</a>) (<a href="https://github.com/swc-project/swc/commit/7e4cd9ad4fcd28bc179c75020acb9a596d405efb">7e4cd9a</a>)</p> </li> <li> <p><strong>(es/typescript)</strong> Handle <code>export declare var</code> in namespace (<a href="https://redirect.github.com/swc-project/swc/issues/10579">#10579</a>) (<a href="https://github.com/swc-project/swc/commit/2daa17f110910eae14412bbb29e8fdcf61265d13">2daa17f</a>)</p> </li> <li> <p><strong>(ts/isolated-dts)</strong> Add edges <code>SymbolFlags::Value</code> and <code>SymbolFlags::Type</code> in exports (<a href="https://redirect.github.com/swc-project/swc/issues/10577">#10577</a>) (<a href="https://github.com/swc-project/swc/commit/e6d4da219530744171ba46bfa44a06076080e7c2">e6d4da2</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/swc-project/swc/commit/247f7f2e96d546a62d652c562a71e8f41c1ec26c"><code>247f7f2</code></a> chore: Publish <code>1.12.1</code> with <code>swc_core</code> <code>v27.0.4</code></li> <li><a href="https://github.com/swc-project/swc/commit/812fe418effc03e9bac9c829b3b03e03f72be51b"><code>812fe41</code></a> chore: Update changelog</li> <li><a href="https://github.com/swc-project/swc/commit/e005c153ee8a6b1f515efebe23ab3511f4f62dea"><code>e005c15</code></a> chore: Publish <code>1.12.1-nightly-20250612.1</code> with <code>swc_core</code> <code>v27.0.4</code></li> <li><a href="https://github.com/swc-project/swc/commit/2c524adf80ca108ca5a7f09f8002aa1bbba872bc"><code>2c524ad</code></a> chore: Publish crates with <code>swc_core</code> <code>v27.0.4</code></li> <li><a href="https://github.com/swc-project/swc/commit/a97b1494267bba03436d160d39cd21ce68150173"><code>a97b149</code></a> fix(es/minifier): Perform DCE on the end (<a href="https://redirect.github.com/swc-project/swc/issues/10602">#10602</a>)</li> <li><a href="https://github.com/swc-project/swc/commit/3facfe55ec9ee9bc4009b7127b57c4c51802e472"><code>3facfe5</code></a> chore: Publish crates with <code>swc_core</code> <code>v27.0.3</code></li> <li><a href="https://github.com/swc-project/swc/commit/cc3bc4d66c381d33d00bc530b57c88447ae8ead8"><code>cc3bc4d</code></a> fix(es/minifier): Fix inlining of arrows (<a href="https://redirect.github.com/swc-project/swc/issues/10604">#10604</a>)</li> <li><a href="https://github.com/swc-project/swc/commit/964a5607d7bacb2bab1135bf0dd546a1a33fdb6c"><code>964a560</code></a> fix(es/minifier): Fix top level detection of DCE (<a href="https://redirect.github.com/swc-project/swc/issues/10603">#10603</a>)</li> <li><a href="https://github.com/swc-project/swc/commit/70bda6a199bec4b0f8fddb20040a382c44a78354"><code>70bda6a</code></a> feat(es/parser): Support parsing CommonJS (<a href="https://redirect.github.com/swc-project/swc/issues/10600">#10600</a>)</li> <li><a href="https://github.com/swc-project/swc/commit/26eceed2c8b7420e132f25ab2e6ac09993a64b3c"><code>26eceed</code></a> chore: Publish crates with <code>swc_core</code> <code>v27.0.2</code></li> <li>Additional commits viewable in <a href="https://github.com/swc-project/swc/compare/v1.11.31...v1.12.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@swc/core&package-manager=npm_and_yarn&previous-version=1.11.31&new-version=1.12.1)](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>
2 parents 0a95d14 + 9d9609f commit 1336b6e

File tree

2 files changed

+70
-70
lines changed

2 files changed

+70
-70
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"types.d.ts"
4747
],
4848
"devDependencies": {
49-
"@swc/core": "^1.11.31",
49+
"@swc/core": "^1.12.1",
5050
"@types/jest": "^29.5.14",
5151
"@types/node": "^22.15.29",
5252
"@typescript-eslint/eslint-plugin": "^6.21.0",

pnpm-lock.yaml

Lines changed: 69 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)