Skip to content

Commit 16f453a

Browse files
github-actions[bot]DylanPiercey
authored andcommitted
[ci] release
1 parent 4d28e16 commit 16f453a

5 files changed

Lines changed: 21 additions & 21 deletions

File tree

.changeset/quick-comments-attrs.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/statement-fn-return-type-body.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# htmljs-parser
22

3+
## 5.12.0
4+
5+
### Minor Changes
6+
7+
- [#225](https://github.com/marko-js/htmljs-parser/pull/225) [`4d28e16`](https://github.com/marko-js/htmljs-parser/commit/4d28e1671e645642bebeae7e75e6d226f5ba0ce7) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Support comments between concise mode line attributes.
8+
9+
### Patch Changes
10+
11+
- [#224](https://github.com/marko-js/htmljs-parser/pull/224) [`aaeb3fd`](https://github.com/marko-js/htmljs-parser/commit/aaeb3fd2e3616137b5ef7c13bfe0c71a820b6686) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Fix a spurious "Mismatched group" error when a `>` (or other comparison) appears in the body of a statement function that declares a return type, e.g.:
12+
13+
```marko
14+
export function a(): b {
15+
return c > d;
16+
}
17+
```
18+
19+
Previously the type-parsing state from the return type annotation leaked into the function body, so a `>` was treated as a closing generic bracket. A `{` that follows a completed type now correctly ends the annotation and parses the block as a value.
20+
321
## 5.11.0
422

523
### Minor Changes

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "htmljs-parser",
3-
"version": "5.11.0",
3+
"version": "5.12.0",
44
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
55
"keywords": [
66
"HTML",

0 commit comments

Comments
 (0)