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

browserify-async-define

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-async-define - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

4

index.js

@@ -80,7 +80,7 @@ var path = require('path');

var name = t[0];
return "asyncDefine(" + quote(label) + ", function(){return " + mangleName(name) + ";});"
return "require('async-define')(" + quote(label) + ", function(){return " + mangleName(name) + ";});"
})
.join('\n');
return ["var asyncDefine = require('async-define');", requires, defines].join('\n');
return [requires, defines].join('\n');
}

@@ -87,0 +87,0 @@

{
"name": "browserify-async-define",
"version": "2.0.8",
"version": "2.0.9",
"description": "Browserify plugin for async-define",

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

@@ -11,4 +11,3 @@ var path = require('path');

var s = sym ? quote(sym) + "," : "";
var out = ["var asyncDefine = require('async-define');"];
out.push("asyncDefine(" + s + d + "function (" + a + "){" );
var out = ["require('async-define')(" + s + d + "function (" + a + "){"];
out.push(body);

@@ -15,0 +14,0 @@ if (sym){

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