Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

require-from-url

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

require-from-url - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

5

index.js

@@ -6,3 +6,3 @@ var parse = require("url").parse;

module.exports = function() {
var _url = [].concat(arguments.length===1 ? arguments[0] : arguments),
var _url = Array.from(arguments),
_len = _url.length,

@@ -15,3 +15,3 @@ values = Array(_len);

if(!--_len) {
for(var i=0; i<values.length; i++) {
for(var i=0; i<values.length; i++)
if(values[i] instanceof Error) {

@@ -21,3 +21,2 @@ next('Rejected', values[i]);

}
}
next('Resolved', values);

@@ -24,0 +23,0 @@ }

2

package.json
{
"name": "require-from-url",
"version": "2.0.1",
"version": "2.0.2",
"description": "Require module from URL",

@@ -5,0 +5,0 @@ "main": "./index.js",

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