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 1.4.0 to 2.0.0

12

lib/formatters.js

@@ -30,4 +30,2 @@ "use strict";

departureAirport,
hotelId,
destination,
departureDate,

@@ -43,10 +41,2 @@ duration,

if (!destination && !hotelId) {
throw new ValidationError('missing destination or hotel id');
}
if (destination && hotelId) {
throw new ValidationError('destination and hotel id are mutually exclusive');
}
if (!departureDate) {

@@ -90,4 +80,2 @@ throw new ValidationError('missing departure date');

departureAirport,
hotelId,
destination,
departureDate,

@@ -94,0 +82,0 @@ duration: Number(duration),

2

package.json
{
"name": "@bluelilo/search-utils",
"version": "1.4.0",
"version": "2.0.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