axios-retry
Advanced tools
Comparing version 3.9.1 to 4.0.0
{ | ||
"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 |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
25061
17
9
443
1
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.7(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removed@babel/runtime@^7.15.4
- Removed@babel/runtime@7.26.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)