Skip to content

Commit 3187fde

Browse files
Bump @babel/preset-env from 7.26.9 to 7.27.2 (#341)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.26.9 to 7.27.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/preset-env</code>'s releases</a>.</em></p> <blockquote> <h2>v7.27.2 (2025-05-06)</h2> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17289">#17289</a> fix: <code>@babel/parser/bin/index.js</code> contains <code>node:</code> protocol require (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li> <li><a href="https://redirect.github.com/babel/babel/pull/17291">#17291</a> fix: Private class method not found when TS and estree (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-object-rest-spread</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17281">#17281</a> Fix: improve object rest handling in array pattern (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-modules-commonjs</code>, <code>babel-template</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17284">#17284</a> fix(babel-template): Properly handle empty string replacements (<a href="https://github.com/magic-akari"><code>@​magic-akari</code></a>)</li> </ul> </li> </ul> <h4>:running_woman: Performance</h4> <ul> <li><code>babel-cli</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17285">#17285</a> Enable Node compile cache for <code>@babel/cli</code> (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> </ul> <h4>Committers: 5</h4> <ul> <li>Babel Bot (<a href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li> <li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> <li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li> <li><a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a></li> <li><a href="https://github.com/magic-akari"><code>@​magic-akari</code></a></li> </ul> <h2>v7.27.1 (2025-04-30)</h2> <p>Thanks <a href="https://github.com/kermanx"><code>@​kermanx</code></a> and <a href="https://github.com/woaitsAryan"><code>@​woaitsAryan</code></a> for your first PRs!</p> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17254">#17254</a> Allow <code>using of</code> as lexical declaration within for (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> <li><a href="https://redirect.github.com/babel/babel/pull/17230">#17230</a> Disallow get/set in TSPropertySignature (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17193">#17193</a> Stricter TSImportType options parsing (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-plugin-proposal-destructuring-private</code>, <code>babel-plugin-proposal-do-expressions</code>, <code>babel-traverse</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17137">#17137</a> fix: do expressions should allow early exit (<a href="https://github.com/kermanx"><code>@​kermanx</code></a>)</li> </ul> </li> <li><code>babel-helper-wrap-function</code>, <code>babel-plugin-transform-async-to-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17251">#17251</a> Fix: propagate argument evaluation errors through async promise chain (<a href="https://github.com/magic-akari"><code>@​magic-akari</code></a>)</li> </ul> </li> <li><code>babel-helper-remap-async-to-generator</code>, <code>babel-plugin-transform-async-to-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17231">#17231</a> fix apply()/call() annotated as pure (<a href="https://github.com/Lacsw"><code>@​Lacsw</code></a>)</li> </ul> </li> <li><code>babel-helper-fixtures</code>, <code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17233">#17233</a> Create ChainExpression within TSInstantiationExpression (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17226">#17226</a> Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 2) (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17224">#17224</a> Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 1) (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> <li><a href="https://redirect.github.com/babel/babel/pull/17080">#17080</a> Fix start of TSParameterProperty (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-preset-env</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17228">#17228</a> Update firefox bugfix compat data (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-traverse</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/preset-env</code>'s changelog</a>.</em></p> <blockquote> <h2>v7.27.2 (2025-05-06)</h2> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17289">#17289</a> fix: <code>@babel/parser/bin/index.js</code> contains <code>node:</code> protocol require (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li> <li><a href="https://redirect.github.com/babel/babel/pull/17291">#17291</a> fix: Private class method not found when TS and estree (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-object-rest-spread</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17281">#17281</a> Fix: improve object rest handling in array pattern (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-modules-commonjs</code>, <code>babel-template</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17284">#17284</a> fix(babel-template): Properly handle empty string replacements (<a href="https://github.com/magic-akari"><code>@​magic-akari</code></a>)</li> </ul> </li> </ul> <h4>:running_woman: Performance</h4> <ul> <li><code>babel-cli</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17285">#17285</a> Enable Node compile cache for <code>@babel/cli</code> (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> </ul> <h2>v7.27.1 (2025-04-30)</h2> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17254">#17254</a> Allow <code>using of</code> as lexical declaration within for (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> <li><a href="https://redirect.github.com/babel/babel/pull/17230">#17230</a> Disallow get/set in TSPropertySignature (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17193">#17193</a> Stricter TSImportType options parsing (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-plugin-proposal-destructuring-private</code>, <code>babel-plugin-proposal-do-expressions</code>, <code>babel-traverse</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17137">#17137</a> fix: do expressions should allow early exit (<a href="https://github.com/kermanx"><code>@​kermanx</code></a>)</li> </ul> </li> <li><code>babel-helper-wrap-function</code>, <code>babel-plugin-transform-async-to-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17251">#17251</a> Fix: propagate argument evaluation errors through async promise chain (<a href="https://github.com/magic-akari"><code>@​magic-akari</code></a>)</li> </ul> </li> <li><code>babel-helper-remap-async-to-generator</code>, <code>babel-plugin-transform-async-to-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17231">#17231</a> fix apply()/call() annotated as pure (<a href="https://github.com/Lacsw"><code>@​Lacsw</code></a>)</li> </ul> </li> <li><code>babel-helper-fixtures</code>, <code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17233">#17233</a> Create ChainExpression within TSInstantiationExpression (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17226">#17226</a> Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 2) (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17224">#17224</a> Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 1) (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> <li><a href="https://redirect.github.com/babel/babel/pull/17080">#17080</a> Fix start of TSParameterProperty (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-preset-env</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17228">#17228</a> Update firefox bugfix compat data (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> <li><code>babel-traverse</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17156">#17156</a> fix: Objects and arrays with multiple references should not be evaluated (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17216">#17216</a> Fix: support const type parameter in generator (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:nail_care: Polish</h4> <ul> <li><code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-arrow-functions</code>, <code>babel-plugin-transform-class-properties</code>, <code>babel-plugin-transform-destructuring</code>, <code>babel-plugin-transform-object-rest-spread</code>, <code>babel-plugin-transform-optional-chaining</code>, <code>babel-plugin-transform-parameters</code>, <code>babel-traverse</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17221">#17221</a> Reduce generated names size for the 10th-11th (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>:house: Internal</h4> <ul> <li><code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/babel/babel/commit/a8080cd196b381eee2b992956728e4e936f29b3f"><code>a8080cd</code></a> v7.27.2</li> <li><a href="https://github.com/babel/babel/commit/b9c6efbac3d9f7b158933e1ac89a4630b2d4682a"><code>b9c6efb</code></a> Use <code>.d.ts</code> in import when importing a <code>.d.ts</code> file (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/17288">#17288</a>)</li> <li><a href="https://github.com/babel/babel/commit/1e0bdac593260b5f3e9ab192d1378102c7d4858f"><code>1e0bdac</code></a> [Babel 8] Directly export the JSON files from <code>@babel/compat-data</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/17267">#17267</a>)</li> <li><a href="https://github.com/babel/babel/commit/eebd3a06021c13d335b5b0bd79734df3abbea678"><code>eebd3a0</code></a> v7.27.1</li> <li><a href="https://github.com/babel/babel/commit/5c5e77c05b52f4d333c4910014efe700022d8cef"><code>5c5e77c</code></a> Tune plugin compat data (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/17256">#17256</a>)</li> <li><a href="https://github.com/babel/babel/commit/aca4f0138c4b163f39fb398e862dc4400ae9c986"><code>aca4f01</code></a> chore: bump compat-data sources (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/17253">#17253</a>)</li> <li><a href="https://github.com/babel/babel/commit/726438499badd1454911073ddba20c8acfaa3781"><code>7264384</code></a> Update firefox bugfix compat data (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/17228">#17228</a>)</li> <li><a href="https://github.com/babel/babel/commit/0f95b748a9a5f90c3b23d4d72299684991049243"><code>0f95b74</code></a> Reduce <code>regeneratorRuntime</code> size (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/17213">#17213</a>)</li> <li><a href="https://github.com/babel/babel/commit/317e332e650bc04907bc787ab79f930288a3e71e"><code>317e332</code></a> Enforce node protocol import (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/17207">#17207</a>)</li> <li><a href="https://github.com/babel/babel/commit/14ef1e972277bc7b80527fc2aa4d4ffc7662c768"><code>14ef1e9</code></a> Babel 8 cleanup (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/17211">#17211</a>)</li> <li>Additional commits viewable in <a href="https://github.com/babel/babel/commits/v7.27.2/packages/babel-preset-env">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/preset-env&package-manager=npm_and_yarn&previous-version=7.26.9&new-version=7.27.2)](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 0adbbad commit 3187fde

File tree

2 files changed

+896
-944
lines changed

2 files changed

+896
-944
lines changed

0 commit comments

Comments
 (0)