Socket
Socket
Sign inDemoInstall

posthtml-parser

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml-parser - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

7

changelog.md

@@ -0,3 +1,10 @@

## <small>0.8.3 (2021-05-06)</small>
* perf: attr value as boolean ([d143dbb](https://github.com/posthtml/posthtml-parser/commit/d143dbb))
## <small>0.8.2 (2021-05-06)</small>
* 0.8.2 ([f57d7ed](https://github.com/posthtml/posthtml-parser/commit/f57d7ed))
* perf: type node text as number ([bf2fb73](https://github.com/posthtml/posthtml-parser/commit/bf2fb73))

@@ -4,0 +11,0 @@

2

package.json
{
"name": "posthtml-parser",
"version": "0.8.2",
"version": "0.8.3",
"description": "Parse HTML/XML to PostHTMLTree",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -18,3 +18,3 @@ import {ParserOptions} from 'htmlparser2';

export type Tag = string | boolean;
export type Attributes = Record<string, string>;
export type Attributes = Record<string, string | boolean>;
export type Content = NodeText | Node[];

@@ -21,0 +21,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc