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.3 to 0.6.4

5

lib/jsdom/browser/index.js

@@ -112,2 +112,3 @@ var http = require('http'),

var timers = [];
var cssSelectorSplitRE = /((?:[^,"']|"[^"]*"|'[^']*')+)/;

@@ -255,6 +256,6 @@ function startTimer(startFn, stopFn, callback, ms) {

var selectors = rule.selectorText.split(/\s*,\s*/);
var selectors = rule.selectorText.split(cssSelectorSplitRE);
var matched = false;
selectors.forEach(function (selectorText) {
if (!matched && matchesDontThrow(node, selectorText)) {
if (selectorText !== '' && selectorText !== ',' && !matched && matchesDontThrow(node, selectorText)) {
matched = true;

@@ -261,0 +262,0 @@ forEach.call(rule.style, function (property) {

@@ -1322,2 +1322,7 @@ var core = require("./core").dom.level2.core,

proto: {
_attrModified: function(name, value, oldVal) {
if (name == 'src' && value !== oldVal) {
core.resourceLoader.enqueue(this, function() {})();
}
},
get src() {

@@ -1324,0 +1329,0 @@ return core.resourceLoader.resolve(this._ownerDocument, this.getAttribute('src'));

2

package.json
{
"name": "jsdom",
"version": "0.6.3",
"version": "0.6.4",
"description": "A JavaScript implementation of the W3C DOM",

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

@@ -277,22 +277,22 @@ # jsdom

```
level1/core 535/535 100%
level1/html 238/238 100%
level1/svg 527/527 100%
level2/core 283/283 100%
level2/html 706/706 100%
level2/style 14/14 100%
level2/extra 4/4 100%
level2/events 24/24 100%
level3/xpath 93/93 100%
window/index 5/5 100%
window/script 10/10 100%
window/frame 16/16 100%
sizzle/index 14/14 100%
jsdom/index 89/89 100%
jsdom/parsing 7/7 100%
jsonp/jsonp 1/1 100%
browser/contextifyReplacement 4/4 100%
browser/index 34/34 100%
level1/core 535/535 100%
level1/html 238/238 100%
level1/svg 527/527 100%
level2/core 283/283 100%
level2/html 706/706 100%
level2/style 15/15 100%
level2/extra 4/4 100%
level2/events 24/24 100%
level3/xpath 93/93 100%
window/index 5/5 100%
window/script 10/10 100%
window/frame 16/16 100%
sizzle/index 14/14 100%
jsdom/index 89/89 100%
jsdom/parsing 7/7 100%
jsonp/jsonp 1/1 100%
browser/contextifyReplacement 4/4 100%
browser/index 34/34 100%
------------------------------------------------------
TOTALS: 0/2604 failed; 100% success
TOTALS: 0/2605 failed; 100% success
```

@@ -299,0 +299,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