Socket
Socket
Sign inDemoInstall

pmj-static-data

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.6 to 1.2.8

32

dist/index.d.ts

@@ -112,2 +112,19 @@ interface CountryCode {

};
export declare function GetAllCountriesDetails(): {
pmj_country_id: string;
country_name: string;
country_iso2: string;
country_iso3: string;
country_phone_code: string;
country_capital_city: string;
country_currency_symbol: string;
country_currency: string;
country_tld: string;
country_native: string;
country_region: string;
country_subregion: string;
country_lat: string;
country_lon: string;
country_flag_emoji: string;
}[];
export declare function SearchAirports(options: AirportsSearch): {

@@ -135,3 +152,18 @@ airports: AirportDetails[];

export declare function AirlineDetails(options: AirlineLookup): airlines;
export declare function AllAirlineDetails(): ({
id: number;
pmj_airline_id: string;
airline_name: string;
airline_code: string;
airline_img: string;
airline_logo: string;
} | {
id: number;
pmj_airline_id: string;
airline_name: string;
airline_code: string;
airline_img: string;
airline_logo: null;
})[];
export declare function AirplaneDetails(options: AirplaneLookup): Airplane;
export {};

10

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AirplaneDetails = exports.AirlineDetails = exports.GetTopAirportsInCountry = exports.SearchCity = exports.GetCityDetails = exports.GetAirportDetails = exports.SearchAirports = exports.GetCountryDetails = exports.GetAllCountriesPhoneCodes = void 0;
exports.AirplaneDetails = exports.AllAirlineDetails = exports.AirlineDetails = exports.GetTopAirportsInCountry = exports.SearchCity = exports.GetCityDetails = exports.GetAirportDetails = exports.SearchAirports = exports.GetAllCountriesDetails = exports.GetCountryDetails = exports.GetAllCountriesPhoneCodes = void 0;
const airlines_1 = require("./data/airlines");

@@ -82,2 +82,6 @@ const airplanes_1 = require("./data/airplanes");

exports.GetCountryDetails = GetCountryDetails;
function GetAllCountriesDetails() {
return countries_1.COUNTRIES;
}
exports.GetAllCountriesDetails = GetAllCountriesDetails;
function SearchAirports(options) {

@@ -394,2 +398,6 @@ const { query, limit } = options;

exports.AirlineDetails = AirlineDetails;
function AllAirlineDetails() {
return airlines_1.AIRLINES;
}
exports.AllAirlineDetails = AllAirlineDetails;
function AirplaneDetails(options) {

@@ -396,0 +404,0 @@ const { plane_code } = options;

2

package.json
{
"name": "pmj-static-data",
"version": "1.2.6",
"version": "1.2.8",
"description": "Search Airports, Cities, Countries and many other data in Plan My Journey DATABASE.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc