fetch-cookie
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -17,3 +17,3 @@ var denodeify = require('es6-denodeify')(Promise) | ||
return fetch(url, Object.assign(opts, { | ||
headers: Object.assign(opts.headers || {}, { cookie: cookie }) | ||
headers: Object.assign(opts.headers || {}, (cookie ? { cookie: cookie } : {})) | ||
})) | ||
@@ -20,0 +20,0 @@ }) |
{ | ||
"name": "fetch-cookie", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "Decorator for a `fetch` function to support automatic cookies.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/valeriangalliat/fetch-cookie", |
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
6234