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.9 to 0.8.10

3

lib/jsdom/level2/html.js

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

return URL.parse(this.href).pathname;
},
get hash() {
return URL.parse(this.href).hash;
}

@@ -1323,0 +1326,0 @@ },

2

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

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

@@ -278,3 +278,3 @@ # jsdom

level2/core 283/283 100%
level2/html 707/707 100%
level2/html 708/708 100%
level2/style 15/15 100%

@@ -297,3 +297,3 @@ level2/extra 4/4 100%

---------------------------------------
TOTALS: 0/2628 failed; 100% success
TOTALS: 0/2629 failed; 100% success
```

@@ -328,7 +328,9 @@

For Mac and Linux users, this is usually fine. Their systems come preinstalled with the necessaries for compiling C++.
For Windows users, however, things can be tricky. Thus, one of the most common problems with jsdom is trying to use it
on Windows without the proper compilation tools installed. Here's what you need to compile Contextify, and thus to
install jsdom, on Windows:
Unfortunately, getting C++ compiled within npm's installation system can be tricky, especially for Windows users. Thus,
one of the most common problems with jsdom is trying to use it without the proper compilation tools installed.
Here's what you need to compile Contextify, and thus to install jsdom:
### Windows
* A recent copy of the *x86* version of [Node.js for Windows](http://nodejs.org/download/), *not* the x64 version.

@@ -340,1 +342,12 @@ * A copy of [Visual C++ 2010 Express](http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express).

sometimes you can even get an x64 version of Node.js working too. But it's tricky, so start with the basics!
### Mac
* XCode needs to be installed
* "Command line tools for XCode" need to be installed
* Launch XCode once to accept the license, etc. and ensure it's properly installed
### Linux
You'll need various build tools installed, like `make`, Python 2.7, and a compiler toolchain. How to install these will
be specific to your distro, if you don't already have them.
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