indexeddbshim 19.0.2 → 19.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/badges/licenses-badge-dev.svg +1 -1
- package/badges/licenses-badge.svg +1 -1
- package/dist/indexeddbshim-Key.js +1 -1
- package/dist/indexeddbshim-Key.min.js +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs +44 -54
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +46 -56
- package/dist/indexeddbshim-UnicodeIdentifiers.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js +3 -3
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js.map +1 -1
- package/dist/indexeddbshim-node.cjs +44 -54
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +46 -56
- package/dist/indexeddbshim-noninvasive.js.map +1 -1
- package/dist/indexeddbshim-noninvasive.min.js +3 -3
- package/dist/indexeddbshim-noninvasive.min.js.map +1 -1
- package/dist/indexeddbshim.js +46 -56
- package/dist/indexeddbshim.js.map +1 -1
- package/dist/indexeddbshim.min.js +3 -3
- package/dist/indexeddbshim.min.js.map +1 -1
- package/dist/unicode-regex.d.ts +1 -1
- package/dist/unicode-regex.d.ts.map +1 -1
- package/package.json +95 -94
- package/src/unicode-regex.js +1 -16
- package/licenseInfo.json +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! indexeddbshim - v19.0.
|
|
1
|
+
/*! indexeddbshim - v19.0.3 - 9/15/2026 */
|
|
2
2
|
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -1565,19 +1565,7 @@ val => {
|
|
|
1565
1565
|
|
|
1566
1566
|
// @ts-nocheck
|
|
1567
1567
|
|
|
1568
|
-
|
|
1569
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
1570
|
-
}
|
|
1571
|
-
var regex$1;
|
|
1572
|
-
var hasRequiredRegex;
|
|
1573
|
-
function requireRegex() {
|
|
1574
|
-
if (hasRequiredRegex) return regex$1;
|
|
1575
|
-
hasRequiredRegex = 1;
|
|
1576
|
-
regex$1 = /[\xC0-\xC5\xC7-\xCF\xD1-\xD6\xD9-\xDD\xE0-\xE5\xE7-\xEF\xF1-\xF6\xF9-\xFD\xFF-\u010F\u0112-\u0125\u0128-\u0130\u0134-\u0137\u0139-\u013E\u0143-\u0148\u014C-\u0151\u0154-\u0165\u0168-\u017E\u01A0\u01A1\u01AF\u01B0\u01CD-\u01DC\u01DE-\u01E3\u01E6-\u01F0\u01F4\u01F5\u01F8-\u021B\u021E\u021F\u0226-\u0233\u0344\u0385\u0386\u0388-\u038A\u038C\u038E-\u0390\u03AA-\u03B0\u03CA-\u03CE\u03D3\u03D4\u0400\u0401\u0403\u0407\u040C-\u040E\u0419\u0439\u0450\u0451\u0453\u0457\u045C-\u045E\u0476\u0477\u04C1\u04C2\u04D0-\u04D3\u04D6\u04D7\u04DA-\u04DF\u04E2-\u04E7\u04EA-\u04F5\u04F8\u04F9\u0622-\u0626\u06C0\u06C2\u06D3\u0929\u0931\u0934\u0958-\u095F\u09CB\u09CC\u09DC\u09DD\u09DF\u0A33\u0A36\u0A59-\u0A5B\u0A5E\u0B48\u0B4B\u0B4C\u0B5C\u0B5D\u0B94\u0BCA-\u0BCC\u0C48\u0CC0\u0CC7\u0CC8\u0CCA\u0CCB\u0D4A-\u0D4C\u0DDA\u0DDC-\u0DDE\u0F43\u0F4D\u0F52\u0F57\u0F5C\u0F69\u0F73\u0F75\u0F76\u0F78\u0F81\u0F93\u0F9D\u0FA2\u0FA7\u0FAC\u0FB9\u1026\u1B06\u1B08\u1B0A\u1B0C\u1B0E\u1B12\u1B3B\u1B3D\u1B40\u1B41\u1B43\u1E00-\u1E99\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FC1-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEE\u1FF2-\u1FF4\u1FF6-\u1FFC\u212B\u219A\u219B\u21AE\u21CD-\u21CF\u2204\u2209\u220C\u2224\u2226\u2241\u2244\u2247\u2249\u2260\u2262\u226D-\u2271\u2274\u2275\u2278\u2279\u2280\u2281\u2284\u2285\u2288\u2289\u22AC-\u22AF\u22E0-\u22E3\u22EA-\u22ED\u2ADC\u304C\u304E\u3050\u3052\u3054\u3056\u3058\u305A\u305C\u305E\u3060\u3062\u3065\u3067\u3069\u3070\u3071\u3073\u3074\u3076\u3077\u3079\u307A\u307C\u307D\u3094\u309E\u30AC\u30AE\u30B0\u30B2\u30B4\u30B6\u30B8\u30BA\u30BC\u30BE\u30C0\u30C2\u30C5\u30C7\u30C9\u30D0\u30D1\u30D3\u30D4\u30D6\u30D7\u30D9\u30DA\u30DC\u30DD\u30F4\u30F7-\u30FA\u30FE\uAC00-\uD7A3\uFB1D\uFB1F\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4E]|\uD801[\uDDC9\uDDE4]|\uD804[\uDC9A\uDC9C\uDCAB\uDD2E\uDD2F\uDF4B\uDF4C\uDF83\uDF85\uDF8E\uDF91\uDFC5\uDFC7\uDFC8]|\uD805[\uDCBB\uDCBC\uDCBE\uDDBA\uDDBB]|\uD806\uDD38|\uD818[\uDD21-\uDD28]|\uD81B[\uDD68-\uDD6A]|\uD834[\uDD5E-\uDD64\uDDBB-\uDDC0]/;
|
|
1577
|
-
return regex$1;
|
|
1578
|
-
}
|
|
1579
|
-
var regexExports = requireRegex();
|
|
1580
|
-
var regex = /*@__PURE__*/getDefaultExportFromCjs(regexExports);
|
|
1568
|
+
var regex = /[\xC0-\xC5\xC7-\xCF\xD1-\xD6\xD9-\xDD\xE0-\xE5\xE7-\xEF\xF1-\xF6\xF9-\xFD\xFF-\u010F\u0112-\u0125\u0128-\u0130\u0134-\u0137\u0139-\u013E\u0143-\u0148\u014C-\u0151\u0154-\u0165\u0168-\u017E\u01A0\u01A1\u01AF\u01B0\u01CD-\u01DC\u01DE-\u01E3\u01E6-\u01F0\u01F4\u01F5\u01F8-\u021B\u021E\u021F\u0226-\u0233\u0344\u0385\u0386\u0388-\u038A\u038C\u038E-\u0390\u03AA-\u03B0\u03CA-\u03CE\u03D3\u03D4\u0400\u0401\u0403\u0407\u040C-\u040E\u0419\u0439\u0450\u0451\u0453\u0457\u045C-\u045E\u0476\u0477\u04C1\u04C2\u04D0-\u04D3\u04D6\u04D7\u04DA-\u04DF\u04E2-\u04E7\u04EA-\u04F5\u04F8\u04F9\u0622-\u0626\u06C0\u06C2\u06D3\u0929\u0931\u0934\u0958-\u095F\u09CB\u09CC\u09DC\u09DD\u09DF\u0A33\u0A36\u0A59-\u0A5B\u0A5E\u0B48\u0B4B\u0B4C\u0B5C\u0B5D\u0B94\u0BCA-\u0BCC\u0C48\u0CC0\u0CC7\u0CC8\u0CCA\u0CCB\u0D4A-\u0D4C\u0DDA\u0DDC-\u0DDE\u0F43\u0F4D\u0F52\u0F57\u0F5C\u0F69\u0F73\u0F75\u0F76\u0F78\u0F81\u0F93\u0F9D\u0FA2\u0FA7\u0FAC\u0FB9\u1026\u1B06\u1B08\u1B0A\u1B0C\u1B0E\u1B12\u1B3B\u1B3D\u1B40\u1B41\u1B43\u1E00-\u1E99\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FC1-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEE\u1FF2-\u1FF4\u1FF6-\u1FFC\u212B\u219A\u219B\u21AE\u21CD-\u21CF\u2204\u2209\u220C\u2224\u2226\u2241\u2244\u2247\u2249\u2260\u2262\u226D-\u2271\u2274\u2275\u2278\u2279\u2280\u2281\u2284\u2285\u2288\u2289\u22AC-\u22AF\u22E0-\u22E3\u22EA-\u22ED\u2ADC\u304C\u304E\u3050\u3052\u3054\u3056\u3058\u305A\u305C\u305E\u3060\u3062\u3065\u3067\u3069\u3070\u3071\u3073\u3074\u3076\u3077\u3079\u307A\u307C\u307D\u3094\u309E\u30AC\u30AE\u30B0\u30B2\u30B4\u30B6\u30B8\u30BA\u30BC\u30BE\u30C0\u30C2\u30C5\u30C7\u30C9\u30D0\u30D1\u30D3\u30D4\u30D6\u30D7\u30D9\u30DA\u30DC\u30DD\u30F4\u30F7-\u30FA\u30FE\uAC00-\uD7A3\uFB1D\uFB1F\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4E]|\uD801[\uDDC9\uDDE4]|\uD804[\uDC9A\uDC9C\uDCAB\uDD2E\uDD2F\uDF4B\uDF4C\uDF83\uDF85\uDF8E\uDF91\uDFC5\uDFC7\uDFC8]|\uD805[\uDCBB\uDCBC\uDCBE\uDDBA\uDDBB]|\uD806\uDD38|\uD818[\uDD21-\uDD28]|\uD81B[\uDD68-\uDD6A]|\uD834[\uDD5E-\uDD64\uDDBB-\uDDC0]/;
|
|
1581
1569
|
|
|
1582
1570
|
/* eslint-disable new-cap -- ToString is how it is defined */
|
|
1583
1571
|
|
|
@@ -6223,8 +6211,8 @@ class Typeson {
|
|
|
6223
6211
|
y = {},
|
|
6224
6212
|
p = [],
|
|
6225
6213
|
f = [],
|
|
6226
|
-
|
|
6227
|
-
|
|
6214
|
+
m = [],
|
|
6215
|
+
d = !("cyclic" in c) || c.cyclic,
|
|
6228
6216
|
{
|
|
6229
6217
|
encapsulateObserver: h,
|
|
6230
6218
|
encapsulateError: b
|
|
@@ -6266,18 +6254,18 @@ class Typeson {
|
|
|
6266
6254
|
e[t] = n[r];
|
|
6267
6255
|
});
|
|
6268
6256
|
},
|
|
6269
|
-
_encapsulate = (e, t, a, i, l,
|
|
6257
|
+
_encapsulate = (e, t, a, i, l, m, d) => {
|
|
6270
6258
|
let g,
|
|
6271
6259
|
v = {};
|
|
6272
6260
|
const w = h ? function (r) {
|
|
6273
|
-
const n =
|
|
6261
|
+
const n = d ?? i.type ?? getJSONType(t);
|
|
6274
6262
|
h(Object.assign(r ?? v, {
|
|
6275
6263
|
keypath: e,
|
|
6276
6264
|
value: t,
|
|
6277
6265
|
cyclic: a,
|
|
6278
6266
|
stateObj: i,
|
|
6279
6267
|
promisesData: l,
|
|
6280
|
-
resolvingTypesonPromise:
|
|
6268
|
+
resolvingTypesonPromise: m,
|
|
6281
6269
|
awaitingTypesonPromise: hasConstructorOf(t, TypesonPromise)
|
|
6282
6270
|
}, {
|
|
6283
6271
|
type: n
|
|
@@ -6286,11 +6274,11 @@ class Typeson {
|
|
|
6286
6274
|
getEncapsulatedValue = (e, t, r) => {
|
|
6287
6275
|
try {
|
|
6288
6276
|
return {
|
|
6289
|
-
value: _encapsulate(e, t[r], Boolean(a), i, l,
|
|
6277
|
+
value: _encapsulate(e, t[r], Boolean(a), i, l, m)
|
|
6290
6278
|
};
|
|
6291
6279
|
} catch (n) {
|
|
6292
6280
|
if (!b) throw n;
|
|
6293
|
-
const o =
|
|
6281
|
+
const o = d ?? i.type ?? getJSONType(t),
|
|
6294
6282
|
a = b({
|
|
6295
6283
|
keypath: e,
|
|
6296
6284
|
error: n,
|
|
@@ -6308,7 +6296,7 @@ class Typeson {
|
|
|
6308
6296
|
throw n;
|
|
6309
6297
|
}
|
|
6310
6298
|
};
|
|
6311
|
-
if (["string", "boolean", "number", "undefined"].includes(typeof t)) return void 0 === t || t === 1 / 0 || 0 === t || t === -1 / 0 || Number.isNaN(t) ? (g = i.replaced ? t : replace(e, t, i, l, false,
|
|
6299
|
+
if (["string", "boolean", "number", "undefined"].includes(typeof t)) return void 0 === t || t === 1 / 0 || 0 === t || t === -1 / 0 || Number.isNaN(t) ? (g = i.replaced ? t : replace(e, t, i, l, false, m, w), g !== t && (v = {
|
|
6312
6300
|
replaced: g
|
|
6313
6301
|
})) : g = t, w && w(), g;
|
|
6314
6302
|
if (null === t) return w && w(), t;
|
|
@@ -6385,13 +6373,13 @@ class Typeson {
|
|
|
6385
6373
|
o.push(u);
|
|
6386
6374
|
const p = o.length - 1,
|
|
6387
6375
|
f = `$symbolKeys.${escapeKeyPathComponent(e)}.${String(p)}.value`,
|
|
6388
|
-
|
|
6376
|
+
m = {
|
|
6389
6377
|
value: t[r]
|
|
6390
6378
|
};
|
|
6391
6379
|
_adaptBuiltinStateObjectProperties(i, {
|
|
6392
6380
|
ownKeys: true
|
|
6393
6381
|
}, () => {
|
|
6394
|
-
const e = getEncapsulatedValue(f,
|
|
6382
|
+
const e = getEncapsulatedValue(f, m, "value"),
|
|
6395
6383
|
t = e && e.value;
|
|
6396
6384
|
hasConstructorOf(t, TypesonPromise) ? l.push([f, t, Boolean(a), i, u, "value", i.type]) : e && (void 0 !== t || "substitute" in e) && setOwnEnumerable(u, "value", t);
|
|
6397
6385
|
});
|
|
@@ -6407,7 +6395,7 @@ class Typeson {
|
|
|
6407
6395
|
_adaptBuiltinStateObjectProperties(i, {
|
|
6408
6396
|
ownKeys: false
|
|
6409
6397
|
}, () => {
|
|
6410
|
-
const e = _encapsulate(r, void 0, Boolean(a), i, l,
|
|
6398
|
+
const e = _encapsulate(r, void 0, Boolean(a), i, l, m);
|
|
6411
6399
|
hasConstructorOf(e, TypesonPromise) ? l.push([r, e, Boolean(a), i, S, n, i.type]) : void 0 !== e && setOwnEnumerable(S, n, e);
|
|
6412
6400
|
});
|
|
6413
6401
|
}
|
|
@@ -6436,7 +6424,7 @@ class Typeson {
|
|
|
6436
6424
|
replaced: true
|
|
6437
6425
|
}), (l || !o.replaceAsync) && !o.replace) return s && s({
|
|
6438
6426
|
typeDetected: true
|
|
6439
|
-
}), _encapsulate(e, t,
|
|
6427
|
+
}), _encapsulate(e, t, d && "readonly", r, n, a, i);
|
|
6440
6428
|
let c;
|
|
6441
6429
|
if (s && s({
|
|
6442
6430
|
replacing: true
|
|
@@ -6444,15 +6432,15 @@ class Typeson {
|
|
|
6444
6432
|
if (void 0 === o.replace) throw new TypeError("Missing replacer");
|
|
6445
6433
|
c = o.replace(t, r);
|
|
6446
6434
|
} else c = o.replaceAsync(t, r);
|
|
6447
|
-
return _encapsulate(e, c,
|
|
6435
|
+
return _encapsulate(e, c, d && "readonly", r, n, a, i);
|
|
6448
6436
|
}
|
|
6449
6437
|
}
|
|
6450
6438
|
return t;
|
|
6451
6439
|
},
|
|
6452
|
-
g = _encapsulate("", e,
|
|
6453
|
-
if (
|
|
6440
|
+
g = _encapsulate("", e, d, t ?? {}, m);
|
|
6441
|
+
if (m.length) return l && c.throwOnBadSyncType ? (() => {
|
|
6454
6442
|
throw new TypeError("Sync method requested but async result obtained");
|
|
6455
|
-
})() : Promise.resolve(checkPromises(g,
|
|
6443
|
+
})() : Promise.resolve(checkPromises(g, m)).then(finish);
|
|
6456
6444
|
if (!l && c.throwOnBadSyncType) throw new TypeError("Async method requested but sync result obtained");
|
|
6457
6445
|
return l && c.stringification ? [finish(g)] : l ? finish(g) : Promise.resolve(finish(g));
|
|
6458
6446
|
}
|
|
@@ -6496,8 +6484,8 @@ class Typeson {
|
|
|
6496
6484
|
const y = [],
|
|
6497
6485
|
p = Object.create(null),
|
|
6498
6486
|
f = {};
|
|
6499
|
-
let
|
|
6500
|
-
c.$ && isPlainObject(c.$) && (e = e.$, c = c.$,
|
|
6487
|
+
let m = true;
|
|
6488
|
+
c.$ && isPlainObject(c.$) && (e = e.$, c = c.$, m = false, u = false, void 0 !== l && isObject(e) && !n(e, "$symbolKeys") && (e.$symbolKeys = l, u = true));
|
|
6501
6489
|
const executeReviver = (e, t) => {
|
|
6502
6490
|
const [r] = this.revivers[e] ?? [];
|
|
6503
6491
|
if (!r) throw new Error("Unregistered type: " + e);
|
|
@@ -6506,7 +6494,7 @@ class Typeson {
|
|
|
6506
6494
|
if (r.revive) return r.revive(t, f);
|
|
6507
6495
|
throw new Error("Missing reviver");
|
|
6508
6496
|
},
|
|
6509
|
-
|
|
6497
|
+
d = [];
|
|
6510
6498
|
function checkUndefined(e) {
|
|
6511
6499
|
return hasConstructorOf(e, Undefined) ? void 0 : e;
|
|
6512
6500
|
}
|
|
@@ -6570,8 +6558,8 @@ class Typeson {
|
|
|
6570
6558
|
})();
|
|
6571
6559
|
let b;
|
|
6572
6560
|
return hasConstructorOf(h, TypesonPromise) ? b = h.then(() => e) : (b = function _revive(e, t, a, s, l) {
|
|
6573
|
-
if (
|
|
6574
|
-
const u =
|
|
6561
|
+
if (m && "$types" === e) return;
|
|
6562
|
+
const u = d.length,
|
|
6575
6563
|
f = n(c, e) ? c[e] : void 0,
|
|
6576
6564
|
h = o(t);
|
|
6577
6565
|
if (h || isPlainObject(t)) {
|
|
@@ -6579,7 +6567,7 @@ class Typeson {
|
|
|
6579
6567
|
for (r(t).forEach(r => {
|
|
6580
6568
|
const n = _revive(e + (e ? "." : "") + escapeKeyPathComponent(r), t[r], a ?? o, o, r),
|
|
6581
6569
|
set = e => (hasConstructorOf(e, Undefined) ? setOwnEnumerable(o, r, void 0) : void 0 !== e && setOwnEnumerable(o, r, e), e);
|
|
6582
|
-
hasConstructorOf(n, TypesonPromise) ?
|
|
6570
|
+
hasConstructorOf(n, TypesonPromise) ? d.push(n.then(e => set(e))) : set(n);
|
|
6583
6571
|
}), t = o; y.length;) {
|
|
6584
6572
|
const [[e, t, r, o]] = y,
|
|
6585
6573
|
a = n(p, t),
|
|
@@ -6603,8 +6591,8 @@ class Typeson {
|
|
|
6603
6591
|
}, t);
|
|
6604
6592
|
return hasConstructorOf(r, TypesonPromise) ? r.then(t => (p[e] = t, t)) : (p[e] = r, r);
|
|
6605
6593
|
};
|
|
6606
|
-
return !i &&
|
|
6607
|
-
}("", e, null),
|
|
6594
|
+
return !i && d.length > u ? TypesonPromise.all(d.slice(u)).then(() => applyType(t)) : applyType(t);
|
|
6595
|
+
}("", e, null), d.length && (b = TypesonPromise.resolve(b).then(e => TypesonPromise.all([e, ...d])).then(([e]) => e))), l && (isThenable(b) ? b = b.then(e => (reHomeSymbolKeys(e), e)) : reHomeSymbolKeys(b)), isThenable(b) ? i && a.throwOnBadSyncType ? (() => {
|
|
6608
6596
|
throw new TypeError("Sync method requested but async result obtained");
|
|
6609
6597
|
})() : hasConstructorOf(b, TypesonPromise) ? b.p.then(checkUndefined) : b : !i && a.throwOnBadSyncType ? (() => {
|
|
6610
6598
|
throw new TypeError("Async method requested but sync result obtained");
|
|
@@ -6719,7 +6707,7 @@ const f = {
|
|
|
6719
6707
|
}
|
|
6720
6708
|
}
|
|
6721
6709
|
},
|
|
6722
|
-
|
|
6710
|
+
m = {
|
|
6723
6711
|
audiodata: {
|
|
6724
6712
|
test: e => "AudioData" === toStringTag(e),
|
|
6725
6713
|
replace(e) {
|
|
@@ -6773,7 +6761,7 @@ const f = {
|
|
|
6773
6761
|
})
|
|
6774
6762
|
}
|
|
6775
6763
|
},
|
|
6776
|
-
|
|
6764
|
+
d = {
|
|
6777
6765
|
bigintObject: {
|
|
6778
6766
|
test: e => "object" == typeof e && hasConstructorOf(e, BigInt),
|
|
6779
6767
|
replace: String,
|
|
@@ -7070,7 +7058,7 @@ const x = {
|
|
|
7070
7058
|
}
|
|
7071
7059
|
}
|
|
7072
7060
|
},
|
|
7073
|
-
|
|
7061
|
+
I = {
|
|
7074
7062
|
error: {
|
|
7075
7063
|
test: e => "Error" === toStringTag(e),
|
|
7076
7064
|
replace: ({
|
|
@@ -7096,9 +7084,9 @@ const x = {
|
|
|
7096
7084
|
}
|
|
7097
7085
|
}
|
|
7098
7086
|
},
|
|
7099
|
-
|
|
7087
|
+
B = {};
|
|
7100
7088
|
function create$2(e) {
|
|
7101
|
-
|
|
7089
|
+
B[e.name.toLowerCase()] = {
|
|
7102
7090
|
test: t => hasConstructorOf(t, e),
|
|
7103
7091
|
replace: ({
|
|
7104
7092
|
name: e,
|
|
@@ -7126,7 +7114,7 @@ function create$2(e) {
|
|
|
7126
7114
|
};
|
|
7127
7115
|
}
|
|
7128
7116
|
[TypeError, RangeError, SyntaxError, ReferenceError, EvalError, URIError].forEach(e => create$2(e)), "undefined" != typeof AggregateError && create$2(AggregateError), "function" == typeof InternalError && create$2(InternalError);
|
|
7129
|
-
const
|
|
7117
|
+
const C = {
|
|
7130
7118
|
file: {
|
|
7131
7119
|
test: e => "File" === toStringTag(e),
|
|
7132
7120
|
replace(e) {
|
|
@@ -7164,7 +7152,7 @@ const I = {
|
|
|
7164
7152
|
}
|
|
7165
7153
|
},
|
|
7166
7154
|
U = {
|
|
7167
|
-
file:
|
|
7155
|
+
file: C.file,
|
|
7168
7156
|
filelist: {
|
|
7169
7157
|
test: e => "FileList" === toStringTag(e),
|
|
7170
7158
|
replace(e) {
|
|
@@ -7190,7 +7178,7 @@ const I = {
|
|
|
7190
7178
|
},
|
|
7191
7179
|
k = {
|
|
7192
7180
|
imagebitmap: {
|
|
7193
|
-
test: e => "ImageBitmap" === toStringTag(e)
|
|
7181
|
+
test: e => "ImageBitmap" === toStringTag(e),
|
|
7194
7182
|
replace(e) {
|
|
7195
7183
|
const t = document.createElement("canvas");
|
|
7196
7184
|
return t.getContext("2d").drawImage(e, 0, 0), {
|
|
@@ -7204,7 +7192,9 @@ const I = {
|
|
|
7204
7192
|
r = t.getContext("2d"),
|
|
7205
7193
|
n = document.createElement("img");
|
|
7206
7194
|
return n.addEventListener("load", function () {
|
|
7207
|
-
|
|
7195
|
+
try {
|
|
7196
|
+
r.drawImage(n, 0, 0);
|
|
7197
|
+
} catch {}
|
|
7208
7198
|
}), n.src = e.dataURL, "undefined" == typeof OffscreenCanvas ? t : t.transferToImageBitmap();
|
|
7209
7199
|
},
|
|
7210
7200
|
reviveAsync(e) {
|
|
@@ -7223,7 +7213,7 @@ const I = {
|
|
|
7223
7213
|
}
|
|
7224
7214
|
}
|
|
7225
7215
|
},
|
|
7226
|
-
|
|
7216
|
+
R = {
|
|
7227
7217
|
imagedata: {
|
|
7228
7218
|
test: e => "ImageData" === toStringTag(e),
|
|
7229
7219
|
replace(e) {
|
|
@@ -7254,14 +7244,14 @@ const I = {
|
|
|
7254
7244
|
}
|
|
7255
7245
|
}
|
|
7256
7246
|
},
|
|
7257
|
-
|
|
7247
|
+
M = {
|
|
7258
7248
|
infinity: {
|
|
7259
7249
|
test: e => e === 1 / 0,
|
|
7260
7250
|
replace: () => "Infinity",
|
|
7261
7251
|
revive: () => 1 / 0
|
|
7262
7252
|
}
|
|
7263
7253
|
},
|
|
7264
|
-
|
|
7254
|
+
L = {
|
|
7265
7255
|
map: {
|
|
7266
7256
|
test: e => "Map" === toStringTag(e),
|
|
7267
7257
|
replace: e => e.entries().toArray(),
|
|
@@ -7282,7 +7272,7 @@ const I = {
|
|
|
7282
7272
|
revive: () => -1 / 0
|
|
7283
7273
|
}
|
|
7284
7274
|
},
|
|
7285
|
-
|
|
7275
|
+
W = {
|
|
7286
7276
|
negativeZero: {
|
|
7287
7277
|
test: e => Object.is(e, -0),
|
|
7288
7278
|
replace: () => 0,
|
|
@@ -7552,13 +7542,13 @@ const te = {
|
|
|
7552
7542
|
revive() {}
|
|
7553
7543
|
}
|
|
7554
7544
|
}],
|
|
7555
|
-
se = [K,
|
|
7556
|
-
ye = [re, te, ae, z, se, A, H,
|
|
7545
|
+
se = [K, M, $, W],
|
|
7546
|
+
ye = [re, te, ae, z, se, A, H, R, k, C, U, b, I, B].concat("function" == typeof Map ? L : [], "function" == typeof Set ? X : [], "function" == typeof ArrayBuffer ? f : [], "function" == typeof Uint8Array ? ee : [], "function" == typeof DataView ? O : [], "undefined" != typeof crypto ? w : [], "undefined" != typeof BigInt ? [h, d] : [], "undefined" != typeof DOMException ? T : [], "undefined" != typeof QuotaExceededError ? J : [], "undefined" != typeof WebTransportError ? oe : [], "undefined" != typeof DOMRect ? N : [], "undefined" != typeof DOMPoint ? P : [], "undefined" != typeof DOMQuad ? E : [], "undefined" != typeof DOMMatrix ? S : [], "undefined" != typeof AudioData ? m : [], "undefined" != typeof EncodedAudioChunk ? x : [], "undefined" != typeof EncodedVideoChunk ? j : [], "undefined" != typeof VideoFrame ? ne : []);
|
|
7557
7547
|
const pe = ye.concat({
|
|
7558
7548
|
checkDataCloneException: {
|
|
7559
7549
|
test(e) {
|
|
7560
7550
|
const t = {}.toString.call(e).slice(8, -1);
|
|
7561
|
-
if (["symbol", "function"].includes(typeof e) || ["Arguments", "Module", "Promise", "WeakMap", "WeakSet", "Event", "MessageChannel", "MessagePort"].includes(t) || e && e.constructor && ["MessageChannel", "MessagePort"].includes(e.constructor.name) || ["ArrayBuffer", "DataView", "Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array", "BigInt64Array", "BigUint64Array"].includes(t) && function isBufferDetached(e) {
|
|
7551
|
+
if (["symbol", "function"].includes(typeof e) || ["Arguments", "Module", "Promise", "WeakMap", "WeakSet", "WeakRef", "FinalizationRegistry", "Generator", "AsyncGenerator", "String Iterator", "Array Iterator", "Map Iterator", "Set Iterator", "RegExp String Iterator", "Intl.Collator", "Intl.DateTimeFormat", "Intl.DisplayNames", "Intl.DurationFormat", "Intl.ListFormat", "Intl.Locale", "Intl.NumberFormat", "Intl.PluralRules", "Intl.RelativeTimeFormat", "Intl.Segmenter", "Event", "MessageChannel", "MessagePort", "ReadableStream", "WritableStream", "TransformStream", "OffscreenCanvas"].includes(t) || e && e.constructor && ["MessageChannel", "MessagePort"].includes(e.constructor.name) || ["ArrayBuffer", "DataView", "Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array", "BigInt64Array", "BigUint64Array"].includes(t) && function isBufferDetached(e) {
|
|
7562
7552
|
if ("boolean" == typeof e.detached) return e.detached;
|
|
7563
7553
|
if (0 !== e.byteLength) return false;
|
|
7564
7554
|
try {
|