Comparing version 4.0.0 to 4.0.1
@@ -25,3 +25,3 @@ 'use strict'; | ||
const timer = options.customTimers.setTimeout(() => { | ||
const timer = options.customTimers.setTimeout.call(undefined, () => { | ||
if (typeof fallback === 'function') { | ||
@@ -53,3 +53,3 @@ try { | ||
} finally { | ||
options.customTimers.clearTimeout(timer); | ||
options.customTimers.clearTimeout.call(undefined, timer); | ||
} | ||
@@ -56,0 +56,0 @@ })(); |
{ | ||
"name": "p-timeout", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Timeout a promise after a specified amount of time", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
8912