Comparing version 1.0.0 to 1.0.1
@@ -8,6 +8,7 @@ /** | ||
* @link https://github.com/avoidwork/tiny-defer | ||
* @version 1.0.0 | ||
* @version 1.0.1 | ||
*/ | ||
(function (global) { | ||
const Promise = global.Promise || require("es6-promise").Promise; | ||
const server = typeof process !== "undefined" && typeof process.nextTick === "function"; | ||
const Promise = !server && global.Promise ? global.Promise : require("es6-promise").Promise; | ||
@@ -14,0 +15,0 @@ function deferred () { |
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-defer | ||
* @version 1.0.0 | ||
* @version 1.0.1 | ||
*/ | ||
@@ -14,3 +14,4 @@ "use strict"; | ||
(function (global) { | ||
var Promise = global.Promise || require("es6-promise").Promise; | ||
var server = typeof process !== "undefined" && typeof process.nextTick === "function"; | ||
var Promise = !server && global.Promise ? global.Promise : require("es6-promise").Promise; | ||
@@ -17,0 +18,0 @@ function deferred() { |
{ | ||
"name": "tiny-defer", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Tiny Deferred for Client or Server", | ||
@@ -5,0 +5,0 @@ "main": "lib/tiny-defer.js", |
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
10048
65