@locker/shared
Advanced tools
Comparing version 0.11.3 to 0.11.7
@@ -63,3 +63,3 @@ /** | ||
const { assign: ObjectAssign, create: ObjectCreate, defineProperty: ObjectDefineProperty, getOwnPropertyDescriptors: ObjectGetOwnPropertyDescriptors, freeze: ObjectFreeze, getOwnPropertySymbols: ObjectGetOwnPropertySymbols, keys: ObjectKeys, seal: ObjectSeal, isSealed: ObjectIsSealed, isFrozen: ObjectIsFrozen, } = Object; | ||
const { assign: ObjectAssign, create: ObjectCreate, defineProperty: ObjectDefineProperty, getOwnPropertyDescriptors: ObjectGetOwnPropertyDescriptors, freeze: ObjectFreeze, getOwnPropertySymbols: ObjectGetOwnPropertySymbols, keys: ObjectKeys, seal: ObjectSeal, isSealed: ObjectIsSealed, isFrozen: ObjectIsFrozen, preventExtensions: ObjectPreventExtensions, } = Object; | ||
const ObjectHasOwnProperty = unapply(Object.prototype.hasOwnProperty); | ||
@@ -209,2 +209,3 @@ function createSafeObject(object) { | ||
exports.ObjectKeys = ObjectKeys; | ||
exports.ObjectPreventExtensions = ObjectPreventExtensions; | ||
exports.ObjectSeal = ObjectSeal; | ||
@@ -266,2 +267,2 @@ exports.ProxyCreate = ProxyCreate; | ||
exports.unconstruct = unconstruct; | ||
/** version: 0.11.3 */ | ||
/** version: 0.11.7 */ |
@@ -59,3 +59,3 @@ /** | ||
const { assign: ObjectAssign, create: ObjectCreate, defineProperty: ObjectDefineProperty, getOwnPropertyDescriptors: ObjectGetOwnPropertyDescriptors, freeze: ObjectFreeze, getOwnPropertySymbols: ObjectGetOwnPropertySymbols, keys: ObjectKeys, seal: ObjectSeal, isSealed: ObjectIsSealed, isFrozen: ObjectIsFrozen, } = Object; | ||
const { assign: ObjectAssign, create: ObjectCreate, defineProperty: ObjectDefineProperty, getOwnPropertyDescriptors: ObjectGetOwnPropertyDescriptors, freeze: ObjectFreeze, getOwnPropertySymbols: ObjectGetOwnPropertySymbols, keys: ObjectKeys, seal: ObjectSeal, isSealed: ObjectIsSealed, isFrozen: ObjectIsFrozen, preventExtensions: ObjectPreventExtensions, } = Object; | ||
const ObjectHasOwnProperty = unapply(Object.prototype.hasOwnProperty); | ||
@@ -170,3 +170,3 @@ function createSafeObject(object) { | ||
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, ObjectGetOwnPropertySymbols, ObjectHasOwnProperty, ObjectIsFrozen, ObjectIsSealed, ObjectKeys, 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, isFunction, isNull, isNullOrUndefined, isTrue, isUndefined, maskDistortion, sanitizeArguments, toBoolean, toIgnore, toString, toStringIfNotNullOrUndefined, unapply, unconstruct }; | ||
/** version: 0.11.3 */ | ||
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, 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, isFunction, isNull, isNullOrUndefined, isTrue, isUndefined, maskDistortion, sanitizeArguments, toBoolean, toIgnore, toString, toStringIfNotNullOrUndefined, unapply, unconstruct }; | ||
/** version: 0.11.7 */ |
{ | ||
"name": "@locker/shared", | ||
"version": "0.11.3", | ||
"version": "0.11.7", | ||
"description": "Locker Next Shared Utilities", | ||
@@ -23,3 +23,3 @@ "main": "dist/index.cjs.js", | ||
}, | ||
"gitHead": "6265cbedd0be6b20fada0f3a63cfd2ff5bbc1ead" | ||
"gitHead": "d95b59d9623ee44939cd6d3f2b33b487ea308bdc" | ||
} |
@@ -18,3 +18,3 @@ export declare const ObjectAssign: { | ||
(o: {}): string[]; | ||
}, ObjectSeal: <T>(o: T) => T, ObjectIsSealed: (o: any) => boolean, ObjectIsFrozen: (o: any) => boolean; | ||
}, ObjectSeal: <T>(o: T) => T, ObjectIsSealed: (o: any) => boolean, ObjectIsFrozen: (o: any) => boolean, ObjectPreventExtensions: <T>(o: T) => T; | ||
export declare const ObjectHasOwnProperty: Function; | ||
@@ -21,0 +21,0 @@ export declare function createSafeObject<T>(object: T): { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24822
532
1