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.2.1 to 0.3.0

example/simple.mjs

4

example/send-cookies.js
'use strict';
const axios = require('axios');
const axios = require('axios').default;
const tough = require('tough-cookie');
const axiosCookieJarSupport = require('../');
const axiosCookieJarSupport = require('../').default;

@@ -7,0 +7,0 @@ axiosCookieJarSupport(axios);

'use strict';
const axios = require('axios');
const axios = require('axios').default;
const tough = require('tough-cookie');
const axiosCookieJarSupport = require('../');
const axiosCookieJarSupport = require('../').default;

@@ -7,0 +7,0 @@ axiosCookieJarSupport(axios);

'use strict';
const axios = require('axios');
const axios = require('axios').default;
const tough = require('tough-cookie');
const axiosCookieJarSupport = require('../');
const axiosCookieJarSupport = require('../').default;

@@ -7,0 +7,0 @@ axiosCookieJarSupport(axios);

@@ -39,3 +39,2 @@ "use strict";

var _default = axiosCookieJarSupport;
exports.default = _default;
module.exports = exports["default"];
exports.default = _default;

@@ -117,3 +117,2 @@ "use strict";

var _default = requestInterceptor;
exports.default = _default;
module.exports = exports["default"];
exports.default = _default;

@@ -131,3 +131,2 @@ "use strict";

var _default = responseInterceptor;
exports.default = _default;
module.exports = exports["default"];
exports.default = _default;

@@ -9,3 +9,2 @@ "use strict";

var _default = symbol;
exports.default = _default;
module.exports = exports["default"];
exports.default = _default;

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

},
"version": "0.2.1",
"version": "0.3.0",
"main": "./lib/index",

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

"axios": "0.17.1",
"babel-plugin-add-module-exports": "^0.2.1",
"cookie": "0.3.1",

@@ -42,0 +41,0 @@ "decache": "4.3.0",

@@ -48,5 +48,5 @@ # axios-cookiejar-support

```js
const axios = require('axios');
const axiosCookieJarSupport = require('@3846masa/axios-cookiejar-support');
// const axiosCookieJarSupport = require('axios-cookiejar-support');
const axios = require('axios').default;
const axiosCookieJarSupport = require('@3846masa/axios-cookiejar-support').default;
// const axiosCookieJarSupport = require('axios-cookiejar-support').default;
const tough = require('tough-cookie');

@@ -53,0 +53,0 @@

@@ -8,3 +8,3 @@ 'use strict';

const decache = require('decache');
const axiosCookieJarSupport = require('../');
const axiosCookieJarSupport = require('../').default;

@@ -14,3 +14,3 @@ let axios;

decache('axios');
axios = require('axios');
axios = require('axios').default;
axios.defaults.validateStatus = () => true;

@@ -17,0 +17,0 @@ });

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