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.2 to 0.6.3

9

lib/jsdom.js

@@ -268,9 +268,8 @@ var dom = exports.dom = require("./jsdom/level3/index").dom,

// Handle markup
if (config.html.indexOf("\n") > 0 || config.html.match(/^\W*</)) {
var url = URL.parse(config.html);
if (!url.protocol) {
// Handle markup
processHTML(null, config.html);
// Handle url/file
} else {
var url = URL.parse(config.html);
// Handle url/file
config.url = config.url || url.href;

@@ -277,0 +276,0 @@ if (url.hostname) {

{
"name": "jsdom",
"version": "0.6.2",
"version": "0.6.3",
"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 88/88 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 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%
------------------------------------------------------
TOTALS: 0/2603 failed; 100% success
TOTALS: 0/2604 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