Skip to content

Commit e9d9e9b

Browse files
authored
Merge pull request #66 from posthtml/milestone-0.8.3
perf: attr value as boolean
2 parents 5e12aa4 + 80e07ca commit e9d9e9b

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
## <small>0.8.3 (2021-05-06)</small>
2+
3+
* perf: attr value as boolean ([d143dbb](https://github.com/posthtml/posthtml-parser/commit/d143dbb))
4+
5+
6+
17
## <small>0.8.2 (2021-05-06)</small>
28

9+
* 0.8.2 ([f57d7ed](https://github.com/posthtml/posthtml-parser/commit/f57d7ed))
310
* perf: type node text as number ([bf2fb73](https://github.com/posthtml/posthtml-parser/commit/bf2fb73))
411

512

package-lock.json

Lines changed: 1 addition & 1 deletion
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": "posthtml-parser",
3-
"version": "0.8.2",
3+
"version": "0.8.3",
44
"description": "Parse HTML/XML to PostHTMLTree",
55
"license": "MIT",
66
"repository": "posthtml/posthtml-parser",

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type Options = {
1515
} & ParserOptions;
1616

1717
export type Tag = string | boolean;
18-
export type Attributes = Record<string, string>;
18+
export type Attributes = Record<string, string | boolean>;
1919
export type Content = NodeText | Node[];
2020

2121
export type NodeText = string | number;

0 commit comments

Comments
 (0)