mapzen-search
Advanced tools
Comparing version 1.0.0-beta-6 to 1.0.0-beta-7
@@ -38,3 +38,3 @@ import qs from 'query-string'; | ||
var restOptions = omit(REQUIRED_OPTS)(options); | ||
var restOptions = omit(REQUIRED_OPTS, options); | ||
var invalidOption = findInvalidOption(restOptions); | ||
@@ -62,3 +62,3 @@ | ||
var restOptions = omit(REQUIRED_OPTS)(options); | ||
var restOptions = omit(REQUIRED_OPTS, options); | ||
var invalidOption = findInvalidOption(restOptions); | ||
@@ -83,3 +83,3 @@ | ||
var optionKeys = keys(options); | ||
var validOptions = intersection(optionKeys)(STRUCTURED_SEARCH_OPTS); | ||
var validOptions = intersection(optionKeys, STRUCTURED_SEARCH_OPTS); | ||
var hasSomeOptions = validOptions.length > 0; | ||
@@ -91,3 +91,3 @@ if (!hasSomeOptions) { | ||
var omitList = REQUIRED_OPTS.concat(STRUCTURED_SEARCH_OPTS); | ||
var restOptions = omit(omitList)(options); | ||
var restOptions = omit(omitList, options); | ||
var invalidOption = findInvalidOption(restOptions); | ||
@@ -115,3 +115,3 @@ | ||
var restOptions = omit(REQUIRED_OPTS)(options); | ||
var restOptions = omit(REQUIRED_OPTS, options); | ||
var invalidOption = findInvalidOption(restOptions); | ||
@@ -151,3 +151,3 @@ | ||
var optionKeys = keys(options); | ||
var invalidOption = find(optionValidator)(optionKeys); | ||
var invalidOption = find(optionValidator, optionKeys); | ||
return invalidOption; | ||
@@ -158,3 +158,3 @@ } | ||
return function (option) { | ||
var validOption = find(option)(validOptions); | ||
var validOption = find(option, validOptions); | ||
return !validOption; | ||
@@ -161,0 +161,0 @@ }; |
{ | ||
"name": "mapzen-search", | ||
"version": "1.0.0-beta-6", | ||
"version": "1.0.0-beta-7", | ||
"description": "Wrapper for the Mapzen Search API", | ||
@@ -5,0 +5,0 @@ "main": "dist/mapzen-search.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8