Comparing version 2.5.0 to 2.5.1
@@ -18,3 +18,3 @@ "use strict"; | ||
function isCDATA(node) { | ||
return node.type === "cdata" /* CDATA */; | ||
return node.type === domelementtype_1.ElementType.CDATA; | ||
} | ||
@@ -27,3 +27,3 @@ exports.isCDATA = isCDATA; | ||
function isText(node) { | ||
return node.type === "text" /* Text */; | ||
return node.type === domelementtype_1.ElementType.Text; | ||
} | ||
@@ -36,3 +36,3 @@ exports.isText = isText; | ||
function isComment(node) { | ||
return node.type === "comment" /* Comment */; | ||
return node.type === domelementtype_1.ElementType.Comment; | ||
} | ||
@@ -39,0 +39,0 @@ exports.isComment = isComment; |
{ | ||
"name": "domutils", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Utilities for working with htmlparser2's dom", | ||
@@ -40,4 +40,4 @@ "author": "Felix Boehm <me@feedic.com>", | ||
"dom-serializer": "^1.0.1", | ||
"domelementtype": "^2.0.1", | ||
"domhandler": "^4.0.0" | ||
"domelementtype": "^2.2.0", | ||
"domhandler": "^4.1.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
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
47276
Updateddomelementtype@^2.2.0
Updateddomhandler@^4.1.0