🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@memberjunction/core

Package Overview
Dependencies
Maintainers
4
Versions
311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@memberjunction/core - npm Package Compare versions

Comparing version

to
2.5.0

2

dist/generic/baseEntity.d.ts

@@ -228,3 +228,3 @@ import { EntityFieldInfo, EntityInfo, EntityFieldTSType, EntityPermissionType, RecordChange, ValidationResult, EntityRelationshipInfo } from './entityInfo';

*/
GetFieldByName(fieldName: string): EntityField;
GetFieldByName(fieldName: string): EntityField | null;
/**

@@ -231,0 +231,0 @@ * Returns true if the object is Dirty, meaning something has changed since it was last saved to the database, and false otherwise. For new records, this will always return true.

@@ -395,2 +395,5 @@ "use strict";

GetFieldByName(fieldName) {
if (!fieldName) {
return null;
}
const lcase = fieldName.trim().toLowerCase(); // do this once as we will use it multiple times

@@ -397,0 +400,0 @@ return this.Fields.find(f => f.Name.trim().toLowerCase() === lcase);

{
"name": "@memberjunction/core",
"version": "2.4.1",
"version": "2.5.0",
"description": "MemberJunction: Core Library including Metadata, Application, Entity Retrieval and Manipulation, and Utilities",

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

"dependencies": {
"@memberjunction/global": "2.4.1",
"@memberjunction/global": "2.5.0",
"rxjs": "^7.8.1",

@@ -25,0 +25,0 @@ "zod": "^3.23.8"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet