Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@locker/shared

Package Overview
Dependencies
Maintainers
6
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/shared - npm Package Compare versions

Comparing version 0.11.15 to 0.11.16

8

dist/index.cjs.js

@@ -119,2 +119,7 @@ /**

const FunctionCall = unapply(Function.prototype.call);
function wrap(func, wrapper) {
return function wrapped(...args) {
return ReflectApply(wrapper, this, [func, args]);
};
}

@@ -290,2 +295,3 @@ const { parse: JSONParse, stringify: JSONStringify } = JSON;

exports.unconstruct = unconstruct;
/** version: 0.11.15 */
exports.wrap = wrap;
/** version: 0.11.16 */

9

dist/index.js

@@ -115,2 +115,7 @@ /**

const FunctionCall = unapply(Function.prototype.call);
function wrap(func, wrapper) {
return function wrapped(...args) {
return ReflectApply(wrapper, this, [func, args]);
};
}

@@ -190,3 +195,3 @@ const { parse: JSONParse, stringify: JSONStringify } = JSON;

export { ArrayConcat, ArrayFilter, ArrayForEach, ArrayFrom, ArrayIncludes, ArrayIsArray, ArrayJoin, ArrayMap, ArrayPush, ArraySome, ErrorCreate, FunctionBind, FunctionCall, JSONParse, JSONStringify, LockerRangeError, LockerSecurityError, MapConcat, MapCreate, MapEntries, MapForEach, MapGet, MapIteratorCreate, MapSet, MathMin, ObjectAssign, ObjectCreate, ObjectDefineProperty, ObjectFreeze, ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertyNames, ObjectGetOwnPropertySymbols, ObjectHasOwnProperty, ObjectIsFrozen, ObjectIsSealed, ObjectKeys, ObjectPreventExtensions, ObjectSeal, ProxyCreate, ProxyRevocable, RangeErrorCreate, ReflectApply, ReflectConstruct, ReflectDefineProperty, ReflectDeleteProperty, ReflectGet, ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf, ReflectHas, ReflectIsExtensible, ReflectOwnKeys, ReflectPreventExtensions, ReflectSet, ReflectSetPrototypeOf, RegExpTest, SetAdd, SetCreate, SetDelete, SetHas, StringCharCodeAt, StringEndsWith, StringIncludes, StringIndexOf, StringMatch, StringReplace, StringSplit, StringStartsWith, StringSubstring, StringToLowerCase, StringToUpperCase, StringTrim, SymbolFor, SymbolIterator, TypeErrorCreate, WeakMapCreate, WeakMapGet, WeakMapHas, WeakMapSet, createRevokedProxy, createSafeObject, defaults, isFunction, isNull, isNullOrUndefined, isObject, isObjectLike, isTrue, isUndefined, maskDistortion, sanitizeArguments, toBoolean, toIgnore, toString, toStringIfNotNullOrUndefined, unapply, unconstruct };
/** version: 0.11.15 */
export { ArrayConcat, ArrayFilter, ArrayForEach, ArrayFrom, ArrayIncludes, ArrayIsArray, ArrayJoin, ArrayMap, ArrayPush, ArraySome, ErrorCreate, FunctionBind, FunctionCall, JSONParse, JSONStringify, LockerRangeError, LockerSecurityError, MapConcat, MapCreate, MapEntries, MapForEach, MapGet, MapIteratorCreate, MapSet, MathMin, ObjectAssign, ObjectCreate, ObjectDefineProperty, ObjectFreeze, ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertyNames, ObjectGetOwnPropertySymbols, ObjectHasOwnProperty, ObjectIsFrozen, ObjectIsSealed, ObjectKeys, ObjectPreventExtensions, ObjectSeal, ProxyCreate, ProxyRevocable, RangeErrorCreate, ReflectApply, ReflectConstruct, ReflectDefineProperty, ReflectDeleteProperty, ReflectGet, ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf, ReflectHas, ReflectIsExtensible, ReflectOwnKeys, ReflectPreventExtensions, ReflectSet, ReflectSetPrototypeOf, RegExpTest, SetAdd, SetCreate, SetDelete, SetHas, StringCharCodeAt, StringEndsWith, StringIncludes, StringIndexOf, StringMatch, StringReplace, StringSplit, StringStartsWith, StringSubstring, StringToLowerCase, StringToUpperCase, StringTrim, SymbolFor, SymbolIterator, TypeErrorCreate, WeakMapCreate, WeakMapGet, WeakMapHas, WeakMapSet, createRevokedProxy, createSafeObject, defaults, isFunction, isNull, isNullOrUndefined, isObject, isObjectLike, isTrue, isUndefined, maskDistortion, sanitizeArguments, toBoolean, toIgnore, toString, toStringIfNotNullOrUndefined, unapply, unconstruct, wrap };
/** version: 0.11.16 */
{
"name": "@locker/shared",
"version": "0.11.15",
"version": "0.11.16",
"license": "Salesforce Developer Agreement",

@@ -24,3 +24,3 @@ "author": "Salesforce UI Security Team",

},
"gitHead": "3195c1166c8dddbe4494deee374365371377051e"
"gitHead": "d8cc8542f5db478e0f94877d6303c544f9a6528f"
}
export declare const FunctionBind: Function;
export declare const FunctionCall: Function;
export declare function wrap(func: Function, wrapper: Function): Function;
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