Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mapzen-search

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapzen-search - npm Package Compare versions

Comparing version 1.0.0-beta-6 to 1.0.0-beta-7

14

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc