-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the updated import attributes proposal #15536
Add support for the updated import attributes proposal #15536
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/54409/ |
@@ -0,0 +1,2 @@ | |||
import "foo" | |||
with { type: "json" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current spec disallows such case: https://tc39.es/proposal-import-attributes/#prod-ImportDeclaration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's mostly an oversight; the plan is to update the proposal to allow it (tc39/proposal-import-attributes#136)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we introduce a new generator option
importAttributesVersion: "2023-03" | "2020-09" | "2020-06"
The default is "2023-03"
. So we can handle the AST collision between import attributes and the legacy module attributes proposal. Then syntax plugins can configure it accordingly.
The pros are:
- Sigil configs are decoupled from the AST, so we don't have to plug in more private-like
node.extra.*
properties - Users don't need to write a dedicate codemod to migrate syntaxes (by manipulating
node.extra.*
properties) - The output style is controlled in generator option instead of a parser plugin option, e.g.
importAttributesVersion: "2020-09"
can be used for Node.js 17.1.0 compatibility, though we will eventually materialize that option after import attributes gets spec'd.
The cons:
For users using the babel-plugin-syntax-module-attributes
in the small time frame 2020-06 to 2020-09 (prior to renaming module-attributes to import-assertions), upgrading to Babel 7.22 will be breaking, unless they configured importAttributesVersion: "2020-06"
or accept the new syntax. But we never heard any feedback about babel-plugin-syntax-module-attributes
when renaming to syntax-import-assertions
so I doubt it will break anyone.
Sounds like a good plan to me 👍 However, I would prefer to use
|
I managed to make it non-breaking also for users of the legacy syntax.
A generator option If the AST has |
c8ca3aa
to
c737e20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also handle the plugin assertions in expression.js#finishCallExpression
@@ -3087,27 +3069,80 @@ export default abstract class StatementParser extends ExpressionParser { | |||
} | |||
node.value = this.parseStringLiteral(this.state.value); | |||
this.finishNode(node, "ImportAttribute"); | |||
attrs.push(node); | |||
attrs.push(node as N.ImportAttribute); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit, we can avoid the type cast:
attrs.push(this.finishNode(node, "ImportAttribute"));
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should also update how we calculate the maxArgumentCount
.
@JLHwung I don't know how I could forget to go through all the |
d31b438
to
01bdaa6
Compare
01bdaa6
to
79ec9e6
Compare
if (node.attributes && !this.format.importAttributesKeyword) { | ||
this.format.importAttributesKeyword = "auto-legacy"; | ||
console.warn(`\ | ||
You are using import attributes, without specifying the desired output syntax. | ||
Please specify the "importAttributesKeyword" generator option, whose value can be one of: | ||
- "with" : \`import { a } from "b" with { type: "json" };\` | ||
- "assert" : \`import { a } from "b" assert { type: "json" };\` | ||
- "with-legacy" : \`import { a } from "b" with type: "json";\` | ||
`); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use deprecationWarning
or warn once globally?
Otherwise I'm worried that it will generate a lot of duplicate warnings when the user is used in many files.
This way we might also be able to remove auto-legacy
.
!this.format.importAttributesKeyword || | ||
this.format.importAttributesKeyword === "assert" || | ||
(this.format.importAttributesKeyword === "auto-legacy" && node.assertions) | ||
? "assert" | ||
: "with", | ||
); | ||
this.space(); | ||
|
||
if ( | ||
this.format.importAttributesKeyword === "with-legacy" || | ||
(this.format.importAttributesKeyword === "auto-legacy" && !node.assertions) | ||
) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have importAttributesKeyword, assertions, attributes
as variables?
- the old `"importAssertions"` plugin now also supports the new syntax, to make it easier to migrate - the new `"importAttributes"` plugin supports only the new syntax by default, but it can be used with the depreated (but still included in the proposal) `assert` keyword by enabling its `"deprecatedAssertSyntax"` option The new plugin and the old plugin cannot both be enabled at the same time
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
79ec9e6
to
71bbfa6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like IS_PUBLISH
, thanks!
Co-authored-by: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
I'm merging this PR into a |
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
…l/runtime (#2757) <p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade multiple dependencies.</h3> 👯♂ The following dependencies are linked and will therefore be updated together. </br></br> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. </br></br> Name | Versions | Released on :-------------|:-------------|:------------- **@babel/core**</br>from 7.21.8 to 7.22.1 | **2 versions** ahead of your current version | **24 days ago**</br>on 2023-05-26 **@babel/plugin-transform-react-jsx**</br>from 7.21.5 to 7.22.3 | **2 versions** ahead of your current version | **23 days ago**</br>on 2023-05-27 **@babel/runtime**</br>from 7.21.5 to 7.22.3 | **2 versions** ahead of your current version | **23 days ago**</br>on 2023-05-27 <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/core</b></summary> <ul> <li> <b>7.22.1</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.1">2023-05-26</a></br><h2>v7.22.1 (2023-05-26)</h2> <h4><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug Fix</h4> <ul> <li><code>babel-preset-env</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15658" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15658/hovercard">#15658</a> Workaround for broken babel-preset-react-app (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 2</h4> <ul> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.22.0</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.0">2023-05-26</a></br><h2>v7.22.0 (2023-05-26)</h2> <h4><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> New Feature</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15497" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15497/hovercard">#15497</a> [ts] Support <code>import ... =</code> and <code>export =</code> in scripts (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-core</code>, <code>babel-plugin-proposal-unicode-sets-regex</code>, <code>babel-plugin-transform-unicode-sets-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15636" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15636/hovercard">#15636</a> Add <code>unicode-sets-regex</code> transform to <code>preset-env</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15633" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15633/hovercard">#15633</a> Implement transform support for <code>using</code> declarations (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-import-attributes-to-assertions</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15620" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15620/hovercard">#15620</a> Create <code>@ babel/plugin-proposal-import-attributes-to-assertions</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-syntax-import-attributes</code>, <code>babel-preset-env</code>, <code>babel-standalone</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15536" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15536/hovercard">#15536</a> Add support for the updated import attributes proposal (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15520" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15520/hovercard">#15520</a> Parse <code>await using</code> declarations (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-helper-create-regexp-features-plugin</code>, <code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15638" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15638/hovercard">#15638</a> Enable regexp unicode sets parsing by default (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-syntax-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15570" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15570/hovercard">#15570</a> Add decorators version <code>2023-05</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-plugin-transform-react-constant-elements</code>, <code>babel-plugin-transform-react-jsx</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15549" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15549/hovercard">#15549</a> Improve type definitions for validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="house" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png">🏠</g-emoji> Internal</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15630" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15630/hovercard">#15630</a> Unify parsing of import/export modifiers (type/typeof/module) (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-node</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-duplicate-named-capturing-groups-regex</code>, <code>babel-plugin-transform-async-generator-functions</code>, <code>babel-plugin-transform-named-capturing-groups-regex</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs3</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15531" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15531/hovercard">#15531</a> Allow polyfill providers to specify custom <code>@ babel/runtime</code> pkg (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-dynamic-import</code>, <code>babel-plugin-proposal-export-namespace-from</code>, <code>babel-plugin-proposal-function-sent</code>, <code>babel-plugin-proposal-json-strings</code>, <code>babel-plugin-proposal-logical-assignment-operators</code>, <code>babel-plugin-proposal-nullish-coalescing-operator</code>, <code>babel-plugin-proposal-numeric-separator</code>, <code>babel-plugin-proposal-object-rest-spread</code>, <code>babel-plugin-proposal-optional-catch-binding</code>, <code>babel-plugin-proposal-optional-chaining</code>, <code>babel-plugin-proposal-pipeline-operator</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-proposal-unicode-property-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15614" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15614/hovercard">#15614</a> Rename <code>-proposal-</code>s that became standard to <code>-transform-</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.21.8</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.8">2023-05-02</a></br><h2>v7.21.8 (2023-05-02)</h2> <h4><g-emoji class="g-emoji" alias="eyeglasses" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f453.png">👓</g-emoji> Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15602" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15602/hovercard">#15602</a> Remove <code>using await</code> restriction in explicitResourceManagement (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug Fix</h4> <ul> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-create-regexp-features-plugin</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15605" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15605/hovercard">#15605</a> Fix backward compat for semver checks in class&regexp feat plugins (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 2</h4> <ul> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/core GitHub release notes</a> </details> <details> <summary>Package name: <b>@babel/plugin-transform-react-jsx</b></summary> <ul> <li> <b>7.22.3</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.3">2023-05-27</a></br><h2>v7.22.3 (2023-05-27)</h2> <ul> <li>Re-publish all the package published in 7.22.0 that hadn't been republished yet. We accidentally published them with a <code>package.json</code> file containing <code>"type": "script"</code> instead of <code>"type": "commonjs"</code> (<a href="https://snyk.io/redirect/github/babel/babel/issues/15664" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/15664/hovercard">#15664</a>).</li> </ul> </li> <li> <b>7.22.0</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.0">2023-05-26</a></br><h2>v7.22.0 (2023-05-26)</h2> <h4><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> New Feature</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15497" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15497/hovercard">#15497</a> [ts] Support <code>import ... =</code> and <code>export =</code> in scripts (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-core</code>, <code>babel-plugin-proposal-unicode-sets-regex</code>, <code>babel-plugin-transform-unicode-sets-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15636" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15636/hovercard">#15636</a> Add <code>unicode-sets-regex</code> transform to <code>preset-env</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15633" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15633/hovercard">#15633</a> Implement transform support for <code>using</code> declarations (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-import-attributes-to-assertions</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15620" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15620/hovercard">#15620</a> Create <code>@ babel/plugin-proposal-import-attributes-to-assertions</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-syntax-import-attributes</code>, <code>babel-preset-env</code>, <code>babel-standalone</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15536" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15536/hovercard">#15536</a> Add support for the updated import attributes proposal (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15520" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15520/hovercard">#15520</a> Parse <code>await using</code> declarations (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-helper-create-regexp-features-plugin</code>, <code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15638" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15638/hovercard">#15638</a> Enable regexp unicode sets parsing by default (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-syntax-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15570" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15570/hovercard">#15570</a> Add decorators version <code>2023-05</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-plugin-transform-react-constant-elements</code>, <code>babel-plugin-transform-react-jsx</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15549" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15549/hovercard">#15549</a> Improve type definitions for validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="house" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png">🏠</g-emoji> Internal</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15630" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15630/hovercard">#15630</a> Unify parsing of import/export modifiers (type/typeof/module) (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-node</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-duplicate-named-capturing-groups-regex</code>, <code>babel-plugin-transform-async-generator-functions</code>, <code>babel-plugin-transform-named-capturing-groups-regex</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs3</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15531" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15531/hovercard">#15531</a> Allow polyfill providers to specify custom <code>@ babel/runtime</code> pkg (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-dynamic-import</code>, <code>babel-plugin-proposal-export-namespace-from</code>, <code>babel-plugin-proposal-function-sent</code>, <code>babel-plugin-proposal-json-strings</code>, <code>babel-plugin-proposal-logical-assignment-operators</code>, <code>babel-plugin-proposal-nullish-coalescing-operator</code>, <code>babel-plugin-proposal-numeric-separator</code>, <code>babel-plugin-proposal-object-rest-spread</code>, <code>babel-plugin-proposal-optional-catch-binding</code>, <code>babel-plugin-proposal-optional-chaining</code>, <code>babel-plugin-proposal-pipeline-operator</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-proposal-unicode-property-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15614" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15614/hovercard">#15614</a> Rename <code>-proposal-</code>s that became standard to <code>-transform-</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.21.5</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.5">2023-04-28</a></br><h2>v7.21.5 (2023-04-28)</h2> <h4><g-emoji class="g-emoji" alias="eyeglasses" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f453.png">👓</g-emoji> Spec Compliance</h4> <ul> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15539" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15539/hovercard">#15539</a> fix: Remove <code>mixins</code> and <code>implements</code> for <code>DeclareInterface</code> and <code>InterfaceDeclaration</code> (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug Fix</h4> <ul> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-react-jsx</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15515" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15515/hovercard">#15515</a> fix: <code>)</code> position with <code>createParenthesizedExpressions</code> (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-preset-env</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15580" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15580/hovercard">#15580</a> Add syntax import meta to preset env (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15546" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15546/hovercard">#15546</a> Improve the layout of generated validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15535" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15535/hovercard">#15535</a> Use <code>lt</code> instead of <code>lte</code> to check TS version for .cts config (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="house" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png">🏠</g-emoji> Internal</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15575" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15575/hovercard">#15575</a> Use synchronous <code>import.meta.resolve</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-helper-fixtures</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15568" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15568/hovercard">#15568</a> Handle <code>.overrides</code> and <code>.env</code> when resolving plugins/presets from fixture options (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-create-regexp-features-plugin</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15548" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15548/hovercard">#15548</a> Use <code>semver</code> package to compare versions (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/plugin-transform-react-jsx GitHub release notes</a> </details> <details> <summary>Package name: <b>@babel/runtime</b></summary> <ul> <li> <b>7.22.3</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.3">2023-05-27</a></br><h2>v7.22.3 (2023-05-27)</h2> <ul> <li>Re-publish all the package published in 7.22.0 that hadn't been republished yet. We accidentally published them with a <code>package.json</code> file containing <code>"type": "script"</code> instead of <code>"type": "commonjs"</code> (<a href="https://snyk.io/redirect/github/babel/babel/issues/15664" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/15664/hovercard">#15664</a>).</li> </ul> </li> <li> <b>7.22.0</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.0">2023-05-26</a></br><a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.0"> Read more </a> </li> <li> <b>7.21.5</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.5">2023-04-28</a></br><a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.5"> Read more </a> </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/runtime GitHub release notes</a> </details> </details> <hr/> **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI2YTAwNTlkZS1iZmI2LTRmYjUtOTQ5Mi0xNWRhZDk3OTc3YzQiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjZhMDA1OWRlLWJmYjYtNGZiNS05NDkyLTE1ZGFkOTc5NzdjNCJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4/settings/integration?pkg=@babel/core&pkg=@babel/plugin-transform-react-jsx&pkg=@babel/runtime&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"6a0059de-bfb6-4fb5-9492-15dad97977c4","prPublicId":"6a0059de-bfb6-4fb5-9492-15dad97977c4","dependencies":[{"name":"@babel/core","from":"7.21.8","to":"7.22.1"},{"name":"@babel/plugin-transform-react-jsx","from":"7.21.5","to":"7.22.3"},{"name":"@babel/runtime","from":"7.21.5","to":"7.22.3"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"76f4d127-566b-42ef-86f4-bdcbc92b90b4","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":2,"publishedDate":"2023-05-26T16:34:57.150Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> Co-authored-by: snyk-bot <snyk-bot@snyk.io>
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade @babel/runtime from 7.21.0 to 7.22.3.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **8 versions** ahead of your current version. - The recommended version was released **a month ago**, on 2023-05-27. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/runtime</b></summary> <ul> <li> <b>7.22.3</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.3">2023-05-27</a></br><h2>v7.22.3 (2023-05-27)</h2> <ul> <li>Re-publish all the package published in 7.22.0 that hadn't been republished yet. We accidentally published them with a <code>package.json</code> file containing <code>"type": "script"</code> instead of <code>"type": "commonjs"</code> (<a href="https://snyk.io/redirect/github/babel/babel/issues/15664" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/15664/hovercard">#15664</a>).</li> </ul> </li> <li> <b>7.22.0</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.0">2023-05-26</a></br><h2>v7.22.0 (2023-05-26)</h2> <h4><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> New Feature</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15497" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15497/hovercard">#15497</a> [ts] Support <code>import ... =</code> and <code>export =</code> in scripts (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-core</code>, <code>babel-plugin-proposal-unicode-sets-regex</code>, <code>babel-plugin-transform-unicode-sets-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15636" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15636/hovercard">#15636</a> Add <code>unicode-sets-regex</code> transform to <code>preset-env</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15633" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15633/hovercard">#15633</a> Implement transform support for <code>using</code> declarations (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-import-attributes-to-assertions</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15620" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15620/hovercard">#15620</a> Create <code>@ babel/plugin-proposal-import-attributes-to-assertions</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-syntax-import-attributes</code>, <code>babel-preset-env</code>, <code>babel-standalone</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15536" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15536/hovercard">#15536</a> Add support for the updated import attributes proposal (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15520" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15520/hovercard">#15520</a> Parse <code>await using</code> declarations (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-helper-create-regexp-features-plugin</code>, <code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15638" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15638/hovercard">#15638</a> Enable regexp unicode sets parsing by default (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-syntax-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15570" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15570/hovercard">#15570</a> Add decorators version <code>2023-05</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-plugin-transform-react-constant-elements</code>, <code>babel-plugin-transform-react-jsx</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15549" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15549/hovercard">#15549</a> Improve type definitions for validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="house" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png">🏠</g-emoji> Internal</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15630" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15630/hovercard">#15630</a> Unify parsing of import/export modifiers (type/typeof/module) (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-node</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-duplicate-named-capturing-groups-regex</code>, <code>babel-plugin-transform-async-generator-functions</code>, <code>babel-plugin-transform-named-capturing-groups-regex</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs3</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15531" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15531/hovercard">#15531</a> Allow polyfill providers to specify custom <code>@ babel/runtime</code> pkg (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-dynamic-import</code>, <code>babel-plugin-proposal-export-namespace-from</code>, <code>babel-plugin-proposal-function-sent</code>, <code>babel-plugin-proposal-json-strings</code>, <code>babel-plugin-proposal-logical-assignment-operators</code>, <code>babel-plugin-proposal-nullish-coalescing-operator</code>, <code>babel-plugin-proposal-numeric-separator</code>, <code>babel-plugin-proposal-object-rest-spread</code>, <code>babel-plugin-proposal-optional-catch-binding</code>, <code>babel-plugin-proposal-optional-chaining</code>, <code>babel-plugin-proposal-pipeline-operator</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-proposal-unicode-property-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15614" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15614/hovercard">#15614</a> Rename <code>-proposal-</code>s that became standard to <code>-transform-</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.21.5</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.5">2023-04-28</a></br><h2>v7.21.5 (2023-04-28)</h2> <h4><g-emoji class="g-emoji" alias="eyeglasses" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f453.png">👓</g-emoji> Spec Compliance</h4> <ul> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15539" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15539/hovercard">#15539</a> fix: Remove <code>mixins</code> and <code>implements</code> for <code>DeclareInterface</code> and <code>InterfaceDeclaration</code> (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug Fix</h4> <ul> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-react-jsx</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15515" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15515/hovercard">#15515</a> fix: <code>)</code> position with <code>createParenthesizedExpressions</code> (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-preset-env</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15580" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15580/hovercard">#15580</a> Add syntax import meta to preset env (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15546" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15546/hovercard">#15546</a> Improve the layout of generated validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15535" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15535/hovercard">#15535</a> Use <code>lt</code> instead of <code>lte</code> to check TS version for .cts config (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="house" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png">🏠</g-emoji> Internal</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15575" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15575/hovercard">#15575</a> Use synchronous <code>import.meta.resolve</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-helper-fixtures</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15568" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15568/hovercard">#15568</a> Handle <code>.overrides</code> and <code>.env</code> when resolving plugins/presets from fixture options (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-create-regexp-features-plugin</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15548" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15548/hovercard">#15548</a> Use <code>semver</code> package to compare versions (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.21.4-esm.4</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.1</b> - 2023-04-04 </li> <li> <b>7.21.4-esm</b> - 2023-04-04 </li> <li> <b>7.21.0</b> - 2023-02-20 </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/runtime GitHub release notes</a> </details> </details> <hr/> **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIwNTMyY2ZiZC1lNjNiLTRlY2YtOWIwMi0yNmJiNDcwNjljNjciLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjA1MzJjZmJkLWU2M2ItNGVjZi05YjAyLTI2YmI0NzA2OWM2NyJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/manuelfidalgo/project/769ce794-fdf1-4a0f-b65f-8048a4452873?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/manuelfidalgo/project/769ce794-fdf1-4a0f-b65f-8048a4452873/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/manuelfidalgo/project/769ce794-fdf1-4a0f-b65f-8048a4452873/settings/integration?pkg=@babel/runtime&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"0532cfbd-e63b-4ecf-9b02-26bb47069c67","prPublicId":"0532cfbd-e63b-4ecf-9b02-26bb47069c67","dependencies":[{"name":"@babel/runtime","from":"7.21.0","to":"7.22.3"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/manuelfidalgo/project/769ce794-fdf1-4a0f-b65f-8048a4452873?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"769ce794-fdf1-4a0f-b65f-8048a4452873","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":8,"publishedDate":"2023-05-27T10:11:03.463Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> Co-authored-by: snyk-bot <snyk-bot@snyk.io>
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade @babel/runtime from 7.21.0 to 7.22.3.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **8 versions** ahead of your current version. - The recommended version was released **a month ago**, on 2023-05-27. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/runtime</b></summary> <ul> <li> <b>7.22.3</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.3">2023-05-27</a></br><h2>v7.22.3 (2023-05-27)</h2> <ul> <li>Re-publish all the package published in 7.22.0 that hadn't been republished yet. We accidentally published them with a <code>package.json</code> file containing <code>"type": "script"</code> instead of <code>"type": "commonjs"</code> (<a href="https://snyk.io/redirect/github/babel/babel/issues/15664" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/15664/hovercard">#15664</a>).</li> </ul> </li> <li> <b>7.22.0</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.0">2023-05-26</a></br><h2>v7.22.0 (2023-05-26)</h2> <h4>🚀 New Feature</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15497" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15497/hovercard">#15497</a> [ts] Support <code>import ... =</code> and <code>export =</code> in scripts (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-core</code>, <code>babel-plugin-proposal-unicode-sets-regex</code>, <code>babel-plugin-transform-unicode-sets-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15636" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15636/hovercard">#15636</a> Add <code>unicode-sets-regex</code> transform to <code>preset-env</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15633" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15633/hovercard">#15633</a> Implement transform support for <code>using</code> declarations (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-import-attributes-to-assertions</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15620" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15620/hovercard">#15620</a> Create <code>@ babel/plugin-proposal-import-attributes-to-assertions</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-syntax-import-attributes</code>, <code>babel-preset-env</code>, <code>babel-standalone</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15536" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15536/hovercard">#15536</a> Add support for the updated import attributes proposal (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15520" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15520/hovercard">#15520</a> Parse <code>await using</code> declarations (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-helper-create-regexp-features-plugin</code>, <code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15638" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15638/hovercard">#15638</a> Enable regexp unicode sets parsing by default (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-syntax-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15570" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15570/hovercard">#15570</a> Add decorators version <code>2023-05</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-plugin-transform-react-constant-elements</code>, <code>babel-plugin-transform-react-jsx</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15549" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15549/hovercard">#15549</a> Improve type definitions for validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15630" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15630/hovercard">#15630</a> Unify parsing of import/export modifiers (type/typeof/module) (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-node</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-duplicate-named-capturing-groups-regex</code>, <code>babel-plugin-transform-async-generator-functions</code>, <code>babel-plugin-transform-named-capturing-groups-regex</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs3</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15531" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15531/hovercard">#15531</a> Allow polyfill providers to specify custom <code>@ babel/runtime</code> pkg (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-dynamic-import</code>, <code>babel-plugin-proposal-export-namespace-from</code>, <code>babel-plugin-proposal-function-sent</code>, <code>babel-plugin-proposal-json-strings</code>, <code>babel-plugin-proposal-logical-assignment-operators</code>, <code>babel-plugin-proposal-nullish-coalescing-operator</code>, <code>babel-plugin-proposal-numeric-separator</code>, <code>babel-plugin-proposal-object-rest-spread</code>, <code>babel-plugin-proposal-optional-catch-binding</code>, <code>babel-plugin-proposal-optional-chaining</code>, <code>babel-plugin-proposal-pipeline-operator</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-proposal-unicode-property-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15614" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15614/hovercard">#15614</a> Rename <code>-proposal-</code>s that became standard to <code>-transform-</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.21.5</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.5">2023-04-28</a></br><h2>v7.21.5 (2023-04-28)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15539" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15539/hovercard">#15539</a> fix: Remove <code>mixins</code> and <code>implements</code> for <code>DeclareInterface</code> and <code>InterfaceDeclaration</code> (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug Fix</h4> <ul> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-react-jsx</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15515" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15515/hovercard">#15515</a> fix: <code>)</code> position with <code>createParenthesizedExpressions</code> (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-preset-env</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15580" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15580/hovercard">#15580</a> Add syntax import meta to preset env (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15546" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15546/hovercard">#15546</a> Improve the layout of generated validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15535" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15535/hovercard">#15535</a> Use <code>lt</code> instead of <code>lte</code> to check TS version for .cts config (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="house" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png">🏠</g-emoji> Internal</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15575" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15575/hovercard">#15575</a> Use synchronous <code>import.meta.resolve</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-helper-fixtures</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15568" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15568/hovercard">#15568</a> Handle <code>.overrides</code> and <code>.env</code> when resolving plugins/presets from fixture options (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-create-regexp-features-plugin</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15548" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15548/hovercard">#15548</a> Use <code>semver</code> package to compare versions (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.21.4-esm.4</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.1</b> - 2023-04-04 </li> <li> <b>7.21.4-esm</b> - 2023-04-04 </li> <li> <b>7.21.0</b> - 2023-02-20 </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/runtime GitHub release notes</a> </details> </details> <hr/> **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI3NDM1MDEzYy02ZGIyLTRlYmItOTMwMy1iNzI4Zjc1ZWYwNDQiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6Ijc0MzUwMTNjLTZkYjItNGViYi05MzAzLWI3MjhmNzVlZjA0NCJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/manuelfidalgo/project/5377b91e-1f65-4687-bd82-f1cfd31dbf49?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/manuelfidalgo/project/5377b91e-1f65-4687-bd82-f1cfd31dbf49/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/manuelfidalgo/project/5377b91e-1f65-4687-bd82-f1cfd31dbf49/settings/integration?pkg=@babel/runtime&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"7435013c-6db2-4ebb-9303-b728f75ef044","prPublicId":"7435013c-6db2-4ebb-9303-b728f75ef044","dependencies":[{"name":"@babel/runtime","from":"7.21.0","to":"7.22.3"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/manuelfidalgo/project/5377b91e-1f65-4687-bd82-f1cfd31dbf49?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"5377b91e-1f65-4687-bd82-f1cfd31dbf49","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":8,"publishedDate":"2023-05-27T10:11:03.463Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> Co-authored-by: snyk-bot <snyk-bot@snyk.io>
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade @babel/runtime from 7.15.4 to 7.22.5.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **32 versions** ahead of your current version. - The recommended version was released **a month ago**, on 2023-06-08. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/runtime</b></summary> <ul> <li> <b>7.22.5</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.5">2023-06-08</a></br><h2>v7.22.5 (2023-06-08)</h2> <h4><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug Fix</h4> <ul> <li><code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15675" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15675/hovercard">#15675</a> Fix using <code>syntax-unicode-sets-regex</code> in standalone (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15683" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15683/hovercard">#15683</a> Suggest <code>-transform-</code> when resolving missing plugins (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Avery (<a href="https://snyk.io/redirect/github/nullableVoidPtr">@ nullableVoidPtr</a>)</li> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.22.3</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.3">2023-05-27</a></br><h2>v7.22.3 (2023-05-27)</h2> <ul> <li>Re-publish all the package published in 7.22.0 that hadn't been republished yet. We accidentally published them with a <code>package.json</code> file containing <code>"type": "script"</code> instead of <code>"type": "commonjs"</code> (<a href="https://snyk.io/redirect/github/babel/babel/issues/15664" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/15664/hovercard">#15664</a>).</li> </ul> </li> <li> <b>7.22.0</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.0">2023-05-26</a></br><h2>v7.22.0 (2023-05-26)</h2> <h4><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> New Feature</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15497" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15497/hovercard">#15497</a> [ts] Support <code>import ... =</code> and <code>export =</code> in scripts (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-core</code>, <code>babel-plugin-proposal-unicode-sets-regex</code>, <code>babel-plugin-transform-unicode-sets-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15636" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15636/hovercard">#15636</a> Add <code>unicode-sets-regex</code> transform to <code>preset-env</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15633" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15633/hovercard">#15633</a> Implement transform support for <code>using</code> declarations (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-import-attributes-to-assertions</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15620" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15620/hovercard">#15620</a> Create <code>@ babel/plugin-proposal-import-attributes-to-assertions</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-syntax-import-attributes</code>, <code>babel-preset-env</code>, <code>babel-standalone</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15536" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15536/hovercard">#15536</a> Add support for the updated import attributes proposal (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15520" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15520/hovercard">#15520</a> Parse <code>await using</code> declarations (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-helper-create-regexp-features-plugin</code>, <code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15638" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15638/hovercard">#15638</a> Enable regexp unicode sets parsing by default (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-syntax-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15570" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15570/hovercard">#15570</a> Add decorators version <code>2023-05</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-plugin-transform-react-constant-elements</code>, <code>babel-plugin-transform-react-jsx</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15549" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15549/hovercard">#15549</a> Improve type definitions for validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="house" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png">🏠</g-emoji> Internal</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15630" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15630/hovercard">#15630</a> Unify parsing of import/export modifiers (type/typeof/module) (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-node</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-duplicate-named-capturing-groups-regex</code>, <code>babel-plugin-transform-async-generator-functions</code>, <code>babel-plugin-transform-named-capturing-groups-regex</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs3</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15531" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15531/hovercard">#15531</a> Allow polyfill providers to specify custom <code>@ babel/runtime</code> pkg (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-dynamic-import</code>, <code>babel-plugin-proposal-export-namespace-from</code>, <code>babel-plugin-proposal-function-sent</code>, <code>babel-plugin-proposal-json-strings</code>, <code>babel-plugin-proposal-logical-assignment-operators</code>, <code>babel-plugin-proposal-nullish-coalescing-operator</code>, <code>babel-plugin-proposal-numeric-separator</code>, <code>babel-plugin-proposal-object-rest-spread</code>, <code>babel-plugin-proposal-optional-catch-binding</code>, <code>babel-plugin-proposal-optional-chaining</code>, <code>babel-plugin-proposal-pipeline-operator</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-proposal-unicode-property-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15614" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15614/hovercard">#15614</a> Rename <code>-proposal-</code>s that became standard to <code>-transform-</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.21.5</b> - 2023-04-28 </li> <li> <b>7.21.4-esm.4</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.1</b> - 2023-04-04 </li> <li> <b>7.21.4-esm</b> - 2023-04-04 </li> <li> <b>7.21.0</b> - 2023-02-20 </li> <li> <b>7.20.13</b> - 2023-01-21 </li> <li> <b>7.20.7</b> - 2022-12-22 </li> <li> <b>7.20.6</b> - 2022-11-28 </li> <li> <b>7.20.5</b> - 2022-11-28 </li> <li> <b>7.20.1</b> - 2022-11-01 </li> <li> <b>7.20.0</b> - 2022-10-27 </li> <li> <b>7.19.4</b> - 2022-10-10 </li> <li> <b>7.19.0</b> - 2022-09-05 </li> <li> <b>7.18.9</b> - 2022-07-18 </li> <li> <b>7.18.6</b> - 2022-06-27 </li> <li> <b>7.18.3</b> - 2022-05-25 </li> <li> <b>7.18.2</b> - 2022-05-25 </li> <li> <b>7.18.0</b> - 2022-05-19 </li> <li> <b>7.17.9</b> - 2022-04-06 </li> <li> <b>7.17.8</b> - 2022-03-18 </li> <li> <b>7.17.7</b> - 2022-03-14 </li> <li> <b>7.17.2</b> - 2022-02-08 </li> <li> <b>7.17.0</b> - 2022-02-02 </li> <li> <b>7.16.7</b> - 2021-12-31 </li> <li> <b>7.16.5</b> - 2021-12-13 </li> <li> <b>7.16.3</b> - 2021-11-09 </li> <li> <b>7.16.0</b> - 2021-10-29 </li> <li> <b>7.15.4</b> - 2021-09-02 </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/runtime GitHub release notes</a> </details> </details> <hr/> **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI2N2U4ZmE0ZS0yOGEwLTRmOTYtYjExOS0wY2Y0OTlmOWI4ODMiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjY3ZThmYTRlLTI4YTAtNGY5Ni1iMTE5LTBjZjQ5OWY5Yjg4MyJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/manuelfidalgo/project/66032be7-3f6a-461d-846e-cb929cfbf7f4?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/manuelfidalgo/project/66032be7-3f6a-461d-846e-cb929cfbf7f4/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/manuelfidalgo/project/66032be7-3f6a-461d-846e-cb929cfbf7f4/settings/integration?pkg=@babel/runtime&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"67e8fa4e-28a0-4f96-b119-0cf499f9b883","prPublicId":"67e8fa4e-28a0-4f96-b119-0cf499f9b883","dependencies":[{"name":"@babel/runtime","from":"7.15.4","to":"7.22.5"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/manuelfidalgo/project/66032be7-3f6a-461d-846e-cb929cfbf7f4?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"66032be7-3f6a-461d-846e-cb929cfbf7f4","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":32,"publishedDate":"2023-06-08T18:21:03.378Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: van Basten 17 <35448568+vanbasten17@users.noreply.github.com>
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade @babel/runtime from 7.14.8 to 7.22.5.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **34 versions** ahead of your current version. - The recommended version was released **a month ago**, on 2023-06-08. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/runtime</b></summary> <ul> <li> <b>7.22.5</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.5">2023-06-08</a></br><h2>v7.22.5 (2023-06-08)</h2> <h4><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug Fix</h4> <ul> <li><code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15675" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15675/hovercard">#15675</a> Fix using <code>syntax-unicode-sets-regex</code> in standalone (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15683" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15683/hovercard">#15683</a> Suggest <code>-transform-</code> when resolving missing plugins (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Avery (<a href="https://snyk.io/redirect/github/nullableVoidPtr">@ nullableVoidPtr</a>)</li> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.22.3</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.3">2023-05-27</a></br><h2>v7.22.3 (2023-05-27)</h2> <ul> <li>Re-publish all the package published in 7.22.0 that hadn't been republished yet. We accidentally published them with a <code>package.json</code> file containing <code>"type": "script"</code> instead of <code>"type": "commonjs"</code> (<a href="https://snyk.io/redirect/github/babel/babel/issues/15664" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/15664/hovercard">#15664</a>).</li> </ul> </li> <li> <b>7.22.0</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.22.0">2023-05-26</a></br><h2>v7.22.0 (2023-05-26)</h2> <h4><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> New Feature</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15497" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15497/hovercard">#15497</a> [ts] Support <code>import ... =</code> and <code>export =</code> in scripts (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-core</code>, <code>babel-plugin-proposal-unicode-sets-regex</code>, <code>babel-plugin-transform-unicode-sets-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15636" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15636/hovercard">#15636</a> Add <code>unicode-sets-regex</code> transform to <code>preset-env</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15633" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15633/hovercard">#15633</a> Implement transform support for <code>using</code> declarations (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-import-attributes-to-assertions</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15620" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15620/hovercard">#15620</a> Create <code>@ babel/plugin-proposal-import-attributes-to-assertions</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-syntax-import-attributes</code>, <code>babel-preset-env</code>, <code>babel-standalone</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15536" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15536/hovercard">#15536</a> Add support for the updated import attributes proposal (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15520" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15520/hovercard">#15520</a> Parse <code>await using</code> declarations (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-helper-create-regexp-features-plugin</code>, <code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15638" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15638/hovercard">#15638</a> Enable regexp unicode sets parsing by default (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-syntax-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15570" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15570/hovercard">#15570</a> Add decorators version <code>2023-05</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="nail_care" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f485.png">💅</g-emoji> Polish</h4> <ul> <li><code>babel-plugin-transform-react-constant-elements</code>, <code>babel-plugin-transform-react-jsx</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15549" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15549/hovercard">#15549</a> Improve type definitions for validators (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4><g-emoji class="g-emoji" alias="house" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png">🏠</g-emoji> Internal</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15630" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15630/hovercard">#15630</a> Unify parsing of import/export modifiers (type/typeof/module) (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-node</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-duplicate-named-capturing-groups-regex</code>, <code>babel-plugin-transform-async-generator-functions</code>, <code>babel-plugin-transform-named-capturing-groups-regex</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs3</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15531" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15531/hovercard">#15531</a> Allow polyfill providers to specify custom <code>@ babel/runtime</code> pkg (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-proposal-dynamic-import</code>, <code>babel-plugin-proposal-export-namespace-from</code>, <code>babel-plugin-proposal-function-sent</code>, <code>babel-plugin-proposal-json-strings</code>, <code>babel-plugin-proposal-logical-assignment-operators</code>, <code>babel-plugin-proposal-nullish-coalescing-operator</code>, <code>babel-plugin-proposal-numeric-separator</code>, <code>babel-plugin-proposal-object-rest-spread</code>, <code>babel-plugin-proposal-optional-catch-binding</code>, <code>babel-plugin-proposal-optional-chaining</code>, <code>babel-plugin-proposal-pipeline-operator</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-proposal-unicode-property-regex</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15614" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15614/hovercard">#15614</a> Rename <code>-proposal-</code>s that became standard to <code>-transform-</code> (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Babel Bot (<a href="https://snyk.io/redirect/github/babel-bot">@ babel-bot</a>)</li> <li>Huáng Jùnliàng (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> <li>Nicolò Ribaudo (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> </ul> </li> <li> <b>7.21.5</b> - 2023-04-28 </li> <li> <b>7.21.4-esm.4</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.1</b> - 2023-04-04 </li> <li> <b>7.21.4-esm</b> - 2023-04-04 </li> <li> <b>7.21.0</b> - 2023-02-20 </li> <li> <b>7.20.13</b> - 2023-01-21 </li> <li> <b>7.20.7</b> - 2022-12-22 </li> <li> <b>7.20.6</b> - 2022-11-28 </li> <li> <b>7.20.5</b> - 2022-11-28 </li> <li> <b>7.20.1</b> - 2022-11-01 </li> <li> <b>7.20.0</b> - 2022-10-27 </li> <li> <b>7.19.4</b> - 2022-10-10 </li> <li> <b>7.19.0</b> - 2022-09-05 </li> <li> <b>7.18.9</b> - 2022-07-18 </li> <li> <b>7.18.6</b> - 2022-06-27 </li> <li> <b>7.18.3</b> - 2022-05-25 </li> <li> <b>7.18.2</b> - 2022-05-25 </li> <li> <b>7.18.0</b> - 2022-05-19 </li> <li> <b>7.17.9</b> - 2022-04-06 </li> <li> <b>7.17.8</b> - 2022-03-18 </li> <li> <b>7.17.7</b> - 2022-03-14 </li> <li> <b>7.17.2</b> - 2022-02-08 </li> <li> <b>7.17.0</b> - 2022-02-02 </li> <li> <b>7.16.7</b> - 2021-12-31 </li> <li> <b>7.16.5</b> - 2021-12-13 </li> <li> <b>7.16.3</b> - 2021-11-09 </li> <li> <b>7.16.0</b> - 2021-10-29 </li> <li> <b>7.15.4</b> - 2021-09-02 </li> <li> <b>7.15.3</b> - 2021-08-11 </li> <li> <b>7.14.8</b> - 2021-07-20 </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/runtime GitHub release notes</a> </details> </details> <hr/> **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIzMzM3ZDhjYy1iNDdjLTQxODItYjU4MC1hOWMzN2UxNzhmM2MiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjMzMzdkOGNjLWI0N2MtNDE4Mi1iNTgwLWE5YzM3ZTE3OGYzYyJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/manuelfidalgo/project/1c62d78b-20bb-4951-b329-bcb6c6a5d6ad?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/manuelfidalgo/project/1c62d78b-20bb-4951-b329-bcb6c6a5d6ad/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/manuelfidalgo/project/1c62d78b-20bb-4951-b329-bcb6c6a5d6ad/settings/integration?pkg=@babel/runtime&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"3337d8cc-b47c-4182-b580-a9c37e178f3c","prPublicId":"3337d8cc-b47c-4182-b580-a9c37e178f3c","dependencies":[{"name":"@babel/runtime","from":"7.14.8","to":"7.22.5"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/manuelfidalgo/project/1c62d78b-20bb-4951-b329-bcb6c6a5d6ad?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"1c62d78b-20bb-4951-b329-bcb6c6a5d6ad","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":34,"publishedDate":"2023-06-08T18:21:03.378Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: van Basten 17 <35448568+vanbasten17@users.noreply.github.com>
https://github.com/tc39/proposal-import-attributes
The changes compared to the import assertions proposals are listed at tc39/proposal-import-attributes#131
To make the migration easier, since import assertions are already widely used in tools:
importAssertions
parser plugin accepts the newwith
syntax by defaultimportAttributes
parser plugin has adeprecatedAssertSyntax
option to accept the old syntaxIn Babel 8, we will remove both the
importAssertions
plugin and the super oldmoduleAttributes
plugin (which used thewith
keyword, but without braces). I will add the properprocess.env.BABEL_8_BREAKING
checks in a future cleanup PR.Description generated by Copilot 🤖:
🤖 Generated by Copilot at d46267b
Summary
🆕🛠️🚧
This pull request adds support for the
importAttributes
plugin in the parser and the generator, and updates the code and tests to handle the new and legacy syntaxes for module attributes and assertions. It also renames theimportAssertions
plugin toimportAttributes
and adds a deprecation warning for the old name. It fixes some bugs and improves the error messages and the test output format for the related features.Walkthrough
importAssertions
plugin toimportAttributes
and update syntax to match proposal (link, link, link, link, link, link)with
andassert
keywords and both legacy and new module attribute syntaxes inimportAttributes
plugin (link, link, link, link, link)babel-generator
to handle bothattributes
andassertions
properties on import and export nodes and use_printAttributes
function (link, link, link, link)assert
keyword in import attributes (link, link)ExportNamedDeclaration
andImportDeclaration
functions to usemaybeParseImportAttributes
function and remove unused functions (link, link)importAttributes
plugin withwith
keyword anddeprecatedAssertSyntax
option (link, link, link)importAssertions
plugin withassert
keyword (link, link, link)importAssertions
plugin withwith
keyword in dynamic import (link)estree
plugin with import assertions and attributes (link, link, link)moduleAttributes
plugin (link, link)