From 8373816269efbd943ea84e12dda9620a3eccc52b Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 6 May 2021 14:51:59 +0300 Subject: [PATCH 1/2] perf: content two dimensional array --- 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 dba2073..d269117 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -16,7 +16,7 @@ export type Options = { export type Tag = string | boolean; export type Attributes = Record; -export type Content = NodeText | Node[]; +export type Content = NodeText | Node[] | Node[][]; export type NodeText = string | number; export type NodeTag = { From 14d353ef97f7290a292e7378c76c1c074e7a5826 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 6 May 2021 14:53:58 +0300 Subject: [PATCH 2/2] 0.8.5 --- 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 376f5fc..279e148 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ +## 0.8.5 (2021-05-06) + +* perf: content two dimensional array ([8373816](https://github.com/posthtml/posthtml-parser/commit/8373816)) + + + ## 0.8.4 (2021-05-06) +* 0.8.4 ([aaa0b3e](https://github.com/posthtml/posthtml-parser/commit/aaa0b3e)) * perf: attr value as number ([3d08ec5](https://github.com/posthtml/posthtml-parser/commit/3d08ec5)) diff --git a/package-lock.json b/package-lock.json index 040db20..3d064f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "posthtml-parser", - "version": "0.8.4", + "version": "0.8.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 459dd10..5632730 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "posthtml-parser", - "version": "0.8.4", + "version": "0.8.5", "description": "Parse HTML/XML to PostHTMLTree", "license": "MIT", "repository": "posthtml/posthtml-parser",