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

node-html-parser

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-html-parser - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

1

dist/index.d.ts

@@ -7,2 +7,3 @@ import HTMLElement from './nodes/html';

export { default as TextNode } from './nodes/text';
export { default as NodeType } from './nodes/type';
export interface Options {

@@ -9,0 +10,0 @@ lowerCaseTagName?: boolean;

@@ -18,2 +18,4 @@ "use strict";

exports.TextNode = text_2.default;
var type_1 = require("./nodes/type");
exports.NodeType = type_1.default;
// https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name

@@ -20,0 +22,0 @@ var kMarkupPattern = /<!--[^]*?(?=-->)-->|<(\/?)([a-z][-.:0-9_a-z]*)\s*([^>]*?)(\/?)>/ig;

2

dist/nodes/html.d.ts

@@ -103,3 +103,3 @@ import Node from './node';

*/
querySelector(selector: string | Matcher): Node;
querySelector(selector: string | Matcher): HTMLElement;
/**

@@ -106,0 +106,0 @@ * Append a child node to childNodes

@@ -10,3 +10,3 @@ var __importDefault = (this && this.__importDefault) || function (mod) {

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "./back", "./nodes/comment", "./nodes/html", "./nodes/text", "./nodes/comment", "./nodes/html", "./nodes/node", "./nodes/text"], factory);
define(["require", "exports", "./back", "./nodes/comment", "./nodes/html", "./nodes/text", "./nodes/comment", "./nodes/html", "./nodes/node", "./nodes/text", "./nodes/type"], factory);
}

@@ -28,2 +28,4 @@ })(function (require, exports) {

exports.TextNode = text_2.default;
var type_1 = require("./nodes/type");
exports.NodeType = type_1.default;
// https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name

@@ -30,0 +32,0 @@ var kMarkupPattern = /<!--[^]*?(?=-->)-->|<(\/?)([a-z][-.:0-9_a-z]*)\s*([^>]*?)(\/?)>/ig;

{
"name": "node-html-parser",
"version": "1.2.5",
"version": "1.2.6",
"description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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