@locker/shared
Advanced tools
Comparing version 0.15.15 to 0.16.1
@@ -81,6 +81,2 @@ /*! | ||
function ArrayPush$LWS(array$LWS, ...args$LWS) { | ||
return ReflectApply$LWS(ArrayProtoPush$LWS, array$LWS, args$LWS); | ||
} | ||
function ArrayShift$LWS(array$LWS) { | ||
@@ -111,3 +107,2 @@ return ReflectApply$LWS(ArrayProtoShift$LWS, array$LWS, []); | ||
freeze: ObjectFreeze$LWS, | ||
getOwnPropertyNames: ObjectGetOwnPropertyNames$LWS, | ||
getOwnPropertySymbols: ObjectGetOwnPropertySymbols$LWS, | ||
@@ -305,3 +300,2 @@ keys: ObjectKeys$LWS, | ||
entries: MapProtoEntries$LWS, | ||
forEach: MapProtoForEach$LWS, | ||
get: MapProtoGet$LWS, | ||
@@ -332,6 +326,2 @@ set: MapProtoSet$LWS | ||
function MapForEach$LWS(map$LWS, iteratee$LWS) { | ||
return ReflectApply$LWS(MapProtoForEach$LWS, map$LWS, [iteratee$LWS]); | ||
} | ||
function MapGet$LWS(map$LWS, key$LWS) { | ||
@@ -379,3 +369,2 @@ return ReflectApply$LWS(MapProtoGet$LWS, map$LWS, [key$LWS]); | ||
const { | ||
charCodeAt: StringProtoCharCodeAt$LWS, | ||
includes: StringProtoIncludes$LWS, | ||
@@ -434,6 +423,2 @@ match: StringProtoMatch$LWS, | ||
function StringCharCodeAt$LWS(string$LWS, index$LWS) { | ||
return ReflectApply$LWS(StringProtoCharCodeAt$LWS, string$LWS, [index$LWS]); | ||
} | ||
function StringIncludes$LWS(string$LWS, ...args$LWS) { | ||
@@ -488,2 +473,3 @@ return ReflectApply$LWS(StringProtoIncludes$LWS, string$LWS, args$LWS); | ||
const { | ||
exec: RegExpProtoExec$LWS, | ||
test: RegExpProtoTest$LWS | ||
@@ -515,2 +501,6 @@ } = RegExpProto$LWS; | ||
function RegExpExec$LWS(regexp$LWS, content$LWS) { | ||
return ReflectApply$LWS(RegExpProtoExec$LWS, regexp$LWS, [toString$LWS(content$LWS)]); | ||
} | ||
function RegExpTest$LWS(regexp$LWS, content$LWS) { | ||
@@ -565,4 +555,3 @@ return ReflectApply$LWS(RegExpProtoTest$LWS, regexp$LWS, [toString$LWS(content$LWS)]); | ||
const { | ||
for: SymbolFor$LWS, | ||
iterator: SymbolIterator$LWS | ||
for: SymbolFor$LWS | ||
} = SymbolCtor$LWS; | ||
@@ -635,4 +624,11 @@ | ||
toStringTag: TO_STRING_TAG_SYMBOL$LWS | ||
} = Symbol; | ||
} = Symbol; // Regular expressions from Acorn: | ||
// acorn/src/parseutil.js | ||
// acorn/src/whitespace.js | ||
const expressionCharRegExp$LWS = /[(`.[+\-/*%<>=,?^&]/; | ||
const lineBreakRegExp$LWS = /\r\n?|\n|\u2028|\u2029/; | ||
const skipWhiteSpacesRegExp$LWS = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g; | ||
const stringLiteralRegExp$LWS = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/; | ||
function getBrandByTrailAndError$LWS(value$LWS) { | ||
@@ -731,4 +727,46 @@ // Internally these brand checks rely on native methods that throw and catch | ||
/* istanbul ignore next: unreachable in test env */ | ||
DateNow$LWS : FunctionBind$LWS(performance.now, performance); | ||
DateNow$LWS : FunctionBind$LWS(performance.now, performance); // Based on Acorn strictDirective() parser utility. | ||
// Copyright 2012-2022. Released under MIT License. | ||
// https://github.com/acornjs/acorn/blob/master/acorn/src/parseutil.js | ||
function indexOfPragma$LWS(source$LWS, pragma$LWS) { | ||
let pos$LWS = 0; // eslint-disable-next-line no-constant-condition | ||
while (true) { | ||
skipWhiteSpacesRegExp$LWS.lastIndex = pos$LWS; | ||
pos$LWS += RegExpExec$LWS(skipWhiteSpacesRegExp$LWS, source$LWS)[0].length; | ||
const stringLiteralMatch$LWS = RegExpExec$LWS(stringLiteralRegExp$LWS, StringSlice$LWS(source$LWS, pos$LWS)); | ||
if (stringLiteralMatch$LWS === null) { | ||
return -1; | ||
} | ||
if ((stringLiteralMatch$LWS[1] || stringLiteralMatch$LWS[2]) === pragma$LWS) { | ||
skipWhiteSpacesRegExp$LWS.lastIndex = pos$LWS + stringLiteralMatch$LWS[0].length; | ||
const spaceAfterMatch$LWS = RegExpExec$LWS(skipWhiteSpacesRegExp$LWS, source$LWS); | ||
const end$LWS = spaceAfterMatch$LWS.index + spaceAfterMatch$LWS[0].length; | ||
const nextChar$LWS = source$LWS[end$LWS]; | ||
if (nextChar$LWS === ';' || nextChar$LWS === '}') { | ||
return pos$LWS; | ||
} | ||
const indexAfterNext$LWS = end$LWS + 1; | ||
if (RegExpTest$LWS(lineBreakRegExp$LWS, spaceAfterMatch$LWS[0]) && !(nextChar$LWS === '!' && indexAfterNext$LWS < source$LWS.length && source$LWS[indexAfterNext$LWS] === '=' || RegExpTest$LWS(expressionCharRegExp$LWS, nextChar$LWS))) { | ||
return pos$LWS; | ||
} | ||
} | ||
pos$LWS += stringLiteralMatch$LWS[0].length; // Skip semicolon, if any. | ||
skipWhiteSpacesRegExp$LWS.lastIndex = pos$LWS; | ||
pos$LWS += RegExpExec$LWS(skipWhiteSpacesRegExp$LWS, source$LWS)[0].length; | ||
if (source$LWS[pos$LWS] === ';') { | ||
pos$LWS += 1; | ||
} | ||
} | ||
} | ||
function toSafeDescriptor$LWS(desc$LWS) { | ||
@@ -901,3 +939,2 @@ ReflectSetPrototypeOf$LWS(desc$LWS, null); | ||
exports.ArrayProtoSlice = ArrayProtoSlice$LWS; | ||
exports.ArrayPush = ArrayPush$LWS; | ||
exports.ArrayShift = ArrayShift$LWS; | ||
@@ -918,3 +955,2 @@ exports.ArraySlice = ArraySlice$LWS; | ||
exports.MapEntries = MapEntries$LWS; | ||
exports.MapForEach = MapForEach$LWS; | ||
exports.MapGet = MapGet$LWS; | ||
@@ -929,3 +965,2 @@ exports.MapSet = MapSet$LWS; | ||
exports.ObjectGetOwnPropertyDescriptors = ObjectGetOwnPropertyDescriptors$LWS; | ||
exports.ObjectGetOwnPropertyNames = ObjectGetOwnPropertyNames$LWS; | ||
exports.ObjectGetOwnPropertySymbols = ObjectGetOwnPropertySymbols$LWS; | ||
@@ -958,2 +993,3 @@ exports.ObjectHasOwnProperty = ObjectHasOwnProperty$LWS; | ||
exports.RegExpCtor = RegExpCtor$LWS; | ||
exports.RegExpExec = RegExpExec$LWS; | ||
exports.RegExpTest = RegExpTest$LWS; | ||
@@ -968,3 +1004,2 @@ exports.SANDBOX_EVAL_CONTEXT_NAME = SANDBOX_EVAL_CONTEXT_NAME$LWS; | ||
exports.SetValues = SetValues$LWS; | ||
exports.StringCharCodeAt = StringCharCodeAt$LWS; | ||
exports.StringCtor = StringCtor$LWS; | ||
@@ -980,3 +1015,2 @@ exports.StringIncludes = StringIncludes$LWS; | ||
exports.SymbolFor = SymbolFor$LWS; | ||
exports.SymbolIterator = SymbolIterator$LWS; | ||
exports.TO_STRING_BRAND_ARRAY = TO_STRING_BRAND_ARRAY$LWS; | ||
@@ -1013,2 +1047,3 @@ exports.TO_STRING_BRAND_BIG_INT = TO_STRING_BRAND_BIG_INT$LWS; | ||
exports.getTimestamp = getTimestamp$LWS; | ||
exports.indexOfPragma = indexOfPragma$LWS; | ||
exports.isArrayBuffer = isArrayBuffer$LWS; | ||
@@ -1040,2 +1075,2 @@ exports.isBigIntObject = isBigIntObject$LWS; | ||
exports.wrap = wrap$LWS; | ||
/*! version: 0.15.15 */ | ||
/*! version: 0.16.1 */ |
@@ -76,6 +76,2 @@ /*! | ||
function ArrayPush$LWS(array$LWS, ...args$LWS) { | ||
return ReflectApply$LWS(ArrayProtoPush$LWS, array$LWS, args$LWS); | ||
} | ||
function ArrayShift$LWS(array$LWS) { | ||
@@ -106,3 +102,2 @@ return ReflectApply$LWS(ArrayProtoShift$LWS, array$LWS, []); | ||
freeze: ObjectFreeze$LWS, | ||
getOwnPropertyNames: ObjectGetOwnPropertyNames$LWS, | ||
getOwnPropertySymbols: ObjectGetOwnPropertySymbols$LWS, | ||
@@ -300,3 +295,2 @@ keys: ObjectKeys$LWS, | ||
entries: MapProtoEntries$LWS, | ||
forEach: MapProtoForEach$LWS, | ||
get: MapProtoGet$LWS, | ||
@@ -327,6 +321,2 @@ set: MapProtoSet$LWS | ||
function MapForEach$LWS(map$LWS, iteratee$LWS) { | ||
return ReflectApply$LWS(MapProtoForEach$LWS, map$LWS, [iteratee$LWS]); | ||
} | ||
function MapGet$LWS(map$LWS, key$LWS) { | ||
@@ -374,3 +364,2 @@ return ReflectApply$LWS(MapProtoGet$LWS, map$LWS, [key$LWS]); | ||
const { | ||
charCodeAt: StringProtoCharCodeAt$LWS, | ||
includes: StringProtoIncludes$LWS, | ||
@@ -429,6 +418,2 @@ match: StringProtoMatch$LWS, | ||
function StringCharCodeAt$LWS(string$LWS, index$LWS) { | ||
return ReflectApply$LWS(StringProtoCharCodeAt$LWS, string$LWS, [index$LWS]); | ||
} | ||
function StringIncludes$LWS(string$LWS, ...args$LWS) { | ||
@@ -483,2 +468,3 @@ return ReflectApply$LWS(StringProtoIncludes$LWS, string$LWS, args$LWS); | ||
const { | ||
exec: RegExpProtoExec$LWS, | ||
test: RegExpProtoTest$LWS | ||
@@ -510,2 +496,6 @@ } = RegExpProto$LWS; | ||
function RegExpExec$LWS(regexp$LWS, content$LWS) { | ||
return ReflectApply$LWS(RegExpProtoExec$LWS, regexp$LWS, [toString$LWS(content$LWS)]); | ||
} | ||
function RegExpTest$LWS(regexp$LWS, content$LWS) { | ||
@@ -560,4 +550,3 @@ return ReflectApply$LWS(RegExpProtoTest$LWS, regexp$LWS, [toString$LWS(content$LWS)]); | ||
const { | ||
for: SymbolFor$LWS, | ||
iterator: SymbolIterator$LWS | ||
for: SymbolFor$LWS | ||
} = SymbolCtor$LWS; | ||
@@ -630,4 +619,11 @@ | ||
toStringTag: TO_STRING_TAG_SYMBOL$LWS | ||
} = Symbol; | ||
} = Symbol; // Regular expressions from Acorn: | ||
// acorn/src/parseutil.js | ||
// acorn/src/whitespace.js | ||
const expressionCharRegExp$LWS = /[(`.[+\-/*%<>=,?^&]/; | ||
const lineBreakRegExp$LWS = /\r\n?|\n|\u2028|\u2029/; | ||
const skipWhiteSpacesRegExp$LWS = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g; | ||
const stringLiteralRegExp$LWS = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/; | ||
function getBrandByTrailAndError$LWS(value$LWS) { | ||
@@ -726,4 +722,46 @@ // Internally these brand checks rely on native methods that throw and catch | ||
/* istanbul ignore next: unreachable in test env */ | ||
DateNow$LWS : FunctionBind$LWS(performance.now, performance); | ||
DateNow$LWS : FunctionBind$LWS(performance.now, performance); // Based on Acorn strictDirective() parser utility. | ||
// Copyright 2012-2022. Released under MIT License. | ||
// https://github.com/acornjs/acorn/blob/master/acorn/src/parseutil.js | ||
function indexOfPragma$LWS(source$LWS, pragma$LWS) { | ||
let pos$LWS = 0; // eslint-disable-next-line no-constant-condition | ||
while (true) { | ||
skipWhiteSpacesRegExp$LWS.lastIndex = pos$LWS; | ||
pos$LWS += RegExpExec$LWS(skipWhiteSpacesRegExp$LWS, source$LWS)[0].length; | ||
const stringLiteralMatch$LWS = RegExpExec$LWS(stringLiteralRegExp$LWS, StringSlice$LWS(source$LWS, pos$LWS)); | ||
if (stringLiteralMatch$LWS === null) { | ||
return -1; | ||
} | ||
if ((stringLiteralMatch$LWS[1] || stringLiteralMatch$LWS[2]) === pragma$LWS) { | ||
skipWhiteSpacesRegExp$LWS.lastIndex = pos$LWS + stringLiteralMatch$LWS[0].length; | ||
const spaceAfterMatch$LWS = RegExpExec$LWS(skipWhiteSpacesRegExp$LWS, source$LWS); | ||
const end$LWS = spaceAfterMatch$LWS.index + spaceAfterMatch$LWS[0].length; | ||
const nextChar$LWS = source$LWS[end$LWS]; | ||
if (nextChar$LWS === ';' || nextChar$LWS === '}') { | ||
return pos$LWS; | ||
} | ||
const indexAfterNext$LWS = end$LWS + 1; | ||
if (RegExpTest$LWS(lineBreakRegExp$LWS, spaceAfterMatch$LWS[0]) && !(nextChar$LWS === '!' && indexAfterNext$LWS < source$LWS.length && source$LWS[indexAfterNext$LWS] === '=' || RegExpTest$LWS(expressionCharRegExp$LWS, nextChar$LWS))) { | ||
return pos$LWS; | ||
} | ||
} | ||
pos$LWS += stringLiteralMatch$LWS[0].length; // Skip semicolon, if any. | ||
skipWhiteSpacesRegExp$LWS.lastIndex = pos$LWS; | ||
pos$LWS += RegExpExec$LWS(skipWhiteSpacesRegExp$LWS, source$LWS)[0].length; | ||
if (source$LWS[pos$LWS] === ';') { | ||
pos$LWS += 1; | ||
} | ||
} | ||
} | ||
function toSafeDescriptor$LWS(desc$LWS) { | ||
@@ -885,3 +923,3 @@ ReflectSetPrototypeOf$LWS(desc$LWS, null); | ||
export { ArrayBufferIsView$LWS as ArrayBufferIsView, ArrayConcat$LWS as ArrayConcat, ArrayCtor$LWS as ArrayCtor, ArrayFilter$LWS as ArrayFilter, ArrayIncludes$LWS as ArrayIncludes, ArrayIndexOf$LWS as ArrayIndexOf, ArrayIsArray$LWS as ArrayIsArray, ArrayJoin$LWS as ArrayJoin, ArrayPop$LWS as ArrayPop, ArrayProtoPush$LWS as ArrayProtoPush, ArrayProtoSlice$LWS as ArrayProtoSlice, ArrayPush$LWS as ArrayPush, ArrayShift$LWS as ArrayShift, ArraySlice$LWS as ArraySlice, ArraySome$LWS as ArraySome, ArraySort$LWS as ArraySort, ArrayUnshift$LWS as ArrayUnshift, DateNow$LWS as DateNow, FunctionBind$LWS as FunctionBind, JSONParse$LWS as JSONParse, JSONStringify$LWS as JSONStringify, LOCKER_IDENTIFIER_MARKER$LWS as LOCKER_IDENTIFIER_MARKER, LOCKER_UNMINIFIED_FLAG$LWS as LOCKER_UNMINIFIED_FLAG, LockerSecurityError$LWS as LockerSecurityError, MapClear$LWS as MapClear, MapCtor$LWS as MapCtor, MapEntries$LWS as MapEntries, MapForEach$LWS as MapForEach, MapGet$LWS as MapGet, MapSet$LWS as MapSet, MathMin$LWS as MathMin, NumberIsFinite$LWS as NumberIsFinite, NumberToFixed$LWS as NumberToFixed, ObjectAssign$LWS as ObjectAssign, ObjectCtor$LWS as ObjectCtor, ObjectFreeze$LWS as ObjectFreeze, ObjectGetOwnPropertyDescriptors$LWS as ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertyNames$LWS as ObjectGetOwnPropertyNames, ObjectGetOwnPropertySymbols$LWS as ObjectGetOwnPropertySymbols, ObjectHasOwnProperty$LWS as ObjectHasOwnProperty, ObjectKeys$LWS as ObjectKeys, ObjectLookupOwnGetter$LWS as ObjectLookupOwnGetter, ObjectLookupOwnSetter$LWS as ObjectLookupOwnSetter, ObjectLookupOwnValue$LWS as ObjectLookupOwnValue, ObjectPreventExtensions$LWS as ObjectPreventExtensions, ObjectProto$LWS as ObjectProto, ObjectToString$LWS as ObjectToString, PromiseReject$LWS as PromiseReject, PromiseThen$LWS as PromiseThen, ProxyCtor$LWS as ProxyCtor, ProxyRevocable$LWS as ProxyRevocable, QUOTE_CHAR_DOUBLE$LWS as QUOTE_CHAR_DOUBLE, QUOTE_CHAR_SINGLE$LWS as QUOTE_CHAR_SINGLE, ReflectApply$LWS as ReflectApply, ReflectConstruct$LWS as ReflectConstruct, ReflectDefineProperty$LWS as ReflectDefineProperty, ReflectDeleteProperty$LWS as ReflectDeleteProperty, ReflectGet$LWS as ReflectGet, ReflectGetOwnPropertyDescriptor$LWS as ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf$LWS as ReflectGetPrototypeOf, ReflectHas$LWS as ReflectHas, ReflectOwnKeys$LWS as ReflectOwnKeys, ReflectSet$LWS as ReflectSet, ReflectSetPrototypeOf$LWS as ReflectSetPrototypeOf, RegExpCtor$LWS as RegExpCtor, RegExpTest$LWS as RegExpTest, SANDBOX_EVAL_CONTEXT_NAME$LWS as SANDBOX_EVAL_CONTEXT_NAME, SANDBOX_EVAL_HELPERS_NAME$LWS as SANDBOX_EVAL_HELPERS_NAME, SYMBOL_LIVE_OBJECT$LWS as SYMBOL_LIVE_OBJECT, SetAdd$LWS as SetAdd, SetCtor$LWS as SetCtor, SetDelete$LWS as SetDelete, SetHas$LWS as SetHas, SetValues$LWS as SetValues, StringCharCodeAt$LWS as StringCharCodeAt, StringCtor$LWS as StringCtor, StringIncludes$LWS as StringIncludes, StringMatch$LWS as StringMatch, StringReplace$LWS as StringReplace, StringSlice$LWS as StringSlice, StringSplit$LWS as StringSplit, StringStartsWith$LWS as StringStartsWith, StringToLowerCase$LWS as StringToLowerCase, StringToUpperCase$LWS as StringToUpperCase, SymbolFor$LWS as SymbolFor, SymbolIterator$LWS as SymbolIterator, TO_STRING_BRAND_ARRAY$LWS as TO_STRING_BRAND_ARRAY, TO_STRING_BRAND_BIG_INT$LWS as TO_STRING_BRAND_BIG_INT, TO_STRING_BRAND_BOOLEAN$LWS as TO_STRING_BRAND_BOOLEAN, TO_STRING_BRAND_DATE$LWS as TO_STRING_BRAND_DATE, TO_STRING_BRAND_ERROR$LWS as TO_STRING_BRAND_ERROR, TO_STRING_BRAND_FUNCTION$LWS as TO_STRING_BRAND_FUNCTION, TO_STRING_BRAND_MAP$LWS as TO_STRING_BRAND_MAP, TO_STRING_BRAND_NULL$LWS as TO_STRING_BRAND_NULL, TO_STRING_BRAND_NUMBER$LWS as TO_STRING_BRAND_NUMBER, TO_STRING_BRAND_OBJECT$LWS as TO_STRING_BRAND_OBJECT, TO_STRING_BRAND_REG_EXP$LWS as TO_STRING_BRAND_REG_EXP, TO_STRING_BRAND_SET$LWS as TO_STRING_BRAND_SET, TO_STRING_BRAND_STRING$LWS as TO_STRING_BRAND_STRING, TO_STRING_BRAND_SYMBOL$LWS as TO_STRING_BRAND_SYMBOL, TO_STRING_BRAND_UNDEFINED$LWS as TO_STRING_BRAND_UNDEFINED, TO_STRING_BRAND_WEAK_MAP$LWS as TO_STRING_BRAND_WEAK_MAP, TO_STRING_BRAND_WEAK_SET$LWS as TO_STRING_BRAND_WEAK_SET, UNCOMPILED_LOCATION_NAME$LWS as UNCOMPILED_LOCATION_NAME, WEBPACK_REQUIRE_NAME$LWS as WEBPACK_REQUIRE_NAME, WeakMapCtor$LWS as WeakMapCtor, WeakMapGet$LWS as WeakMapGet, WeakMapSet$LWS as WeakMapSet, capitalizeFirstChar$LWS as capitalizeFirstChar, consoleWarn$LWS as consoleWarn, createRevokedProxy$LWS as createRevokedProxy, enquote$LWS as enquote, escapeQuotes$LWS as escapeQuotes, escapeRegExp$LWS as escapeRegExp, getBrand$LWS as getBrand, getNearMembraneSerializedValue$LWS as getNearMembraneSerializedValue, getTimestamp$LWS as getTimestamp, isArrayBuffer$LWS as isArrayBuffer, isBigIntObject$LWS as isBigIntObject, isBooleanObject$LWS as isBooleanObject, isDate$LWS as isDate, isLiveObject$LWS as isLiveObject, isMap$LWS as isMap, isNearMembrane$LWS as isNearMembrane, isNumberObject$LWS as isNumberObject, isObject$LWS as isObject, isObjectLike$LWS as isObjectLike, isRegExp$LWS as isRegExp, isSet$LWS as isSet, isStringObject$LWS as isStringObject, isSymbolObject$LWS as isSymbolObject, isWeakMap$LWS as isWeakMap, isWeakSet$LWS as isWeakSet, markLiveObject$LWS as markLiveObject, maskDistortion$LWS as maskDistortion, shallowCloneArray$LWS as shallowCloneArray, shallowCloneOptions$LWS as shallowCloneOptions, toBoolean$LWS as toBoolean, toLiveValue$LWS as toLiveValue, toSafeDescriptor$LWS as toSafeDescriptor, toString$LWS as toString, toStringIfNotNullOrUndefined$LWS as toStringIfNotNullOrUndefined, wrap$LWS as wrap }; | ||
/*! version: 0.15.15 */ | ||
export { ArrayBufferIsView$LWS as ArrayBufferIsView, ArrayConcat$LWS as ArrayConcat, ArrayCtor$LWS as ArrayCtor, ArrayFilter$LWS as ArrayFilter, ArrayIncludes$LWS as ArrayIncludes, ArrayIndexOf$LWS as ArrayIndexOf, ArrayIsArray$LWS as ArrayIsArray, ArrayJoin$LWS as ArrayJoin, ArrayPop$LWS as ArrayPop, ArrayProtoPush$LWS as ArrayProtoPush, ArrayProtoSlice$LWS as ArrayProtoSlice, ArrayShift$LWS as ArrayShift, ArraySlice$LWS as ArraySlice, ArraySome$LWS as ArraySome, ArraySort$LWS as ArraySort, ArrayUnshift$LWS as ArrayUnshift, DateNow$LWS as DateNow, FunctionBind$LWS as FunctionBind, JSONParse$LWS as JSONParse, JSONStringify$LWS as JSONStringify, LOCKER_IDENTIFIER_MARKER$LWS as LOCKER_IDENTIFIER_MARKER, LOCKER_UNMINIFIED_FLAG$LWS as LOCKER_UNMINIFIED_FLAG, LockerSecurityError$LWS as LockerSecurityError, MapClear$LWS as MapClear, MapCtor$LWS as MapCtor, MapEntries$LWS as MapEntries, MapGet$LWS as MapGet, MapSet$LWS as MapSet, MathMin$LWS as MathMin, NumberIsFinite$LWS as NumberIsFinite, NumberToFixed$LWS as NumberToFixed, ObjectAssign$LWS as ObjectAssign, ObjectCtor$LWS as ObjectCtor, ObjectFreeze$LWS as ObjectFreeze, ObjectGetOwnPropertyDescriptors$LWS as ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertySymbols$LWS as ObjectGetOwnPropertySymbols, ObjectHasOwnProperty$LWS as ObjectHasOwnProperty, ObjectKeys$LWS as ObjectKeys, ObjectLookupOwnGetter$LWS as ObjectLookupOwnGetter, ObjectLookupOwnSetter$LWS as ObjectLookupOwnSetter, ObjectLookupOwnValue$LWS as ObjectLookupOwnValue, ObjectPreventExtensions$LWS as ObjectPreventExtensions, ObjectProto$LWS as ObjectProto, ObjectToString$LWS as ObjectToString, PromiseReject$LWS as PromiseReject, PromiseThen$LWS as PromiseThen, ProxyCtor$LWS as ProxyCtor, ProxyRevocable$LWS as ProxyRevocable, QUOTE_CHAR_DOUBLE$LWS as QUOTE_CHAR_DOUBLE, QUOTE_CHAR_SINGLE$LWS as QUOTE_CHAR_SINGLE, ReflectApply$LWS as ReflectApply, ReflectConstruct$LWS as ReflectConstruct, ReflectDefineProperty$LWS as ReflectDefineProperty, ReflectDeleteProperty$LWS as ReflectDeleteProperty, ReflectGet$LWS as ReflectGet, ReflectGetOwnPropertyDescriptor$LWS as ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf$LWS as ReflectGetPrototypeOf, ReflectHas$LWS as ReflectHas, ReflectOwnKeys$LWS as ReflectOwnKeys, ReflectSet$LWS as ReflectSet, ReflectSetPrototypeOf$LWS as ReflectSetPrototypeOf, RegExpCtor$LWS as RegExpCtor, RegExpExec$LWS as RegExpExec, RegExpTest$LWS as RegExpTest, SANDBOX_EVAL_CONTEXT_NAME$LWS as SANDBOX_EVAL_CONTEXT_NAME, SANDBOX_EVAL_HELPERS_NAME$LWS as SANDBOX_EVAL_HELPERS_NAME, SYMBOL_LIVE_OBJECT$LWS as SYMBOL_LIVE_OBJECT, SetAdd$LWS as SetAdd, SetCtor$LWS as SetCtor, SetDelete$LWS as SetDelete, SetHas$LWS as SetHas, SetValues$LWS as SetValues, StringCtor$LWS as StringCtor, StringIncludes$LWS as StringIncludes, StringMatch$LWS as StringMatch, StringReplace$LWS as StringReplace, StringSlice$LWS as StringSlice, StringSplit$LWS as StringSplit, StringStartsWith$LWS as StringStartsWith, StringToLowerCase$LWS as StringToLowerCase, StringToUpperCase$LWS as StringToUpperCase, SymbolFor$LWS as SymbolFor, TO_STRING_BRAND_ARRAY$LWS as TO_STRING_BRAND_ARRAY, TO_STRING_BRAND_BIG_INT$LWS as TO_STRING_BRAND_BIG_INT, TO_STRING_BRAND_BOOLEAN$LWS as TO_STRING_BRAND_BOOLEAN, TO_STRING_BRAND_DATE$LWS as TO_STRING_BRAND_DATE, TO_STRING_BRAND_ERROR$LWS as TO_STRING_BRAND_ERROR, TO_STRING_BRAND_FUNCTION$LWS as TO_STRING_BRAND_FUNCTION, TO_STRING_BRAND_MAP$LWS as TO_STRING_BRAND_MAP, TO_STRING_BRAND_NULL$LWS as TO_STRING_BRAND_NULL, TO_STRING_BRAND_NUMBER$LWS as TO_STRING_BRAND_NUMBER, TO_STRING_BRAND_OBJECT$LWS as TO_STRING_BRAND_OBJECT, TO_STRING_BRAND_REG_EXP$LWS as TO_STRING_BRAND_REG_EXP, TO_STRING_BRAND_SET$LWS as TO_STRING_BRAND_SET, TO_STRING_BRAND_STRING$LWS as TO_STRING_BRAND_STRING, TO_STRING_BRAND_SYMBOL$LWS as TO_STRING_BRAND_SYMBOL, TO_STRING_BRAND_UNDEFINED$LWS as TO_STRING_BRAND_UNDEFINED, TO_STRING_BRAND_WEAK_MAP$LWS as TO_STRING_BRAND_WEAK_MAP, TO_STRING_BRAND_WEAK_SET$LWS as TO_STRING_BRAND_WEAK_SET, UNCOMPILED_LOCATION_NAME$LWS as UNCOMPILED_LOCATION_NAME, WEBPACK_REQUIRE_NAME$LWS as WEBPACK_REQUIRE_NAME, WeakMapCtor$LWS as WeakMapCtor, WeakMapGet$LWS as WeakMapGet, WeakMapSet$LWS as WeakMapSet, capitalizeFirstChar$LWS as capitalizeFirstChar, consoleWarn$LWS as consoleWarn, createRevokedProxy$LWS as createRevokedProxy, enquote$LWS as enquote, escapeQuotes$LWS as escapeQuotes, escapeRegExp$LWS as escapeRegExp, getBrand$LWS as getBrand, getNearMembraneSerializedValue$LWS as getNearMembraneSerializedValue, getTimestamp$LWS as getTimestamp, indexOfPragma$LWS as indexOfPragma, isArrayBuffer$LWS as isArrayBuffer, isBigIntObject$LWS as isBigIntObject, isBooleanObject$LWS as isBooleanObject, isDate$LWS as isDate, isLiveObject$LWS as isLiveObject, isMap$LWS as isMap, isNearMembrane$LWS as isNearMembrane, isNumberObject$LWS as isNumberObject, isObject$LWS as isObject, isObjectLike$LWS as isObjectLike, isRegExp$LWS as isRegExp, isSet$LWS as isSet, isStringObject$LWS as isStringObject, isSymbolObject$LWS as isSymbolObject, isWeakMap$LWS as isWeakMap, isWeakSet$LWS as isWeakSet, markLiveObject$LWS as markLiveObject, maskDistortion$LWS as maskDistortion, shallowCloneArray$LWS as shallowCloneArray, shallowCloneOptions$LWS as shallowCloneOptions, toBoolean$LWS as toBoolean, toLiveValue$LWS as toLiveValue, toSafeDescriptor$LWS as toSafeDescriptor, toString$LWS as toString, toStringIfNotNullOrUndefined$LWS as toStringIfNotNullOrUndefined, wrap$LWS as wrap }; | ||
/*! version: 0.16.1 */ |
{ | ||
"name": "@locker/shared", | ||
"version": "0.15.15", | ||
"version": "0.16.1", | ||
"license": "Salesforce Developer Agreement", | ||
@@ -23,3 +23,3 @@ "author": "Salesforce UI Security Team", | ||
], | ||
"gitHead": "84db477e65dbf442b69af94579c8f734033b9504" | ||
"gitHead": "bb02b19e8c6929cce1d98917517df77222ae7da5" | ||
} |
@@ -10,3 +10,2 @@ export declare const ArrayCtor: ArrayConstructor; | ||
export declare function ArrayPop(array: any[]): ReturnType<typeof Array.prototype.pop>; | ||
export declare function ArrayPush(array: any[], ...args: Parameters<typeof Array.prototype.push>): ReturnType<typeof Array.prototype.push>; | ||
export declare function ArrayShift(array: any[]): ReturnType<typeof Array.prototype.shift>; | ||
@@ -13,0 +12,0 @@ export declare function ArraySlice(array: any[], ...args: Parameters<typeof Array.prototype.slice>): ReturnType<typeof Array.prototype.slice>; |
export declare function getBrand(value: any): string; | ||
export declare const getTimestamp: Function; | ||
export declare function indexOfPragma(source: string, pragma: string): number; | ||
export declare function toSafeDescriptor<T extends PropertyDescriptor>(desc: T): T; | ||
//# sourceMappingURL=basic.d.ts.map |
@@ -5,5 +5,4 @@ export declare const MapCtor: MapConstructor; | ||
export declare function MapEntries(map: Map<any, any>): ReturnType<typeof Map.prototype.entries>; | ||
export declare function MapForEach(map: Map<any, any>, iteratee: Function): ReturnType<typeof Map.prototype.forEach>; | ||
export declare function MapGet(map: Map<any, any>, key: any): ReturnType<typeof Map.prototype.get>; | ||
export declare function MapSet(map: Map<any, any>, key: any, value: any): ReturnType<typeof Map.prototype.set>; | ||
//# sourceMappingURL=Map.d.ts.map |
@@ -13,3 +13,3 @@ export declare const ObjectCtor: ObjectConstructor; | ||
<T_2>(o: T_2): Readonly<T_2>; | ||
}, ObjectGetOwnPropertyNames: (o: any) => string[], ObjectGetOwnPropertySymbols: (o: any) => symbol[], ObjectKeys: { | ||
}, ObjectGetOwnPropertySymbols: (o: any) => symbol[], ObjectKeys: { | ||
(o: object): string[]; | ||
@@ -16,0 +16,0 @@ (o: {}): string[]; |
export declare const RegExpCtor: RegExpConstructor; | ||
export declare function escapeRegExp(string: string): string; | ||
export declare function isRegExp(value: any): boolean; | ||
export declare function RegExpExec(regexp: RegExp, content: any): ReturnType<typeof RegExp.prototype.exec>; | ||
export declare function RegExpTest(regexp: RegExp, content: any): boolean; | ||
//# sourceMappingURL=RegExp.d.ts.map |
@@ -6,3 +6,2 @@ export declare const StringCtor: StringConstructor; | ||
export declare function isStringObject(value: any): boolean; | ||
export declare function StringCharCodeAt(string: string, index: number): ReturnType<typeof String.prototype.charCodeAt>; | ||
export declare function StringIncludes(string: string, ...args: Parameters<typeof String.prototype.includes>): ReturnType<typeof String.prototype.includes>; | ||
@@ -9,0 +8,0 @@ export declare function StringMatch(string: string, regexp: RegExp): ReturnType<typeof String.prototype.match>; |
@@ -1,3 +0,3 @@ | ||
export declare const SymbolFor: (key: string) => symbol, SymbolIterator: symbol; | ||
export declare const SymbolFor: (key: string) => symbol; | ||
export declare function isSymbolObject(value: any): boolean; | ||
//# sourceMappingURL=Symbol.d.ts.map |
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
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
98844
1837