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
refactor: introduce lookaheadInLineCharCode
#15510
Conversation
@@ -22,7 +22,7 @@ export function isNewLine(code: number): boolean { | |||
export const skipWhiteSpace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g; | |||
|
|||
export const skipWhiteSpaceInLine = | |||
/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y; | |||
/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g; |
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.
This change has no effect since we are not using .exec()
, here I am just aligning to the flag of skipWhiteSpace
.
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/54146/ |
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.
Very minor perf comment, otherwise LGTM 👍
@@ -914,12 +914,11 @@ export default abstract class StatementParser extends ExpressionParser { | |||
|
|||
const startsWithLet = this.isContextual(tt._let); | |||
const startsWithUsing = | |||
this.isContextual(tt._using) && !this.hasFollowingLineBreak(); | |||
this.isContextual(tt._using) && | |||
this.hasInLineFollowingBindingIdentifier(); |
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 move this check again to after startsWithUsing
in line 921 below? We don't need to run it when isLetOrUsing
is true because of startsWithLet
.
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.
Actually the line break check here is not required.
for (const
x of []);
is valid, and so should
// Currently throwing "Missing semicolon. (1:10)"
for (using
x of []);
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 proposal spec requires it; @rbuckton is there a reason?
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.
Ah you are right. I overlooked the spec.
Line break is probably safe here. for (using
requires a trailing semicolon to start a ForStatement, so there won't be ASI issues here from using
not being a keyword.
As for this PR I will keep the current behaviour.
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 proposal spec requires it; @rbuckton is there a reason?
It's definitely required in a regular for
, because for
reuses LexicalDeclaration, which requires it. I'd have to look into whether removing the restriction from for-of
would cause problems, but either way that would be a normative change requiring consensus. I'm leaning towards leaving it as-is, however, to keep the line termination rules for using
and await using
consistent in all places.
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.
keep the line termination rules for using and await using consistent in all places.
I agree. If there are any strong push back, we can always loose the restriction instead of adding one, which would be breaking.
/** | ||
* Similar to nextToken, but it will stop at line break when it is seen before the next token | ||
* | ||
* @returns {number} position of the next token start or line break, whichever is seen first. | ||
* @memberof Tokenizer | ||
*/ | ||
nextTokenInLineStart(): number { | ||
return this.nextTokenInLineStartSince(this.state.pos); | ||
} | ||
|
||
nextTokenInLineStartSince(pos: number): number { | ||
skipWhiteSpaceInLine.lastIndex = pos; | ||
return skipWhiteSpaceInLine.test(this.input) | ||
? skipWhiteSpaceInLine.lastIndex | ||
: pos; | ||
} |
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.
nextTokenInLineStart(pos = this.state.pos): number {
Would this be better?
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.
default parameter adds a new branching. I can inline nextTokenInLineStartSince
since we are not using it anyway. (An optimizing compiler will inline it for sure).
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.
Ah, nextTokenInLineStartSince
will be used in parsing await using foo = bar()
, when we do a second lookahead from using
.
<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.3 to 7.21.4 | **6 versions** ahead of your current version | **21 days ago**</br>on 2023-03-31 **@babel/plugin-syntax-flow**</br>from 7.18.6 to 7.21.4 | **6 versions** ahead of your current version | **21 days ago**</br>on 2023-03-31 <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/core</b></summary> <ul> <li> <b>7.21.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4">2023-03-31</a></br><h2>v7.21.4 (2023-03-31)</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-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15478" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15478/hovercard">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15496" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15496/hovercard">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</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-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15427" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15427/hovercard">#15427</a> Fix moving comments of removed nodes (<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>Other <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15519" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15519/hovercard">#15519</a> Update Prettier integration test (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15510" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15510/hovercard">#15510</a> refactor: introduce <code>lookaheadInLineCharCode</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-code-frame</code>, <code>babel-highlight</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15499" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15499/hovercard">#15499</a> Polish babel-code-frame highlight test (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 6</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>Ryan Tsao (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> <li>fisker Cheung (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li> <b>7.21.4-esm.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.4">2023-04-04</a></br><p>v7.21.4-esm.4</p> </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.2">2023-04-04</a></br><p>v7.21.4-esm.2</p> </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.3</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.3">2023-03-14</a></br><h2>v7.21.3 (2023-03-14)</h2> <p>Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amoeller/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/amoeller">@ amoeller</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Harpica/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/Harpica">@ Harpica</a>, and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nzakas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/nzakas">@ nzakas</a> for your first PRs!</p> <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/15479" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15479/hovercard">#15479</a> disallow mixins/implements in flow interface (<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-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15423" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15423/hovercard">#15423</a> [ts] Allow keywords in tuple labels (<a href="https://snyk.io/redirect/github/Harpica">@ Harpica</a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15489" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15489/hovercard">#15489</a> Register <code>var</code> decls generated by <code>import ... =</code> TS transform (<a href="https://snyk.io/redirect/github/amoeller">@ amoeller</a>)</li> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15494" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15494/hovercard">#15494</a> fix: Consider <code>export { type foo }</code> as type-only usage (<a href="https://snyk.io/redirect/github/magic-akari">@ magic-akari</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-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15484" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15484/hovercard">#15484</a> Skip node deprecation warnings when used by an old <code>@ babel</code> package (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15480" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15480/hovercard">#15480</a> chore: Improve <code>jsonCompatibleStrings</code> deprecation (<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><a href="https://snyk.io/redirect/github/babel/babel/pull/15465" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15465/hovercard">#15465</a> Add ESLint-readable package name (<a href="https://snyk.io/redirect/github/nzakas">@ nzakas</a>)</li> </ul> <h4><g-emoji class="g-emoji" alias="microscope" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f52c.png">🔬</g-emoji> Output optimization</h4> <ul> <li><code>babel-plugin-transform-typescript</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15467" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15467/hovercard">#15467</a> Optimize TS enums output (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4>Committers: 8</h4> <ul> <li>Alexandra Kadykova (<a href="https://snyk.io/redirect/github/Harpica">@ Harpica</a>)</li> <li>Anders Møller (<a href="https://snyk.io/redirect/github/amoeller">@ amoeller</a>)</li> <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>Nicholas C. Zakas (<a href="https://snyk.io/redirect/github/nzakas">@ nzakas</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> <li>magic-akari (<a href="https://snyk.io/redirect/github/magic-akari">@ magic-akari</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-syntax-flow</b></summary> <ul> <li> <b>7.21.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4">2023-03-31</a></br><h2>v7.21.4 (2023-03-31)</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-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15478" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15478/hovercard">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15496" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15496/hovercard">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</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-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15427" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15427/hovercard">#15427</a> Fix moving comments of removed nodes (<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>Other <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15519" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15519/hovercard">#15519</a> Update Prettier integration test (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15510" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15510/hovercard">#15510</a> refactor: introduce <code>lookaheadInLineCharCode</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-code-frame</code>, <code>babel-highlight</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15499" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15499/hovercard">#15499</a> Polish babel-code-frame highlight test (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 6</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>Ryan Tsao (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> <li>fisker Cheung (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li> <b>7.21.4-esm.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.4">2023-04-04</a></br><p>v7.21.4-esm.4</p> </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.2">2023-04-04</a></br><p>v7.21.4-esm.2</p> </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.18.6</b> - 2022-06-27 </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/plugin-syntax-flow 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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkMTg3MGFiZS0xYzA0LTQ2ODEtYWY0Yy1lYzQ0N2NiZDRlYjAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQxODcwYWJlLTFjMDQtNDY4MS1hZjRjLWVjNDQ3Y2JkNGViMCJ9fQ==" 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-syntax-flow&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"d1870abe-1c04-4681-af4c-ec447cbd4eb0","prPublicId":"d1870abe-1c04-4681-af4c-ec447cbd4eb0","dependencies":[{"name":"@babel/core","from":"7.21.3","to":"7.21.4"},{"name":"@babel/plugin-syntax-flow","from":"7.18.6","to":"7.21.4"}],"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":6,"publishedDate":"2023-03-31T09:02:00.858Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) --->
<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.3 to 7.21.4 | **6 versions** ahead of your current version | **22 days ago**</br>on 2023-03-31 **@babel/preset-env**</br>from 7.20.2 to 7.21.4 | **6 versions** ahead of your current version | **22 days ago**</br>on 2023-03-31 <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/core</b></summary> <ul> <li> <b>7.21.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4">2023-03-31</a></br><h2>v7.21.4 (2023-03-31)</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-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15478" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15478/hovercard">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15496" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15496/hovercard">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</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-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15427" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15427/hovercard">#15427</a> Fix moving comments of removed nodes (<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>Other <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15519" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15519/hovercard">#15519</a> Update Prettier integration test (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15510" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15510/hovercard">#15510</a> refactor: introduce <code>lookaheadInLineCharCode</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-code-frame</code>, <code>babel-highlight</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15499" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15499/hovercard">#15499</a> Polish babel-code-frame highlight test (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 6</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>Ryan Tsao (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> <li>fisker Cheung (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li> <b>7.21.4-esm.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.4">2023-04-04</a></br><p>v7.21.4-esm.4</p> </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.2">2023-04-04</a></br><p>v7.21.4-esm.2</p> </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.3</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.3">2023-03-14</a></br><h2>v7.21.3 (2023-03-14)</h2> <p>Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amoeller/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/amoeller">@ amoeller</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Harpica/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/Harpica">@ Harpica</a>, and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nzakas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/nzakas">@ nzakas</a> for your first PRs!</p> <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/15479" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15479/hovercard">#15479</a> disallow mixins/implements in flow interface (<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-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15423" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15423/hovercard">#15423</a> [ts] Allow keywords in tuple labels (<a href="https://snyk.io/redirect/github/Harpica">@ Harpica</a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15489" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15489/hovercard">#15489</a> Register <code>var</code> decls generated by <code>import ... =</code> TS transform (<a href="https://snyk.io/redirect/github/amoeller">@ amoeller</a>)</li> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15494" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15494/hovercard">#15494</a> fix: Consider <code>export { type foo }</code> as type-only usage (<a href="https://snyk.io/redirect/github/magic-akari">@ magic-akari</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-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15484" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15484/hovercard">#15484</a> Skip node deprecation warnings when used by an old <code>@ babel</code> package (<a href="https://snyk.io/redirect/github/nicolo-ribaudo">@ nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15480" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15480/hovercard">#15480</a> chore: Improve <code>jsonCompatibleStrings</code> deprecation (<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><a href="https://snyk.io/redirect/github/babel/babel/pull/15465" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15465/hovercard">#15465</a> Add ESLint-readable package name (<a href="https://snyk.io/redirect/github/nzakas">@ nzakas</a>)</li> </ul> <h4><g-emoji class="g-emoji" alias="microscope" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f52c.png">🔬</g-emoji> Output optimization</h4> <ul> <li><code>babel-plugin-transform-typescript</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15467" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15467/hovercard">#15467</a> Optimize TS enums output (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> </ul> <h4>Committers: 8</h4> <ul> <li>Alexandra Kadykova (<a href="https://snyk.io/redirect/github/Harpica">@ Harpica</a>)</li> <li>Anders Møller (<a href="https://snyk.io/redirect/github/amoeller">@ amoeller</a>)</li> <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>Nicholas C. Zakas (<a href="https://snyk.io/redirect/github/nzakas">@ nzakas</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> <li>magic-akari (<a href="https://snyk.io/redirect/github/magic-akari">@ magic-akari</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/preset-env</b></summary> <ul> <li> <b>7.21.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4">2023-03-31</a></br><h2>v7.21.4 (2023-03-31)</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-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15478" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15478/hovercard">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15496" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15496/hovercard">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</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-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15427" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15427/hovercard">#15427</a> Fix moving comments of removed nodes (<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>Other <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15519" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15519/hovercard">#15519</a> Update Prettier integration test (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15510" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15510/hovercard">#15510</a> refactor: introduce <code>lookaheadInLineCharCode</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-code-frame</code>, <code>babel-highlight</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15499" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15499/hovercard">#15499</a> Polish babel-code-frame highlight test (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 6</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>Ryan Tsao (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> <li>fisker Cheung (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li> <b>7.21.4-esm.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.4">2023-04-04</a></br><p>v7.21.4-esm.4</p> </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.2">2023-04-04</a></br><p>v7.21.4-esm.2</p> </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.20.2</b> - 2022-11-04 </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/preset-env 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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI0YTRlZjVmYi1kOTMyLTQ1MDUtYjA3Mi04OTYwYzFhOGY5MzUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjRhNGVmNWZiLWQ5MzItNDUwNS1iMDcyLTg5NjBjMWE4ZjkzNSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/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/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/settings/integration?pkg=@babel/core&pkg=@babel/preset-env&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"4a4ef5fb-d932-4505-b072-8960c1a8f935","prPublicId":"4a4ef5fb-d932-4505-b072-8960c1a8f935","dependencies":[{"name":"@babel/core","from":"7.21.3","to":"7.21.4"},{"name":"@babel/preset-env","from":"7.20.2","to":"7.21.4"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"852e6e4f-be96-45c8-b370-1060f5ebee55","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":6,"publishedDate":"2023-03-31T09:02:00.858Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io>
<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.4 to 7.21.5 | **1 version** ahead of your current version | **22 days ago**</br>on 2023-04-28 **@babel/preset-env**</br>from 7.21.4 to 7.21.5 | **1 version** ahead of your current version | **22 days ago**</br>on 2023-04-28 <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/core</b></summary> <ul> <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> <li> <b>7.21.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4">2023-03-31</a></br><h2>v7.21.4 (2023-03-31)</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-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15478" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15478/hovercard">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15496" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15496/hovercard">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</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-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15427" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15427/hovercard">#15427</a> Fix moving comments of removed nodes (<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>Other <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15519" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15519/hovercard">#15519</a> Update Prettier integration test (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15510" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15510/hovercard">#15510</a> refactor: introduce <code>lookaheadInLineCharCode</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-code-frame</code>, <code>babel-highlight</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15499" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15499/hovercard">#15499</a> Polish babel-code-frame highlight test (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 6</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>Ryan Tsao (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> <li>fisker Cheung (<a href="https://snyk.io/redirect/github/fisker">@ fisker</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/preset-env</b></summary> <ul> <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> <li> <b>7.21.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4">2023-03-31</a></br><h2>v7.21.4 (2023-03-31)</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-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15478" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15478/hovercard">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15496" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15496/hovercard">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</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-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15427" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15427/hovercard">#15427</a> Fix moving comments of removed nodes (<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>Other <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15519" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15519/hovercard">#15519</a> Update Prettier integration test (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15510" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15510/hovercard">#15510</a> refactor: introduce <code>lookaheadInLineCharCode</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-code-frame</code>, <code>babel-highlight</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15499" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15499/hovercard">#15499</a> Polish babel-code-frame highlight test (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 6</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>Ryan Tsao (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> <li>fisker Cheung (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> </ul> from <a href="https://snyk.io/redirect/github/babel/babel/releases">@babel/preset-env 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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI1ODA3ZTFmOS1jNDY5LTQwNWMtOGYwZC1hZTQwYTJiYjlmYmUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjU4MDdlMWY5LWM0NjktNDA1Yy04ZjBkLWFlNDBhMmJiOWZiZSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/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/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/settings/integration?pkg=@babel/core&pkg=@babel/preset-env&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"5807e1f9-c469-405c-8f0d-ae40a2bb9fbe","prPublicId":"5807e1f9-c469-405c-8f0d-ae40a2bb9fbe","dependencies":[{"name":"@babel/core","from":"7.21.4","to":"7.21.5"},{"name":"@babel/preset-env","from":"7.21.4","to":"7.21.5"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"852e6e4f-be96-45c8-b370-1060f5ebee55","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2023-04-28T19:50:30.054Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io>
…l/runtime (#2693) <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.4 to 7.21.5 | **1 version** ahead of your current version | **24 days ago**</br>on 2023-04-28 **@babel/plugin-transform-react-jsx**</br>from 7.21.0 to 7.21.5 | **6 versions** ahead of your current version | **24 days ago**</br>on 2023-04-28 **@babel/runtime**</br>from 7.21.0 to 7.21.5 | **6 versions** ahead of your current version | **24 days ago**</br>on 2023-04-28 <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/core</b></summary> <ul> <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> <li> <b>7.21.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4">2023-03-31</a></br><h2>v7.21.4 (2023-03-31)</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-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15478" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15478/hovercard">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15496" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15496/hovercard">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</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-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15427" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15427/hovercard">#15427</a> Fix moving comments of removed nodes (<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>Other <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15519" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15519/hovercard">#15519</a> Update Prettier integration test (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15510" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15510/hovercard">#15510</a> refactor: introduce <code>lookaheadInLineCharCode</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-code-frame</code>, <code>babel-highlight</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15499" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15499/hovercard">#15499</a> Polish babel-code-frame highlight test (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 6</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>Ryan Tsao (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> <li>fisker Cheung (<a href="https://snyk.io/redirect/github/fisker">@ fisker</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.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> <li> <b>7.21.4-esm.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.4">2023-04-04</a></br><p>v7.21.4-esm.4</p> </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.2">2023-04-04</a></br><p>v7.21.4-esm.2</p> </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/plugin-transform-react-jsx GitHub release notes</a> </details> <details> <summary>Package name: <b>@babel/runtime</b></summary> <ul> <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> <li> <b>7.21.4-esm.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.4">2023-04-04</a></br><p>v7.21.4-esm.4</p> </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.2">2023-04-04</a></br><p>v7.21.4-esm.2</p> </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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhOTIyMTJjZS1iNDU4LTQ1MmQtOTJiMy00MmZjNmNiNzVlY2MiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImE5MjIxMmNlLWI0NTgtNDUyZC05MmIzLTQyZmM2Y2I3NWVjYyJ9fQ==" 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":"a92212ce-b458-452d-92b3-42fc6cb75ecc","prPublicId":"a92212ce-b458-452d-92b3-42fc6cb75ecc","dependencies":[{"name":"@babel/core","from":"7.21.4","to":"7.21.5"},{"name":"@babel/plugin-transform-react-jsx","from":"7.21.0","to":"7.21.5"},{"name":"@babel/runtime","from":"7.21.0","to":"7.21.5"}],"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":1,"publishedDate":"2023-04-28T19:50:30.054Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) --->
…l/runtime (#2693) <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.4 to 7.21.5 | **1 version** ahead of your current version | **24 days ago**</br>on 2023-04-28 **@babel/plugin-transform-react-jsx**</br>from 7.21.0 to 7.21.5 | **6 versions** ahead of your current version | **24 days ago**</br>on 2023-04-28 **@babel/runtime**</br>from 7.21.0 to 7.21.5 | **6 versions** ahead of your current version | **24 days ago**</br>on 2023-04-28 <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@babel/core</b></summary> <ul> <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> <li> <b>7.21.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4">2023-03-31</a></br><h2>v7.21.4 (2023-03-31)</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-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15478" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15478/hovercard">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15496" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15496/hovercard">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</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-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15427" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15427/hovercard">#15427</a> Fix moving comments of removed nodes (<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>Other <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15519" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15519/hovercard">#15519</a> Update Prettier integration test (<a href="https://snyk.io/redirect/github/fisker">@ fisker</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15510" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15510/hovercard">#15510</a> refactor: introduce <code>lookaheadInLineCharCode</code> (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> <li><code>babel-code-frame</code>, <code>babel-highlight</code> <ul> <li><a href="https://snyk.io/redirect/github/babel/babel/pull/15499" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/15499/hovercard">#15499</a> Polish babel-code-frame highlight test (<a href="https://snyk.io/redirect/github/JLHwung">@ JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 6</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>Ryan Tsao (<a href="https://snyk.io/redirect/github/rtsao">@ rtsao</a>)</li> <li><a href="https://snyk.io/redirect/github/liuxingbaoyu">@ liuxingbaoyu</a></li> <li>fisker Cheung (<a href="https://snyk.io/redirect/github/fisker">@ fisker</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.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> <li> <b>7.21.4-esm.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.4">2023-04-04</a></br><p>v7.21.4-esm.4</p> </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.2">2023-04-04</a></br><p>v7.21.4-esm.2</p> </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/plugin-transform-react-jsx GitHub release notes</a> </details> <details> <summary>Package name: <b>@babel/runtime</b></summary> <ul> <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> <li> <b>7.21.4-esm.4</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.4">2023-04-04</a></br><p>v7.21.4-esm.4</p> </li> <li> <b>7.21.4-esm.3</b> - 2023-04-04 </li> <li> <b>7.21.4-esm.2</b> - <a href="https://snyk.io/redirect/github/babel/babel/releases/tag/v7.21.4-esm.2">2023-04-04</a></br><p>v7.21.4-esm.2</p> </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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhOTIyMTJjZS1iNDU4LTQ1MmQtOTJiMy00MmZjNmNiNzVlY2MiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImE5MjIxMmNlLWI0NTgtNDUyZC05MmIzLTQyZmM2Y2I3NWVjYyJ9fQ==" 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":"a92212ce-b458-452d-92b3-42fc6cb75ecc","prPublicId":"a92212ce-b458-452d-92b3-42fc6cb75ecc","dependencies":[{"name":"@babel/core","from":"7.21.4","to":"7.21.5"},{"name":"@babel/plugin-transform-react-jsx","from":"7.21.0","to":"7.21.5"},{"name":"@babel/runtime","from":"7.21.0","to":"7.21.5"}],"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":1,"publishedDate":"2023-04-28T19:50:30.054Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) --->
In this PR we are introducing a new variant of
lookaheadCharCode
:lookaheadInLineCharCode
. It works similar tolookaheadCharCode
but will stop if a line break is seen before any source characters. It allows us to consolidate thelookaheadCharCode
andhasFollowingLineBreak
calls into a single lookahead operation, effectively reduces the lookahead overhead.This PR is in preparation of the support for the Async Explicit Resource Management proposal.