http-cookie-agent
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -6,8 +6,2 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "CookieAgentOptions", { | ||
enumerable: true, | ||
get: function () { | ||
return _create_cookie_agent.CookieAgentOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "HttpCookieAgent", { | ||
@@ -14,0 +8,0 @@ enumerable: true, |
@@ -7,7 +7,6 @@ "use strict"; | ||
exports.MixedCookieAgent = void 0; | ||
var _agentBase = _interopRequireDefault(require("agent-base")); | ||
var _agentBase = require("agent-base"); | ||
var _http_cookie_agent = require("./http_cookie_agent"); | ||
var _https_cookie_agent = require("./https_cookie_agent"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
class MixedCookieAgent extends _agentBase.default.Agent { | ||
class MixedCookieAgent extends _agentBase.Agent { | ||
constructor(options) { | ||
@@ -18,3 +17,3 @@ super(); | ||
} | ||
callback(_req, options) { | ||
connect(_req, options) { | ||
return options.secureEndpoint ? this._httpsAgent : this._httpAgent; | ||
@@ -21,0 +20,0 @@ } |
@@ -46,3 +46,3 @@ "use strict"; | ||
cookieOptions, | ||
passedValues: [headers['cookie']], | ||
passedValues: [headers['cookie']].flat(), | ||
requestUrl | ||
@@ -49,0 +49,0 @@ }); |
{ | ||
"name": "http-cookie-agent", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "Allows cookies with every Node.js HTTP clients.", | ||
@@ -67,42 +67,45 @@ "keywords": [ | ||
}, | ||
"resolutions": { | ||
"urllib/undici": "^5.22.1" | ||
}, | ||
"dependencies": { | ||
"agent-base": "^6.0.2" | ||
"agent-base": "^7.1.0" | ||
}, | ||
"devDependencies": { | ||
"@3846masa/configs": "github:3846masa/configs#8a58b51d1ee96d29ce9cfddc5eb490aa45fb1e37", | ||
"@babel/cli": "7.20.7", | ||
"@babel/core": "7.20.7", | ||
"@babel/preset-env": "7.20.2", | ||
"@babel/preset-typescript": "7.18.6", | ||
"@hapi/wreck": "18.0.0", | ||
"@semantic-release/changelog": "6.0.2", | ||
"@3846masa/configs": "github:3846masa/configs#707064cd4db30c36b728d63f5e411cc705c9ccad", | ||
"@babel/cli": "7.22.5", | ||
"@babel/core": "7.22.5", | ||
"@babel/preset-env": "7.22.5", | ||
"@babel/preset-typescript": "7.22.5", | ||
"@hapi/wreck": "18.0.1", | ||
"@semantic-release/changelog": "6.0.3", | ||
"@semantic-release/git": "10.0.1", | ||
"@types/deasync": "0.1.2", | ||
"@types/needle": "3.2.0", | ||
"@types/node": "14.18.36", | ||
"@types/node": "14.18.51", | ||
"@types/request": "2.48.8", | ||
"@types/semver": "7.3.13", | ||
"@types/superagent": "4.1.16", | ||
"@types/semver": "7.5.0", | ||
"@types/superagent": "4.1.18", | ||
"@types/tough-cookie": "4.0.2", | ||
"agentkeepalive": "4.2.1", | ||
"ava": "5.1.0", | ||
"axios": "1.2.1", | ||
"agentkeepalive": "4.3.0", | ||
"ava": "5.3.0", | ||
"axios": "1.4.0", | ||
"deasync": "0.1.28", | ||
"got": "12.5.3", | ||
"got": "12.6.1", | ||
"http-proxy-agent": "5.0.0", | ||
"needle": "3.2.0", | ||
"node-fetch": "3.3.0", | ||
"node-fetch": "3.3.1", | ||
"npm-run-all": "4.1.5", | ||
"patch-package": "6.5.0", | ||
"patch-package": "7.0.0", | ||
"phin": "3.7.0", | ||
"proxy": "1.0.2", | ||
"proxy": "2.1.1", | ||
"request": "2.88.2", | ||
"rimraf": "3.0.2", | ||
"rimraf": "5.0.1", | ||
"semantic-release": "19.0.5", | ||
"semver": "7.3.8", | ||
"superagent": "8.0.6", | ||
"tough-cookie": "4.1.2", | ||
"typescript": "4.9.4", | ||
"undici": "5.14.0", | ||
"urllib": "3.10.0" | ||
"semver": "7.5.1", | ||
"superagent": "8.0.9", | ||
"tough-cookie": "4.1.3", | ||
"typescript": "5.1.3", | ||
"undici": "5.22.1", | ||
"urllib": "3.17.1" | ||
}, | ||
@@ -109,0 +112,0 @@ "peerDependencies": { |
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
32026
26
535
+ Addedagent-base@7.1.1(transitive)
- Removedagent-base@6.0.2(transitive)
Updatedagent-base@^7.1.0