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

asynk

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asynk - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

asynk.js

@@ -196,2 +196,5 @@ var _ = require('underscore');

Asynk.prototype.add = function(fct) {
if ( _.isUndefined(fct) || !_.isFunction(fct) ) {
throw new Error('Asynk add require a function as argument');
}
var newId = this.tasks.length;

@@ -204,2 +207,5 @@ this.tasks[newId] = new Task(this, newId, fct);

Asynk.prototype.each = function(datas, fct) {
if ( _.isUndefined(fct) || !_.isFunction(fct) ) {
throw new Error('Asynk each require a function as second argument');
}
var self = this;

@@ -206,0 +212,0 @@ self.currentTasks = [];

2

package.json
{
"name": "asynk",
"version": "0.0.4",
"version": "0.0.5",
"description": "flow control library for javascript",

@@ -5,0 +5,0 @@ "main": "asynk.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