@code.gov/code-gov-adapter
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -193,4 +193,5 @@ const _ = require('lodash'); | ||
if (filterValue instanceof Array) { | ||
filterValue.forEach((item) => { | ||
body.orFilter('term', filterMappings[fieldType][field]['term'], _processFilterValue(item)); | ||
body.filter('bool', (f) => { | ||
filterValue.forEach((item) => f.orFilter('term', filterMappings[fieldType][field]['term'], _processFilterValue(item))); | ||
return f; | ||
}); | ||
@@ -197,0 +198,0 @@ } else { |
{ | ||
"name": "@code.gov/code-gov-adapter", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "A collection of adapters used by Code.gov", | ||
@@ -37,3 +37,3 @@ "main": "index.js", | ||
"nock": "^10.0.1", | ||
"nyc": "^13.0.1" | ||
"nyc": "^13.3.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "dependencies": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
55444
3
1294
1