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

axios-cookiejar-support

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-cookiejar-support - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

4

lib/interceptors/response.js

@@ -14,2 +14,4 @@ "use strict";

var _isRedirect = _interopRequireDefault(require("is-redirect"));
var _symbol = _interopRequireDefault(require("../symbol"));

@@ -101,3 +103,3 @@

if (local.redirectCount >= 0 && Math.floor(statusCode / 100) === 3 && !!headers['location']) {
if (local.redirectCount >= 0 && (0, _isRedirect.default)(statusCode) && !!headers['location']) {
if (response.status !== 307) {

@@ -104,0 +106,0 @@ config.method = 'get';

@@ -14,3 +14,3 @@ {

},
"version": "0.3.3",
"version": "0.3.4",
"main": "./lib/index",

@@ -28,2 +28,3 @@ "directories": {

"@types/tough-cookie": "^2.3.1",
"is-redirect": "^1.0.0",
"pify": "3.0.0",

@@ -41,8 +42,8 @@ "tough-cookie": "2.3.3"

"cookie": "0.3.1",
"decache": "4.3.0",
"eslint": "4.13.0",
"decache": "4.4.0",
"eslint": "4.15.0",
"fast-async": "^6.3.0",
"intelli-espower-loader": "1.0.1",
"mocha": "4.0.1",
"nock": "9.1.4",
"mocha": "5.0.0",
"nock": "9.1.6",
"power-assert": "1.4.4",

@@ -59,5 +60,5 @@ "rimraf": "^2.6.2"

"browser": {
"./index.js": "./noop.js"
"./lib/index": "./noop.js"
},
"types": "./index.d.ts"
}

Sorry, the diff of this file is not supported yet

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