New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@memberjunction/core

Package Overview
Dependencies
Maintainers
4
Versions
261
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 2.20.1 to 2.20.2

13

dist/generic/baseEntity.js

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

event.baseEntity = this;
event.payload = null;
event.payload = payload;
event.type = type;

@@ -935,6 +935,15 @@ global_1.MJGlobal.Instance.RaiseEvent({

this.CheckPermissions(entityInfo_1.EntityPermissionType.Delete, true); // this will throw an error and exit out if we don't have permission
// stash the old values for the event
const oldVals = await this.GetDataObject({
oldValues: false,
omitNullValues: false,
omitEmptyStrings: false,
excludeFields: null,
includeRelatedEntityData: false,
relatedEntityList: null
});
if (await this.ProviderToUse.Delete(this, options, this.ActiveUser)) {
// record deleted correctly
this.RaiseEvent('delete', { OldValues: oldVals });
// wipe out the current data to flush out the DIRTY flags by calling NewRecord()
this.RaiseEvent('delete', null);
this.NewRecord(); // will trigger a new record event here too

@@ -941,0 +950,0 @@ return true;

4

package.json
{
"name": "@memberjunction/core",
"version": "2.20.1",
"version": "2.20.2",
"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.20.1",
"@memberjunction/global": "2.20.2",
"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

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