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

@locker/shared

Package Overview
Dependencies
Maintainers
8
Versions
232
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.16.18 to 0.16.19

507

dist/index.cjs.js

@@ -77,5 +77,2 @@ /*!

const {
valueOf: SymbolProtoValueOf$LWS
} = SymbolProto$LWS;
const {
for: SymbolFor$LWS,

@@ -87,21 +84,5 @@ iterator: SymbolIterator$LWS,

const {
toString: SymbolProtoToString$LWS
toString: SymbolProtoToString$LWS,
valueOf: SymbolProtoValueOf$LWS
} = SymbolProto$LWS;
function isSymbolObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 20.4.3 Properties of the Symbol Prototype Object
// https://tc39.es/ecma262/#thissymbolvalue
// Step 2: If Type(value) is Object and value has a [[SymbolData]] internal slot, then
// a. Let s be value.[[SymbolData]].
// b. Assert: Type(s) is Symbol.
ReflectApply$LWS(SymbolProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused$LWS) {}
}
return false;
}
const ArrayCtor$LWS = Array;

@@ -220,17 +201,4 @@ const {

} = ArrayBufferCtor$LWS;
const ArrayBufferProtoByteLengthGetter$LWS = ObjectLookupOwnGetter$LWS(ArrayBufferCtor$LWS.prototype, 'byteLength');
const ArrayBufferProtoByteLengthGetter$LWS = ObjectLookupOwnGetter$LWS(ArrayBufferCtor$LWS.prototype, 'byteLength'); // https://caniuse.com/bigint
function isArrayBuffer$LWS(value$LWS) {
try {
// Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.bytelength
// Step 2: Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
ReflectApply$LWS(ArrayBufferProtoByteLengthGetter$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused2$LWS) {}
return false;
} // https://caniuse.com/bigint
const SUPPORTS_BIG_INT$LWS = typeof BigInt === 'function';

@@ -240,44 +208,5 @@ const BigIntProtoValueOf$LWS = SUPPORTS_BIG_INT$LWS ? BigInt.prototype.valueOf :

undefined;
const isBigIntObject$LWS = SUPPORTS_BIG_INT$LWS ? function isBigIntObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 21.2.3 Properties of the BigInt Prototype Object
// https://tc39.es/ecma262/#thisbigintvalue
// Step 2: If Type(value) is Object and value has a [[BigIntData]] internal slot, then
// a. Assert: Type(value.[[BigIntData]]) is BigInt.
ReflectApply$LWS(BigIntProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused3$LWS) {}
}
return false;
} :
/* istanbul ignore next: currently unreachable via tests */
function isBigIntObject$LWS(_value$LWS) {
return false;
};
const {
valueOf: BooleanProtoValueOf$LWS
} = Boolean.prototype;
function isBooleanObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 20.3.3 Properties of the Boolean Prototype Object
// https://tc39.es/ecma262/#thisbooleanvalue
// Step 2: If Type(value) is Object and value has a [[BooleanData]] internal slot, then
// a. Let b be value.[[BooleanData]].
// b. Assert: Type(b) is Boolean.
ReflectApply$LWS(BooleanProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused4$LWS) {}
}
return false;
}
function toBoolean$LWS(value$LWS) {
return !!value$LWS;
}
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; // This package is bundled by third-parties that have their own build time

@@ -301,2 +230,3 @@ // replacement logic. Instead of customizing each build system to be aware

const TO_STRING_BRAND_ARRAY$LWS = '[object Array]';
const TO_STRING_BRAND_ARRAY_BUFFER$LWS = '[object ArrayBuffer]';
const TO_STRING_BRAND_BIG_INT$LWS = '[object BigInt]';

@@ -322,25 +252,8 @@ const TO_STRING_BRAND_BOOLEAN$LWS = '[object Boolean]';

const {
now: DateNow$LWS
} = DateCtor$LWS;
const {
valueOf: DateProtoValueOf$LWS
} = DateCtor$LWS.prototype;
const {
now: DateNow$LWS
} = DateCtor$LWS;
function isDate$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 21.4.4 Properties of the Date Prototype Object
// https://tc39.es/ecma262/#thistimevalue
// Step 1: If Type(value) is Object and value has a [[DateValue]] internal slot, then
// a. Return value.[[DateValue]].
// Step 2: Throw a TypeError exception.
ReflectApply$LWS(DateProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused5$LWS) {}
}
return false;
}
const {
bind: FunctionProtoBind$LWS,

@@ -368,3 +281,2 @@ toString: FunctionProtoToString$LWS

} = MapProto$LWS;
const MapProtoSizeGetter$LWS = ObjectLookupOwnGetter$LWS(MapProto$LWS, 'size');
const {

@@ -374,15 +286,4 @@ entries: MapProtoEntries$LWS,

} = MapProto$LWS;
const MapProtoSizeGetter$LWS = ObjectLookupOwnGetter$LWS(MapProto$LWS, 'size');
function isMap$LWS(value$LWS) {
try {
// Section 24.1.3.10 get Map.prototype.size
// https://tc39.es/ecma262/#sec-get-map.prototype.size
// Step 2: Perform ? RequireInternalSlot(M, [[MapData]]).
ReflectApply$LWS(MapProtoSizeGetter$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused6$LWS) {}
return false;
}
function toSafeMap$LWS(map$LWS) {

@@ -418,5 +319,2 @@ ReflectSetPrototypeOf$LWS(map$LWS, null);

const {
valueOf: NumberProtoValueOf$LWS
} = NumberProto$LWS;
const {
isFinite: NumberIsFinite$LWS,

@@ -426,21 +324,5 @@ isInteger: NumberIsInteger$LWS

const {
toFixed: NumberProtoToFixed$LWS
toFixed: NumberProtoToFixed$LWS,
valueOf: NumberProtoValueOf$LWS
} = NumberProto$LWS;
function isNumberObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 21.1.3 Properties of the Number Prototype Object
// https://tc39.es/ecma262/#thisnumbervalue
// Step 2: If Type(value) is Object and value has a [[NumberData]] internal slot, then
// a. Let n be value.[[NumberData]].
// b. Assert: Type(n) is Number.
ReflectApply$LWS(NumberProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused7$LWS) {}
}
return false;
}
const StringCtor$LWS = String;

@@ -516,22 +398,6 @@ const {

return `${value$LWS}` !== undefined; // eslint-disable-next-line no-empty
} catch (_unused8$LWS) {}
} catch (_unused$LWS) {}
}
return false;
}
function isStringObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 22.1.3 Properties of the String Prototype Object
// https://tc39.es/ecma262/#thisstringvalue
// Step 2: If Type(value) is Object and value has a [[StringData]] internal slot, then
// a. Let s be value.[[StringData]].
// b. Assert: Type(s) is String.
ReflectApply$LWS(StringProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused9$LWS) {}
}
return false;
} // Use `toString()` to coerce values using the default string concatenation

@@ -578,3 +444,3 @@ // operation.

return StringCtor$LWS(value$LWS); // eslint-disable-next-line no-empty
} catch (_unused10$LWS) {}
} catch (_unused2$LWS) {}

@@ -599,19 +465,2 @@ return '[object Unknown]';

function isRegExp$LWS(value$LWS) {
try {
// Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-regexp.prototype.source
// Step 3: If R does not have an [[OriginalSource]] internal slot, then
// a. If SameValue(R, %RegExp.prototype%) is true, return "(?:)".
// b. Otherwise, throw a TypeError exception.
if (value$LWS !== RegExpProto$LWS) {
ReflectApply$LWS(RegExpProtoSourceGetter$LWS, value$LWS, []);
return true;
} // eslint-disable-next-line no-empty
} catch (_unused11$LWS) {}
return false;
}
const SetCtor$LWS = Set;

@@ -631,3 +480,2 @@ const {

} = SetProto$LWS;
const SetProtoSizeGetter$LWS = ObjectLookupOwnGetter$LWS(SetProto$LWS, 'size');
const {

@@ -637,15 +485,4 @@ add: SetProtoAdd$LWS,

} = SetProto$LWS;
const SetProtoSizeGetter$LWS = ObjectLookupOwnGetter$LWS(SetProto$LWS, 'size');
function isSet$LWS(value$LWS) {
try {
// Section 24.2.3.9 get Set.prototype.size
// https://tc39.es/ecma262/#sec-get-set.prototype.size
// Step 2: Perform ? RequireInternalSlot(S, [[SetData]]).
ReflectApply$LWS(SetProtoSizeGetter$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused12$LWS) {}
return false;
}
function toSafeSet$LWS(set$LWS) {

@@ -680,5 +517,7 @@ ReflectSetPrototypeOf$LWS(set$LWS, null);

const {
has: WeakMapProtoHas$LWS
} = WeakMapProto$LWS;
const {
delete: WeakMapProtoDelete$LWS,
get: WeakMapProtoGet$LWS,
has: WeakMapProtoHas$LWS,
set: WeakMapProtoSet$LWS,

@@ -688,16 +527,2 @@ [SymbolToStringTag$LWS]: WeakMapProtoSymbolToStringTag$LWS

function isWeakMap$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 24.3.3.4 WeakMap.prototype.has ( key )
// https://tc39.es/ecma262/#sec-weakmap.prototype.has
// Step 2: Perform ? RequireInternalSlot(M, [[WeakMapData]]).
ReflectApply$LWS(WeakMapProtoHas$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused13$LWS) {}
}
return false;
}
function toSafeWeakMap$LWS(weakMap$LWS) {

@@ -718,17 +543,2 @@ ReflectSetPrototypeOf$LWS(weakMap$LWS, null);

} = WeakSet.prototype;
function isWeakSet$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 24.4.3.4 WeakSet.prototype.has ( value )
// https://tc39.es/ecma262/#sec-weakset.prototype.has
// Step 2: 2. Perform ? RequireInternalSlot(S, [[WeakSetData]]).
ReflectApply$LWS(WeakSetProtoHas$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused14$LWS) {}
}
return false;
}
const {

@@ -749,45 +559,143 @@ toStringTag: TO_STRING_TAG_SYMBOL$LWS

// entries.
if (isDate$LWS(value$LWS)) {
return TO_STRING_BRAND_DATE$LWS;
}
//
// Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.bytelength
// Step 2: Perform RequireInternalSlot(O, [[ArrayBufferData]]).
try {
if ('byteLength' in value$LWS) {
ReflectApply$LWS(ArrayBufferProtoByteLengthGetter$LWS, value$LWS, []);
return TO_STRING_BRAND_ARRAY_BUFFER$LWS;
} // eslint-disable-next-line no-empty
if (isMap$LWS(value$LWS)) {
return TO_STRING_BRAND_MAP$LWS;
}
} catch (_unused3$LWS) {} // Section 21.4.4 Properties of the Date Prototype Object
// https://tc39.es/ecma262/#thistimevalue
// Step 1: If Type(value) is Object and value has a [[DateValue]] internal slot, then
// a. Return value.[[DateValue]].
// Step 2: Throw a TypeError exception.
if (isRegExp$LWS(value$LWS)) {
return TO_STRING_BRAND_REG_EXP$LWS;
}
if (isSet$LWS(value$LWS)) {
return TO_STRING_BRAND_SET$LWS;
}
try {
if ('toLocaleDateString' in value$LWS) {
ReflectApply$LWS(DateProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_DATE$LWS;
} // eslint-disable-next-line no-empty
if (isWeakMap$LWS(value$LWS)) {
return TO_STRING_BRAND_WEAK_MAP$LWS;
}
} catch (_unused4$LWS) {} // Section 24.1.3.10 get Map.prototype.size
// https://tc39.es/ecma262/#sec-get-map.prototype.size
// Step 2: Perform ? RequireInternalSlot(M, [[MapData]]).
if (isWeakSet$LWS(value$LWS)) {
return TO_STRING_BRAND_WEAK_SET$LWS;
}
if (isBigIntObject$LWS(value$LWS)) {
return TO_STRING_BRAND_BIG_INT$LWS;
}
try {
if ('get' in value$LWS && 'size' in value$LWS) {
ReflectApply$LWS(MapProtoSizeGetter$LWS, value$LWS, []);
return TO_STRING_BRAND_MAP$LWS;
} // eslint-disable-next-line no-empty
if (isBooleanObject$LWS(value$LWS)) {
return TO_STRING_BRAND_BOOLEAN$LWS;
}
} catch (_unused5$LWS) {} // Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-regexp.prototype.source
// Step 3: If R does not have an [[OriginalSource]] internal slot, then
// a. If SameValue(R, %RegExp.prototype%) is true, return "(?:)".
// b. Otherwise, throw a TypeError exception.
if (isNumberObject$LWS(value$LWS)) {
return TO_STRING_BRAND_NUMBER$LWS;
}
if (isStringObject$LWS(value$LWS)) {
return TO_STRING_BRAND_STRING$LWS;
try {
if (ObjectHasOwn$LWS(value$LWS, 'lastIndex')) {
ReflectApply$LWS(RegExpProtoSourceGetter$LWS, value$LWS, []);
return TO_STRING_BRAND_REG_EXP$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused6$LWS) {} // Section 24.2.3.9 get Set.prototype.size
// https://tc39.es/ecma262/#sec-get-set.prototype.size
// Step 2: Perform ? RequireInternalSlot(S, [[SetData]]).
try {
if ('add' in value$LWS && 'size' in value$LWS) {
ReflectApply$LWS(SetProtoSizeGetter$LWS, value$LWS, []);
return TO_STRING_BRAND_SET$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused7$LWS) {} // Section 24.3.3.4 WeakMap.prototype.has ( key )
// https://tc39.es/ecma262/#sec-weakmap.prototype.has
// Step 2: Perform RequireInternalSlot(M, [[WeakMapData]]).
try {
if ('get' in value$LWS && !('size' in value$LWS)) {
ReflectApply$LWS(WeakMapProtoHas$LWS, value$LWS, []);
return TO_STRING_BRAND_WEAK_MAP$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused8$LWS) {} // Section 24.4.3.4 WeakSet.prototype.has ( value )
// https://tc39.es/ecma262/#sec-weakset.prototype.has
// Step 2: 2. Perform RequireInternalSlot(S, [[WeakSetData]]).
try {
if ('add' in value$LWS && !('size' in value$LWS)) {
ReflectApply$LWS(WeakSetProtoHas$LWS, value$LWS, []);
return TO_STRING_BRAND_WEAK_SET$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused9$LWS) {} // Section 21.1.3 Properties of the Number Prototype Object
// https://tc39.es/ecma262/#thisnumbervalue
// Step 2: If Type(value) is Object and value has a [[NumberData]] internal slot, then
// a. Let n be value.[[NumberData]].
// b. Assert: Type(n) is Number.
try {
if ('toPrecision' in value$LWS) {
ReflectApply$LWS(NumberProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_NUMBER$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused10$LWS) {} // Section 22.1.3 Properties of the String Prototype Object
// https://tc39.es/ecma262/#thisstringvalue
// Step 2: If Type(value) is Object and value has a [[StringData]] internal slot, then
// a. Let s be value.[[StringData]].
// b. Assert: Type(s) is String.
try {
if (ObjectHasOwn$LWS(value$LWS, 'length')) {
ReflectApply$LWS(StringProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_STRING$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused11$LWS) {} // Section 20.4.3 Properties of the Symbol Prototype Object
// https://tc39.es/ecma262/#thissymbolvalue
// Step 2: If Type(value) is Object and value has a [[SymbolData]] internal slot, then
// a. Let s be value.[[SymbolData]].
// b. Assert: Type(s) is Symbol.
try {
if ('description' in value$LWS) {
ReflectApply$LWS(SymbolProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_SYMBOL$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused12$LWS) {}
if (SUPPORTS_BIG_INT$LWS) {
try {
// Section 21.2.3 Properties of the BigInt Prototype Object
// https://tc39.es/ecma262/#thisbigintvalue
// Step 2: If Type(value) is Object and value has a [[BigIntData]] internal slot, then
// a. Assert: Type(value.[[BigIntData]]) is BigInt.
ReflectApply$LWS(BigIntProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_BIG_INT$LWS; // eslint-disable-next-line no-empty
} catch (_unused13$LWS) {}
}
if (isSymbolObject$LWS(value$LWS)) {
return TO_STRING_BRAND_SYMBOL$LWS;
} // Cannot detect brands for Arguments and Error objects.
try {
// Section 20.3.3 Properties of the Boolean Prototype Object
// https://tc39.es/ecma262/#thisbooleanvalue
// Step 2: If Type(value) is Object and value has a [[BooleanData]] internal slot, then
// a. Let b be value.[[BooleanData]].
// b. Assert: Type(b) is Boolean.
ReflectApply$LWS(BooleanProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_BOOLEAN$LWS; // eslint-disable-next-line no-empty
} catch (_unused14$LWS) {} // Cannot detect brands for Arguments and Error objects.

@@ -933,36 +841,86 @@

function isLiveObject$LWS(value$LWS) {
if (value$LWS === null || value$LWS === undefined || value$LWS === ObjectProto$LWS || !(typeof value$LWS === 'object' || typeof value$LWS === 'function')) {
// Based on the isTargetLive() function of
// salesforce/near-membrane/packages/near-membrane-base/src/membrane.ts.
if (value$LWS === null || value$LWS === undefined || value$LWS === ObjectProto$LWS || value$LWS === RegExpProto$LWS) {
return false;
} // Based on the isTargetLive() function of
// salesforce/near-membrane/packages/near-membrane-base/src/membrane.ts.
}
if (typeof value$LWS === 'function') {
try {
return ObjectHasOwn$LWS(value$LWS, LOCKER_LIVE_VALUE_SYMBOL$LWS); // eslint-disable-next-line no-empty
} catch (_unused15$LWS) {}
return false;
}
if (typeof value$LWS === 'object') {
const {
constructor: constructor$LWS
} = value$LWS;
let constructor$LWS;
if (constructor$LWS === ObjectCtor$LWS) {
// If the constructor, own or inherited, points to `Object`
// then `value` is not likely a prototype object.
return true;
}
try {
({
constructor: constructor$LWS
} = value$LWS);
let result$LWS = false;
if (constructor$LWS === ObjectCtor$LWS) {
// If the constructor, own or inherited, points to `Object`
// then `value` is not likely a prototype object.
return true;
} // eslint-disable-next-line no-empty
if (ReflectGetPrototypeOf$LWS(value$LWS) === null) {
// Ensure `value` is not an `Object.prototype` from an iframe.
result$LWS = typeof constructor$LWS !== 'function' || constructor$LWS.prototype !== value$LWS;
}
} catch (_unused16$LWS) {}
if (!result$LWS) {
result$LWS = ArrayIsArray$LWS(value$LWS) || ArrayBufferIsView$LWS(value$LWS) || isArrayBuffer$LWS(value$LWS) || isRegExp$LWS(value$LWS);
try {
if (ObjectHasOwn$LWS(value$LWS, LOCKER_LIVE_VALUE_SYMBOL$LWS)) {
return true;
} // eslint-disable-next-line no-empty
} catch (_unused17$LWS) {}
try {
if (ReflectGetPrototypeOf$LWS(value$LWS) === null && ( // Ensure `value` is not an `Object.prototype` from an iframe.
typeof constructor$LWS !== 'function' || constructor$LWS.prototype !== value$LWS)) {
return true;
} // eslint-disable-next-line no-empty
} catch (_unused18$LWS) {}
try {
if (ArrayIsArray$LWS(value$LWS)) {
return true;
}
} catch (_unused19$LWS) {
// The value is a revoked proxy.
return false;
}
if (result$LWS) {
return result$LWS;
}
if (ArrayBufferIsView$LWS(value$LWS)) {
return true;
} // Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-regexp.prototype.source
// Step 3: If R does not have an [[OriginalSource]] internal slot, then
// a. If SameValue(R, %RegExp.prototype%) is true, return "(?:)".
// b. Otherwise, throw a TypeError exception.
try {
if (ObjectHasOwn$LWS(value$LWS, 'lastIndex')) {
ReflectApply$LWS(RegExpProtoSourceGetter$LWS, value$LWS, []);
return true;
} // eslint-disable-next-line no-empty
} catch (_unused20$LWS) {} // Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.bytelength
// Step 2: Perform RequireInternalSlot(O, [[ArrayBufferData]]).
try {
if ('byteLength' in value$LWS) {
ReflectApply$LWS(ArrayBufferProtoByteLengthGetter$LWS, value$LWS, []);
return true;
} // eslint-disable-next-line no-empty
} catch (_unused21$LWS) {}
}
return ObjectHasOwn$LWS(value$LWS, LOCKER_LIVE_VALUE_SYMBOL$LWS);
return false;
}

@@ -1046,2 +1004,3 @@

exports.ArrayBufferIsView = ArrayBufferIsView$LWS;
exports.ArrayBufferProtoByteLengthGetter = ArrayBufferProtoByteLengthGetter$LWS;
exports.ArrayConcat = ArrayConcat$LWS;

@@ -1059,2 +1018,4 @@ exports.ArrayCtor = ArrayCtor$LWS;

exports.ArrayProtoUnshift = ArrayProtoUnshift$LWS;
exports.BigIntProtoValueOf = BigIntProtoValueOf$LWS;
exports.BooleanProtoValueOf = BooleanProtoValueOf$LWS;
exports.CHAR_ELLIPSIS = CHAR_ELLIPSIS$LWS;

@@ -1064,2 +1025,3 @@ exports.CHAR_QUOTE_DOUBLE = CHAR_QUOTE_DOUBLE$LWS;

exports.DateNow = DateNow$LWS;
exports.DateProtoValueOf = DateProtoValueOf$LWS;
exports.FunctionProtoBind = FunctionProtoBind$LWS;

@@ -1075,2 +1037,3 @@ exports.FunctionProtoToString = FunctionProtoToString$LWS;

exports.MapProtoSet = MapProtoSet$LWS;
exports.MapProtoSizeGetter = MapProtoSizeGetter$LWS;
exports.MathMin = MathMin$LWS;

@@ -1080,2 +1043,3 @@ exports.NumberIsFinite = NumberIsFinite$LWS;

exports.NumberProtoToFixed = NumberProtoToFixed$LWS;
exports.NumberProtoValueOf = NumberProtoValueOf$LWS;
exports.ObjectAssign = ObjectAssign$LWS;

@@ -1110,2 +1074,3 @@ exports.ObjectCtor = ObjectCtor$LWS;

exports.RegExpCtor = RegExpCtor$LWS;
exports.RegExpProto = RegExpProto$LWS;
exports.RegExpProtoExec = RegExpProtoExec$LWS;

@@ -1116,5 +1081,7 @@ exports.RegExpProtoSourceGetter = RegExpProtoSourceGetter$LWS;

exports.SANDBOX_EVAL_HELPERS_NAME = SANDBOX_EVAL_HELPERS_NAME$LWS;
exports.SUPPORTS_BIG_INT = SUPPORTS_BIG_INT$LWS;
exports.SYMBOL_LIVE_OBJECT = SYMBOL_LIVE_OBJECT$LWS;
exports.SetCtor = SetCtor$LWS;
exports.SetProtoAdd = SetProtoAdd$LWS;
exports.SetProtoSizeGetter = SetProtoSizeGetter$LWS;
exports.SetProtoValues = SetProtoValues$LWS;

@@ -1135,6 +1102,9 @@ exports.StringCtor = StringCtor$LWS;

exports.SymbolIterator = SymbolIterator$LWS;
exports.SymbolProto = SymbolProto$LWS;
exports.SymbolProtoToString = SymbolProtoToString$LWS;
exports.SymbolProtoValueOf = SymbolProtoValueOf$LWS;
exports.SymbolToStringTag = SymbolToStringTag$LWS;
exports.SymbolUnscopables = SymbolUnscopables$LWS;
exports.TO_STRING_BRAND_ARRAY = TO_STRING_BRAND_ARRAY$LWS;
exports.TO_STRING_BRAND_ARRAY_BUFFER = TO_STRING_BRAND_ARRAY_BUFFER$LWS;
exports.TO_STRING_BRAND_BIG_INT = TO_STRING_BRAND_BIG_INT$LWS;

@@ -1159,2 +1129,4 @@ exports.TO_STRING_BRAND_BOOLEAN = TO_STRING_BRAND_BOOLEAN$LWS;

exports.WeakMapCtor = WeakMapCtor$LWS;
exports.WeakMapProtoHas = WeakMapProtoHas$LWS;
exports.WeakSetProtoHas = WeakSetProtoHas$LWS;
exports.capitalizeFirstChar = capitalizeFirstChar$LWS;

@@ -1171,20 +1143,8 @@ exports.consoleWarn = consoleWarn$LWS;

exports.indexOfPragma = indexOfPragma$LWS;
exports.isArrayBuffer = isArrayBuffer$LWS;
exports.isBigIntObject = isBigIntObject$LWS;
exports.isBooleanObject = isBooleanObject$LWS;
exports.isConvertibleToString = isConvertibleToString$LWS;
exports.isDate = isDate$LWS;
exports.isLiveObject = isLiveObject$LWS;
exports.isMap = isMap$LWS;
exports.isNamespacePrefixed = isNamespacePrefixed$LWS;
exports.isNearMembrane = isNearMembrane$LWS;
exports.isNumberObject = isNumberObject$LWS;
exports.isObject = isObject$LWS;
exports.isObjectLike = isObjectLike$LWS;
exports.isRegExp = isRegExp$LWS;
exports.isSet = isSet$LWS;
exports.isStringObject = isStringObject$LWS;
exports.isSymbolObject = isSymbolObject$LWS;
exports.isWeakMap = isWeakMap$LWS;
exports.isWeakSet = isWeakSet$LWS;
exports.markLiveObject = markLiveObject$LWS;

@@ -1195,3 +1155,2 @@ exports.noop = noop$LWS;

exports.shallowCloneOptions = shallowCloneOptions$LWS;
exports.toBoolean = toBoolean$LWS;
exports.toLiveValue = toLiveValue$LWS;

@@ -1206,2 +1165,2 @@ exports.toSafeArray = toSafeArray$LWS;

exports.unprefixNamespace = unprefixNamespace$LWS;
/*! version: 0.16.18 */
/*! version: 0.16.19 */

@@ -72,5 +72,2 @@ /*!

const {
valueOf: SymbolProtoValueOf$LWS
} = SymbolProto$LWS;
const {
for: SymbolFor$LWS,

@@ -82,21 +79,5 @@ iterator: SymbolIterator$LWS,

const {
toString: SymbolProtoToString$LWS
toString: SymbolProtoToString$LWS,
valueOf: SymbolProtoValueOf$LWS
} = SymbolProto$LWS;
function isSymbolObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 20.4.3 Properties of the Symbol Prototype Object
// https://tc39.es/ecma262/#thissymbolvalue
// Step 2: If Type(value) is Object and value has a [[SymbolData]] internal slot, then
// a. Let s be value.[[SymbolData]].
// b. Assert: Type(s) is Symbol.
ReflectApply$LWS(SymbolProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused$LWS) {}
}
return false;
}
const ArrayCtor$LWS = Array;

@@ -215,17 +196,4 @@ const {

} = ArrayBufferCtor$LWS;
const ArrayBufferProtoByteLengthGetter$LWS = ObjectLookupOwnGetter$LWS(ArrayBufferCtor$LWS.prototype, 'byteLength');
const ArrayBufferProtoByteLengthGetter$LWS = ObjectLookupOwnGetter$LWS(ArrayBufferCtor$LWS.prototype, 'byteLength'); // https://caniuse.com/bigint
function isArrayBuffer$LWS(value$LWS) {
try {
// Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.bytelength
// Step 2: Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
ReflectApply$LWS(ArrayBufferProtoByteLengthGetter$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused2$LWS) {}
return false;
} // https://caniuse.com/bigint
const SUPPORTS_BIG_INT$LWS = typeof BigInt === 'function';

@@ -235,44 +203,5 @@ const BigIntProtoValueOf$LWS = SUPPORTS_BIG_INT$LWS ? BigInt.prototype.valueOf :

undefined;
const isBigIntObject$LWS = SUPPORTS_BIG_INT$LWS ? function isBigIntObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 21.2.3 Properties of the BigInt Prototype Object
// https://tc39.es/ecma262/#thisbigintvalue
// Step 2: If Type(value) is Object and value has a [[BigIntData]] internal slot, then
// a. Assert: Type(value.[[BigIntData]]) is BigInt.
ReflectApply$LWS(BigIntProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused3$LWS) {}
}
return false;
} :
/* istanbul ignore next: currently unreachable via tests */
function isBigIntObject$LWS(_value$LWS) {
return false;
};
const {
valueOf: BooleanProtoValueOf$LWS
} = Boolean.prototype;
function isBooleanObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 20.3.3 Properties of the Boolean Prototype Object
// https://tc39.es/ecma262/#thisbooleanvalue
// Step 2: If Type(value) is Object and value has a [[BooleanData]] internal slot, then
// a. Let b be value.[[BooleanData]].
// b. Assert: Type(b) is Boolean.
ReflectApply$LWS(BooleanProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused4$LWS) {}
}
return false;
}
function toBoolean$LWS(value$LWS) {
return !!value$LWS;
}
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; // This package is bundled by third-parties that have their own build time

@@ -296,2 +225,3 @@ // replacement logic. Instead of customizing each build system to be aware

const TO_STRING_BRAND_ARRAY$LWS = '[object Array]';
const TO_STRING_BRAND_ARRAY_BUFFER$LWS = '[object ArrayBuffer]';
const TO_STRING_BRAND_BIG_INT$LWS = '[object BigInt]';

@@ -317,25 +247,8 @@ const TO_STRING_BRAND_BOOLEAN$LWS = '[object Boolean]';

const {
now: DateNow$LWS
} = DateCtor$LWS;
const {
valueOf: DateProtoValueOf$LWS
} = DateCtor$LWS.prototype;
const {
now: DateNow$LWS
} = DateCtor$LWS;
function isDate$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 21.4.4 Properties of the Date Prototype Object
// https://tc39.es/ecma262/#thistimevalue
// Step 1: If Type(value) is Object and value has a [[DateValue]] internal slot, then
// a. Return value.[[DateValue]].
// Step 2: Throw a TypeError exception.
ReflectApply$LWS(DateProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused5$LWS) {}
}
return false;
}
const {
bind: FunctionProtoBind$LWS,

@@ -363,3 +276,2 @@ toString: FunctionProtoToString$LWS

} = MapProto$LWS;
const MapProtoSizeGetter$LWS = ObjectLookupOwnGetter$LWS(MapProto$LWS, 'size');
const {

@@ -369,15 +281,4 @@ entries: MapProtoEntries$LWS,

} = MapProto$LWS;
const MapProtoSizeGetter$LWS = ObjectLookupOwnGetter$LWS(MapProto$LWS, 'size');
function isMap$LWS(value$LWS) {
try {
// Section 24.1.3.10 get Map.prototype.size
// https://tc39.es/ecma262/#sec-get-map.prototype.size
// Step 2: Perform ? RequireInternalSlot(M, [[MapData]]).
ReflectApply$LWS(MapProtoSizeGetter$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused6$LWS) {}
return false;
}
function toSafeMap$LWS(map$LWS) {

@@ -413,5 +314,2 @@ ReflectSetPrototypeOf$LWS(map$LWS, null);

const {
valueOf: NumberProtoValueOf$LWS
} = NumberProto$LWS;
const {
isFinite: NumberIsFinite$LWS,

@@ -421,21 +319,5 @@ isInteger: NumberIsInteger$LWS

const {
toFixed: NumberProtoToFixed$LWS
toFixed: NumberProtoToFixed$LWS,
valueOf: NumberProtoValueOf$LWS
} = NumberProto$LWS;
function isNumberObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 21.1.3 Properties of the Number Prototype Object
// https://tc39.es/ecma262/#thisnumbervalue
// Step 2: If Type(value) is Object and value has a [[NumberData]] internal slot, then
// a. Let n be value.[[NumberData]].
// b. Assert: Type(n) is Number.
ReflectApply$LWS(NumberProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused7$LWS) {}
}
return false;
}
const StringCtor$LWS = String;

@@ -511,22 +393,6 @@ const {

return `${value$LWS}` !== undefined; // eslint-disable-next-line no-empty
} catch (_unused8$LWS) {}
} catch (_unused$LWS) {}
}
return false;
}
function isStringObject$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 22.1.3 Properties of the String Prototype Object
// https://tc39.es/ecma262/#thisstringvalue
// Step 2: If Type(value) is Object and value has a [[StringData]] internal slot, then
// a. Let s be value.[[StringData]].
// b. Assert: Type(s) is String.
ReflectApply$LWS(StringProtoValueOf$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused9$LWS) {}
}
return false;
} // Use `toString()` to coerce values using the default string concatenation

@@ -573,3 +439,3 @@ // operation.

return StringCtor$LWS(value$LWS); // eslint-disable-next-line no-empty
} catch (_unused10$LWS) {}
} catch (_unused2$LWS) {}

@@ -594,19 +460,2 @@ return '[object Unknown]';

function isRegExp$LWS(value$LWS) {
try {
// Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-regexp.prototype.source
// Step 3: If R does not have an [[OriginalSource]] internal slot, then
// a. If SameValue(R, %RegExp.prototype%) is true, return "(?:)".
// b. Otherwise, throw a TypeError exception.
if (value$LWS !== RegExpProto$LWS) {
ReflectApply$LWS(RegExpProtoSourceGetter$LWS, value$LWS, []);
return true;
} // eslint-disable-next-line no-empty
} catch (_unused11$LWS) {}
return false;
}
const SetCtor$LWS = Set;

@@ -626,3 +475,2 @@ const {

} = SetProto$LWS;
const SetProtoSizeGetter$LWS = ObjectLookupOwnGetter$LWS(SetProto$LWS, 'size');
const {

@@ -632,15 +480,4 @@ add: SetProtoAdd$LWS,

} = SetProto$LWS;
const SetProtoSizeGetter$LWS = ObjectLookupOwnGetter$LWS(SetProto$LWS, 'size');
function isSet$LWS(value$LWS) {
try {
// Section 24.2.3.9 get Set.prototype.size
// https://tc39.es/ecma262/#sec-get-set.prototype.size
// Step 2: Perform ? RequireInternalSlot(S, [[SetData]]).
ReflectApply$LWS(SetProtoSizeGetter$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused12$LWS) {}
return false;
}
function toSafeSet$LWS(set$LWS) {

@@ -675,5 +512,7 @@ ReflectSetPrototypeOf$LWS(set$LWS, null);

const {
has: WeakMapProtoHas$LWS
} = WeakMapProto$LWS;
const {
delete: WeakMapProtoDelete$LWS,
get: WeakMapProtoGet$LWS,
has: WeakMapProtoHas$LWS,
set: WeakMapProtoSet$LWS,

@@ -683,16 +522,2 @@ [SymbolToStringTag$LWS]: WeakMapProtoSymbolToStringTag$LWS

function isWeakMap$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 24.3.3.4 WeakMap.prototype.has ( key )
// https://tc39.es/ecma262/#sec-weakmap.prototype.has
// Step 2: Perform ? RequireInternalSlot(M, [[WeakMapData]]).
ReflectApply$LWS(WeakMapProtoHas$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused13$LWS) {}
}
return false;
}
function toSafeWeakMap$LWS(weakMap$LWS) {

@@ -713,17 +538,2 @@ ReflectSetPrototypeOf$LWS(weakMap$LWS, null);

} = WeakSet.prototype;
function isWeakSet$LWS(value$LWS) {
if (typeof value$LWS === 'object' && value$LWS !== null) {
try {
// Section 24.4.3.4 WeakSet.prototype.has ( value )
// https://tc39.es/ecma262/#sec-weakset.prototype.has
// Step 2: 2. Perform ? RequireInternalSlot(S, [[WeakSetData]]).
ReflectApply$LWS(WeakSetProtoHas$LWS, value$LWS, []);
return true; // eslint-disable-next-line no-empty
} catch (_unused14$LWS) {}
}
return false;
}
const {

@@ -744,45 +554,143 @@ toStringTag: TO_STRING_TAG_SYMBOL$LWS

// entries.
if (isDate$LWS(value$LWS)) {
return TO_STRING_BRAND_DATE$LWS;
}
//
// Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.bytelength
// Step 2: Perform RequireInternalSlot(O, [[ArrayBufferData]]).
try {
if ('byteLength' in value$LWS) {
ReflectApply$LWS(ArrayBufferProtoByteLengthGetter$LWS, value$LWS, []);
return TO_STRING_BRAND_ARRAY_BUFFER$LWS;
} // eslint-disable-next-line no-empty
if (isMap$LWS(value$LWS)) {
return TO_STRING_BRAND_MAP$LWS;
}
} catch (_unused3$LWS) {} // Section 21.4.4 Properties of the Date Prototype Object
// https://tc39.es/ecma262/#thistimevalue
// Step 1: If Type(value) is Object and value has a [[DateValue]] internal slot, then
// a. Return value.[[DateValue]].
// Step 2: Throw a TypeError exception.
if (isRegExp$LWS(value$LWS)) {
return TO_STRING_BRAND_REG_EXP$LWS;
}
if (isSet$LWS(value$LWS)) {
return TO_STRING_BRAND_SET$LWS;
}
try {
if ('toLocaleDateString' in value$LWS) {
ReflectApply$LWS(DateProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_DATE$LWS;
} // eslint-disable-next-line no-empty
if (isWeakMap$LWS(value$LWS)) {
return TO_STRING_BRAND_WEAK_MAP$LWS;
}
} catch (_unused4$LWS) {} // Section 24.1.3.10 get Map.prototype.size
// https://tc39.es/ecma262/#sec-get-map.prototype.size
// Step 2: Perform ? RequireInternalSlot(M, [[MapData]]).
if (isWeakSet$LWS(value$LWS)) {
return TO_STRING_BRAND_WEAK_SET$LWS;
}
if (isBigIntObject$LWS(value$LWS)) {
return TO_STRING_BRAND_BIG_INT$LWS;
}
try {
if ('get' in value$LWS && 'size' in value$LWS) {
ReflectApply$LWS(MapProtoSizeGetter$LWS, value$LWS, []);
return TO_STRING_BRAND_MAP$LWS;
} // eslint-disable-next-line no-empty
if (isBooleanObject$LWS(value$LWS)) {
return TO_STRING_BRAND_BOOLEAN$LWS;
}
} catch (_unused5$LWS) {} // Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-regexp.prototype.source
// Step 3: If R does not have an [[OriginalSource]] internal slot, then
// a. If SameValue(R, %RegExp.prototype%) is true, return "(?:)".
// b. Otherwise, throw a TypeError exception.
if (isNumberObject$LWS(value$LWS)) {
return TO_STRING_BRAND_NUMBER$LWS;
}
if (isStringObject$LWS(value$LWS)) {
return TO_STRING_BRAND_STRING$LWS;
try {
if (ObjectHasOwn$LWS(value$LWS, 'lastIndex')) {
ReflectApply$LWS(RegExpProtoSourceGetter$LWS, value$LWS, []);
return TO_STRING_BRAND_REG_EXP$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused6$LWS) {} // Section 24.2.3.9 get Set.prototype.size
// https://tc39.es/ecma262/#sec-get-set.prototype.size
// Step 2: Perform ? RequireInternalSlot(S, [[SetData]]).
try {
if ('add' in value$LWS && 'size' in value$LWS) {
ReflectApply$LWS(SetProtoSizeGetter$LWS, value$LWS, []);
return TO_STRING_BRAND_SET$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused7$LWS) {} // Section 24.3.3.4 WeakMap.prototype.has ( key )
// https://tc39.es/ecma262/#sec-weakmap.prototype.has
// Step 2: Perform RequireInternalSlot(M, [[WeakMapData]]).
try {
if ('get' in value$LWS && !('size' in value$LWS)) {
ReflectApply$LWS(WeakMapProtoHas$LWS, value$LWS, []);
return TO_STRING_BRAND_WEAK_MAP$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused8$LWS) {} // Section 24.4.3.4 WeakSet.prototype.has ( value )
// https://tc39.es/ecma262/#sec-weakset.prototype.has
// Step 2: 2. Perform RequireInternalSlot(S, [[WeakSetData]]).
try {
if ('add' in value$LWS && !('size' in value$LWS)) {
ReflectApply$LWS(WeakSetProtoHas$LWS, value$LWS, []);
return TO_STRING_BRAND_WEAK_SET$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused9$LWS) {} // Section 21.1.3 Properties of the Number Prototype Object
// https://tc39.es/ecma262/#thisnumbervalue
// Step 2: If Type(value) is Object and value has a [[NumberData]] internal slot, then
// a. Let n be value.[[NumberData]].
// b. Assert: Type(n) is Number.
try {
if ('toPrecision' in value$LWS) {
ReflectApply$LWS(NumberProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_NUMBER$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused10$LWS) {} // Section 22.1.3 Properties of the String Prototype Object
// https://tc39.es/ecma262/#thisstringvalue
// Step 2: If Type(value) is Object and value has a [[StringData]] internal slot, then
// a. Let s be value.[[StringData]].
// b. Assert: Type(s) is String.
try {
if (ObjectHasOwn$LWS(value$LWS, 'length')) {
ReflectApply$LWS(StringProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_STRING$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused11$LWS) {} // Section 20.4.3 Properties of the Symbol Prototype Object
// https://tc39.es/ecma262/#thissymbolvalue
// Step 2: If Type(value) is Object and value has a [[SymbolData]] internal slot, then
// a. Let s be value.[[SymbolData]].
// b. Assert: Type(s) is Symbol.
try {
if ('description' in value$LWS) {
ReflectApply$LWS(SymbolProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_SYMBOL$LWS;
} // eslint-disable-next-line no-empty
} catch (_unused12$LWS) {}
if (SUPPORTS_BIG_INT$LWS) {
try {
// Section 21.2.3 Properties of the BigInt Prototype Object
// https://tc39.es/ecma262/#thisbigintvalue
// Step 2: If Type(value) is Object and value has a [[BigIntData]] internal slot, then
// a. Assert: Type(value.[[BigIntData]]) is BigInt.
ReflectApply$LWS(BigIntProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_BIG_INT$LWS; // eslint-disable-next-line no-empty
} catch (_unused13$LWS) {}
}
if (isSymbolObject$LWS(value$LWS)) {
return TO_STRING_BRAND_SYMBOL$LWS;
} // Cannot detect brands for Arguments and Error objects.
try {
// Section 20.3.3 Properties of the Boolean Prototype Object
// https://tc39.es/ecma262/#thisbooleanvalue
// Step 2: If Type(value) is Object and value has a [[BooleanData]] internal slot, then
// a. Let b be value.[[BooleanData]].
// b. Assert: Type(b) is Boolean.
ReflectApply$LWS(BooleanProtoValueOf$LWS, value$LWS, []);
return TO_STRING_BRAND_BOOLEAN$LWS; // eslint-disable-next-line no-empty
} catch (_unused14$LWS) {} // Cannot detect brands for Arguments and Error objects.

@@ -928,36 +836,86 @@

function isLiveObject$LWS(value$LWS) {
if (value$LWS === null || value$LWS === undefined || value$LWS === ObjectProto$LWS || !(typeof value$LWS === 'object' || typeof value$LWS === 'function')) {
// Based on the isTargetLive() function of
// salesforce/near-membrane/packages/near-membrane-base/src/membrane.ts.
if (value$LWS === null || value$LWS === undefined || value$LWS === ObjectProto$LWS || value$LWS === RegExpProto$LWS) {
return false;
} // Based on the isTargetLive() function of
// salesforce/near-membrane/packages/near-membrane-base/src/membrane.ts.
}
if (typeof value$LWS === 'function') {
try {
return ObjectHasOwn$LWS(value$LWS, LOCKER_LIVE_VALUE_SYMBOL$LWS); // eslint-disable-next-line no-empty
} catch (_unused15$LWS) {}
return false;
}
if (typeof value$LWS === 'object') {
const {
constructor: constructor$LWS
} = value$LWS;
let constructor$LWS;
if (constructor$LWS === ObjectCtor$LWS) {
// If the constructor, own or inherited, points to `Object`
// then `value` is not likely a prototype object.
return true;
}
try {
({
constructor: constructor$LWS
} = value$LWS);
let result$LWS = false;
if (constructor$LWS === ObjectCtor$LWS) {
// If the constructor, own or inherited, points to `Object`
// then `value` is not likely a prototype object.
return true;
} // eslint-disable-next-line no-empty
if (ReflectGetPrototypeOf$LWS(value$LWS) === null) {
// Ensure `value` is not an `Object.prototype` from an iframe.
result$LWS = typeof constructor$LWS !== 'function' || constructor$LWS.prototype !== value$LWS;
}
} catch (_unused16$LWS) {}
if (!result$LWS) {
result$LWS = ArrayIsArray$LWS(value$LWS) || ArrayBufferIsView$LWS(value$LWS) || isArrayBuffer$LWS(value$LWS) || isRegExp$LWS(value$LWS);
try {
if (ObjectHasOwn$LWS(value$LWS, LOCKER_LIVE_VALUE_SYMBOL$LWS)) {
return true;
} // eslint-disable-next-line no-empty
} catch (_unused17$LWS) {}
try {
if (ReflectGetPrototypeOf$LWS(value$LWS) === null && ( // Ensure `value` is not an `Object.prototype` from an iframe.
typeof constructor$LWS !== 'function' || constructor$LWS.prototype !== value$LWS)) {
return true;
} // eslint-disable-next-line no-empty
} catch (_unused18$LWS) {}
try {
if (ArrayIsArray$LWS(value$LWS)) {
return true;
}
} catch (_unused19$LWS) {
// The value is a revoked proxy.
return false;
}
if (result$LWS) {
return result$LWS;
}
if (ArrayBufferIsView$LWS(value$LWS)) {
return true;
} // Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-regexp.prototype.source
// Step 3: If R does not have an [[OriginalSource]] internal slot, then
// a. If SameValue(R, %RegExp.prototype%) is true, return "(?:)".
// b. Otherwise, throw a TypeError exception.
try {
if (ObjectHasOwn$LWS(value$LWS, 'lastIndex')) {
ReflectApply$LWS(RegExpProtoSourceGetter$LWS, value$LWS, []);
return true;
} // eslint-disable-next-line no-empty
} catch (_unused20$LWS) {} // Section 25.1.5.1 get ArrayBuffer.prototype.byteLength
// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.bytelength
// Step 2: Perform RequireInternalSlot(O, [[ArrayBufferData]]).
try {
if ('byteLength' in value$LWS) {
ReflectApply$LWS(ArrayBufferProtoByteLengthGetter$LWS, value$LWS, []);
return true;
} // eslint-disable-next-line no-empty
} catch (_unused21$LWS) {}
}
return ObjectHasOwn$LWS(value$LWS, LOCKER_LIVE_VALUE_SYMBOL$LWS);
return false;
}

@@ -1040,3 +998,3 @@

export { ArrayBufferIsView$LWS as ArrayBufferIsView, ArrayConcat$LWS as ArrayConcat, ArrayCtor$LWS as ArrayCtor, ArrayIsArray$LWS as ArrayIsArray, ArrayProtoFilter$LWS as ArrayProtoFilter, ArrayProtoIncludes$LWS as ArrayProtoIncludes, ArrayProtoIndexOf$LWS as ArrayProtoIndexOf, ArrayProtoJoin$LWS as ArrayProtoJoin, ArrayProtoPush$LWS as ArrayProtoPush, ArrayProtoShift$LWS as ArrayProtoShift, ArrayProtoSlice$LWS as ArrayProtoSlice, ArrayProtoSort$LWS as ArrayProtoSort, ArrayProtoUnshift$LWS as ArrayProtoUnshift, CHAR_ELLIPSIS$LWS as CHAR_ELLIPSIS, CHAR_QUOTE_DOUBLE$LWS as CHAR_QUOTE_DOUBLE, CHAR_QUOTE_SINGLE$LWS as CHAR_QUOTE_SINGLE, DateNow$LWS as DateNow, FunctionProtoBind$LWS as FunctionProtoBind, FunctionProtoToString$LWS as FunctionProtoToString, 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, MapCtor$LWS as MapCtor, MapProtoEntries$LWS as MapProtoEntries, MapProtoSet$LWS as MapProtoSet, MathMin$LWS as MathMin, NumberIsFinite$LWS as NumberIsFinite, NumberIsInteger$LWS as NumberIsInteger, NumberProtoToFixed$LWS as NumberProtoToFixed, ObjectAssign$LWS as ObjectAssign, ObjectCtor$LWS as ObjectCtor, ObjectFreeze$LWS as ObjectFreeze, ObjectGetOwnPropertyDescriptors$LWS as ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertySymbols$LWS as ObjectGetOwnPropertySymbols, ObjectHasOwn$LWS as ObjectHasOwn, ObjectKeys$LWS as ObjectKeys, ObjectLookupOwnGetter$LWS as ObjectLookupOwnGetter, ObjectLookupOwnSetter$LWS as ObjectLookupOwnSetter, ObjectLookupOwnValue$LWS as ObjectLookupOwnValue, ObjectPreventExtensions$LWS as ObjectPreventExtensions, ObjectProto$LWS as ObjectProto, ObjectProtoToString$LWS as ObjectProtoToString, PromiseProtoThen$LWS as PromiseProtoThen, PromiseReject$LWS as PromiseReject, ProxyCtor$LWS as ProxyCtor, ProxyRevocable$LWS as ProxyRevocable, 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, RegExpProtoExec$LWS as RegExpProtoExec, RegExpProtoSourceGetter$LWS as RegExpProtoSourceGetter, RegExpProtoTest$LWS as RegExpProtoTest, 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, SetCtor$LWS as SetCtor, SetProtoAdd$LWS as SetProtoAdd, SetProtoValues$LWS as SetProtoValues, StringCtor$LWS as StringCtor, StringProtoEndsWith$LWS as StringProtoEndsWith, StringProtoIncludes$LWS as StringProtoIncludes, StringProtoIndexOf$LWS as StringProtoIndexOf, StringProtoMatch$LWS as StringProtoMatch, StringProtoReplace$LWS as StringProtoReplace, StringProtoSlice$LWS as StringProtoSlice, StringProtoSplit$LWS as StringProtoSplit, StringProtoStartsWith$LWS as StringProtoStartsWith, StringProtoToLowerCase$LWS as StringProtoToLowerCase, StringProtoToUpperCase$LWS as StringProtoToUpperCase, StringProtoValueOf$LWS as StringProtoValueOf, SymbolFor$LWS as SymbolFor, SymbolIterator$LWS as SymbolIterator, SymbolProtoToString$LWS as SymbolProtoToString, SymbolToStringTag$LWS as SymbolToStringTag, SymbolUnscopables$LWS as SymbolUnscopables, 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, capitalizeFirstChar$LWS as capitalizeFirstChar, consoleWarn$LWS as consoleWarn, createRevokedProxy$LWS as createRevokedProxy, enquote$LWS as enquote, escapeRegExp$LWS as escapeRegExp, extractFunctionBodySource$LWS as extractFunctionBodySource, getBrand$LWS as getBrand, getNamespacePrefix$LWS as getNamespacePrefix, getNearMembraneSerializedValue$LWS as getNearMembraneSerializedValue, getTimestamp$LWS as getTimestamp, indexOfPragma$LWS as indexOfPragma, isArrayBuffer$LWS as isArrayBuffer, isBigIntObject$LWS as isBigIntObject, isBooleanObject$LWS as isBooleanObject, isConvertibleToString$LWS as isConvertibleToString, isDate$LWS as isDate, isLiveObject$LWS as isLiveObject, isMap$LWS as isMap, isNamespacePrefixed$LWS as isNamespacePrefixed, 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, noop$LWS as noop, prefixNamespace$LWS as prefixNamespace, shallowCloneArray$LWS as shallowCloneArray, shallowCloneOptions$LWS as shallowCloneOptions, toBoolean$LWS as toBoolean, toLiveValue$LWS as toLiveValue, toSafeArray$LWS as toSafeArray, toSafeDescriptor$LWS as toSafeDescriptor, toSafeMap$LWS as toSafeMap, toSafeSet$LWS as toSafeSet, toSafeTemplateStringValue$LWS as toSafeTemplateStringValue, toSafeWeakMap$LWS as toSafeWeakMap, toString$LWS as toString, unprefixNamespace$LWS as unprefixNamespace };
/*! version: 0.16.18 */
export { ArrayBufferIsView$LWS as ArrayBufferIsView, ArrayBufferProtoByteLengthGetter$LWS as ArrayBufferProtoByteLengthGetter, ArrayConcat$LWS as ArrayConcat, ArrayCtor$LWS as ArrayCtor, ArrayIsArray$LWS as ArrayIsArray, ArrayProtoFilter$LWS as ArrayProtoFilter, ArrayProtoIncludes$LWS as ArrayProtoIncludes, ArrayProtoIndexOf$LWS as ArrayProtoIndexOf, ArrayProtoJoin$LWS as ArrayProtoJoin, ArrayProtoPush$LWS as ArrayProtoPush, ArrayProtoShift$LWS as ArrayProtoShift, ArrayProtoSlice$LWS as ArrayProtoSlice, ArrayProtoSort$LWS as ArrayProtoSort, ArrayProtoUnshift$LWS as ArrayProtoUnshift, BigIntProtoValueOf$LWS as BigIntProtoValueOf, BooleanProtoValueOf$LWS as BooleanProtoValueOf, CHAR_ELLIPSIS$LWS as CHAR_ELLIPSIS, CHAR_QUOTE_DOUBLE$LWS as CHAR_QUOTE_DOUBLE, CHAR_QUOTE_SINGLE$LWS as CHAR_QUOTE_SINGLE, DateNow$LWS as DateNow, DateProtoValueOf$LWS as DateProtoValueOf, FunctionProtoBind$LWS as FunctionProtoBind, FunctionProtoToString$LWS as FunctionProtoToString, 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, MapCtor$LWS as MapCtor, MapProtoEntries$LWS as MapProtoEntries, MapProtoSet$LWS as MapProtoSet, MapProtoSizeGetter$LWS as MapProtoSizeGetter, MathMin$LWS as MathMin, NumberIsFinite$LWS as NumberIsFinite, NumberIsInteger$LWS as NumberIsInteger, NumberProtoToFixed$LWS as NumberProtoToFixed, NumberProtoValueOf$LWS as NumberProtoValueOf, ObjectAssign$LWS as ObjectAssign, ObjectCtor$LWS as ObjectCtor, ObjectFreeze$LWS as ObjectFreeze, ObjectGetOwnPropertyDescriptors$LWS as ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertySymbols$LWS as ObjectGetOwnPropertySymbols, ObjectHasOwn$LWS as ObjectHasOwn, ObjectKeys$LWS as ObjectKeys, ObjectLookupOwnGetter$LWS as ObjectLookupOwnGetter, ObjectLookupOwnSetter$LWS as ObjectLookupOwnSetter, ObjectLookupOwnValue$LWS as ObjectLookupOwnValue, ObjectPreventExtensions$LWS as ObjectPreventExtensions, ObjectProto$LWS as ObjectProto, ObjectProtoToString$LWS as ObjectProtoToString, PromiseProtoThen$LWS as PromiseProtoThen, PromiseReject$LWS as PromiseReject, ProxyCtor$LWS as ProxyCtor, ProxyRevocable$LWS as ProxyRevocable, 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, RegExpProto$LWS as RegExpProto, RegExpProtoExec$LWS as RegExpProtoExec, RegExpProtoSourceGetter$LWS as RegExpProtoSourceGetter, RegExpProtoTest$LWS as RegExpProtoTest, SANDBOX_EVAL_CONTEXT_NAME$LWS as SANDBOX_EVAL_CONTEXT_NAME, SANDBOX_EVAL_HELPERS_NAME$LWS as SANDBOX_EVAL_HELPERS_NAME, SUPPORTS_BIG_INT$LWS as SUPPORTS_BIG_INT, SYMBOL_LIVE_OBJECT$LWS as SYMBOL_LIVE_OBJECT, SetCtor$LWS as SetCtor, SetProtoAdd$LWS as SetProtoAdd, SetProtoSizeGetter$LWS as SetProtoSizeGetter, SetProtoValues$LWS as SetProtoValues, StringCtor$LWS as StringCtor, StringProtoEndsWith$LWS as StringProtoEndsWith, StringProtoIncludes$LWS as StringProtoIncludes, StringProtoIndexOf$LWS as StringProtoIndexOf, StringProtoMatch$LWS as StringProtoMatch, StringProtoReplace$LWS as StringProtoReplace, StringProtoSlice$LWS as StringProtoSlice, StringProtoSplit$LWS as StringProtoSplit, StringProtoStartsWith$LWS as StringProtoStartsWith, StringProtoToLowerCase$LWS as StringProtoToLowerCase, StringProtoToUpperCase$LWS as StringProtoToUpperCase, StringProtoValueOf$LWS as StringProtoValueOf, SymbolFor$LWS as SymbolFor, SymbolIterator$LWS as SymbolIterator, SymbolProto$LWS as SymbolProto, SymbolProtoToString$LWS as SymbolProtoToString, SymbolProtoValueOf$LWS as SymbolProtoValueOf, SymbolToStringTag$LWS as SymbolToStringTag, SymbolUnscopables$LWS as SymbolUnscopables, TO_STRING_BRAND_ARRAY$LWS as TO_STRING_BRAND_ARRAY, TO_STRING_BRAND_ARRAY_BUFFER$LWS as TO_STRING_BRAND_ARRAY_BUFFER, 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, WeakMapProtoHas$LWS as WeakMapProtoHas, WeakSetProtoHas$LWS as WeakSetProtoHas, capitalizeFirstChar$LWS as capitalizeFirstChar, consoleWarn$LWS as consoleWarn, createRevokedProxy$LWS as createRevokedProxy, enquote$LWS as enquote, escapeRegExp$LWS as escapeRegExp, extractFunctionBodySource$LWS as extractFunctionBodySource, getBrand$LWS as getBrand, getNamespacePrefix$LWS as getNamespacePrefix, getNearMembraneSerializedValue$LWS as getNearMembraneSerializedValue, getTimestamp$LWS as getTimestamp, indexOfPragma$LWS as indexOfPragma, isConvertibleToString$LWS as isConvertibleToString, isLiveObject$LWS as isLiveObject, isNamespacePrefixed$LWS as isNamespacePrefixed, isNearMembrane$LWS as isNearMembrane, isObject$LWS as isObject, isObjectLike$LWS as isObjectLike, markLiveObject$LWS as markLiveObject, noop$LWS as noop, prefixNamespace$LWS as prefixNamespace, shallowCloneArray$LWS as shallowCloneArray, shallowCloneOptions$LWS as shallowCloneOptions, toLiveValue$LWS as toLiveValue, toSafeArray$LWS as toSafeArray, toSafeDescriptor$LWS as toSafeDescriptor, toSafeMap$LWS as toSafeMap, toSafeSet$LWS as toSafeSet, toSafeTemplateStringValue$LWS as toSafeTemplateStringValue, toSafeWeakMap$LWS as toSafeWeakMap, toString$LWS as toString, unprefixNamespace$LWS as unprefixNamespace };
/*! version: 0.16.19 */
{
"name": "@locker/shared",
"version": "0.16.18",
"version": "0.16.19",
"license": "Salesforce Developer Agreement",

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

],
"gitHead": "c12b30af17a8d710fb947a939fdf43164f3fb423"
"gitHead": "406024b7a19cda90dd306ad4c1ca63ec37a7ba90"
}
export declare const ArrayBufferIsView: (arg: any) => arg is ArrayBufferView;
export declare function isArrayBuffer(value: any): boolean;
export declare const ArrayBufferProtoByteLengthGetter: import("./types").Getter;
//# sourceMappingURL=ArrayBuffer.d.ts.map

@@ -1,2 +0,3 @@

export declare const isBigIntObject: (value: any) => boolean;
export declare const SUPPORTS_BIG_INT: boolean;
export declare const BigIntProtoValueOf: (() => bigint) | undefined;
//# sourceMappingURL=BigInt.d.ts.map

@@ -1,3 +0,2 @@

export declare function isBooleanObject(value: any): boolean;
export declare function toBoolean(value: any): boolean;
export declare const BooleanProtoValueOf: () => boolean;
//# sourceMappingURL=Boolean.d.ts.map

@@ -9,2 +9,3 @@ export declare const LOCKER_IDENTIFIER_MARKER = "$LWS";

export declare const TO_STRING_BRAND_ARRAY = "[object Array]";
export declare const TO_STRING_BRAND_ARRAY_BUFFER = "[object ArrayBuffer]";
export declare const TO_STRING_BRAND_BIG_INT = "[object BigInt]";

@@ -11,0 +12,0 @@ export declare const TO_STRING_BRAND_BOOLEAN = "[object Boolean]";

export declare const DateNow: () => number;
export declare function isDate(value: any): boolean;
export declare const DateProtoValueOf: () => number;
//# sourceMappingURL=Date.d.ts.map
export declare const MapCtor: MapConstructor;
export declare const MapProtoEntries: () => IterableIterator<[any, any]>, MapProtoSet: (key: any, value: any) => Map<any, any>;
export declare function isMap(value: any): boolean;
export declare const MapProtoSizeGetter: import("./types").Getter;
export declare function toSafeMap<T extends Map<any, any>>(map: T): T;
//# sourceMappingURL=Map.d.ts.map
export declare const NumberIsFinite: (number: unknown) => boolean, NumberIsInteger: (number: unknown) => boolean;
export declare const NumberProtoToFixed: (fractionDigits?: number | undefined) => string;
export declare function isNumberObject(value: any): boolean;
export declare const NumberProtoToFixed: (fractionDigits?: number | undefined) => string, NumberProtoValueOf: () => number;
//# sourceMappingURL=Number.d.ts.map

@@ -21,3 +21,3 @@ import { Getter, Setter } from './types';

export declare function isObjectLike(value: any): boolean;
export declare const ObjectHasOwn: any;
export declare const ObjectHasOwn: (object: any, key: PropertyKey) => boolean;
export declare function ObjectLookupOwnGetter(object: any, key: PropertyKey): Getter | undefined;

@@ -24,0 +24,0 @@ export declare function ObjectLookupOwnSetter(object: any, key: PropertyKey): Setter | undefined;

export declare const RegExpCtor: RegExpConstructor;
export declare const RegExpProto: RegExp;
export declare const RegExpProtoExec: (string: string) => RegExpExecArray | null, RegExpProtoTest: (string: string) => boolean;
export declare const RegExpProtoSourceGetter: import("./types").Getter;
export declare function escapeRegExp(string: string): string;
export declare function isRegExp(value: any): boolean;
//# sourceMappingURL=RegExp.d.ts.map
export declare const SetCtor: SetConstructor;
export declare const SetProtoAdd: (value: any) => Set<any>, SetProtoValues: () => IterableIterator<any>;
export declare function isSet(value: any): boolean;
export declare const SetProtoSizeGetter: import("./types").Getter;
export declare function toSafeSet<T extends Set<any>>(set: T): T;
//# sourceMappingURL=Set.d.ts.map

@@ -26,5 +26,4 @@ export declare const StringCtor: StringConstructor;

export declare function isConvertibleToString(value: any): boolean;
export declare function isStringObject(value: any): boolean;
export declare function toString(value: any): string;
export declare function toSafeTemplateStringValue(value: any): string;
//# sourceMappingURL=String.d.ts.map

@@ -0,4 +1,4 @@

export declare const SymbolProto: Symbol;
export declare const SymbolFor: (key: string) => symbol, SymbolIterator: symbol, SymbolToStringTag: symbol, SymbolUnscopables: symbol;
export declare const SymbolProtoToString: () => string;
export declare function isSymbolObject(value: any): boolean;
export declare const SymbolProtoToString: () => string, SymbolProtoValueOf: () => symbol;
//# sourceMappingURL=Symbol.d.ts.map
export declare const WeakMapCtor: WeakMapConstructor;
export declare function isWeakMap(value: any): boolean;
export declare const WeakMapProtoHas: (key: object) => boolean;
export declare function toSafeWeakMap<T extends WeakMap<any, any>>(weakMap: T): T;
//# sourceMappingURL=WeakMap.d.ts.map

@@ -1,2 +0,2 @@

export declare function isWeakSet(value: any): boolean;
export declare const WeakSetProtoHas: (value: object) => boolean;
//# sourceMappingURL=WeakSet.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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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