Socket
Socket
Sign inDemoInstall

asyncgo

Package Overview
Dependencies
2
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

20

lib/async.go.js

@@ -9,19 +9,15 @@ var async = require('async');

module.exports = function() {
var self = this;
var self = this, show = false;
// Get the arguments and method to call.
var args = _.filter(_.values(arguments), function(arg) {
return !!arg;
});
// Get the arguments.
var args = _.values(arguments);
// See if we should print the command...
if (typeof args[0] === 'boolean') {
show = args.shift();
}
// Get the method.
var method = args.shift();
var show = true;
// If the first argument is a boolean allow then to not display.
if (typeof method==='boolean') {
show = method;
method = args.shift();
}
// Return the async.js signature.

@@ -28,0 +24,0 @@ return function(done) {

2

package.json
{
"name": "asyncgo",
"version": "0.0.3",
"version": "0.0.4",
"description": "Provides a wrapper method for easily integrating asynchronous callbacks with Async.js.",

@@ -5,0 +5,0 @@ "author": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc