@locker/shared
Advanced tools
Comparing version 0.13.4 to 0.13.5
@@ -10,3 +10,3 @@ /** | ||
const { concat: ArrayProtoConcat, filter: ArrayProtoFilter, includes: ArrayProtoIncludes, join: ArrayProtoJoin, slice: ArrayProtoSlice, } = Array.prototype; | ||
const { concat: ArrayProtoConcat, filter: ArrayProtoFilter, includes: ArrayProtoIncludes, join: ArrayProtoJoin, slice: ArrayProtoSlice, some: ArrayProtoSome, } = Array.prototype; | ||
const ArrayCtor = Array; | ||
@@ -36,2 +36,5 @@ const { from: ArrayFrom, isArray: ArrayIsArray } = Array; | ||
} | ||
function ArraySome(arr, iteratee) { | ||
return ReflectApply(ArrayProtoSome, arr, [iteratee]); | ||
} | ||
const emptyArray = []; | ||
@@ -285,2 +288,3 @@ | ||
exports.ArraySlice = ArraySlice; | ||
exports.ArraySome = ArraySome; | ||
exports.ErrorCtor = ErrorCtor; | ||
@@ -370,2 +374,2 @@ exports.FunctionBind = FunctionBind; | ||
exports.wrap = wrap; | ||
/** version: 0.13.4 */ | ||
/** version: 0.13.5 */ |
@@ -6,3 +6,3 @@ /** | ||
const { concat: ArrayProtoConcat, filter: ArrayProtoFilter, includes: ArrayProtoIncludes, join: ArrayProtoJoin, slice: ArrayProtoSlice, } = Array.prototype; | ||
const { concat: ArrayProtoConcat, filter: ArrayProtoFilter, includes: ArrayProtoIncludes, join: ArrayProtoJoin, slice: ArrayProtoSlice, some: ArrayProtoSome, } = Array.prototype; | ||
const ArrayCtor = Array; | ||
@@ -32,2 +32,5 @@ const { from: ArrayFrom, isArray: ArrayIsArray } = Array; | ||
} | ||
function ArraySome(arr, iteratee) { | ||
return ReflectApply(ArrayProtoSome, arr, [iteratee]); | ||
} | ||
const emptyArray = []; | ||
@@ -270,3 +273,3 @@ | ||
export { ArrayConcat, ArrayCtor, ArrayFilter, ArrayFrom, ArrayIncludes, ArrayIsArray, ArrayJoin, ArrayProtoPush, ArrayPush, ArrayShallowClone, ArraySlice, ErrorCtor, FunctionBind, JSONParse, JSONStringify, LockerRangeError, LockerSecurityError, MapCtor, MapEntries, MapForEach, MapSet, MathMin, ObjectAssign, ObjectCreate$1 as ObjectCreate, ObjectDefineProperties, ObjectDefineProperty, ObjectFreeze, ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertyNames, ObjectGetOwnPropertySymbols, ObjectHasOwnProperty, ObjectIsFrozen, ObjectIsSealed, ObjectKeys, ObjectLookupOwnGetter, ObjectLookupOwnSetter, ObjectLookupOwnValue, ObjectPreventExtensions, ObjectSeal, PromiseThen, ProxyCtor, ProxyRevocable, RangeErrorCtor, ReflectApply, ReflectConstruct, ReflectDefineProperty, ReflectDeleteProperty, ReflectGet, ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf, ReflectHas, ReflectIsExtensible, ReflectOwnKeys, ReflectPreventExtensions, ReflectSet, ReflectSetPrototypeOf, RegExpTest, SYMBOL_LIVE_OBJECT, SetAdd, SetCtor, SetDelete, SetHas, StringCharCodeAt, StringIncludes, StringMatch, StringReplace, StringSlice, StringSplit, StringStartsWith, StringSubstring, StringToLowerCase, StringToUpperCase, SymbolFor, SymbolIterator, TypeErrorCtor, WeakMapCtor, WeakMapGet, WeakMapSet, capitalize, createRevokedProxy, emptyArray, escapeRegExp, isLiveObject, isObject, isObjectLike, markLiveObject, maskDistortion, sanitizeArguments, shallowCloneOptions, toBoolean, toIgnore, toSafeDescriptorMap, toString, toStringIfNotNullOrUndefined, wrap }; | ||
/** version: 0.13.4 */ | ||
export { ArrayConcat, ArrayCtor, ArrayFilter, ArrayFrom, ArrayIncludes, ArrayIsArray, ArrayJoin, ArrayProtoPush, ArrayPush, ArrayShallowClone, ArraySlice, ArraySome, ErrorCtor, FunctionBind, JSONParse, JSONStringify, LockerRangeError, LockerSecurityError, MapCtor, MapEntries, MapForEach, MapSet, MathMin, ObjectAssign, ObjectCreate$1 as ObjectCreate, ObjectDefineProperties, ObjectDefineProperty, ObjectFreeze, ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertyNames, ObjectGetOwnPropertySymbols, ObjectHasOwnProperty, ObjectIsFrozen, ObjectIsSealed, ObjectKeys, ObjectLookupOwnGetter, ObjectLookupOwnSetter, ObjectLookupOwnValue, ObjectPreventExtensions, ObjectSeal, PromiseThen, ProxyCtor, ProxyRevocable, RangeErrorCtor, ReflectApply, ReflectConstruct, ReflectDefineProperty, ReflectDeleteProperty, ReflectGet, ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf, ReflectHas, ReflectIsExtensible, ReflectOwnKeys, ReflectPreventExtensions, ReflectSet, ReflectSetPrototypeOf, RegExpTest, SYMBOL_LIVE_OBJECT, SetAdd, SetCtor, SetDelete, SetHas, StringCharCodeAt, StringIncludes, StringMatch, StringReplace, StringSlice, StringSplit, StringStartsWith, StringSubstring, StringToLowerCase, StringToUpperCase, SymbolFor, SymbolIterator, TypeErrorCtor, WeakMapCtor, WeakMapGet, WeakMapSet, capitalize, createRevokedProxy, emptyArray, escapeRegExp, isLiveObject, isObject, isObjectLike, markLiveObject, maskDistortion, sanitizeArguments, shallowCloneOptions, toBoolean, toIgnore, toSafeDescriptorMap, toString, toStringIfNotNullOrUndefined, wrap }; | ||
/** version: 0.13.5 */ |
{ | ||
"name": "@locker/shared", | ||
"version": "0.13.4", | ||
"version": "0.13.5", | ||
"license": "Salesforce Developer Agreement", | ||
@@ -21,3 +21,3 @@ "author": "Salesforce UI Security Team", | ||
}, | ||
"gitHead": "31774f28eb975d639ee188ad9a7101919b731b39" | ||
"gitHead": "213b7ea798dd4a01891a5b5ead2cff46f6db5600" | ||
} |
@@ -16,3 +16,4 @@ export declare const ArrayCtor: ArrayConstructor; | ||
export declare function ArraySlice(arr: any[], ...args: number[]): ReturnType<typeof Array.prototype.slice>; | ||
export declare function ArraySome(arr: any[], iteratee: Function): ReturnType<typeof Array.prototype.some>; | ||
export declare const emptyArray: []; | ||
//# sourceMappingURL=Array.d.ts.map |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46517
739