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

queue-async

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

queue-async - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

component.json
{
"name": "queue-async",
"version": "1.0.4",
"version": "1.0.5",
"main": "./queue.js"
}
{
"name": "queue-async",
"version": "1.0.4",
"version": "1.0.5",
"description": "A little helper for asynchronous JavaScript.",

@@ -5,0 +5,0 @@ "keywords": [

(function() {
if (typeof module === "undefined") self.queue = queue;
else module.exports = queue;
queue.version = "1.0.4";
var slice = [].slice;

@@ -79,2 +75,7 @@

function noop() {}
queue.version = "1.0.5";
if (typeof define === "function" && define.amd) define(queue);
else if (typeof module === "object" && module.exports) module.exports = queue;
else this.queue = queue;
})();

@@ -1,1 +0,1 @@

(function(){function n(n){function t(){for(;f=a<c.length&&n>p;){var u=a++,t=c[u],r=l.call(t,1);r.push(e(u)),++p,t[0].apply(null,r)}}function e(n){return function(u,l){--p,null==d&&(null!=u?(d=u,a=s=0/0,r()):(c[n]=l,--s?f||t():r()))}}function r(){null!=d?v(d):i?v(d,c):v.apply(null,[d].concat(c))}var o,f,i,c=[],a=0,p=0,s=0,d=null,v=u;return n||(n=1/0),o={defer:function(){return d||(c.push(arguments),++s,t()),o},await:function(n){return v=n,i=!1,s||r(),o},awaitAll:function(n){return v=n,i=!0,s||r(),o}}}function u(){}"undefined"==typeof module?self.queue=n:module.exports=n,n.version="1.0.4";var l=[].slice})();
(function(){function n(n){function t(){for(;r=c.length>a&&n>p;){var u=a++,t=c[u],o=e.call(t,1);o.push(l(u)),++p,t[0].apply(null,o)}}function l(n){return function(u,e){--p,null==s&&(null!=u?(s=u,a=d=0/0,o()):(c[n]=e,--d?r||t():o()))}}function o(){null!=s?m(s):f?m(s,c):m.apply(null,[s].concat(c))}var i,r,f,c=[],a=0,p=0,d=0,s=null,m=u;return n||(n=1/0),i={defer:function(){return s||(c.push(arguments),++d,t()),i},await:function(n){return m=n,f=!1,d||o(),i},awaitAll:function(n){return m=n,f=!0,d||o(),i}}}function u(){}var e=[].slice;n.version="1.0.5","function"==typeof define&&define.amd?define(n):"object"==typeof module&&module.exports?module.exports=n:this.queue=n})();

@@ -32,2 +32,12 @@ # queue.js

Queue.js supports the asynchronous module definition (AMD) API. For example, if you use [RequireJS](http://requirejs.org/), you may load as follows:
```js
require.config({paths: {queue: "http://d3js.org/queue.v1.min"}});
require(["queue"], function(queue) {
console.log(queue.version);
});
```
In Node, use [NPM](http://npmjs.org) to install:

@@ -39,3 +49,3 @@

Note that the package name is [queue-async](https://npmjs.org/package/queue-async); the name “queue” was already taken.
And then `require("queue-async")`. (The package name is [queue-async](https://npmjs.org/package/queue-async) because the name “queue” was already taken.)

@@ -42,0 +52,0 @@ ## API Reference

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