@locker/near-membrane-base
Advanced tools
Comparing version 0.9.21 to 0.9.22
{ | ||
"name": "@locker/near-membrane-base", | ||
"version": "0.9.21", | ||
"version": "0.9.22", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "author": "Caridy Patiño <caridy@gmail.com>", | ||
}, | ||
"gitHead": "712dd35509356024c05489274df330179dafc7dd" | ||
"gitHead": "577b9510857f89569a6bd6807ae3cc03dc03555d" | ||
} |
@@ -23,3 +23,3 @@ import { Instrumentation } from './instrumentation'; | ||
private readonly redCallableDefineProperties; | ||
private readonly redCallableInstallLazyDescriptors; | ||
private readonly redCallableInstallLazyPropertyDescriptors; | ||
private readonly redGlobalThisPointer; | ||
@@ -26,0 +26,0 @@ constructor(providedOptions: VirtualEnvironmentOptions); |
@@ -27,7 +27,7 @@ /** | ||
import { PropertyKey, PropertyKeys } from './types'; | ||
declare type CallablePushTarget = (pointer: () => void, targetTraits: number, targetFunctionName: string | undefined) => Pointer; | ||
declare type CallablePushTarget = (foreignTargetPointer: () => void, foreignTargetTraits: number, foreignTargetFunctionArity: number | undefined, foreignTargetFunctionName: string | undefined) => Pointer; | ||
declare type CallableApply = (targetPointer: Pointer, thisArgPointerOrPrimitive: PointerOrPrimitive, ...args: PointerOrPrimitive[]) => PointerOrPrimitive; | ||
declare type CallableConstruct = (targetPointer: Pointer, newTargetPointer: PointerOrPrimitive, ...args: PointerOrPrimitive[]) => PointerOrPrimitive; | ||
declare type CallableDeleteProperty = (targetPointer: Pointer, key: PropertyKey) => boolean; | ||
declare type CallableGet = (targetPointer: Pointer, targetTraits: number, key: PropertyKey, receiver: PointerOrPrimitive) => PointerOrPrimitive; | ||
declare type CallableGet = (targetPointer: Pointer, targetTraits: number, key: PropertyKey, receiverPointerOrPrimitive: PointerOrPrimitive) => PointerOrPrimitive; | ||
declare type CallableGetOwnPropertyDescriptor = (targetPointer: Pointer, key: PropertyKey, foreignCallableDescriptorCallback: CallableDescriptorCallback) => void; | ||
@@ -39,4 +39,5 @@ declare type CallableGetPrototypeOf = (targetPointer: Pointer) => PointerOrPrimitive; | ||
declare type CallablePreventExtensions = (targetPointer: Pointer) => number; | ||
declare type CallableSet = (targetPointer: Pointer, key: PropertyKey, value: PointerOrPrimitive, receiver: PointerOrPrimitive) => boolean; | ||
declare type CallableSet = (targetPointer: Pointer, key: PropertyKey, valuePointerOrPrimitive: PointerOrPrimitive, receiverPointerOrPrimitive: PointerOrPrimitive) => boolean; | ||
declare type CallableDebugInfo = (...args: Parameters<typeof console.info>) => boolean; | ||
declare type CallableGetLazyPropertyDescriptorStateByTarget = (targetPointer: Pointer) => PointerOrPrimitive; | ||
declare type CallableGetTargetIntegrityTraits = (targetPointer: Pointer) => number; | ||
@@ -48,2 +49,3 @@ declare type CallableGetToStringTagOfTarget = (targetPointer: Pointer) => string; | ||
declare type CallableSerializeTarget = (targetPointer: Pointer) => SerializedValue | undefined; | ||
declare type CallableSetLazyPropertyDescriptorStateByTarget = (targetPointer: Pointer, statePointer: Pointer) => void; | ||
declare type CallableBatchGetPrototypeOfAndGetOwnPropertyDescriptors = (targetPointer: Pointer, foreignCallableDescriptorsCallback: CallableDescriptorsCallback) => PointerOrPrimitive; | ||
@@ -62,3 +64,3 @@ declare type CallableBatchGetPrototypeOfWhenHasNoOwnProperty = (targetPointer: Pointer, key: PropertyKey) => PointerOrPrimitive; | ||
export declare type CallableGetPropertyValuePointer = (targetPointer: Pointer, key: PropertyKey) => Pointer; | ||
export declare type CallableInstallLazyDescriptors = (targetPointer: Pointer, ...ownKeysAndUnforgeableGlobalThisKeys: PropertyKeys) => void; | ||
export declare type CallableInstallLazyPropertyDescriptors = (targetPointer: Pointer, ...ownKeysAndUnforgeableGlobalThisKeys: PropertyKeys) => void; | ||
export declare type CallableLinkPointers = (targetPointer: Pointer, foreignTargetPointer: Pointer) => void; | ||
@@ -69,3 +71,3 @@ export declare type CallableSetPrototypeOf = (targetPointer: Pointer, protoPointerOrNull: Pointer | null) => boolean; | ||
export declare type GetTransferableValue = (value: any) => PointerOrPrimitive; | ||
export declare type HooksCallback = (globalThisPointer: Pointer, getSelectedTarget: GetSelectedTarget, getTransferableValue: GetTransferableValue, callableGetPropertyValuePointer: CallableGetPropertyValuePointer, callableEvaluate: CallableEvaluate, callableLinkPointers: CallableLinkPointers, callablePushTarget: CallablePushTarget, callableApply: CallableApply, callableConstruct: CallableConstruct, callableDefineProperty: CallableDefineProperty, callableDeleteProperty: CallableDeleteProperty, callableGet: CallableGet, callableGetOwnPropertyDescriptor: CallableGetOwnPropertyDescriptor, callableGetPrototypeOf: CallableGetPrototypeOf, callableHas: CallableHas, callableIsExtensible: CallableIsExtensible, callableOwnKeys: CallableOwnKeys, callablePreventExtensions: CallablePreventExtensions, callableSet: CallableSet, callableSetPrototypeOf: CallableSetPrototypeOf, callableDebugInfo: CallableDebugInfo, callableDefineProperties: CallableDefineProperties, callableGetTargetIntegrityTraits: CallableGetTargetIntegrityTraits, callableGetToStringTagOfTarget: CallableGetToStringTagOfTarget, callableInstallErrorPrepareStackTrace: CallableInstallErrorPrepareStackTrace, callableInstallLazyDescriptors: CallableInstallLazyDescriptors, callableIsTargetLive: CallableIsTargetLive, callableIsTargetRevoked: CallableIsTargetRevoked, callableSerializeTarget: CallableSerializeTarget, callableBatchGetPrototypeOfAndGetOwnPropertyDescriptors: CallableBatchGetPrototypeOfAndGetOwnPropertyDescriptors, callableBatchGetPrototypeOfWhenHasNoOwnProperty: CallableBatchGetPrototypeOfWhenHasNoOwnProperty, callableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor: CallableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor) => void; | ||
export declare type HooksCallback = (globalThisPointer: Pointer, getSelectedTarget: GetSelectedTarget, getTransferableValue: GetTransferableValue, callableGetPropertyValuePointer: CallableGetPropertyValuePointer, callableEvaluate: CallableEvaluate, callableLinkPointers: CallableLinkPointers, callablePushTarget: CallablePushTarget, callableApply: CallableApply, callableConstruct: CallableConstruct, callableDefineProperty: CallableDefineProperty, callableDeleteProperty: CallableDeleteProperty, callableGet: CallableGet, callableGetOwnPropertyDescriptor: CallableGetOwnPropertyDescriptor, callableGetPrototypeOf: CallableGetPrototypeOf, callableHas: CallableHas, callableIsExtensible: CallableIsExtensible, callableOwnKeys: CallableOwnKeys, callablePreventExtensions: CallablePreventExtensions, callableSet: CallableSet, callableSetPrototypeOf: CallableSetPrototypeOf, callableDebugInfo: CallableDebugInfo, callableDefineProperties: CallableDefineProperties, callableGetLazyPropertyDescriptorStateByTarget: CallableGetLazyPropertyDescriptorStateByTarget, callableGetTargetIntegrityTraits: CallableGetTargetIntegrityTraits, callableGetToStringTagOfTarget: CallableGetToStringTagOfTarget, callableInstallErrorPrepareStackTrace: CallableInstallErrorPrepareStackTrace, callableInstallLazyDescriptors: CallableInstallLazyPropertyDescriptors, callableIsTargetLive: CallableIsTargetLive, callableIsTargetRevoked: CallableIsTargetRevoked, callableSerializeTarget: CallableSerializeTarget, callableSetLazyPropertyDescriptorStateByTarget: CallableSetLazyPropertyDescriptorStateByTarget, callableBatchGetPrototypeOfAndGetOwnPropertyDescriptors: CallableBatchGetPrototypeOfAndGetOwnPropertyDescriptors, callableBatchGetPrototypeOfWhenHasNoOwnProperty: CallableBatchGetPrototypeOfWhenHasNoOwnProperty, callableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor: CallableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor) => void; | ||
export interface HooksOptions { | ||
@@ -72,0 +74,0 @@ distortionCallback?: DistortionCallback; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
295645
6259