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.2.0 to 3.3.0

9

lib/formatters.js

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

departureDate,
flexibleDate,
flexibleDays,
duration,

@@ -56,2 +56,6 @@ adults,

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

@@ -79,7 +83,6 @@ throw new ValidationError('duration must be a positive integer');

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

@@ -86,0 +89,0 @@ adults: Number(adults),

{
"name": "@bluelilo/search-utils",
"version": "3.2.0",
"version": "3.3.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