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

@locker/near-membrane-base

Package Overview
Dependencies
Maintainers
8
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/near-membrane-base - npm Package Compare versions

Comparing version 0.11.4 to 0.11.5

11

package.json
{
"name": "@locker/near-membrane-base",
"version": "0.11.4",
"version": "0.11.5",
"repository": {

@@ -11,3 +11,3 @@ "type": "git",

"author": "Caridy Patiño <caridy@gmail.com>",
"description": "JavaScript Near Membrane Library to create a sandboxed environment",
"description": "Base membrane library to create sandboxed environments",
"main": "dist/index.cjs.js",

@@ -18,3 +18,3 @@ "module": "dist/index.js",

"scripts": {
"clean": "rimraf dist types",
"clean": "locker-trash dist types",
"build": "tsc --project tsconfig.types.json && rollup --config .rolluprc.cjs",

@@ -30,3 +30,6 @@ "build:dev": "cross-env NODE_ENV=development yarn build"

},
"gitHead": "4ac1d3b7a749c8a639a711ad1920a04a36fcd482"
"dependencies": {
"@locker/near-membrane-shared": "0.11.5"
},
"gitHead": "a4ec885c42dbd7ef9dcaa1969e848f2879a27e1f"
}

@@ -1,2 +0,3 @@

import type { ProxyTarget, PropertyKeys, VirtualEnvironmentOptions } from './types';
import type { ProxyTarget } from '@locker/near-membrane-shared/types';
import type { VirtualEnvironmentOptions } from './types';
export declare class VirtualEnvironment {

@@ -17,4 +18,4 @@ private readonly blueCallableGetPropertyValuePointer;

evaluate(sourceText: string): any;
lazyRemapProperties(target: ProxyTarget, ownKeys: PropertyKeys, unforgeableGlobalThisKeys?: PropertyKeys): void;
link(...keys: PropertyKeys): void;
lazyRemapProperties(target: ProxyTarget, ownKeys: PropertyKey[], unforgeableGlobalThisKeys?: PropertyKey[]): void;
link(...keys: PropertyKey[]): void;
remapProperties(target: ProxyTarget, unsafeBlueDescMap: PropertyDescriptorMap): void;

@@ -21,0 +22,0 @@ remapProto(target: ProxyTarget, proto: object | null): void;

@@ -6,3 +6,2 @@ export * from './connector';

export * from './types';
export * from './utils';
//# sourceMappingURL=index.d.ts.map
import { VirtualEnvironment } from './environment';
import type { PropertyKeys } from './types';
export declare function assignFilteredGlobalDescriptorsFromPropertyDescriptorMap<T extends PropertyDescriptorMap>(descMap: T, source: PropertyDescriptorMap): T;
export declare function getFilteredGlobalOwnKeys(source: object): PropertyKeys;
export declare function getFilteredGlobalOwnKeys(source: object): PropertyKey[];
export declare function linkIntrinsics(env: VirtualEnvironment, globalObject: typeof globalThis): void;
//# sourceMappingURL=intrinsics.d.ts.map

@@ -0,1 +1,2 @@

import type { Getter, NearMembraneSerializedValue as SerializedValue, ProxyTarget } from '@locker/near-membrane-shared/types';
export interface Activity {

@@ -27,3 +28,3 @@ stop(data?: DataType): void;

export declare type CallableInstallErrorPrepareStackTrace = () => void;
export declare type CallableInstallLazyPropertyDescriptors = (targetPointer: Pointer, ...ownKeysAndUnforgeableGlobalThisKeys: PropertyKeys) => void;
export declare type CallableInstallLazyPropertyDescriptors = (targetPointer: Pointer, ...ownKeysAndUnforgeableGlobalThisKeys: PropertyKey[]) => void;
export declare type CallableIsExtensible = (targetPointer: Pointer) => boolean;

@@ -49,6 +50,5 @@ export declare type CallableIsTargetLive = (targetPointer: Pointer, targetTraits: number) => boolean;

export declare type GetSelectedTarget = Getter;
export declare type Getter = () => any;
export declare type GetTransferableValue = (value: any) => PointerOrPrimitive;
export declare type GlobalThisGetter = () => typeof globalThis;
export declare type HooksCallback = (globalThisPointer: Pointer | undefined, getSelectedTarget: GetSelectedTarget | undefined, getTransferableValue: GetTransferableValue | undefined, callableGetPropertyValuePointer: CallableGetPropertyValuePointer | undefined, callableEvaluate: CallableEvaluate | undefined, callableLinkPointers: CallableLinkPointers | undefined, callablePushErrorTarget: CallablePushErrorTarget, 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 | undefined, callableGetLazyPropertyDescriptorStateByTarget: CallableGetLazyPropertyDescriptorStateByTarget, callableGetTargetIntegrityTraits: CallableGetTargetIntegrityTraits, callableGetToStringTagOfTarget: CallableGetToStringTagOfTarget, callableGetTypedArrayIndexedValue: CallableGetTypedArrayIndexedValue, callableInstallErrorPrepareStackTrace: CallableInstallErrorPrepareStackTrace, callableInstallLazyPropertyDescriptors: CallableInstallLazyPropertyDescriptors | undefined, callableIsTargetLive: CallableIsTargetLive, callableIsTargetRevoked: CallableIsTargetRevoked, callableSerializeTarget: CallableSerializeTarget, callableSetLazyPropertyDescriptorStateByTarget: CallableSetLazyPropertyDescriptorStateByTarget, callableBatchGetPrototypeOfAndGetOwnPropertyDescriptors: CallableBatchGetPrototypeOfAndGetOwnPropertyDescriptors, callableBatchGetPrototypeOfWhenHasNoOwnProperty: CallableBatchGetPrototypeOfWhenHasNoOwnProperty, callableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor: CallableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor) => void;
export declare type HooksCallback = (globalThisPointer: Pointer, getSelectedTarget: GetSelectedTarget, getTransferableValue: GetTransferableValue, callableGetPropertyValuePointer: CallableGetPropertyValuePointer, callableEvaluate: CallableEvaluate, callableLinkPointers: CallableLinkPointers, callablePushErrorTarget: CallablePushErrorTarget, 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, callableGetTypedArrayIndexedValue: CallableGetTypedArrayIndexedValue, callableInstallErrorPrepareStackTrace: CallableInstallErrorPrepareStackTrace, callableInstallLazyPropertyDescriptors: CallableInstallLazyPropertyDescriptors, callableIsTargetLive: CallableIsTargetLive, callableIsTargetRevoked: CallableIsTargetRevoked, callableSerializeTarget: CallableSerializeTarget, callableSetLazyPropertyDescriptorStateByTarget: CallableSetLazyPropertyDescriptorStateByTarget, callableBatchGetPrototypeOfAndGetOwnPropertyDescriptors: CallableBatchGetPrototypeOfAndGetOwnPropertyDescriptors, callableBatchGetPrototypeOfWhenHasNoOwnProperty: CallableBatchGetPrototypeOfWhenHasNoOwnProperty, callableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor: CallableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor) => void;
export interface HooksOptions {

@@ -68,7 +68,3 @@ distortionCallback?: DistortionCallback;

export declare type Primitive = bigint | boolean | null | number | string | symbol | undefined;
export declare type PropertyKey = string | symbol;
export declare type PropertyKeys = PropertyKey[];
export declare type ProxyTarget = CallableFunction | any[] | object;
export declare type SerializedValue = bigint | boolean | number | string | symbol;
export declare type Setter = (value: any) => void;
export type { SerializedValue };
export declare type ShadowTarget = ProxyTarget;

@@ -75,0 +71,0 @@ export interface VirtualEnvironmentOptions {

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

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

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