Comparing version 10.0.1 to 10.0.2
{ | ||
"branch": "", | ||
"repo": "ft-poller", | ||
"version": "37005c957df0b075b1cc41622f3b2615bef1ce15", | ||
"tag": "v10.0.1" | ||
"version": "2b9ca843dca5f027d424550f303a7f50c763e760", | ||
"tag": "v10.0.2" | ||
} |
{ | ||
"name": "ft-poller", | ||
"version": "10.0.1", | ||
"version": "10.0.2", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -91,3 +91,7 @@ 'use strict'; | ||
const options = {...this.options} | ||
if (options.timeout) { | ||
// FIXME: This is hideous, but we need to check whether AbortSignal.timeout is a function here. | ||
// This is because lots of our apps use Jest + JSDom for testing which still doesn't have | ||
// AbortSignal.timeout defined. There are plenty of places where poller isn't mocked in our | ||
// tests and so I don't think we can avoid this check for now | ||
if (options.timeout && AbortSignal.timeout) { | ||
// add signal option to support native fetch, but keep timeout option | ||
@@ -94,0 +98,0 @@ // too to support node-fetch@<2.3.0 |
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
29005
599