retry-axios
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -49,4 +49,5 @@ import axios, { isCancel, } from 'axios'; | ||
for (const key of Object.keys(object)) { | ||
if (typeof key === 'number') { | ||
array[key] = object[key]; | ||
const number_ = Number.parseInt(key, 10); | ||
if (!Number.isNaN(number_)) { | ||
array[number_] = object[key]; | ||
} | ||
@@ -53,0 +54,0 @@ } |
{ | ||
"name": "retry-axios", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Retry HTTP requests with Axios.", | ||
@@ -5,0 +5,0 @@ "exports": "./build/src/index.js", |
Sorry, the diff of this file is not supported yet
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
36433
333