Socket
Socket
Sign inDemoInstall

sequence

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sequence - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

README.md

4

package.json
{
"name": "sequence",
"version": "2.1.1",
"description": "The promise / subscribe / deferred module of FuturesJS (Ender.JS and Node.JS)",
"version": "2.2.0",
"description": "The sequence module of FuturesJS (Ender.JS and Node.JS)",
"homepage": "https://github.com/coolaj86/futures",

@@ -6,0 +6,0 @@ "keywords": ["flow-control", "async", "asynchronous", "futures", "sequence", "chain", "step", "util", "browser"],

@@ -5,6 +5,6 @@ (function () {

function isSequence(obj) {
return obj instanceof sequence;
return obj instanceof Sequence;
}
function sequence(global_context) {
function Sequence(global_context) {
var self = this,

@@ -15,2 +15,6 @@ waiting = true,

if (!this) {
return new Sequence(global_context);
}
global_context = global_context || null;

@@ -57,8 +61,9 @@

function Sequence(context) {
function createSequence(context) {
// TODO use prototype instead of new
return (new sequence(context));
return (new Sequence(context));
}
Sequence.create = createSequence;
Sequence.isSequence = isSequence;
module.exports = Sequence;
}());
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