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 1.3.0 to 1.3.1

3

es/index.js
import isRetryAllowed from 'is-retry-allowed';
import pkg from '../package.json';
const namespace = pkg.name;
const namespace = 'axios-retry';

@@ -6,0 +5,0 @@ /**

@@ -13,9 +13,5 @@ 'use strict';

var _package = require('../package.json');
var _package2 = _interopRequireDefault(_package);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var namespace = _package2.default.name;
var namespace = 'axios-retry';

@@ -116,10 +112,8 @@ /**

var _getRequestOptions = getRequestOptions(config, defaultOptions);
var _getRequestOptions = getRequestOptions(config, defaultOptions),
_getRequestOptions$re = _getRequestOptions.retries,
retries = _getRequestOptions$re === undefined ? 3 : _getRequestOptions$re,
_getRequestOptions$re2 = _getRequestOptions.retryCondition,
retryCondition = _getRequestOptions$re2 === undefined ? isNetworkError : _getRequestOptions$re2;
var _getRequestOptions$re = _getRequestOptions.retries;
var retries = _getRequestOptions$re === undefined ? 3 : _getRequestOptions$re;
var _getRequestOptions$re2 = _getRequestOptions.retryCondition;
var retryCondition = _getRequestOptions$re2 === undefined ? isNetworkError : _getRequestOptions$re2;
var currentState = getCurrentState(config);

@@ -126,0 +120,0 @@

{
"name": "axios-retry",
"version": "1.3.0",
"version": "1.3.1",
"author": "Rubén Norte <ruben.norte@softonic.com>",

@@ -5,0 +5,0 @@ "description": "Axios plugin that intercepts failed requests and retries them whenever posible.",

Sorry, the diff of this file is not supported yet

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