Socket
Socket
Sign inDemoInstall

parse5

Package Overview
Dependencies
0
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.1 to 0.5.2

3

lib/default_tree_adapter.js

@@ -85,4 +85,3 @@ //TODO test it

exports.insertText = function (parentNode, text) {
var childNodesLength = parentNode.childNodes.length,
lastChild = childNodesLength && parentNode.childNodes[childNodesLength - 1];
var lastChild = parentNode.childNodes[parentNode.childNodes.length - 1];

@@ -89,0 +88,0 @@ if (lastChild && lastChild.nodeName === '#text')

{
"name": "parse5",
"description": "Fast full-featured HTML parser for Node. Based on WHATWG HTML5 specification.",
"version": "0.5.1",
"version": "0.5.2",
"author": "Ivan Nikulin (ifaaan@gmail.com, https://github.com/inikulin)",

@@ -9,3 +9,3 @@ "keywords": ["html", "parser", "html5", "WHATWG", "specification", "fast"],

"type": "git",
"url": "https://github.com/inikulin/parse5.git"
"url": "git://github.com/inikulin/parse5.git"
},

@@ -12,0 +12,0 @@ "main": "./index.js",

Sorry, the diff of this file is too big to display

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