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.10.0 to 0.10.1

1

dist/consts/commons-regex.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UOMLIBRARYCOMMONS_REGEX_CARD_ID = exports.UOMLIBRARYCOMMONS_REGEX_SPOT_ID = void 0;
exports.UOMLIBRARYCOMMONS_REGEX_SPOT_ID = /^[1-9][0-9]{6,7}$/;
exports.UOMLIBRARYCOMMONS_REGEX_CARD_ID = /^90+([1-9][0-9]{6,7})([0-9])$/;
//# sourceMappingURL=commons-regex.js.map

15

dist/consts/index.js
"use strict";
// created from 'create-ts-index'
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./commons-regex"));
__exportStar(require("./commons-regex"), exports);
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.keyToEUomLibraryAffiliation = exports.isEUomLibraryAffiliation = exports.fromEUomLibraryAffiliation = exports.toEUomLibraryAffiliation = exports.EUomLibraryAffiliation = void 0;
const tscommons_core_1 = require("tscommons-core");

@@ -4,0 +5,0 @@ var EUomLibraryAffiliation;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isEUomLibraryCardVariation = exports.fromEUomLibraryCardVariation = exports.toEUomLibraryCardVariation = exports.EUomLibraryCardVariation = void 0;
const tscommons_core_1 = require("tscommons-core");

@@ -4,0 +5,0 @@ var EUomLibraryCardVariation;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EUOM_LIBRARY_FACULTIES = exports.prettyFromEUomLibraryFaculty = exports.keyToEUomLibraryFaculty = exports.isEUomLibraryFaculty = exports.fromEUomLibraryFaculty = exports.mappingDataToEUomLibraryFaculty = exports.toEUomLibraryFaculty = exports.EUomLibraryFaculty = void 0;
const tscommons_core_1 = require("tscommons-core");

@@ -4,0 +5,0 @@ var EUomLibraryFaculty;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.keyToEUomLibraryMemberType = exports.isEUomLibraryMemberType = exports.fromEUomLibraryMemberType = exports.toEUomLibraryMemberType = exports.EUomLibraryMemberType = void 0;
const tscommons_core_1 = require("tscommons-core");

@@ -4,0 +5,0 @@ var EUomLibraryMemberType;

@@ -17,1 +17,2 @@ export declare enum EUomLibrarySite {

export declare const EUOM_LIBRARY_SITES: EUomLibrarySite[];
export declare function prettyFromEUomLibrarySite(site: EUomLibrarySite): string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.prettyFromEUomLibrarySite = exports.EUOM_LIBRARY_SITES = exports.keyToEUomLibrarySite = exports.isEUomLibrarySite = exports.fromEUomLibrarySite = exports.toEUomLibrarySite = exports.EUomLibrarySite = void 0;
const tscommons_core_1 = require("tscommons-core");

@@ -96,2 +97,26 @@ var EUomLibrarySite;

.map((e) => keyToEUomLibrarySite(e));
function prettyFromEUomLibrarySite(site) {
switch (site) {
case EUomLibrarySite.AGLC:
return 'Learning Commons';
case EUomLibrarySite.JOULE:
return 'Joule Library';
case EUomLibrarySite.MAIN:
return 'Main Library';
case EUomLibrarySite.PRECINCT:
return 'Precinct Library';
case EUomLibrarySite.EDDIE:
return 'Eddie Davies Library';
case EUomLibrarySite.STOPFORD:
return 'Stopford Library';
case EUomLibrarySite.KANTOROWICH:
return 'Kantorowich Library';
case EUomLibrarySite.CHRISTIES:
return 'Christies Bistro';
case EUomLibrarySite.ODDFELLOWS:
return 'Oddfellows Hall';
}
throw new Error('Unable to obtain pretty for EUomLibrarySite');
}
exports.prettyFromEUomLibrarySite = prettyFromEUomLibrarySite;
//# sourceMappingURL=euom-library-site.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.keyToEUomLibraryYearPeriod = exports.fromEUomLibraryYearPeriod = exports.toEUomLibraryYearPeriod = exports.EUomLibraryYearPeriod = void 0;
var EUomLibraryYearPeriod;

@@ -4,0 +5,0 @@ (function (EUomLibraryYearPeriod) {

"use strict";
// created from 'create-ts-index'
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./euom-library-affiliation"));
__export(require("./euom-library-card-variation"));
__export(require("./euom-library-faculty"));
__export(require("./euom-library-member-type"));
__export(require("./euom-library-site"));
__export(require("./euom-library-year-period"));
__exportStar(require("./euom-library-affiliation"), exports);
__exportStar(require("./euom-library-card-variation"), exports);
__exportStar(require("./euom-library-faculty"), exports);
__exportStar(require("./euom-library-member-type"), exports);
__exportStar(require("./euom-library-site"), exports);
__exportStar(require("./euom-library-year-period"), exports);
//# sourceMappingURL=index.js.map
"use strict";
// created from 'create-ts-index'
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./consts"));
__export(require("./enums"));
__export(require("./interfaces"));
__exportStar(require("./consts"), exports);
__exportStar(require("./enums"), exports);
__exportStar(require("./interfaces"), exports);
//# sourceMappingURL=index.js.map
"use strict";
// created from 'create-ts-index'
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./iuom-library-ldap-data"));
__exportStar(require("./iuom-library-ldap-data"), exports);
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isIUomLibraryLdapData = void 0;
const tscommons_core_1 = require("tscommons-core");

@@ -4,0 +5,0 @@ const euom_library_member_type_1 = require("../enums/euom-library-member-type");

{
"name": "uomlibrarycommons-core",
"version": "0.10.0",
"version": "0.10.1",
"description": "Common Node and Angular code for UoM library development",
"scripts": {
"preprepare": "rm -rf ./dist; cti ./src && tsc"
"preprepare": "rm -rf ./dist; cti ./src && tsc",
"publish-patch": "rm -rf dist; tsc && tslint -p . && npm run preprepare && npm version patch && npm install && npm publish && git add . && git commit -m 'publish'"
},

@@ -13,3 +14,3 @@ "main": "dist/index.js",

"dependencies": {
"tscommons-core": "^2.4.1"
"tscommons-core": "^2.4.2"
},

@@ -16,0 +17,0 @@ "files": [

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

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

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