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

@locker/sandbox

Package Overview
Dependencies
Maintainers
8
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/sandbox - npm Package Compare versions

Comparing version 0.19.8 to 0.19.9

8

dist/index.cjs.d.ts

@@ -6,4 +6,2 @@ import { Instrumentation } from "@locker/instrumentation";

declare const CORE_SANDBOX_KEY = "lws-core-sandbox";
declare function evaluateInCoreSandbox(_key: SandboxKey, source: Function | string, context?: any, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): any;
declare function evaluateInSandbox(key: SandboxKey, source: Function | string, context?: any, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): any;
type DependencyRegistry = Record<OriginalDep, WrappedDep>;

@@ -89,2 +87,3 @@ type EvalHelperBaseGenToAsync = (genNextWrapper: GeneratorMethodWrapper, genThrowWrapper: GeneratorMethodWrapper) => Promise<any>;

type SandboxRegistry = Record<SandboxKey, SandboxRecord>;
type Scope = Record<string, any>;
// eslint-disable-next-line no-shadow

@@ -104,5 +103,8 @@ declare const enum SourceType {

type WrappedDep = any;
declare function evaluateInCoreSandbox(_key: SandboxKey, source: Function | string, context?: any, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): any;
declare function evaluateInSandbox(key: SandboxKey, source: Function | string, context?: any, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): any;
declare function evaluateFunction(key: SandboxKey, fn: Function, scope?: Scope, sourceURL?: string, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): Function;
declare function wrapDependency(dep: any, depName: string, key: string): any;
declare function createRootWindowSandboxRecord({ context, endowments, instrumentation, key, type, verboseInstrumentation }: RootWindowRecordOptions): SandboxRecord;
export { CORE_SANDBOX_KEY, evaluateInCoreSandbox, evaluateInSandbox, DependencyRegistry, EvalHelperBaseGenToAsync, EvalHelperForAwaitOf, EvalHelperLoadScript, EvalHelperLoadStyle, EvalHelpers, EvalHelpersFactory, EvalHelpersFactoryArguments, EvaluateOptions, ForOfState, GeneratorMethod, GeneratorMethodWrapper, LWSTrustedTypesOptions, OpaqueWindowRecordOptions, OriginalDep, RootWindowRecordOptions, RedBindings, SandboxRecord, ResourceLoaderStatus, SandboxRegistry, SourceType, SecondaryWindowRecordOptions, VirtualEnvironmentEvaluator, WrappedDep, wrapDependency, createRootWindowSandboxRecord };
export { CORE_SANDBOX_KEY, evaluateInCoreSandbox, evaluateInSandbox, evaluateFunction, DependencyRegistry, EvalHelperBaseGenToAsync, EvalHelperForAwaitOf, EvalHelperLoadScript, EvalHelperLoadStyle, EvalHelpers, EvalHelpersFactory, EvalHelpersFactoryArguments, EvaluateOptions, ForOfState, GeneratorMethod, GeneratorMethodWrapper, LWSTrustedTypesOptions, OpaqueWindowRecordOptions, OriginalDep, RootWindowRecordOptions, RedBindings, SandboxRecord, ResourceLoaderStatus, SandboxRegistry, Scope, SourceType, SecondaryWindowRecordOptions, VirtualEnvironmentEvaluator, WrappedDep, wrapDependency, createRootWindowSandboxRecord };
export { trusted } from '@locker/trusted-types';

@@ -6,4 +6,2 @@ import { Instrumentation } from "@locker/instrumentation";

declare const CORE_SANDBOX_KEY = "lws-core-sandbox";
declare function evaluateInCoreSandbox(_key: SandboxKey, source: Function | string, context?: any, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): any;
declare function evaluateInSandbox(key: SandboxKey, source: Function | string, context?: any, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): any;
type DependencyRegistry = Record<OriginalDep, WrappedDep>;

@@ -89,2 +87,3 @@ type EvalHelperBaseGenToAsync = (genNextWrapper: GeneratorMethodWrapper, genThrowWrapper: GeneratorMethodWrapper) => Promise<any>;

type SandboxRegistry = Record<SandboxKey, SandboxRecord>;
type Scope = Record<string, any>;
// eslint-disable-next-line no-shadow

@@ -104,5 +103,8 @@ declare const enum SourceType {

type WrappedDep = any;
declare function evaluateInCoreSandbox(_key: SandboxKey, source: Function | string, context?: any, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): any;
declare function evaluateInSandbox(key: SandboxKey, source: Function | string, context?: any, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): any;
declare function evaluateFunction(key: SandboxKey, fn: Function, scope?: Scope, sourceURL?: string, endowments?: object, instrumentation?: Instrumentation, verboseInstrumentation?: boolean): Function;
declare function wrapDependency(dep: any, depName: string, key: string): any;
declare function createRootWindowSandboxRecord({ context, endowments, instrumentation, key, type, verboseInstrumentation }: RootWindowRecordOptions): SandboxRecord;
export { CORE_SANDBOX_KEY, evaluateInCoreSandbox, evaluateInSandbox, DependencyRegistry, EvalHelperBaseGenToAsync, EvalHelperForAwaitOf, EvalHelperLoadScript, EvalHelperLoadStyle, EvalHelpers, EvalHelpersFactory, EvalHelpersFactoryArguments, EvaluateOptions, ForOfState, GeneratorMethod, GeneratorMethodWrapper, LWSTrustedTypesOptions, OpaqueWindowRecordOptions, OriginalDep, RootWindowRecordOptions, RedBindings, SandboxRecord, ResourceLoaderStatus, SandboxRegistry, SourceType, SecondaryWindowRecordOptions, VirtualEnvironmentEvaluator, WrappedDep, wrapDependency, createRootWindowSandboxRecord };
export { CORE_SANDBOX_KEY, evaluateInCoreSandbox, evaluateInSandbox, evaluateFunction, DependencyRegistry, EvalHelperBaseGenToAsync, EvalHelperForAwaitOf, EvalHelperLoadScript, EvalHelperLoadStyle, EvalHelpers, EvalHelpersFactory, EvalHelpersFactoryArguments, EvaluateOptions, ForOfState, GeneratorMethod, GeneratorMethodWrapper, LWSTrustedTypesOptions, OpaqueWindowRecordOptions, OriginalDep, RootWindowRecordOptions, RedBindings, SandboxRecord, ResourceLoaderStatus, SandboxRegistry, Scope, SourceType, SecondaryWindowRecordOptions, VirtualEnvironmentEvaluator, WrappedDep, wrapDependency, createRootWindowSandboxRecord };
export { trusted } from '@locker/trusted-types';
{
"name": "@locker/sandbox",
"version": "0.19.8",
"version": "0.19.9",
"license": "SEE LICENSE IN LICENSE.txt",

@@ -19,11 +19,11 @@ "author": "Salesforce UI Security Team",

"dependencies": {
"@locker/distortion": "0.19.8",
"@locker/html-sanitizer": "0.19.8",
"@locker/shared": "0.19.8",
"@locker/shared-dom": "0.19.8",
"@locker/shared-url": "0.19.8",
"@locker/trusted-types": "0.19.8"
"@locker/distortion": "0.19.9",
"@locker/html-sanitizer": "0.19.9",
"@locker/shared": "0.19.9",
"@locker/shared-dom": "0.19.9",
"@locker/shared-url": "0.19.9",
"@locker/trusted-types": "0.19.9"
},
"devDependencies": {
"@locker/instrumentation": "0.19.8",
"@locker/instrumentation": "0.19.9",
"@locker/near-membrane-dom": "0.12.15"

@@ -30,0 +30,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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