Socket
Socket
Sign inDemoInstall

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.4.0 to 0.4.1

5

lib/jsdom/level2/html.js

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

resolve: function(document, href) {
// if getAttribute returns null, there is no href
// lets resolve to an empty string (nulls are not expected farther up)
if(href === null)
return '';
if (href.match(/^\w+:\/\//)) {

@@ -81,0 +86,0 @@ return href;

2

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

@@ -5,0 +5,0 @@ "keywords": [

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