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

@bluelilo/search-utils

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bluelilo/search-utils - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

11

lib/formatters.js

@@ -31,2 +31,3 @@ "use strict";

departureDate,
flexibleDate,
duration,

@@ -77,5 +78,7 @@ adults,

flexibleDate = flexibleDate === 'true' ? true : false;
return {
departureAirport,
departureDate,
flexibleDate,
duration: Number(duration),

@@ -166,10 +169,2 @@ adults: Number(adults),

if (maxPrice) {
maxPrice = Number(maxPrice);
if (!Number.isInteger(maxPrice) || maxPrice < 0) {
throw new ValidationError('maxPrice must be zero or a positive integer');
}
}
if (providers) {

@@ -176,0 +171,0 @@ providers = [].concat(providers).map(String);

{
"name": "@bluelilo/search-utils",
"version": "3.1.0",
"version": "3.2.0",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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