axios-cookiejar-support
Advanced tools
Comparing version 0.2.1 to 0.3.0
'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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119990
13
23
860