Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

axios-retry

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-retry - npm Package Compare versions

Comparing version 3.9.1 to 4.0.0

dist/cjs/index.d.ts

74

package.json
{
"name": "axios-retry",
"version": "3.9.1",
"version": "4.0.0",
"author": "Rubén Norte <ruben.norte@softonic.com>",

@@ -9,13 +9,12 @@ "description": "Axios plugin that intercepts failed requests and retries them whenever posible.",

"files": [
"es",
"lib",
"index.js",
"index.d.ts"
"dist"
],
"scripts": {
"lint": "eslint es/**/*.mjs spec/**/*.spec.mjs",
"lint": "eslint .",
"pretest": "npm run lint",
"test": "NODE_OPTIONS=--es-module-specifier-resolution=node jasmine",
"test": "ts-node --project tsconfig-cjs.json node_modules/jasmine/bin/jasmine",
"prebuild": "npm run test",
"build": "rm -rf lib && babel es -d lib/esm --source-maps && babel es -d lib/cjs --config-file ./babel.config.cjs.json --source-maps && ./fixup",
"build": "rm -fr dist/* && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"build:cjs": "tsc -p tsconfig-cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"prerelease": "npm run build",

@@ -28,29 +27,31 @@ "release": "npm version -m \"New version: %s\"",

"lint-staged": {
"*.+(js|mjs)": [
"*.ts": [
"eslint --cache --fix",
"prettier --write"
],
"*.js": "eslint --cache --fix"
]
},
"dependencies": {
"@babel/runtime": "^7.15.4",
"is-retry-allowed": "^2.2.0"
},
"peerDependencies": {
"axios": "0.x || 1.x"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/plugin-transform-runtime": "^7.15.8",
"@babel/preset-env": "^7.15.6",
"axios": "^1.2.3",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jasmine": "^4.1.2",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"jasmine": "^3.9.0",
"lint-staged": "^11.2.0",
"nock": "^13.1.3",
"prettier": "^2.4.1"
"@types/axios": "^0.14.0",
"@types/node": "^20.9.1",
"@types/jasmine": "^5.1.2",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"axios": "^1.6.2",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"jasmine": "^5.1.0",
"lint-staged": "^15.1.0",
"nock": "^13.3.8",
"prettier": "^3.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},

@@ -64,10 +65,15 @@ "repository": {

},
"types": "./index.d.ts",
"main": "index.js",
"module": "lib/esm/index.js",
"types": "dist/cjs/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./lib/esm/index.js",
"require": "./index.js"
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},

@@ -74,0 +80,0 @@ "./package.json": "./package.json"

@@ -84,3 +84,3 @@ # axios-retry

4. Check the build: `npm run build`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
5. Push to the branch: `git push origin my-new-feature`
6. Submit a pull request :D
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