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

@salesforce/lds-adapters-experience-marketing-integration

Package Overview
Dependencies
Maintainers
52
Versions
459
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/lds-adapters-experience-marketing-integration - npm Package Compare versions

Comparing version 1.134.7 to 1.134.8

28

dist/es/es2018/experience-marketing-integration.js

@@ -7,6 +7,6 @@ /**

import { serializeStructuredKey, StoreKeyMap } from '@luvio/engine';
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from '@luvio/engine';
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
const { keys: ObjectKeys, create: ObjectCreate } = Object;
const { isArray: ArrayIsArray$1 } = Array;

@@ -35,3 +35,3 @@ /**

const supported = required.concat(optional);
if (ObjectKeys$1(config).some(key => !supported.includes(key))) {
if (ObjectKeys(config).some(key => !supported.includes(key))) {
throw new TypeError(`adapter ${displayName} configuration supports only ${supported.sort().join(', ')}`);

@@ -55,3 +55,2 @@ }

const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
const { isArray: ArrayIsArray } = Array;

@@ -71,20 +70,2 @@ function equalsArray(a, b, equalsItem) {

}
function deepFreeze(value) {
// No need to freeze primitives
if (typeof value !== 'object' || value === null) {
return;
}
if (ArrayIsArray(value)) {
for (let i = 0, len = value.length; i < len; i += 1) {
deepFreeze(value[i]);
}
}
else {
const keys = ObjectKeys(value);
for (let i = 0, len = keys.length; i < len; i += 1) {
deepFreeze(value[keys[i]]);
}
}
ObjectFreeze(value);
}
function createLink(ref) {

@@ -428,2 +409,3 @@ return {

}
deepFreeze(snapshot.data);
return snapshot;

@@ -539,2 +521,3 @@ }

}
deepFreeze(snapshot.data);
return snapshot;

@@ -851,2 +834,3 @@ }

}
deepFreeze(snapshot.data);
return snapshot;

@@ -853,0 +837,0 @@ }

@@ -6,8 +6,2 @@ import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';

(o: {}): string[];
}, ObjectFreeze: {
<T extends Function>(f: T): T;
<T_1 extends {
[idx: string]: object | U | null | undefined;
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
<T_2>(o: T_2): Readonly<T_2>;
}, ObjectCreate: {

@@ -17,3 +11,3 @@ (o: object | null): any;

};
export { ObjectFreeze, ObjectCreate, ObjectKeys };
export { ObjectCreate, ObjectKeys };
export declare const ArrayIsArray: (arg: any) => arg is any[];

@@ -20,0 +14,0 @@ export declare const ArrayPrototypePush: (...items: any[]) => number;

@@ -9,3 +9,2 @@ import { FormFieldInputRepresentation as FormFieldInputRepresentation_FormFieldInputRepresentation } from './FormFieldInputRepresentation';

export declare function equals(existing: FormFieldInputListNormalized, incoming: FormFieldInputListNormalized): boolean;
export declare function deepFreeze(input: FormFieldInputList): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -12,0 +11,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormFieldInputList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -8,3 +8,2 @@ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';

export declare function equals(existing: FormFieldInputRepresentationNormalized, incoming: FormFieldInputRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormFieldInputRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -11,0 +10,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormFieldInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -9,3 +9,2 @@ import { FormFieldRepresentation as FormFieldRepresentation_FormFieldRepresentation } from './FormFieldRepresentation';

export declare function equals(existing: FormFieldListNormalized, incoming: FormFieldListNormalized): boolean;
export declare function deepFreeze(input: FormFieldList): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -12,0 +11,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormFieldList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -8,3 +8,2 @@ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';

export declare function equals(existing: FormFieldRepresentationNormalized, incoming: FormFieldRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormFieldRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -11,0 +10,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormFieldRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -9,3 +9,2 @@ import { FormFieldInputList as FormFieldInputList_FormFieldInputList } from './FormFieldInputList';

export declare function equals(existing: FormInputRepresentationNormalized, incoming: FormInputRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormInputRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -12,0 +11,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -9,3 +9,2 @@ import { FormInputRepresentation as FormInputRepresentation_FormInputRepresentation } from './FormInputRepresentation';

export declare function equals(existing: FormInputWrapperRepresentationNormalized, incoming: FormInputWrapperRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormInputWrapperRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -12,0 +11,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -19,3 +19,2 @@ import { FormFieldList as FormFieldList_FormFieldList } from './FormFieldList';

export declare function equals(existing: FormRepresentationNormalized, incoming: FormRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -22,0 +21,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -9,3 +9,2 @@ import { FormSubmissionFieldInputRepresentation as FormSubmissionFieldInputRepresentation_FormSubmissionFieldInputRepresentation } from './FormSubmissionFieldInputRepresentation';

export declare function equals(existing: FormSubmissionFieldInputListNormalized, incoming: FormSubmissionFieldInputListNormalized): boolean;
export declare function deepFreeze(input: FormSubmissionFieldInputList): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -12,0 +11,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionFieldInputList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -8,3 +8,2 @@ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';

export declare function equals(existing: FormSubmissionFieldInputRepresentationNormalized, incoming: FormSubmissionFieldInputRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormSubmissionFieldInputRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -11,0 +10,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionFieldInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -9,3 +9,2 @@ import { FormSubmissionFieldInputList as FormSubmissionFieldInputList_FormSubmissionFieldInputList } from './FormSubmissionFieldInputList';

export declare function equals(existing: FormSubmissionInputRepresentationNormalized, incoming: FormSubmissionInputRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormSubmissionInputRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -12,0 +11,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -9,3 +9,2 @@ import { FormSubmissionInputRepresentation as FormSubmissionInputRepresentation_FormSubmissionInputRepresentation } from './FormSubmissionInputRepresentation';

export declare function equals(existing: FormSubmissionInputWrapperRepresentationNormalized, incoming: FormSubmissionInputWrapperRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormSubmissionInputWrapperRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -12,0 +11,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

@@ -18,3 +18,2 @@ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';

export declare function equals(existing: FormSubmissionRepresentationNormalized, incoming: FormSubmissionRepresentationNormalized): boolean;
export declare function deepFreeze(input: FormSubmissionRepresentation): void;
export declare const ingest: $64$luvio_engine_ResourceIngest;

@@ -21,0 +20,0 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;

import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
export declare const ObjectFreeze: {
<T extends Function>(f: T): T;
<T_1 extends {
[idx: string]: object | U | null | undefined;
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
<T_2>(o: T_2): Readonly<T_2>;
}, ObjectKeys: {
export declare const ObjectKeys: {
(o: object): string[];

@@ -34,3 +28,2 @@ (o: {}): string[];

}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
export declare function deepFreeze(value: any): void;
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {

@@ -37,0 +30,0 @@ __ref: string;

{
"name": "@salesforce/lds-adapters-experience-marketing-integration",
"version": "1.134.7",
"version": "1.134.8",
"license": "SEE LICENSE IN LICENSE.txt",

@@ -5,0 +5,0 @@ "description": "With this API, you can CRUD data in Marketing Cloud's storage, Data Extensions.",

@@ -17,6 +17,6 @@ /**

import { withDefaultLuvio } from 'force/ldsEngine';
import { serializeStructuredKey, StoreKeyMap } from 'force/luvioEngine';
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
const { keys: ObjectKeys, create: ObjectCreate } = Object;
const { isArray: ArrayIsArray$1 } = Array;

@@ -45,3 +45,3 @@ /**

const supported = required.concat(optional);
if (ObjectKeys$1(config).some(key => !supported.includes(key))) {
if (ObjectKeys(config).some(key => !supported.includes(key))) {
throw new TypeError(`adapter ${displayName} configuration supports only ${supported.sort().join(', ')}`);

@@ -65,3 +65,2 @@ }

const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
const { isArray: ArrayIsArray } = Array;

@@ -81,20 +80,2 @@ function equalsArray(a, b, equalsItem) {

}
function deepFreeze(value) {
// No need to freeze primitives
if (typeof value !== 'object' || value === null) {
return;
}
if (ArrayIsArray(value)) {
for (let i = 0, len = value.length; i < len; i += 1) {
deepFreeze(value[i]);
}
}
else {
const keys = ObjectKeys(value);
for (let i = 0, len = keys.length; i < len; i += 1) {
deepFreeze(value[keys[i]]);
}
}
ObjectFreeze(value);
}
function createLink(ref) {

@@ -373,2 +354,3 @@ return {

}
deepFreeze(snapshot.data);
return snapshot;

@@ -641,2 +623,3 @@ }

}
deepFreeze(snapshot.data);
return snapshot;

@@ -898,2 +881,3 @@ }

}
deepFreeze(snapshot.data);
return snapshot;

@@ -1023,2 +1007,2 @@ }

export { getForm, getFormNotifyChange, getForm_imperative, saveForm, submitForm };
// version: 1.134.7-ed0df45ef
// version: 1.134.8-c3d6d2cfc
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