Skip to content

Commit 9c8c3f8

Browse files
authored
Merge pull request #67 from posthtml/milestone-0.8.4
perf: attr value as number
2 parents e9d9e9b + aaa0b3e commit 9c8c3f8

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.4 (2021-05-06)</small>
2+
3+
* perf: attr value as number ([3d08ec5](https://github.com/posthtml/posthtml-parser/commit/3d08ec5))
4+
5+
6+
17
## <small>0.8.3 (2021-05-06)</small>
28

9+
* 0.8.3 ([80e07ca](https://github.com/posthtml/posthtml-parser/commit/80e07ca))
310
* perf: attr value as boolean ([d143dbb](https://github.com/posthtml/posthtml-parser/commit/d143dbb))
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.3",
3+
"version": "0.8.4",
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 | boolean>;
18+
export type Attributes = Record<string, string | number | boolean>;
1919
export type Content = NodeText | Node[];
2020

2121
export type NodeText = string | number;

0 commit comments

Comments
 (0)