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

@3846masa/axios-cookiejar-support

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@3846masa/axios-cookiejar-support - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

lib/interceptors/response.js

@@ -38,7 +38,11 @@ "use strict";

cookies.forEach(function (cookie) {
setCookiePromiseList.push(setCookie(cookie, config.url));
setCookiePromiseList.push(setCookie(cookie, config.url, {
ignoreError: config.ignoreCookieErrors
}));
});
} else {
const cookie = headers['set-cookie'];
setCookiePromiseList.push(setCookie(cookie, config.url));
setCookiePromiseList.push(setCookie(cookie, config.url, {
ignoreError: config.ignoreCookieErrors
}));
}

@@ -45,0 +49,0 @@

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

},
"version": "1.0.0",
"version": "1.0.1",
"main": "./lib/index",

@@ -42,5 +42,5 @@ "browser": {

"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.9.0",
"@babel/plugin-transform-modules-commonjs": "7.9.0",
"@babel/cli": "7.12.1",
"@babel/core": "7.12.3",
"@babel/plugin-transform-modules-commonjs": "7.12.1",
"@types/tough-cookie": "^4.0.0",

@@ -51,7 +51,7 @@ "axios--0.16.x": "./axios/0.16.x",

"axios--0.19.x": "./axios/0.19.x",
"cookie": "^0.4.0",
"decache": "^4.5.1",
"cookie": "^0.4.1",
"decache": "^4.6.0",
"intelli-espower-loader": "^1.0.1",
"mocha": "^7.1.1",
"nock": "^12.0.3",
"mocha": "^8.2.0",
"nock": "^13.0.4",
"power-assert": "^1.6.1",

@@ -58,0 +58,0 @@ "rimraf": "3.0.2",

@@ -104,2 +104,6 @@ # axios-cookiejar-support

// Silently ignore things like parse cookie errors and invalid domains.
// See also https://github.com/salesforce/tough-cookie
ignoreCookieErrors: false // default
// **IMPORTANT**

@@ -106,0 +110,0 @@ // If false, axios DONOT send cookies from cookiejar.

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