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

@bisrvn/utils

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bisrvn/utils - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

14

dist/index.d.ts

@@ -24,3 +24,3 @@ /**

AP_PLANE_SMALL = "smallAirplane",
AP_HELICOPTER_MED = "MED_HELI"
AP_HEMS = "MED_HELI"
}

@@ -37,3 +37,3 @@ type AP_TimeReference = 'unixTimestamp';

[AirPlateType.AP_PLANE_SMALL]: AirPlatePlane;
[AirPlateType.AP_HELICOPTER_MED]: AirPlatePlane;
[AirPlateType.AP_HEMS]: AirPlatePlane;
};

@@ -194,3 +194,3 @@ interface AP_Base {

HELICOPTER = "helicopter",
HELICOPTER_MEDIC = "helicopter_medic",
HEMS = "hems",
OTHER = "other",

@@ -200,5 +200,5 @@ UNKNOWN = "unknown"

/**
* We may have multiple integrations in the future, with varying designations for specific object types.
* This const should make it easier to determine, what kind of object the specific track is in terms of visualisation.
**/
* We may have multiple integrations in the future, with varying designations for specific object types.
* This const should make it easier to determine, what kind of object the specific track is in terms of visualisation.
**/
declare const STANDARDIZED_DEFINITIONS: {

@@ -209,3 +209,3 @@ drone: AirPlateType[];

helicopter: AirPlateType[];
helicopter_medic: AirPlateType[];
hems: AirPlateType[];
other: AirPlateType[];

@@ -212,0 +212,0 @@ };

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

AirPlateType2["AP_PLANE_SMALL"] = "smallAirplane";
AirPlateType2["AP_HELICOPTER_MED"] = "MED_HELI";
AirPlateType2["AP_HEMS"] = "MED_HELI";
return AirPlateType2;

@@ -90,3 +90,3 @@ })(AirPlateType || {});

StandardizedTrackType2["HELICOPTER"] = "helicopter";
StandardizedTrackType2["HELICOPTER_MEDIC"] = "helicopter_medic";
StandardizedTrackType2["HEMS"] = "hems";
StandardizedTrackType2["OTHER"] = "other";

@@ -101,4 +101,4 @@ StandardizedTrackType2["UNKNOWN"] = "unknown";

["plane_small" /* PLANE_SMALL */]: ["smallAirplane" /* AP_PLANE_SMALL */],
["helicopter" /* HELICOPTER */]: ["MED_HELI" /* AP_HELICOPTER_MED */],
["helicopter_medic" /* HELICOPTER_MEDIC */]: ["MED_HELI" /* AP_HELICOPTER_MED */],
["helicopter" /* HELICOPTER */]: ["MED_HELI" /* AP_HEMS */],
["hems" /* HEMS */]: ["MED_HELI" /* AP_HEMS */],
["other" /* OTHER */]: ["scanned_DRI" /* AP_SCANNER */]

@@ -112,3 +112,3 @@ };

var isHelicopter = (type) => STANDARDIZED_DEFINITIONS["helicopter" /* HELICOPTER */].some((v) => v === type);
var isHEMS = (type) => STANDARDIZED_DEFINITIONS["helicopter_medic" /* HELICOPTER_MEDIC */].some((v) => v === type);
var isHEMS = (type) => STANDARDIZED_DEFINITIONS["hems" /* HEMS */].some((v) => v === type);
var isOther = (type) => STANDARDIZED_DEFINITIONS["other" /* OTHER */].some((v) => v === type);

@@ -125,3 +125,3 @@ var getStandardizedTrackType = (type) => {

if (isHEMS(type)) {
return "helicopter_medic" /* HELICOPTER_MEDIC */;
return "hems" /* HEMS */;
}

@@ -128,0 +128,0 @@ return "helicopter" /* HELICOPTER */;

{
"name": "@bisrvn/utils",
"version": "1.1.4",
"version": "1.1.5",
"description": "Interfaces and util functions",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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