chore(deps): bump @biomejs/cli-darwin-arm64 from 2.5.0 to 2.5.10
Bumps @biomejs/cli-darwin-arm64 from 2.5.0 to 2.5.10.
Release notes
Sourced from @biomejs/cli-darwin-arm64's releases.
Biome CLI v2.5.10
2.5.10
Patch Changes
#11403
8f7786fThanks@Princesseuh! - Fixed Astro rejecting JavaScript comments between attributes.<div /* block comment */ class="something"></div> <Component /* c */ client:load />#11403
8f7786fThanks@Princesseuh! - Fixed a bare<in Astro text being treated as the start of a tag, such as<p>5 < 6 and 7 > 6</p>. As in HTML, a<that cannot open a tag is text and needs no escaping.#11438
3133ffaThanks@Princesseuh! - Fixed #8294: an Astro expression holding only a comment is no longer reported as a parse error, which also stopped the whole file from being formatted.<div>{/* a note */}</div> <div class={/* a note */}>x</div>#11403
8f7786fThanks@Princesseuh! - Fixed #9165: an empty Astro expression such as<div>{}</div>no longer fails to parse. Astro renders{}as nothing.#11403
8f7786fThanks@Princesseuh! - Fixed Astro expressions containing a comment failing to parse.<div>{/* block comment */ x}</div> <div>{/* only a comment */}</div>#11403
8f7786fThanks@Princesseuh! - Added support for Astro's fragment shorthand.<> <p>a</p> </>#11403
8f7786fThanks@Princesseuh! - Fixed an Astro frontmatter block being cut short by a closing tag inside a string or comment.--- const a = "</script>"; // </script> in a comment ---#11403
8f7786fThanks@Princesseuh! - Fixed---being read as an Astro frontmatter fence when markup precedes it. Astro only recognizes frontmatter at the very start of a file, so a file opening with a comment now has no frontmatter, and its---lines are content.
... (truncated)
Changelog
Sourced from @biomejs/cli-darwin-arm64's changelog.
2.5.10
Patch Changes
#11403
8f7786fThanks@Princesseuh! - Fixed Astro rejecting JavaScript comments between attributes.<div /* block comment */ class="something"></div> <Component /* c */ client:load />#11403
8f7786fThanks@Princesseuh! - Fixed a bare<in Astro text being treated as the start of a tag, such as<p>5 < 6 and 7 > 6</p>. As in HTML, a<that cannot open a tag is text and needs no escaping.#11438
3133ffaThanks@Princesseuh! - Fixed #8294: an Astro expression holding only a comment is no longer reported as a parse error, which also stopped the whole file from being formatted.<div>{/* a note */}</div> <div class={/* a note */}>x</div>#11403
8f7786fThanks@Princesseuh! - Fixed #9165: an empty Astro expression such as<div>{}</div>no longer fails to parse. Astro renders{}as nothing.#11403
8f7786fThanks@Princesseuh! - Fixed Astro expressions containing a comment failing to parse.<div>{/* block comment */ x}</div> <div>{/* only a comment */}</div>#11403
8f7786fThanks@Princesseuh! - Added support for Astro's fragment shorthand.<> <p>a</p> </>#11403
8f7786fThanks@Princesseuh! - Fixed an Astro frontmatter block being cut short by a closing tag inside a string or comment.--- const a = "</script>"; // </script> in a comment ---#11403
8f7786fThanks@Princesseuh! - Fixed---being read as an Astro frontmatter fence when markup precedes it. Astro only recognizes frontmatter at the very start of a file, so a file opening with a comment now has no frontmatter, and its---lines are content.<!-- c -->
... (truncated)
Commits
05797b1ci: release (#11450)5f1ed34chore: add CodSpeed and Cloudflare to sponsors (#11410)2081460ci: release (#11309)6559e6cfeat: adds theuseAstroClientOnlyDirectiveValuerule for .astro files (#11299)a8798eafeat: useNamedLayer (#11377)85aac73feat(lint): addnoUnsafeTypeAssertionrule (#11221)e65f07efeat(lint): nursery useControlLabel (#11312)ba8aa18feat(lint): adduseTailwindShorthandClasses(#10312)6b8f09cci: release (#11236)23c0369feat(lint): nursery noInvalidPropertyInitValue (#11187)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates the @biomejs/cli-darwin-arm64 optional dependency from 2.5.0 to 2.5.10. This patch release fixes several Astro parsing and formatting issues, including support for empty expressions, comment-only expressions, and fragment shorthand.