Socket
Socket
Sign inDemoInstall

jsdom

Package Overview
Dependencies
67
Maintainers
2
Versions
259
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.17 to 0.2.18

7

lib/jsdom/level2/style.js

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

cssom = require("cssom"),
cssstyle = require("cssstyle"),
assert = require('assert');

@@ -32,3 +33,3 @@

core.CSSImportRule = cssom.CSSImportRule;
core.CSSStyleDeclaration = cssom.CSSStyleDeclaration;
core.CSSStyleDeclaration = cssstyle.CSSStyleDeclaration;

@@ -125,3 +126,3 @@ // Relavant specs

* @param {string} data
* @param {cssom.CSSStyleDeclaration} style
* @param {cssstyle.CSSStyleDeclaration} style
*/

@@ -185,3 +186,3 @@ function evaluateStyleAttribute(data) {

if (!style) {
style = this._cssStyleDeclaration = new cssom.CSSStyleDeclaration();
style = this._cssStyleDeclaration = new cssstyle.CSSStyleDeclaration();
if (!this.getAttributeNode('style')) {

@@ -188,0 +189,0 @@ this.setAttribute('style', '');

{
"name": "jsdom",
"version": "0.2.17",
"version": "0.2.18",
"description": "A JavaScript implementation of the W3C DOM",

@@ -159,2 +159,7 @@ "keywords": [

"email" : "jroberts@logitech.com"
},
{
"name" : "Chad Walker",
"email" : "chad@chad-cat-lore-eddie.com",
"url" : "https://github.com/chad3814"
}

@@ -185,2 +190,3 @@ ],

"cssom" : "0.2.x",
"cssstyle" : ">=0.2.3",
"contextify" : "0.1.x"

@@ -187,0 +193,0 @@ },

@@ -299,8 +299,8 @@ # jsdom

sizzle/index 12/15 80%
jsdom/index 79/80 98%
jsdom/index 80/80 100%
jsonp/jsonp 1/1 100%
browser/contextifyReplacement 4/4 100%
browser/index 21/22 95%
browser/index 22/22 100%
------------------------------------------------------
TOTALS: 5/2551 failed; 99% success
TOTALS: 3/2551 failed; 99% success
```

@@ -307,0 +307,0 @@

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