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.12 to 1.2.13

8

dist/main.js

@@ -696,3 +696,3 @@ var __extends = (this && this.__extends) || (function () {

while (stack.length) {
var state = back_1.default(stack);
var state = back_1.default(stack); // get last element
var el = state[0];

@@ -705,6 +705,8 @@ if (state[1] === 0) {

}
state[2] = matcher.advance(el);
var html_el = el;
state[2] = matcher.advance(html_el);
if (state[2]) {
if (matcher.matched) {
res.push(el);
res.push(html_el);
res.push.apply(res, (html_el.querySelectorAll(selector)));
// no need to go further.

@@ -711,0 +713,0 @@ matcher.rewind();

@@ -328,3 +328,3 @@ "use strict";

while (stack.length) {
var state = back_1.default(stack);
var state = back_1.default(stack); // get last element
var el = state[0];

@@ -337,6 +337,8 @@ if (state[1] === 0) {

}
state[2] = matcher.advance(el);
var html_el = el;
state[2] = matcher.advance(html_el);
if (state[2]) {
if (matcher.matched) {
res.push(el);
res.push(html_el);
res.push.apply(res, (html_el.querySelectorAll(selector)));
// no need to go further.

@@ -343,0 +345,0 @@ matcher.rewind();

{
"name": "node-html-parser",
"version": "1.2.12",
"version": "1.2.13",
"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