node-html-parser
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155706
4209