Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsdom

Package Overview
Dependencies
Maintainers
2
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsdom - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

12

lib/jsdom/level1/core.js

@@ -865,3 +865,3 @@ /*

core.NamedNodeMap = function NamedNodeMap(document) {
this._nodes = {};
this._nodes = Object.create(null);
this._nsStore = {};

@@ -922,3 +922,3 @@ this.length = 0;

if (!this._nodes.hasOwnProperty(name)) {
if (!this._nodes[name]) {
throw new core.DOMException(NOT_FOUND_ERR);

@@ -939,8 +939,6 @@ }

for (var member in this._nodes) {
if (this._nodes.hasOwnProperty(member)) {
if (current === index && this._nodes[member]) {
return this._nodes[member];
}
current++;
if (current === index && this._nodes[member]) {
return this._nodes[member];
}
current++;
}

@@ -947,0 +945,0 @@ return null;

{
"name": "jsdom",
"version": "0.6.4",
"version": "0.6.5",
"description": "A JavaScript implementation of the W3C DOM",

@@ -5,0 +5,0 @@ "keywords": ["dom", "w3c", "html"],

@@ -291,3 +291,3 @@ # jsdom

jsdom/index 89/89 100%
jsdom/parsing 7/7 100%
jsdom/parsing 8/8 100%
jsonp/jsonp 1/1 100%

@@ -297,3 +297,3 @@ browser/contextifyReplacement 4/4 100%

------------------------------------------------------
TOTALS: 0/2605 failed; 100% success
TOTALS: 0/2606 failed; 100% success
```

@@ -300,0 +300,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc