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.5 to 0.3.6

.npmignore

10

lib/interceptors/request.js

@@ -107,4 +107,10 @@ "use strict";

if (cookieString) {
const currentCookie = config.headers['Cookie'];
config.headers['Cookie'] = [currentCookie, cookieString].filter(c => !!c).join(';\x20');
if (config.headers) {
const currentCookie = config.headers['Cookie'];
config.headers['Cookie'] = [currentCookie, cookieString].filter(c => !!c).join(';\x20');
} else {
config.headers = {
'Cookie': cookieString
};
}
}

@@ -111,0 +117,0 @@ }

10

package.json

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

},
"version": "0.3.5",
"version": "0.3.6",
"main": "./lib/index",

@@ -42,8 +42,8 @@ "directories": {

"decache": "4.4.0",
"eslint": "4.19.0",
"eslint": "5.0.0",
"fast-async": "^6.3.0",
"intelli-espower-loader": "1.0.1",
"mocha": "5.0.3",
"nock": "9.1.7",
"power-assert": "1.5.0",
"mocha": "5.1.0",
"nock": "9.2.4",
"power-assert": "1.6.0",
"rimraf": "^2.6.2"

@@ -50,0 +50,0 @@ },

Sorry, the diff of this file is not supported yet

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