@3846masa/axios-cookiejar-support
Advanced tools
Comparing version 4.0.0 to 4.0.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.wrapper = void 0; | ||
const node_http_1 = require("http-cookie-agent/node:http"); | ||
const http_1 = require("http-cookie-agent/http"); | ||
function requestInterceptor(config) { | ||
@@ -16,4 +16,4 @@ if (!config.jar) { | ||
} | ||
config.httpAgent = new node_http_1.HttpCookieAgent({ cookies: { jar: config.jar } }); | ||
config.httpsAgent = new node_http_1.HttpsCookieAgent({ cookies: { jar: config.jar } }); | ||
config.httpAgent = new http_1.HttpCookieAgent({ cookies: { jar: config.jar } }); | ||
config.httpsAgent = new http_1.HttpsCookieAgent({ cookies: { jar: config.jar } }); | ||
return config; | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "@3846masa/axios-cookiejar-support", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Add tough-cookie support to axios.", | ||
@@ -56,6 +56,6 @@ "keywords": [ | ||
"dependencies": { | ||
"http-cookie-agent": "^3.0.0" | ||
"http-cookie-agent": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@3846masa/configs": "github:3846masa/configs#a45bbd3e20a59f0c83aef18648144d8f04884f9b", | ||
"@3846masa/configs": "github:3846masa/configs#c9cb404fd4e6ead15044c605e014aecea1182124", | ||
"@ava/typescript": "3.0.1", | ||
@@ -62,0 +62,0 @@ "@semantic-release/changelog": "6.0.1", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
0
6273
+ Addedhttp-cookie-agent@4.0.2(transitive)
- Removedhttp-cookie-agent@3.0.0(transitive)
Updatedhttp-cookie-agent@^4.0.0