Comparing version 1.6.3 to 1.6.4
@@ -6,2 +6,3 @@ 'use strict' | ||
var omit = require('lodash.omit') | ||
var pickBy = require('lodash.pickby') | ||
var res404 = require('./not-found') | ||
@@ -56,2 +57,3 @@ var doAPI = require('./api-functions') | ||
if (setReferer) headers['referer'] = 'http' + (scheme === 'http' ? '' : 's') + ':' + setReferer | ||
if (opts.pickByHeaders) headers = pickBy(headers, opts.pickByHeaders) | ||
options.headers = headers | ||
@@ -58,0 +60,0 @@ options.method = request.method |
{ | ||
"name": "bfn-proxy", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "HTTP request proxy middleware for node.js", | ||
@@ -28,2 +28,3 @@ "author": "Blue Fidelity Inc. (https://www.bluefidelity.com/)", | ||
"lodash.omit": "^4.5.0", | ||
"lodash.pickby": "^4.5.0", | ||
"request": "^2.88.0" | ||
@@ -30,0 +31,0 @@ }, |
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
27644
548
8
+ Addedlodash.pickby@^4.5.0
+ Addedlodash.pickby@4.6.0(transitive)