From 3d08ec521a7a6125b834d1e9985080becbfb9baa Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 6 May 2021 13:29:16 +0300 Subject: [PATCH 1/2] perf: attr value as number --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index b5beb1a..dba2073 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -15,7 +15,7 @@ export type Options = { } & ParserOptions; export type Tag = string | boolean; -export type Attributes = Record; +export type Attributes = Record; export type Content = NodeText | Node[]; export type NodeText = string | number; From aaa0b3e09d0b014c9e6ff7a324767bb04971302c Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 6 May 2021 13:31:34 +0300 Subject: [PATCH 2/2] 0.8.4 --- changelog.md | 7 +++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index d531a60..376f5fc 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ +## 0.8.4 (2021-05-06) + +* perf: attr value as number ([3d08ec5](https://github.com/posthtml/posthtml-parser/commit/3d08ec5)) + + + ## 0.8.3 (2021-05-06) +* 0.8.3 ([80e07ca](https://github.com/posthtml/posthtml-parser/commit/80e07ca)) * perf: attr value as boolean ([d143dbb](https://github.com/posthtml/posthtml-parser/commit/d143dbb)) diff --git a/package-lock.json b/package-lock.json index 3c9be59..040db20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "posthtml-parser", - "version": "0.8.3", + "version": "0.8.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f12046d..459dd10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "posthtml-parser", - "version": "0.8.3", + "version": "0.8.4", "description": "Parse HTML/XML to PostHTMLTree", "license": "MIT", "repository": "posthtml/posthtml-parser",