Socket
Socket
Sign inDemoInstall

retry-axios

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retry-axios - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

49

package.json
{
"name": "retry-axios",
"version": "0.3.2",
"version": "0.4.0",
"description": "Retry HTTP requests with Axios.",
"main": "./build/src/index.js",
"types": "./build/src/index.d.ts",
"engines": {
"node": ">=6.0.0"
},
"repository": {

@@ -12,3 +15,3 @@ "type": "git",

"scripts": {
"check": "gts check",
"lint": "gts check",
"clean": "gts clean",

@@ -18,7 +21,8 @@ "codecov": "nyc report --reporter=json && codecov -f coverage/*.json",

"compile": "tsc -p .",
"umd": "rm -rf umd && babel build/src -d umd --source-maps",
"test": "nyc mocha build/test --timeout 5000 --require source-map-support/register",
"prepare": "npm run compile",
"pretest": "npm run compile",
"posttest": "npm run check && npm run license-check",
"license-check": "jsgl --local ."
"license-check": "jsgl --local .",
"commitlint": "git log -1 --pretty=%B | commitlint"
},

@@ -37,20 +41,24 @@ "keywords": [

"devDependencies": {
"@types/mocha": "^2.2.48",
"@types/nock": "^9.1.2",
"@types/node": "^9.4.6",
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@commitlint/cli": "^7.3.2",
"@commitlint/config-conventional": "^7.3.1",
"@types/mocha": "^5.2.5",
"@types/nock": "^9.3.0",
"@types/node": "^10.5.4",
"axios": "^0.18.0",
"codecov": "^3.0.0",
"gts": "^0.5.3",
"js-green-licenses": "^0.4.0",
"mocha": "^5.0.1",
"nock": "^9.1.6",
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"typescript": "~2.7.2"
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"codecov": "^3.0.4",
"gts": "^0.9.0",
"js-green-licenses": "^0.5.0",
"mocha": "^5.2.0",
"nock": "^10.0.0",
"nyc": "^13.0.0",
"semantic-release": "^15.13.3",
"source-map-support": "^0.5.6",
"typescript": "~3.2.0"
},
"files": [
"build/src",
"LICENSE",
"packge.json",
"README.md"
"build/src"
],

@@ -61,3 +69,4 @@ "nyc": {

]
}
},
"browserslist": "> 1%, last 2 versions, Firefox ESR"
}
# retry-axios
> Use Axios interceptors to automatically retry failed requests. Super flexible. Built in exponential backoff.

@@ -6,9 +7,6 @@ [![NPM Version][npm-image]][npm-url]

[![Dependency Status][david-image]][david-url]
[![devDependency Status][david-dev-image]][david-dev-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![codecov][codecov-image]][codecov-url]
[![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]
[![style badge][gts-image]][gts-url]
Use Axios interceptors to automatically retry failed requests. Super flexible. Built in exponential backoff.

@@ -74,3 +72,3 @@ ## Installation

// [[100, 199], [429, 429], [500, 599]]
httpStatusCodesToRetry: [[100, 199], [429, 429], [500, 599]],
statusCodesToRetry: [[100, 199], [429, 429], [500, 599]],

@@ -113,3 +111,3 @@ // If you are using a non static instance of Axios you need

[circle-image]: https://circleci.com/gh/JustinBeckwith/retry-axios.svg?style=svg
[circle-image]: https://circleci.com/gh/JustinBeckwith/retry-axios.svg?style=shield
[circle-url]: https://circleci.com/gh/JustinBeckwith/retry-axios

@@ -120,6 +118,2 @@ [codecov-image]: https://codecov.io/gh/JustinBeckwith/retry-axios/branch/master/graph/badge.svg

[david-url]: https://david-dm.org/JustinBeckwith/retry-axios
[david-dev-image]: https://david-dm.org/JustinBeckwith/retry-axios/dev-status.svg
[david-dev-url]: https://david-dm.org/JustinBeckwith/retry-axios?type=dev
[greenkeeper-image]: https://badges.greenkeeper.io/JustinBeckwith/retry-axios.svg
[greenkeeper-url]: https://greenkeeper.io/
[gts-image]: https://img.shields.io/badge/code%20style-Google%20%E2%98%82%EF%B8%8F-blue.svg

@@ -126,0 +120,0 @@ [gts-url]: https://www.npmjs.com/package/gts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc