indexeddbshim 11.0.0-beta.0 → 11.0.0
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 +4 -4
- package/dist/indexeddbshim-Key.js.map +1 -1
- package/dist/indexeddbshim-Key.min.js +2 -2
- package/dist/indexeddbshim-Key.min.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs +71 -19
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +75 -23
- package/dist/indexeddbshim-UnicodeIdentifiers.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js +2 -2
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js.map +1 -1
- package/dist/indexeddbshim-node.cjs +71 -19
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +75 -23
- package/dist/indexeddbshim-noninvasive.js.map +1 -1
- package/dist/indexeddbshim-noninvasive.min.js +2 -2
- package/dist/indexeddbshim-noninvasive.min.js.map +1 -1
- package/dist/indexeddbshim.js +75 -23
- package/dist/indexeddbshim.js.map +1 -1
- package/dist/indexeddbshim.min.js +2 -2
- package/dist/indexeddbshim.min.js.map +1 -1
- package/package.json +27 -27
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! indexeddbshim -
|
|
1
|
+
/*! indexeddbshim - v11.0.0 - 4/9/2023 */
|
|
2
2
|
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -4131,14 +4131,14 @@ var u = function () {
|
|
|
4131
4131
|
!0 === a && (y.push(r), p.push(t));
|
|
4132
4132
|
}
|
|
4133
4133
|
var _,
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
j = (
|
|
4134
|
+
A = isPlainObject(r),
|
|
4135
|
+
w = i(r),
|
|
4136
|
+
j = (A || w) && (!l.plainObjectReplacers.length || s.replaced) || s.iterateIn ? r : replace(t, r, s, u, A || w, null, O);
|
|
4137
4137
|
if (j !== r ? (h = j, g = {
|
|
4138
4138
|
replaced: j
|
|
4139
|
-
}) : "" === t && hasConstructorOf(r, e) ? (u.push([t, r, a, s, void 0, void 0, s.type]), h = r) :
|
|
4139
|
+
}) : "" === t && hasConstructorOf(r, e) ? (u.push([t, r, a, s, void 0, void 0, s.type]), h = r) : w && "object" !== s.iterateIn || "array" === s.iterateIn ? (_ = new Array(r.length), g = {
|
|
4140
4140
|
clone: _
|
|
4141
|
-
}) : (["function", "symbol"].includes(_typeof(r)) || "toJSON" in r || hasConstructorOf(r, e) || hasConstructorOf(r, Promise) || hasConstructorOf(r, ArrayBuffer)) && !
|
|
4141
|
+
}) : (["function", "symbol"].includes(_typeof(r)) || "toJSON" in r || hasConstructorOf(r, e) || hasConstructorOf(r, Promise) || hasConstructorOf(r, ArrayBuffer)) && !A && "object" !== s.iterateIn ? h = r : (_ = {}, s.addLength && (_.length = r.length), g = {
|
|
4142
4142
|
clone: _
|
|
4143
4143
|
}), O && O(), n.iterateNone) return _ || h;
|
|
4144
4144
|
if (!_) return h;
|
|
@@ -4171,7 +4171,7 @@ var u = function () {
|
|
|
4171
4171
|
end: !0
|
|
4172
4172
|
});
|
|
4173
4173
|
if (s.iterateUnsetNumeric) {
|
|
4174
|
-
for (var
|
|
4174
|
+
for (var N = r.length, P = function _loop2(n) {
|
|
4175
4175
|
if (!(n in r)) {
|
|
4176
4176
|
var o = t + (t ? "." : "") + n;
|
|
4177
4177
|
_adaptBuiltinStateObjectProperties(s, {
|
|
@@ -4181,7 +4181,7 @@ var u = function () {
|
|
|
4181
4181
|
hasConstructorOf(t, e) ? u.push([o, t, Boolean(a), s, _, n, s.type]) : void 0 !== t && (_[n] = t);
|
|
4182
4182
|
});
|
|
4183
4183
|
}
|
|
4184
|
-
},
|
|
4184
|
+
}, E = 0; E < N; E++) P(E);
|
|
4185
4185
|
O && O({
|
|
4186
4186
|
endIterateUnsetNumeric: !0,
|
|
4187
4187
|
end: !0
|
|
@@ -4502,7 +4502,7 @@ const O = {
|
|
|
4502
4502
|
})
|
|
4503
4503
|
}
|
|
4504
4504
|
};
|
|
4505
|
-
const
|
|
4505
|
+
const A = {
|
|
4506
4506
|
cryptokey: {
|
|
4507
4507
|
test: e => "CryptoKey" === toStringTag(e) && e.extractable,
|
|
4508
4508
|
replaceAsync: t => new e( /*#__PURE__*/function () {
|
|
@@ -4530,7 +4530,7 @@ const w = {
|
|
|
4530
4530
|
}) => crypto.subtle.importKey("jwk", e, t, !0, r)
|
|
4531
4531
|
}
|
|
4532
4532
|
},
|
|
4533
|
-
|
|
4533
|
+
w = {
|
|
4534
4534
|
dataview: {
|
|
4535
4535
|
test: e => "DataView" === toStringTag(e),
|
|
4536
4536
|
replace({
|
|
@@ -4573,16 +4573,68 @@ const w = {
|
|
|
4573
4573
|
revive: e => "NaN" === e ? new Date(Number.NaN) : new Date(e)
|
|
4574
4574
|
}
|
|
4575
4575
|
},
|
|
4576
|
+
T = {
|
|
4577
|
+
error: {
|
|
4578
|
+
test: e => "Error" === toStringTag(e),
|
|
4579
|
+
replace: ({
|
|
4580
|
+
name: e,
|
|
4581
|
+
message: t,
|
|
4582
|
+
cause: r,
|
|
4583
|
+
stack: n,
|
|
4584
|
+
fileName: a,
|
|
4585
|
+
lineNumber: o,
|
|
4586
|
+
columnNumber: i
|
|
4587
|
+
}) => ({
|
|
4588
|
+
name: e,
|
|
4589
|
+
message: t,
|
|
4590
|
+
cause: r,
|
|
4591
|
+
stack: n,
|
|
4592
|
+
fileName: a,
|
|
4593
|
+
lineNumber: o,
|
|
4594
|
+
columnNumber: i
|
|
4595
|
+
}),
|
|
4596
|
+
revive(e) {
|
|
4597
|
+
const t = new Error(e.message);
|
|
4598
|
+
return ["name", "cause", "stack", "fileName", "lineNumber", "columnNumber"].forEach(r => {
|
|
4599
|
+
t[r] = e[r];
|
|
4600
|
+
}), t;
|
|
4601
|
+
}
|
|
4602
|
+
}
|
|
4603
|
+
},
|
|
4576
4604
|
I = {};
|
|
4577
4605
|
function create$2(e) {
|
|
4578
4606
|
I[e.name.toLowerCase()] = {
|
|
4579
4607
|
test: t => hasConstructorOf(t, e),
|
|
4580
|
-
replace:
|
|
4581
|
-
|
|
4608
|
+
replace: ({
|
|
4609
|
+
name: e,
|
|
4610
|
+
message: t,
|
|
4611
|
+
cause: r,
|
|
4612
|
+
stack: n,
|
|
4613
|
+
fileName: a,
|
|
4614
|
+
lineNumber: o,
|
|
4615
|
+
columnNumber: i,
|
|
4616
|
+
errors: c
|
|
4617
|
+
}) => ({
|
|
4618
|
+
name: e,
|
|
4619
|
+
message: t,
|
|
4620
|
+
cause: r,
|
|
4621
|
+
stack: n,
|
|
4622
|
+
fileName: a,
|
|
4623
|
+
lineNumber: o,
|
|
4624
|
+
columnNumber: i,
|
|
4625
|
+
errors: c
|
|
4626
|
+
}),
|
|
4627
|
+
revive(t) {
|
|
4628
|
+
const r = "undefined" != typeof AggregateError && e === AggregateError,
|
|
4629
|
+
n = r ? new e(t.errors, t.message) : new e(t.message);
|
|
4630
|
+
return ["name", "cause", "stack", "fileName", "lineNumber", "columnNumber"].forEach(e => {
|
|
4631
|
+
n[e] = t[e];
|
|
4632
|
+
}), r && (n.errors = t.errors), n;
|
|
4633
|
+
}
|
|
4582
4634
|
};
|
|
4583
4635
|
}
|
|
4584
|
-
[TypeError, RangeError, SyntaxError, ReferenceError, EvalError, URIError].forEach(e => create$2(e)), "function" == typeof InternalError && create$2(InternalError);
|
|
4585
|
-
const
|
|
4636
|
+
[TypeError, RangeError, SyntaxError, ReferenceError, EvalError, URIError].forEach(e => create$2(e)), "undefined" != typeof AggregateError && create$2(AggregateError), "function" == typeof InternalError && create$2(InternalError);
|
|
4637
|
+
const N = {
|
|
4586
4638
|
file: {
|
|
4587
4639
|
test: e => "File" === toStringTag(e),
|
|
4588
4640
|
replace(e) {
|
|
@@ -4619,8 +4671,8 @@ const P = {
|
|
|
4619
4671
|
})
|
|
4620
4672
|
}
|
|
4621
4673
|
},
|
|
4622
|
-
|
|
4623
|
-
file:
|
|
4674
|
+
P = {
|
|
4675
|
+
file: N.file,
|
|
4624
4676
|
filelist: {
|
|
4625
4677
|
test: e => "FileList" === toStringTag(e),
|
|
4626
4678
|
replace(e) {
|
|
@@ -4644,7 +4696,7 @@ const P = {
|
|
|
4644
4696
|
}
|
|
4645
4697
|
}
|
|
4646
4698
|
},
|
|
4647
|
-
|
|
4699
|
+
E = {
|
|
4648
4700
|
imagebitmap: {
|
|
4649
4701
|
test: e => "ImageBitmap" === toStringTag(e) || e && e.dataset && "ImageBitmap" === e.dataset.toStringTag,
|
|
4650
4702
|
replace(e) {
|
|
@@ -4669,7 +4721,7 @@ const P = {
|
|
|
4669
4721
|
}
|
|
4670
4722
|
}
|
|
4671
4723
|
},
|
|
4672
|
-
|
|
4724
|
+
C = {
|
|
4673
4725
|
imagedata: {
|
|
4674
4726
|
test: e => "ImageData" === toStringTag(e),
|
|
4675
4727
|
replace: e => ({
|
|
@@ -4843,7 +4895,7 @@ const W = {
|
|
|
4843
4895
|
}
|
|
4844
4896
|
}],
|
|
4845
4897
|
X = [K, x, L],
|
|
4846
|
-
te = [G, W, H, D, X, j, M, E,
|
|
4898
|
+
te = [G, W, H, D, X, j, M, C, E, N, P, O, T, I].concat("function" == typeof Map ? U : [], "function" == typeof Set ? J : [], "function" == typeof ArrayBuffer ? h : [], "function" == typeof Uint8Array ? q : [], "function" == typeof DataView ? w : [], "undefined" != typeof Intl ? B : [], "undefined" != typeof crypto ? A : [], "undefined" != typeof BigInt ? [m, g] : []);
|
|
4847
4899
|
var re = te.concat({
|
|
4848
4900
|
checkDataCloneException: {
|
|
4849
4901
|
test(e) {
|