@nuskin/axios-util
Advanced tools
Comparing version 2.2.0 to 2.2.1-cx15-6896.1
{ | ||
"name": "@nuskin/axios-util", | ||
"version": "2.2.0", | ||
"version": "2.2.1-cx15-6896.1", | ||
"description": "An Axios utility ...", | ||
@@ -22,11 +22,11 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"axios": "1.5.0", | ||
"axios": "1.6.5", | ||
"axios-mock-adapter": "1.22.0", | ||
"eslint": "8.50.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint": "8.56.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-json": "3.1.0", | ||
"eslint-plugin-prettier": "5.0.0", | ||
"eslint-plugin-prettier": "5.1.3", | ||
"jest": "29.7.0", | ||
"jest-sonar-reporter": "2.0.0", | ||
"prettier": "3.0.3" | ||
"prettier": "3.2.4" | ||
}, | ||
@@ -38,3 +38,3 @@ "dependencies": { | ||
"peerDependencies": { | ||
"axios": "^1.5.0" | ||
"axios": ">=1.6.5" | ||
}, | ||
@@ -41,0 +41,0 @@ "files": [ |
@@ -9,3 +9,4 @@ 'use strict' | ||
const axios = require('axios').default | ||
const axiosRetry = require('axios-retry') | ||
const axiosRetry = require('axios-retry').default | ||
// const axiosRetryInit = axiosRetry instanceof Function ? axiosRetry : axiosRetry.default | ||
@@ -23,2 +24,3 @@ axios.defaults.timeout = 10000 | ||
axiosRetry(axiosRetryInstance, retryConfig) | ||
return axiosRetryInstance | ||
@@ -25,0 +27,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
3915
25
1