retry-request
Advanced tools
Comparing version 5.0.0 to 5.0.1
# Changelog | ||
## [5.0.1](https://github.com/googleapis/retry-request/compare/v5.0.0...v5.0.1) (2022-06-09) | ||
### Bug Fixes | ||
* respect totalTimeout and do not retry if nextRetryDelay is <= 0 ([#38](https://github.com/googleapis/retry-request/issues/38)) ([9501a42](https://github.com/googleapis/retry-request/commit/9501a42d06a620282dcd2ff9990fd0b5033a990b)) | ||
## [5.0.0](https://github.com/googleapis/retry-request/compare/v4.2.2...v5.0.0) (2022-05-06) | ||
@@ -4,0 +11,0 @@ |
@@ -189,2 +189,7 @@ 'use strict'; | ||
if (nextRetryDelay <= 0) { | ||
numNoResponseAttempts = opts.noResponseRetries + 1; | ||
return; | ||
} | ||
setTimeout(makeRequest, nextRetryDelay); | ||
@@ -191,0 +196,0 @@ } |
{ | ||
"name": "retry-request", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Retry a request.", | ||
@@ -41,4 +41,4 @@ "main": "index.js", | ||
"jsdoc": "^3.6.3", | ||
"jsdoc-fresh": "^1.0.2", | ||
"jsdoc-region-tag": "^1.0.4", | ||
"jsdoc-fresh": "^2.0.0", | ||
"jsdoc-region-tag": "^2.0.0", | ||
"linkinator": "^3.0.0", | ||
@@ -45,0 +45,0 @@ "lodash.range": "^3.2.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
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
29007
255
0