Socket
Socket
Sign inDemoInstall

node-html-parser

Package Overview
Dependencies
Maintainers
1
Versions
119
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.4.3 to 1.4.4

2

dist/esm/nodes/html.js

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

get tagName() {
return this.rawTagName?.toUpperCase();
return this.rawTagName ? this.rawTagName.toUpperCase() : this.rawTagName;
}

@@ -102,0 +102,0 @@ /**

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

get: function () {
var _a;
return (_a = this.rawTagName) === null || _a === void 0 ? void 0 : _a.toUpperCase();
return this.rawTagName ? this.rawTagName.toUpperCase() : this.rawTagName;
},

@@ -520,0 +519,0 @@ enumerable: false,

@@ -130,4 +130,3 @@ "use strict";

get: function () {
var _a;
return (_a = this.rawTagName) === null || _a === void 0 ? void 0 : _a.toUpperCase();
return this.rawTagName ? this.rawTagName.toUpperCase() : this.rawTagName;
},

@@ -134,0 +133,0 @@ enumerable: false,

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