Comparing version 2.0.1 to 2.0.2
@@ -1,2 +0,2 @@ | ||
/* Copyright (c) 2012-2013 Brian Cavalier */ | ||
/* Copyright (c) 2012-2014 Brian Cavalier */ | ||
(function(define, global) { | ||
@@ -167,3 +167,6 @@ define(function() { | ||
if(typeof untrustedThen === 'function') { | ||
call(untrustedThen, x, resolve, reject); | ||
// Prevent thenable self-cycles | ||
call(untrustedThen, x, function(result) { | ||
resolve(result === x ? fulfilled(x) : result); | ||
}, reject); | ||
} else { | ||
@@ -213,2 +216,2 @@ // It's a value, create a fulfilled wrapper | ||
}); | ||
})(typeof define === 'function' && define.amd ? define : function(factory) { module.exports = factory(); }, this); | ||
})(typeof define === 'function' && define.amd ? define : function(factory) { module.exports = factory(); }, this); |
{ | ||
"name": "avow", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Example Promises/A+ implementation. Simple, tiny, fast, fully async", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:briancavalier/avow.git" | ||
}, | ||
"keywords": ["promise", "promises", "promises-aplus", "Promises/A+", "async", "asynchronous", "deferred"], | ||
"contributors": { | ||
"author": { | ||
"name": "Brian Cavalier", | ||
@@ -12,3 +16,3 @@ "email": "brian@hovercraftstudios.com" | ||
"devDependencies": { | ||
"promises-aplus-tests": "", | ||
"promises-aplus-tests": "~1", | ||
"jshint": "~1" | ||
@@ -19,2 +23,2 @@ }, | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2
0
10941
4
177