node-html-parser
Advanced tools
Comparing version 1.2.5 to 1.2.6
@@ -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; |
@@ -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", |
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
158715
30
2858