Socket
Socket
Sign inDemoInstall

domutils

Package Overview
Dependencies
4
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.0 to 2.5.1

6

lib/tagtypes.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc