Comparing version 2.1.1 to 2.2.0
{ | ||
"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; | ||
}()); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
2990
3
53
0
36
0
1