Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.0 to 0.8.1

9

changelog.md

@@ -0,3 +1,12 @@

## <small>0.8.1 (2021-05-05)</small>
* ci: add node 16 ([58c6740](https://github.com/posthtml/posthtml-parser/commit/58c6740))
* perf: types content ([e9f59a2](https://github.com/posthtml/posthtml-parser/commit/e9f59a2))
* perf: types content ([87b2a82](https://github.com/posthtml/posthtml-parser/commit/87b2a82))
## 0.8.0 (2021-04-16)
* 0.8.0 ([9676edd](https://github.com/posthtml/posthtml-parser/commit/9676edd))
* ci: drop support for node 10 (found not to be working) ([585d552](https://github.com/posthtml/posthtml-parser/commit/585d552))

@@ -4,0 +13,0 @@ * build: add prepare script ([1dc46fc](https://github.com/posthtml/posthtml-parser/commit/1dc46fc))

2

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

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

@@ -17,10 +17,13 @@ import {ParserOptions} from 'htmlparser2';

export type Node = NodeText | NodeTag;
export type Tag = string | boolean;
export type Attributes = Record<string, string>;
export type Content = NodeText | Node[];
export type NodeText = string;
export type NodeTag = {
tag?: string | boolean;
tag?: Tag;
attrs?: Attributes;
content?: Node[];
content?: Content;
};
export type Attributes = Record<string, string>;
export type Node = NodeText | NodeTag;

Sorry, the diff of this file is not supported yet

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