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

@crawly/grasshopper-parser-avianca

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crawly/grasshopper-parser-avianca - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

dist/lib/errors/FlightsNotFound.d.ts

@@ -19,3 +19,3 @@ export declare class FlightsNotFound extends Error {

*/
constructor(message: string | string[]);
constructor(message: string);
}

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

function FlightsNotFound(message) {
var _this = _super.call(this) || this;
var _this = _super.call(this, message) || this;
/**

@@ -38,9 +38,2 @@ * Status code from error.

_this.messages = [];
if (typeof message === 'string') {
_this.message = message;
}
else {
_this.message = message[0];
_this.messages = message;
}
return _this;

@@ -47,0 +40,0 @@ }

{
"name": "@crawly/grasshopper-parser-avianca",
"version": "0.1.4",
"version": "0.1.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "parser.js",

@@ -22,11 +22,5 @@ export class FlightsNotFound extends Error {

*/
constructor(message: string | string[]) {
super();
if (typeof message === 'string') {
this.message = message;
} else {
this.message = message[0];
this.messages = message;
}
constructor(message: string) {
super(message);
}
}
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