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.5.1 to 0.7.0

dist/enums/euom-library-member-type.d.ts

3

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

@@ -7,3 +7,4 @@ export declare enum EUomLibraryAffiliation {

ALUMNI = "alum",
AFFILIATE = "affiliate"
AFFILIATE = "affiliate",
LIBRARY_WALK_IN = "library-walk-in"
}

@@ -10,0 +11,0 @@ export declare function toEUomLibraryAffiliation(value: string): EUomLibraryAffiliation | undefined;

@@ -12,2 +12,3 @@ "use strict";

EUomLibraryAffiliation["AFFILIATE"] = "affiliate";
EUomLibraryAffiliation["LIBRARY_WALK_IN"] = "library-walk-in";
})(EUomLibraryAffiliation = exports.EUomLibraryAffiliation || (exports.EUomLibraryAffiliation = {}));

@@ -29,2 +30,4 @@ function toEUomLibraryAffiliation(value) {

return EUomLibraryAffiliation.AFFILIATE;
case EUomLibraryAffiliation.LIBRARY_WALK_IN.toString():
return EUomLibraryAffiliation.LIBRARY_WALK_IN;
default:

@@ -49,2 +52,4 @@ return undefined;

return EUomLibraryAffiliation.AFFILIATE.toString();
case EUomLibraryAffiliation.LIBRARY_WALK_IN:
return EUomLibraryAffiliation.LIBRARY_WALK_IN.toString();
}

@@ -76,2 +81,4 @@ throw new Error('Unknown EUomLibraryAffiliation');

return EUomLibraryAffiliation.AFFILIATE;
case 'LIBRARY_WALK_IN':
return EUomLibraryAffiliation.LIBRARY_WALK_IN;
}

@@ -78,0 +85,0 @@ throw new Error(`Unable to obtain EUomLibraryAffiliation for key: ${key}`);

export * from './euom-library-affiliation';
export * from './euom-library-card-variation';
export * from './euom-library-member-type';
export * from './euom-library-site';
export * from './euom-library-year-period';

@@ -9,4 +9,5 @@ "use strict";

__export(require("./euom-library-card-variation"));
__export(require("./euom-library-member-type"));
__export(require("./euom-library-site"));
__export(require("./euom-library-year-period"));
//# sourceMappingURL=index.js.map

@@ -8,3 +8,3 @@ import { EUomLibraryAffiliation } from '../enums/euom-library-affiliation';

type: string;
affiliation: EUomLibraryAffiliation[] | EUomLibraryAffiliation;
affiliation?: EUomLibraryAffiliation[] | EUomLibraryAffiliation;
school?: string;

@@ -11,0 +11,0 @@ title?: string;

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

return false;
if (!tscommons_core_1.CommonsType.hasPropertyEnum(test, 'affiliation', euom_library_affiliation_1.isEUomLibraryAffiliation)
if (tscommons_core_1.CommonsType.hasProperty(test, 'affiliation')
&& !tscommons_core_1.CommonsType.hasPropertyEnum(test, 'affiliation', euom_library_affiliation_1.isEUomLibraryAffiliation)
&& !tscommons_core_1.CommonsType.hasPropertyEnumArray(test, 'affiliation', euom_library_affiliation_1.isEUomLibraryAffiliation))

@@ -23,0 +24,0 @@ return false;

{
"name": "uomlibrarycommons-core",
"version": "0.5.1",
"version": "0.7.0",
"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

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