http-cookie-agent
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -8,4 +8,2 @@ "use strict"; | ||
var _toughCookie = require("tough-cookie"); | ||
var _undici = require("undici"); | ||
@@ -15,4 +13,4 @@ | ||
opts, resolver = require.resolve) { | ||
if (!(opts.jar instanceof _toughCookie.CookieJar)) { | ||
throw new _undici.errors.InvalidArgumentError('invalid cookies.jar object'); | ||
if (!('jar' in opts)) { | ||
throw new _undici.errors.InvalidArgumentError('invalid cookies.jar'); | ||
} | ||
@@ -19,0 +17,0 @@ |
{ | ||
"name": "http-cookie-agent", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Allows cookies with every Node.js HTTP clients.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
31004
491