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.8.0 to 0.8.1

2

lib/jsdom/browser/index.js

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

jsdom = require('../../jsdom'),
Location = require('./Location'),
Location = require('./location'),
NOT_IMPLEMENTED = require('./utils').NOT_IMPLEMENTED,

@@ -12,0 +12,0 @@ CSSStyleDeclaration = require('cssstyle').CSSStyleDeclaration,

@@ -80,3 +80,3 @@ "use strict";

replace: function (val) {
window.location.href = val;
this.href = val;
},

@@ -83,0 +83,0 @@

{
"name": "jsdom",
"version": "0.8.0",
"version": "0.8.1",
"description": "A JavaScript implementation of the W3C DOM",

@@ -51,8 +51,6 @@ "keywords": ["dom", "w3c", "html"],

},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/tmpvar/jsdom/blob/master/LICENSE.txt"
}
],
"license": {
"type": "MIT",
"url": "http://github.com/tmpvar/jsdom/blob/master/LICENSE.txt"
},
"repository": {

@@ -66,3 +64,3 @@ "type": "git",

"dependencies": {
"htmlparser2": "3.x",
"htmlparser2": ">= 3.1.5 <4",
"nwmatcher": "~1.3.1",

@@ -69,0 +67,0 @@ "request": "2.x",

@@ -216,11 +216,2 @@ # jsdom

### Creating a document-less window
```js
var jsdom = require("jsdom");
var window = jsdom.createWindow();
console.log(window.document); // output: undefined
```
### Creating a document

@@ -299,3 +290,3 @@

jsdom/index 76/76 100%
jsdom/parsing 8/8 100%
jsdom/parsing 10/10 100%
jsdom/env 25/25 100%

@@ -305,3 +296,3 @@ jsonp/jsonp 1/1 100%

---------------------------------------
TOTALS: 0/2618 failed; 100% success
TOTALS: 0/2620 failed; 100% success
```

@@ -308,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