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 2.0.0 to 2.0.1

2

dist/esm/nodes/html.js

@@ -436,3 +436,3 @@ import { decode } from 'he';

if (this.rawAttrs) {
const re = /\b([a-z][a-z0-9-]*)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|(\S+)))?/ig;
const re = /\b([a-z][a-z0-9-_]*)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|(\S+)))?/ig;
let match;

@@ -439,0 +439,0 @@ while ((match = re.exec(this.rawAttrs))) {

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

if (this.rawAttrs) {
var re = /\b([a-z][a-z0-9-]*)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|(\S+)))?/ig;
var re = /\b([a-z][a-z0-9-_]*)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|(\S+)))?/ig;
var match = void 0;

@@ -940,0 +940,0 @@ while ((match = re.exec(this.rawAttrs))) {

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

if (this.rawAttrs) {
var re = /\b([a-z][a-z0-9-]*)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|(\S+)))?/ig;
var re = /\b([a-z][a-z0-9-_]*)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|(\S+)))?/ig;
var match = void 0;

@@ -515,0 +515,0 @@ while ((match = re.exec(this.rawAttrs))) {

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

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

@@ -89,3 +89,3 @@ # Fast HTML Parser [![NPM version](https://badge.fury.io/js/node-html-parser.png)](http://badge.fury.io/js/node-html-parser) [![Build Status](https://travis-ci.org/taoqf/node-html-parser.svg?branch=master)](https://travis-ci.org/taoqf/node-html-parser)

Parse given data, return the root element if the givent data is valid, and return false if not valid.
Parse given data, return true if the givent data is valid, and return false if not.

@@ -92,0 +92,0 @@ ## HTMLElement Methods

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