domelementtype
Advanced tools
Comparing version 2.0.2 to 2.1.0
/** Types of elements found in htmlparser2's DOM */ | ||
export declare const enum ElementType { | ||
/** Type for the root element of a document */ | ||
Root = "root", | ||
/** Type for Text */ | ||
@@ -28,2 +30,4 @@ Text = "text", | ||
}): boolean; | ||
/** Type for the root element of a document */ | ||
export declare const Root = ElementType.Root; | ||
/** Type for Text */ | ||
@@ -30,0 +34,0 @@ export declare const Text = ElementType.Text; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.isTag = void 0; | ||
exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = void 0; | ||
/** | ||
@@ -16,2 +16,4 @@ * Tests whether an element is a tag or not. | ||
// Exports for backwards compatibility | ||
/** Type for the root element of a document */ | ||
exports.Root = "root" /* Root */; | ||
/** Type for Text */ | ||
@@ -18,0 +20,0 @@ exports.Text = "text" /* Text */; |
{ | ||
"name": "domelementtype", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "all the types of nodes in htmlparser2's dom", | ||
@@ -5,0 +5,0 @@ "author": "Felix Boehm <me@feedic.com>", |
Sorry, the diff of this file is not supported yet
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
6066
80