Socket
Socket
Sign inDemoInstall

snyk-module

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-module - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

5

lib/index.js

@@ -137,5 +137,4 @@ module.exports = moduleToObject;

if (module.version.indexOf('http') === 0 ||
module.version.indexOf('git') === 0 ||
var protocolMatch = module.version.match(/^(https?:)|(git[:+])/i);
if (protocolMatch ||
module.name.indexOf('://') !== -1) {

@@ -142,0 +141,0 @@ // we don't support non-npm modules atm

2

package.json

@@ -55,3 +55,3 @@ {

},
"version": "1.7.0"
"version": "1.7.1"
}

@@ -116,3 +116,2 @@ var test = require('tap').test;

urls.forEach(function (url, i) {
debugger;
t.deepEqual(mod(url), expect[i], url + ' works');

@@ -119,0 +118,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