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

uomlibrarycommons-core

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uomlibrarycommons-core - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

dist/enums/euom-library-site.d.ts

@@ -10,4 +10,2 @@ export declare enum EUomLibrarySite {

export declare function keyToEUomLibrarySite(key: string): EUomLibrarySite;
export declare function idFromEUomLibrarySite(site: EUomLibrarySite): number;
export declare function idToEUomLibrarySite(id: number): EUomLibrarySite | undefined;
export declare function prettyFromEUomLibrarySite(site: EUomLibrarySite): string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const sentry_library_site_ids_1 = require("../consts/sentry-library-site-ids");
var EUomLibrarySite;

@@ -54,30 +53,2 @@ (function (EUomLibrarySite) {

exports.keyToEUomLibrarySite = keyToEUomLibrarySite;
function idFromEUomLibrarySite(site) {
switch (site) {
case EUomLibrarySite.JOULE:
return sentry_library_site_ids_1.SENTRY_LIBRARY_SITE_JOULE;
case EUomLibrarySite.MAIN:
return sentry_library_site_ids_1.SENTRY_LIBRARY_SITE_MAIN;
case EUomLibrarySite.PRECINCT:
return sentry_library_site_ids_1.SENTRY_LIBRARY_SITE_PRECINCT;
case EUomLibrarySite.AGLC:
return sentry_library_site_ids_1.SENTRY_LIBRARY_SITE_AGLC;
}
throw new Error(`Unable to obtain ID for EUomLibrarySite: ${site}`);
}
exports.idFromEUomLibrarySite = idFromEUomLibrarySite;
function idToEUomLibrarySite(id) {
switch (id) {
case sentry_library_site_ids_1.SENTRY_LIBRARY_SITE_JOULE:
return EUomLibrarySite.JOULE;
case sentry_library_site_ids_1.SENTRY_LIBRARY_SITE_MAIN:
return EUomLibrarySite.MAIN;
case sentry_library_site_ids_1.SENTRY_LIBRARY_SITE_PRECINCT:
return EUomLibrarySite.PRECINCT;
case sentry_library_site_ids_1.SENTRY_LIBRARY_SITE_AGLC:
return EUomLibrarySite.AGLC;
}
return undefined;
}
exports.idToEUomLibrarySite = idToEUomLibrarySite;
function prettyFromEUomLibrarySite(site) {

@@ -84,0 +55,0 @@ switch (site) {

@@ -1,2 +0,1 @@

export * from './consts';
export * from './enums';

@@ -7,4 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./consts"));
__export(require("./enums"));
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "uomlibrarycommons-core",
"version": "0.0.4",
"version": "0.0.5",
"description": "Common Node and Angular code for UoM library development",

@@ -5,0 +5,0 @@ "scripts": {

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