typeson-registry 8.0.0 → 9.1.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/README.md +6 -0
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +153 -36
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.umd.cjs +421 -281
- package/dist/index.umd.cjs.map +1 -1
- package/dist/index.umd.min.cjs +1 -1
- package/dist/index.umd.min.cjs.map +1 -1
- package/dist/presets/array-nonindex-keys.umd.cjs +1 -1
- package/dist/presets/array-nonindex-keys.umd.cjs.map +1 -1
- package/dist/presets/builtin.umd.cjs +1 -1
- package/dist/presets/builtin.umd.cjs.map +1 -1
- package/dist/presets/postmessage.umd.cjs.map +1 -1
- package/dist/presets/socketio.umd.cjs +1 -1
- package/dist/presets/socketio.umd.cjs.map +1 -1
- package/dist/presets/sparse-undefined.umd.cjs +1 -1
- package/dist/presets/sparse-undefined.umd.cjs.map +1 -1
- package/dist/presets/special-numbers.umd.cjs +1 -1
- package/dist/presets/special-numbers.umd.cjs.map +1 -1
- package/dist/presets/structured-cloning-throwing.d.ts.map +1 -1
- package/dist/presets/structured-cloning-throwing.umd.cjs +1 -1
- package/dist/presets/structured-cloning-throwing.umd.cjs.map +1 -1
- package/dist/presets/structured-cloning.d.ts.map +1 -1
- package/dist/presets/structured-cloning.umd.cjs +1 -1
- package/dist/presets/structured-cloning.umd.cjs.map +1 -1
- package/dist/presets/undef.umd.cjs +1 -1
- package/dist/presets/undef.umd.cjs.map +1 -1
- package/dist/presets/universal.umd.cjs +1 -1
- package/dist/presets/universal.umd.cjs.map +1 -1
- package/dist/types/bigint-object.d.ts.map +1 -1
- package/dist/types/bigint-object.umd.cjs.map +1 -1
- package/dist/types/bigint.d.ts.map +1 -1
- package/dist/types/bigint.umd.cjs.map +1 -1
- package/dist/types/blob.umd.cjs.map +1 -1
- package/dist/types/cloneable.umd.cjs.map +1 -1
- package/dist/types/cryptokey.umd.cjs +1 -1
- package/dist/types/cryptokey.umd.cjs.map +1 -1
- package/dist/types/domexception.d.ts +6 -0
- package/dist/types/domexception.d.ts.map +1 -0
- package/dist/types/domexception.umd.cjs +2 -0
- package/dist/types/domexception.umd.cjs.map +1 -0
- package/dist/types/dommatrix.d.ts +6 -0
- package/dist/types/dommatrix.d.ts.map +1 -0
- package/dist/types/dommatrix.umd.cjs +2 -0
- package/dist/types/dommatrix.umd.cjs.map +1 -0
- package/dist/types/dompoint.d.ts +6 -0
- package/dist/types/dompoint.d.ts.map +1 -0
- package/dist/types/dompoint.umd.cjs +2 -0
- package/dist/types/dompoint.umd.cjs.map +1 -0
- package/dist/types/domrect.d.ts +6 -0
- package/dist/types/domrect.d.ts.map +1 -0
- package/dist/types/domrect.umd.cjs +2 -0
- package/dist/types/domrect.umd.cjs.map +1 -0
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.umd.cjs.map +1 -1
- package/dist/types/file.umd.cjs.map +1 -1
- package/dist/types/filelist.umd.cjs.map +1 -1
- package/dist/types/imagebitmap.umd.cjs +1 -1
- package/dist/types/imagebitmap.umd.cjs.map +1 -1
- package/dist/types/infinity.umd.cjs +1 -1
- package/dist/types/infinity.umd.cjs.map +1 -1
- package/dist/types/nan.umd.cjs +1 -1
- package/dist/types/nan.umd.cjs.map +1 -1
- package/dist/types/negative-infinity.umd.cjs +1 -1
- package/dist/types/negative-infinity.umd.cjs.map +1 -1
- package/dist/types/negative-zero.umd.cjs +1 -1
- package/dist/types/negative-zero.umd.cjs.map +1 -1
- package/dist/types/nonbuiltin-ignore.umd.cjs +1 -1
- package/dist/types/nonbuiltin-ignore.umd.cjs.map +1 -1
- package/dist/types/resurrectable.umd.cjs.map +1 -1
- package/dist/types/undef.umd.cjs +1 -1
- package/dist/types/undef.umd.cjs.map +1 -1
- package/dist/types/user-object.umd.cjs +1 -1
- package/dist/types/user-object.umd.cjs.map +1 -1
- package/dist/utils/generateUUID.d.ts.map +1 -1
- package/package.json +46 -45
- package/polyfills/createObjectURL.js +2 -2
- package/polyfills/createObjectURL.umd.cjs +1 -1
- package/polyfills/createObjectURL.umd.cjs.map +1 -1
- package/utils/generateUUID.js +3 -5
- package/utils/stringArrayBuffer.js +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -4,358 +4,363 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.TypesonNamespace = {}));
|
|
5
5
|
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
|
-
function _iterableToArrayLimit(
|
|
8
|
-
var
|
|
9
|
-
if (null !=
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
function _iterableToArrayLimit(r, l) {
|
|
8
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
9
|
+
if (null != t) {
|
|
10
|
+
var e,
|
|
11
|
+
n,
|
|
12
|
+
i,
|
|
13
|
+
u,
|
|
14
|
+
a = [],
|
|
15
|
+
f = !0,
|
|
16
|
+
o = !1;
|
|
17
17
|
try {
|
|
18
|
-
if (
|
|
19
|
-
if (Object(
|
|
20
|
-
|
|
21
|
-
} else for (; !(
|
|
22
|
-
} catch (
|
|
23
|
-
|
|
18
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
19
|
+
if (Object(t) !== t) return;
|
|
20
|
+
f = !1;
|
|
21
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
22
|
+
} catch (r) {
|
|
23
|
+
o = !0, n = r;
|
|
24
24
|
} finally {
|
|
25
25
|
try {
|
|
26
|
-
if (!
|
|
26
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
27
27
|
} finally {
|
|
28
|
-
if (
|
|
28
|
+
if (o) throw n;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
return
|
|
31
|
+
return a;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
function ownKeys$1(
|
|
35
|
-
var
|
|
34
|
+
function ownKeys$1(e, r) {
|
|
35
|
+
var t = Object.keys(e);
|
|
36
36
|
if (Object.getOwnPropertySymbols) {
|
|
37
|
-
var
|
|
38
|
-
|
|
39
|
-
return Object.getOwnPropertyDescriptor(
|
|
40
|
-
})),
|
|
37
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
38
|
+
r && (o = o.filter(function (r) {
|
|
39
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
40
|
+
})), t.push.apply(t, o);
|
|
41
41
|
}
|
|
42
|
-
return
|
|
42
|
+
return t;
|
|
43
43
|
}
|
|
44
|
-
function _objectSpread2$1(
|
|
45
|
-
for (var
|
|
46
|
-
var
|
|
47
|
-
|
|
48
|
-
_defineProperty$1(
|
|
49
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
50
|
-
Object.defineProperty(
|
|
44
|
+
function _objectSpread2$1(e) {
|
|
45
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
46
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
47
|
+
r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) {
|
|
48
|
+
_defineProperty$1(e, r, t[r]);
|
|
49
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) {
|
|
50
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
return
|
|
53
|
+
return e;
|
|
54
54
|
}
|
|
55
55
|
function _regeneratorRuntime() {
|
|
56
56
|
_regeneratorRuntime = function () {
|
|
57
|
-
return
|
|
57
|
+
return e;
|
|
58
58
|
};
|
|
59
|
-
var
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
59
|
+
var t,
|
|
60
|
+
e = {},
|
|
61
|
+
r = Object.prototype,
|
|
62
|
+
n = r.hasOwnProperty,
|
|
63
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
64
|
+
t[e] = r.value;
|
|
65
|
+
},
|
|
66
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
67
|
+
a = i.iterator || "@@iterator",
|
|
68
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
69
|
+
u = i.toStringTag || "@@toStringTag";
|
|
70
|
+
function define(t, e, r) {
|
|
71
|
+
return Object.defineProperty(t, e, {
|
|
72
|
+
value: r,
|
|
72
73
|
enumerable: !0,
|
|
73
74
|
configurable: !0,
|
|
74
75
|
writable: !0
|
|
75
|
-
}),
|
|
76
|
+
}), t[e];
|
|
76
77
|
}
|
|
77
78
|
try {
|
|
78
79
|
define({}, "");
|
|
79
|
-
} catch (
|
|
80
|
-
define = function (
|
|
81
|
-
return
|
|
80
|
+
} catch (t) {
|
|
81
|
+
define = function (t, e, r) {
|
|
82
|
+
return t[e] = r;
|
|
82
83
|
};
|
|
83
84
|
}
|
|
84
|
-
function wrap(
|
|
85
|
-
var
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
return
|
|
89
|
-
value: makeInvokeMethod(
|
|
90
|
-
}),
|
|
85
|
+
function wrap(t, e, r, n) {
|
|
86
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
87
|
+
a = Object.create(i.prototype),
|
|
88
|
+
c = new Context(n || []);
|
|
89
|
+
return o(a, "_invoke", {
|
|
90
|
+
value: makeInvokeMethod(t, r, c)
|
|
91
|
+
}), a;
|
|
91
92
|
}
|
|
92
|
-
function tryCatch(
|
|
93
|
+
function tryCatch(t, e, r) {
|
|
93
94
|
try {
|
|
94
95
|
return {
|
|
95
96
|
type: "normal",
|
|
96
|
-
arg:
|
|
97
|
+
arg: t.call(e, r)
|
|
97
98
|
};
|
|
98
|
-
} catch (
|
|
99
|
+
} catch (t) {
|
|
99
100
|
return {
|
|
100
101
|
type: "throw",
|
|
101
|
-
arg:
|
|
102
|
+
arg: t
|
|
102
103
|
};
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
|
-
|
|
106
|
-
var
|
|
106
|
+
e.wrap = wrap;
|
|
107
|
+
var h = "suspendedStart",
|
|
108
|
+
l = "suspendedYield",
|
|
109
|
+
f = "executing",
|
|
110
|
+
s = "completed",
|
|
111
|
+
y = {};
|
|
107
112
|
function Generator() {}
|
|
108
113
|
function GeneratorFunction() {}
|
|
109
114
|
function GeneratorFunctionPrototype() {}
|
|
110
|
-
var
|
|
111
|
-
define(
|
|
115
|
+
var p = {};
|
|
116
|
+
define(p, a, function () {
|
|
112
117
|
return this;
|
|
113
118
|
});
|
|
114
|
-
var
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
var
|
|
118
|
-
function defineIteratorMethods(
|
|
119
|
-
["next", "throw", "return"].forEach(function (
|
|
120
|
-
define(
|
|
121
|
-
return this._invoke(
|
|
119
|
+
var d = Object.getPrototypeOf,
|
|
120
|
+
v = d && d(d(values([])));
|
|
121
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
122
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
123
|
+
function defineIteratorMethods(t) {
|
|
124
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
125
|
+
define(t, e, function (t) {
|
|
126
|
+
return this._invoke(e, t);
|
|
122
127
|
});
|
|
123
128
|
});
|
|
124
129
|
}
|
|
125
|
-
function AsyncIterator(
|
|
126
|
-
function invoke(
|
|
127
|
-
var
|
|
128
|
-
if ("throw" !==
|
|
129
|
-
var
|
|
130
|
-
|
|
131
|
-
return
|
|
132
|
-
invoke("next",
|
|
133
|
-
}, function (
|
|
134
|
-
invoke("throw",
|
|
135
|
-
}) :
|
|
136
|
-
|
|
137
|
-
}, function (
|
|
138
|
-
return invoke("throw",
|
|
130
|
+
function AsyncIterator(t, e) {
|
|
131
|
+
function invoke(r, o, i, a) {
|
|
132
|
+
var c = tryCatch(t[r], t, o);
|
|
133
|
+
if ("throw" !== c.type) {
|
|
134
|
+
var u = c.arg,
|
|
135
|
+
h = u.value;
|
|
136
|
+
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
137
|
+
invoke("next", t, i, a);
|
|
138
|
+
}, function (t) {
|
|
139
|
+
invoke("throw", t, i, a);
|
|
140
|
+
}) : e.resolve(h).then(function (t) {
|
|
141
|
+
u.value = t, i(u);
|
|
142
|
+
}, function (t) {
|
|
143
|
+
return invoke("throw", t, i, a);
|
|
139
144
|
});
|
|
140
145
|
}
|
|
141
|
-
|
|
146
|
+
a(c.arg);
|
|
142
147
|
}
|
|
143
|
-
var
|
|
144
|
-
|
|
145
|
-
value: function (
|
|
148
|
+
var r;
|
|
149
|
+
o(this, "_invoke", {
|
|
150
|
+
value: function (t, n) {
|
|
146
151
|
function callInvokeWithMethodAndArg() {
|
|
147
|
-
return new
|
|
148
|
-
invoke(
|
|
152
|
+
return new e(function (e, r) {
|
|
153
|
+
invoke(t, n, e, r);
|
|
149
154
|
});
|
|
150
155
|
}
|
|
151
|
-
return
|
|
156
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
152
157
|
}
|
|
153
158
|
});
|
|
154
159
|
}
|
|
155
|
-
function makeInvokeMethod(
|
|
156
|
-
var
|
|
157
|
-
return function (
|
|
158
|
-
if (
|
|
159
|
-
if (
|
|
160
|
-
if ("throw" ===
|
|
160
|
+
function makeInvokeMethod(e, r, n) {
|
|
161
|
+
var o = h;
|
|
162
|
+
return function (i, a) {
|
|
163
|
+
if (o === f) throw new Error("Generator is already running");
|
|
164
|
+
if (o === s) {
|
|
165
|
+
if ("throw" === i) throw a;
|
|
161
166
|
return {
|
|
162
|
-
value:
|
|
167
|
+
value: t,
|
|
163
168
|
done: !0
|
|
164
169
|
};
|
|
165
170
|
}
|
|
166
|
-
for (
|
|
167
|
-
var
|
|
168
|
-
if (
|
|
169
|
-
var
|
|
170
|
-
if (
|
|
171
|
-
if (
|
|
172
|
-
return
|
|
171
|
+
for (n.method = i, n.arg = a;;) {
|
|
172
|
+
var c = n.delegate;
|
|
173
|
+
if (c) {
|
|
174
|
+
var u = maybeInvokeDelegate(c, n);
|
|
175
|
+
if (u) {
|
|
176
|
+
if (u === y) continue;
|
|
177
|
+
return u;
|
|
173
178
|
}
|
|
174
179
|
}
|
|
175
|
-
if ("next" ===
|
|
176
|
-
if (
|
|
177
|
-
|
|
178
|
-
} else "return" ===
|
|
179
|
-
|
|
180
|
-
var
|
|
181
|
-
if ("normal" ===
|
|
182
|
-
if (
|
|
180
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
181
|
+
if (o === h) throw o = s, n.arg;
|
|
182
|
+
n.dispatchException(n.arg);
|
|
183
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
184
|
+
o = f;
|
|
185
|
+
var p = tryCatch(e, r, n);
|
|
186
|
+
if ("normal" === p.type) {
|
|
187
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
183
188
|
return {
|
|
184
|
-
value:
|
|
185
|
-
done:
|
|
189
|
+
value: p.arg,
|
|
190
|
+
done: n.done
|
|
186
191
|
};
|
|
187
192
|
}
|
|
188
|
-
"throw" ===
|
|
193
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
189
194
|
}
|
|
190
195
|
};
|
|
191
196
|
}
|
|
192
|
-
function maybeInvokeDelegate(
|
|
193
|
-
var
|
|
194
|
-
|
|
195
|
-
if (
|
|
196
|
-
var
|
|
197
|
-
if ("throw" ===
|
|
198
|
-
var
|
|
199
|
-
return
|
|
200
|
-
}
|
|
201
|
-
function pushTryEntry(
|
|
202
|
-
var
|
|
203
|
-
tryLoc:
|
|
197
|
+
function maybeInvokeDelegate(e, r) {
|
|
198
|
+
var n = r.method,
|
|
199
|
+
o = e.iterator[n];
|
|
200
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
201
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
202
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
203
|
+
var a = i.arg;
|
|
204
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
205
|
+
}
|
|
206
|
+
function pushTryEntry(t) {
|
|
207
|
+
var e = {
|
|
208
|
+
tryLoc: t[0]
|
|
204
209
|
};
|
|
205
|
-
1 in
|
|
210
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
206
211
|
}
|
|
207
|
-
function resetTryEntry(
|
|
208
|
-
var
|
|
209
|
-
|
|
212
|
+
function resetTryEntry(t) {
|
|
213
|
+
var e = t.completion || {};
|
|
214
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
210
215
|
}
|
|
211
|
-
function Context(
|
|
216
|
+
function Context(t) {
|
|
212
217
|
this.tryEntries = [{
|
|
213
218
|
tryLoc: "root"
|
|
214
|
-
}],
|
|
215
|
-
}
|
|
216
|
-
function values(
|
|
217
|
-
if (
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
if ("function" == typeof
|
|
221
|
-
if (!isNaN(
|
|
222
|
-
var
|
|
223
|
-
|
|
224
|
-
for (; ++
|
|
225
|
-
return next.value =
|
|
219
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
220
|
+
}
|
|
221
|
+
function values(e) {
|
|
222
|
+
if (e || "" === e) {
|
|
223
|
+
var r = e[a];
|
|
224
|
+
if (r) return r.call(e);
|
|
225
|
+
if ("function" == typeof e.next) return e;
|
|
226
|
+
if (!isNaN(e.length)) {
|
|
227
|
+
var o = -1,
|
|
228
|
+
i = function next() {
|
|
229
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
230
|
+
return next.value = t, next.done = !0, next;
|
|
226
231
|
};
|
|
227
|
-
return
|
|
232
|
+
return i.next = i;
|
|
228
233
|
}
|
|
229
234
|
}
|
|
230
|
-
throw new TypeError(typeof
|
|
235
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
231
236
|
}
|
|
232
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
237
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
233
238
|
value: GeneratorFunctionPrototype,
|
|
234
239
|
configurable: !0
|
|
235
|
-
}),
|
|
240
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
236
241
|
value: GeneratorFunction,
|
|
237
242
|
configurable: !0
|
|
238
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
239
|
-
var
|
|
240
|
-
return !!
|
|
241
|
-
},
|
|
242
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
243
|
-
},
|
|
243
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
244
|
+
var e = "function" == typeof t && t.constructor;
|
|
245
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
246
|
+
}, e.mark = function (t) {
|
|
247
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
248
|
+
}, e.awrap = function (t) {
|
|
244
249
|
return {
|
|
245
|
-
__await:
|
|
250
|
+
__await: t
|
|
246
251
|
};
|
|
247
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
252
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
248
253
|
return this;
|
|
249
|
-
}),
|
|
250
|
-
void 0 ===
|
|
251
|
-
var
|
|
252
|
-
return
|
|
253
|
-
return
|
|
254
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
255
|
+
void 0 === i && (i = Promise);
|
|
256
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
257
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
258
|
+
return t.done ? t.value : a.next();
|
|
254
259
|
});
|
|
255
|
-
}, defineIteratorMethods(
|
|
260
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
256
261
|
return this;
|
|
257
|
-
}), define(
|
|
262
|
+
}), define(g, "toString", function () {
|
|
258
263
|
return "[object Generator]";
|
|
259
|
-
}),
|
|
260
|
-
var
|
|
261
|
-
|
|
262
|
-
for (var
|
|
263
|
-
return
|
|
264
|
-
for (;
|
|
265
|
-
var
|
|
266
|
-
if (
|
|
264
|
+
}), e.keys = function (t) {
|
|
265
|
+
var e = Object(t),
|
|
266
|
+
r = [];
|
|
267
|
+
for (var n in e) r.push(n);
|
|
268
|
+
return r.reverse(), function next() {
|
|
269
|
+
for (; r.length;) {
|
|
270
|
+
var t = r.pop();
|
|
271
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
267
272
|
}
|
|
268
273
|
return next.done = !0, next;
|
|
269
274
|
};
|
|
270
|
-
},
|
|
275
|
+
}, e.values = values, Context.prototype = {
|
|
271
276
|
constructor: Context,
|
|
272
|
-
reset: function (
|
|
273
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
277
|
+
reset: function (e) {
|
|
278
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
274
279
|
},
|
|
275
280
|
stop: function () {
|
|
276
281
|
this.done = !0;
|
|
277
|
-
var
|
|
278
|
-
if ("throw" ===
|
|
282
|
+
var t = this.tryEntries[0].completion;
|
|
283
|
+
if ("throw" === t.type) throw t.arg;
|
|
279
284
|
return this.rval;
|
|
280
285
|
},
|
|
281
|
-
dispatchException: function (
|
|
282
|
-
if (this.done) throw
|
|
283
|
-
var
|
|
284
|
-
function handle(
|
|
285
|
-
return
|
|
286
|
+
dispatchException: function (e) {
|
|
287
|
+
if (this.done) throw e;
|
|
288
|
+
var r = this;
|
|
289
|
+
function handle(n, o) {
|
|
290
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
286
291
|
}
|
|
287
|
-
for (var
|
|
288
|
-
var
|
|
289
|
-
|
|
290
|
-
if ("root" ===
|
|
291
|
-
if (
|
|
292
|
-
var
|
|
293
|
-
|
|
294
|
-
if (
|
|
295
|
-
if (this.prev <
|
|
296
|
-
if (this.prev <
|
|
297
|
-
} else if (
|
|
298
|
-
if (this.prev <
|
|
292
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
293
|
+
var i = this.tryEntries[o],
|
|
294
|
+
a = i.completion;
|
|
295
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
296
|
+
if (i.tryLoc <= this.prev) {
|
|
297
|
+
var c = n.call(i, "catchLoc"),
|
|
298
|
+
u = n.call(i, "finallyLoc");
|
|
299
|
+
if (c && u) {
|
|
300
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
301
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
302
|
+
} else if (c) {
|
|
303
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
299
304
|
} else {
|
|
300
|
-
if (!
|
|
301
|
-
if (this.prev <
|
|
305
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
306
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
302
307
|
}
|
|
303
308
|
}
|
|
304
309
|
}
|
|
305
310
|
},
|
|
306
|
-
abrupt: function (
|
|
307
|
-
for (var
|
|
308
|
-
var
|
|
309
|
-
if (
|
|
310
|
-
var
|
|
311
|
+
abrupt: function (t, e) {
|
|
312
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
313
|
+
var o = this.tryEntries[r];
|
|
314
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
315
|
+
var i = o;
|
|
311
316
|
break;
|
|
312
317
|
}
|
|
313
318
|
}
|
|
314
|
-
|
|
315
|
-
var
|
|
316
|
-
return
|
|
317
|
-
},
|
|
318
|
-
complete: function (
|
|
319
|
-
if ("throw" ===
|
|
320
|
-
return "break" ===
|
|
321
|
-
},
|
|
322
|
-
finish: function (
|
|
323
|
-
for (var
|
|
324
|
-
var
|
|
325
|
-
if (
|
|
319
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
320
|
+
var a = i ? i.completion : {};
|
|
321
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
322
|
+
},
|
|
323
|
+
complete: function (t, e) {
|
|
324
|
+
if ("throw" === t.type) throw t.arg;
|
|
325
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
326
|
+
},
|
|
327
|
+
finish: function (t) {
|
|
328
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
329
|
+
var r = this.tryEntries[e];
|
|
330
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
326
331
|
}
|
|
327
332
|
},
|
|
328
|
-
catch: function (
|
|
329
|
-
for (var
|
|
330
|
-
var
|
|
331
|
-
if (
|
|
332
|
-
var
|
|
333
|
-
if ("throw" ===
|
|
334
|
-
var
|
|
335
|
-
resetTryEntry(
|
|
333
|
+
catch: function (t) {
|
|
334
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
335
|
+
var r = this.tryEntries[e];
|
|
336
|
+
if (r.tryLoc === t) {
|
|
337
|
+
var n = r.completion;
|
|
338
|
+
if ("throw" === n.type) {
|
|
339
|
+
var o = n.arg;
|
|
340
|
+
resetTryEntry(r);
|
|
336
341
|
}
|
|
337
|
-
return
|
|
342
|
+
return o;
|
|
338
343
|
}
|
|
339
344
|
}
|
|
340
345
|
throw new Error("illegal catch attempt");
|
|
341
346
|
},
|
|
342
|
-
delegateYield: function (
|
|
347
|
+
delegateYield: function (e, r, n) {
|
|
343
348
|
return this.delegate = {
|
|
344
|
-
iterator: values(
|
|
345
|
-
resultName:
|
|
346
|
-
nextLoc:
|
|
347
|
-
}, "next" === this.method && (this.arg =
|
|
349
|
+
iterator: values(e),
|
|
350
|
+
resultName: r,
|
|
351
|
+
nextLoc: n
|
|
352
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
348
353
|
}
|
|
349
|
-
},
|
|
354
|
+
}, e;
|
|
350
355
|
}
|
|
351
|
-
function _typeof$1(
|
|
356
|
+
function _typeof$1(o) {
|
|
352
357
|
"@babel/helpers - typeof";
|
|
353
358
|
|
|
354
|
-
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
355
|
-
return typeof
|
|
356
|
-
} : function (
|
|
357
|
-
return
|
|
358
|
-
}, _typeof$1(
|
|
359
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
360
|
+
return typeof o;
|
|
361
|
+
} : function (o) {
|
|
362
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
363
|
+
}, _typeof$1(o);
|
|
359
364
|
}
|
|
360
365
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
361
366
|
try {
|
|
@@ -1351,8 +1356,6 @@
|
|
|
1351
1356
|
}
|
|
1352
1357
|
};
|
|
1353
1358
|
|
|
1354
|
-
/* globals BigInt */
|
|
1355
|
-
|
|
1356
1359
|
/**
|
|
1357
1360
|
* @type {import('typeson').TypeSpecSet}
|
|
1358
1361
|
*/
|
|
@@ -1428,7 +1431,7 @@
|
|
|
1428
1431
|
|
|
1429
1432
|
var array = new Uint8Array(str.length);
|
|
1430
1433
|
for (var i = 0; i < str.length; i++) {
|
|
1431
|
-
// eslint-disable-next-line max-len -- Long
|
|
1434
|
+
// eslint-disable-next-line @stylistic/max-len -- Long
|
|
1432
1435
|
// eslint-disable-next-line unicorn/prefer-code-point -- Iterating char. codes
|
|
1433
1436
|
array[i] = str.charCodeAt(i); // & 0xff;
|
|
1434
1437
|
}
|
|
@@ -1496,8 +1499,6 @@
|
|
|
1496
1499
|
}
|
|
1497
1500
|
};
|
|
1498
1501
|
|
|
1499
|
-
/* globals performance */
|
|
1500
|
-
|
|
1501
1502
|
// The `performance` global is optional
|
|
1502
1503
|
|
|
1503
1504
|
/**
|
|
@@ -1515,7 +1516,7 @@
|
|
|
1515
1516
|
/* c8 ignore next 4 */
|
|
1516
1517
|
typeof performance !== 'undefined' && typeof performance.now === 'function' ? performance.now() : 0);
|
|
1517
1518
|
|
|
1518
|
-
// eslint-disable-next-line max-len -- Long
|
|
1519
|
+
// eslint-disable-next-line @stylistic/max-len -- Long
|
|
1519
1520
|
// eslint-disable-next-line no-use-extend-native/no-use-extend-native -- Need to update plugin
|
|
1520
1521
|
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replaceAll(/[xy]/g, function (c) {
|
|
1521
1522
|
/* eslint-disable no-bitwise */
|
|
@@ -1720,6 +1721,135 @@
|
|
|
1720
1721
|
}
|
|
1721
1722
|
};
|
|
1722
1723
|
|
|
1724
|
+
/**
|
|
1725
|
+
* @type {import('typeson').TypeSpecSet}
|
|
1726
|
+
*/
|
|
1727
|
+
var domexception = {
|
|
1728
|
+
domexception: {
|
|
1729
|
+
test: function test(x) {
|
|
1730
|
+
return toStringTag(x) === 'DOMException';
|
|
1731
|
+
},
|
|
1732
|
+
replace: function replace(de) {
|
|
1733
|
+
// `code` is based on `name` and readonly, so no
|
|
1734
|
+
// need to keep here
|
|
1735
|
+
return {
|
|
1736
|
+
name: de.name,
|
|
1737
|
+
message: de.message
|
|
1738
|
+
};
|
|
1739
|
+
},
|
|
1740
|
+
revive: function revive(_ref) {
|
|
1741
|
+
var message = _ref.message,
|
|
1742
|
+
name = _ref.name;
|
|
1743
|
+
return new DOMException(message, name);
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
};
|
|
1747
|
+
|
|
1748
|
+
/* globals DOMMatrix */
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* @type {import('typeson').TypeSpecSet}
|
|
1752
|
+
*/
|
|
1753
|
+
var dommatrix = {
|
|
1754
|
+
dommatrix: {
|
|
1755
|
+
test: function test(x) {
|
|
1756
|
+
return toStringTag(x) === 'DOMMatrix';
|
|
1757
|
+
},
|
|
1758
|
+
replace: function replace(dm) {
|
|
1759
|
+
if (dm.is2D) {
|
|
1760
|
+
return {
|
|
1761
|
+
a: dm.a,
|
|
1762
|
+
b: dm.b,
|
|
1763
|
+
c: dm.c,
|
|
1764
|
+
d: dm.d,
|
|
1765
|
+
e: dm.e,
|
|
1766
|
+
f: dm.f
|
|
1767
|
+
};
|
|
1768
|
+
}
|
|
1769
|
+
return {
|
|
1770
|
+
m11: dm.m11,
|
|
1771
|
+
m12: dm.m12,
|
|
1772
|
+
m13: dm.m13,
|
|
1773
|
+
m14: dm.m14,
|
|
1774
|
+
m21: dm.m21,
|
|
1775
|
+
m22: dm.m22,
|
|
1776
|
+
m23: dm.m23,
|
|
1777
|
+
m24: dm.m24,
|
|
1778
|
+
m31: dm.m31,
|
|
1779
|
+
m32: dm.m32,
|
|
1780
|
+
m33: dm.m33,
|
|
1781
|
+
m34: dm.m34,
|
|
1782
|
+
m41: dm.m41,
|
|
1783
|
+
m42: dm.m42,
|
|
1784
|
+
m43: dm.m43,
|
|
1785
|
+
m44: dm.m44
|
|
1786
|
+
};
|
|
1787
|
+
},
|
|
1788
|
+
revive: function revive(o) {
|
|
1789
|
+
if (Object.hasOwn(o, 'a')) {
|
|
1790
|
+
return new DOMMatrix([o.a, o.b, o.c, o.d, o.e, o.f]);
|
|
1791
|
+
}
|
|
1792
|
+
return new DOMMatrix([o.m11, o.m12, o.m13, o.m14, o.m21, o.m22, o.m23, o.m24, o.m31, o.m32, o.m33, o.m34, o.m41, o.m42, o.m43, o.m44]);
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
};
|
|
1796
|
+
|
|
1797
|
+
/* globals DOMPoint */
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* @type {import('typeson').TypeSpecSet}
|
|
1801
|
+
*/
|
|
1802
|
+
var dompoint = {
|
|
1803
|
+
dompoint: {
|
|
1804
|
+
test: function test(x) {
|
|
1805
|
+
return toStringTag(x) === 'DOMPoint';
|
|
1806
|
+
},
|
|
1807
|
+
replace: function replace(dp) {
|
|
1808
|
+
return {
|
|
1809
|
+
x: dp.x,
|
|
1810
|
+
y: dp.y,
|
|
1811
|
+
z: dp.z,
|
|
1812
|
+
w: dp.w
|
|
1813
|
+
};
|
|
1814
|
+
},
|
|
1815
|
+
revive: function revive(_ref) {
|
|
1816
|
+
var x = _ref.x,
|
|
1817
|
+
y = _ref.y,
|
|
1818
|
+
z = _ref.z,
|
|
1819
|
+
w = _ref.w;
|
|
1820
|
+
return new DOMPoint(x, y, z, w);
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
/* globals DOMRect */
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* @type {import('typeson').TypeSpecSet}
|
|
1829
|
+
*/
|
|
1830
|
+
var domrect = {
|
|
1831
|
+
domrect: {
|
|
1832
|
+
test: function test(x) {
|
|
1833
|
+
return toStringTag(x) === 'DOMRect';
|
|
1834
|
+
},
|
|
1835
|
+
replace: function replace(dr) {
|
|
1836
|
+
return {
|
|
1837
|
+
x: dr.x,
|
|
1838
|
+
y: dr.y,
|
|
1839
|
+
width: dr.width,
|
|
1840
|
+
height: dr.height
|
|
1841
|
+
};
|
|
1842
|
+
},
|
|
1843
|
+
revive: function revive(_ref) {
|
|
1844
|
+
var x = _ref.x,
|
|
1845
|
+
y = _ref.y,
|
|
1846
|
+
width = _ref.width,
|
|
1847
|
+
height = _ref.height;
|
|
1848
|
+
return new DOMRect(x, y, width, height);
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1723
1853
|
/**
|
|
1724
1854
|
* @type {import('typeson').TypeSpecSet}
|
|
1725
1855
|
*/
|
|
@@ -1788,9 +1918,12 @@
|
|
|
1788
1918
|
create$2(AggregateError);
|
|
1789
1919
|
}
|
|
1790
1920
|
|
|
1791
|
-
/* c8 ignore next
|
|
1792
|
-
// @ts-
|
|
1793
|
-
typeof InternalError === 'function'
|
|
1921
|
+
/* c8 ignore next 5 */
|
|
1922
|
+
// @ts-expect-error Non-standard
|
|
1923
|
+
if (typeof InternalError === 'function') {
|
|
1924
|
+
// @ts-expect-error Non-standard
|
|
1925
|
+
create$2(InternalError);
|
|
1926
|
+
}
|
|
1794
1927
|
|
|
1795
1928
|
/* eslint-disable jsdoc/valid-types -- https://github.com/jsdoc-type-pratt-parser/jsdoc-type-pratt-parser/issues/131 */
|
|
1796
1929
|
/**
|
|
@@ -2119,12 +2252,12 @@
|
|
|
2119
2252
|
test: function test(x) {
|
|
2120
2253
|
return x === Number.POSITIVE_INFINITY;
|
|
2121
2254
|
},
|
|
2122
|
-
replace: function replace(
|
|
2255
|
+
replace: function replace() {
|
|
2123
2256
|
return 'Infinity';
|
|
2124
|
-
}
|
|
2125
|
-
revive: function revive(
|
|
2257
|
+
} /* n */,
|
|
2258
|
+
revive: function revive() {
|
|
2126
2259
|
return Number.POSITIVE_INFINITY;
|
|
2127
|
-
}
|
|
2260
|
+
} /* s */
|
|
2128
2261
|
}
|
|
2129
2262
|
};
|
|
2130
2263
|
|
|
@@ -2203,12 +2336,12 @@
|
|
|
2203
2336
|
test: function test(x) {
|
|
2204
2337
|
return Number.isNaN(x);
|
|
2205
2338
|
},
|
|
2206
|
-
replace: function replace(
|
|
2339
|
+
replace: function replace() {
|
|
2207
2340
|
return 'NaN';
|
|
2208
|
-
}
|
|
2209
|
-
revive: function revive(
|
|
2341
|
+
} /* n */,
|
|
2342
|
+
revive: function revive() {
|
|
2210
2343
|
return Number.NaN;
|
|
2211
|
-
}
|
|
2344
|
+
} /* s */
|
|
2212
2345
|
}
|
|
2213
2346
|
};
|
|
2214
2347
|
|
|
@@ -2220,12 +2353,12 @@
|
|
|
2220
2353
|
test: function test(x) {
|
|
2221
2354
|
return x === Number.NEGATIVE_INFINITY;
|
|
2222
2355
|
},
|
|
2223
|
-
replace: function replace(
|
|
2356
|
+
replace: function replace() {
|
|
2224
2357
|
return '-Infinity';
|
|
2225
|
-
}
|
|
2226
|
-
revive: function revive(
|
|
2358
|
+
} /* n */,
|
|
2359
|
+
revive: function revive() {
|
|
2227
2360
|
return Number.NEGATIVE_INFINITY;
|
|
2228
|
-
}
|
|
2361
|
+
} /* s */
|
|
2229
2362
|
}
|
|
2230
2363
|
};
|
|
2231
2364
|
|
|
@@ -2237,13 +2370,13 @@
|
|
|
2237
2370
|
test: function test(x) {
|
|
2238
2371
|
return Object.is(x, -0);
|
|
2239
2372
|
},
|
|
2240
|
-
replace: function replace(
|
|
2373
|
+
replace: function replace() {
|
|
2241
2374
|
// Just adding 0 here for minimized space; will still revive as -0
|
|
2242
2375
|
return 0;
|
|
2243
|
-
}
|
|
2244
|
-
revive: function revive(
|
|
2376
|
+
} /* n */,
|
|
2377
|
+
revive: function revive() {
|
|
2245
2378
|
return -0;
|
|
2246
|
-
}
|
|
2379
|
+
} /* s */
|
|
2247
2380
|
}
|
|
2248
2381
|
};
|
|
2249
2382
|
|
|
@@ -2259,9 +2392,9 @@
|
|
|
2259
2392
|
// function objects, however
|
|
2260
2393
|
'Boolean', 'Number', 'String', 'Error', 'RegExp', 'Math', 'Date', 'Map', 'Set', 'JSON', 'ArrayBuffer', 'SharedArrayBuffer', 'DataView', 'Int8Array', 'Uint8Array', 'Uint8ClampedArray', 'Int16Array', 'Uint16Array', 'Int32Array', 'Uint32Array', 'Float32Array', 'Float64Array', 'Promise', 'String Iterator', 'Array Iterator', 'Map Iterator', 'Set Iterator', 'WeakMap', 'WeakSet', 'Atomics', 'Module'].includes(toStringTag(x));
|
|
2261
2394
|
},
|
|
2262
|
-
replace: function replace(
|
|
2395
|
+
replace: function replace() {
|
|
2263
2396
|
// Not in use
|
|
2264
|
-
}
|
|
2397
|
+
} /* rexp */
|
|
2265
2398
|
}
|
|
2266
2399
|
};
|
|
2267
2400
|
|
|
@@ -2522,14 +2655,14 @@
|
|
|
2522
2655
|
test: function test(x, stateObj) {
|
|
2523
2656
|
return typeof x === 'undefined' && (stateObj.ownKeys || !('ownKeys' in stateObj));
|
|
2524
2657
|
},
|
|
2525
|
-
replace: function replace(
|
|
2658
|
+
replace: function replace() {
|
|
2526
2659
|
return 0;
|
|
2527
|
-
}
|
|
2528
|
-
revive: function revive(
|
|
2660
|
+
} /* n */,
|
|
2661
|
+
revive: function revive() {
|
|
2529
2662
|
// Will add `undefined` (returning `undefined` would instead
|
|
2530
2663
|
// avoid explicitly setting)
|
|
2531
2664
|
return new s();
|
|
2532
|
-
}
|
|
2665
|
+
} /* s */
|
|
2533
2666
|
}
|
|
2534
2667
|
};
|
|
2535
2668
|
|
|
@@ -2538,7 +2671,7 @@
|
|
|
2538
2671
|
*/
|
|
2539
2672
|
var userObject = {
|
|
2540
2673
|
userObject: {
|
|
2541
|
-
test: function test(x, stateObj) {
|
|
2674
|
+
test: function test(x /* , stateObj */) {
|
|
2542
2675
|
return isUserObject(x);
|
|
2543
2676
|
},
|
|
2544
2677
|
replace: function replace(n) {
|
|
@@ -2610,12 +2743,12 @@
|
|
|
2610
2743
|
test: function test(x, stateObj) {
|
|
2611
2744
|
return typeof x === 'undefined' && stateObj.ownKeys === false;
|
|
2612
2745
|
},
|
|
2613
|
-
replace: function replace(
|
|
2746
|
+
replace: function replace() {
|
|
2614
2747
|
return 0;
|
|
2615
|
-
}
|
|
2616
|
-
revive: function revive(
|
|
2748
|
+
} /* n */,
|
|
2749
|
+
revive: function revive() {
|
|
2617
2750
|
return undefined;
|
|
2618
|
-
} // Will avoid adding anything
|
|
2751
|
+
} /* s */ // Will avoid adding anything
|
|
2619
2752
|
}
|
|
2620
2753
|
}];
|
|
2621
2754
|
|
|
@@ -2709,12 +2842,12 @@
|
|
|
2709
2842
|
test: function test(x, stateObj) {
|
|
2710
2843
|
return typeof x === 'undefined' && stateObj.ownKeys === false;
|
|
2711
2844
|
},
|
|
2712
|
-
replace: function replace(
|
|
2845
|
+
replace: function replace() {
|
|
2713
2846
|
return 0;
|
|
2714
|
-
}
|
|
2715
|
-
revive: function revive(
|
|
2847
|
+
} /* n */,
|
|
2848
|
+
revive: function revive() {
|
|
2716
2849
|
return undefined;
|
|
2717
|
-
} // Will avoid adding anything
|
|
2850
|
+
} /* s */ // Will avoid adding anything
|
|
2718
2851
|
}
|
|
2719
2852
|
}];
|
|
2720
2853
|
|
|
@@ -2743,9 +2876,12 @@
|
|
|
2743
2876
|
typeof ArrayBuffer === 'function' ? arraybuffer : [], /* c8 ignore next */
|
|
2744
2877
|
typeof Uint8Array === 'function' ? typedArrays : [], /* c8 ignore next */
|
|
2745
2878
|
typeof DataView === 'function' ? dataview : [], /* c8 ignore next */
|
|
2746
|
-
typeof Intl !== 'undefined' ? intlTypes : [], /* c8 ignore next */
|
|
2747
2879
|
typeof crypto !== 'undefined' ? cryptokey : [], /* c8 ignore next */
|
|
2748
|
-
typeof BigInt !== 'undefined' ? [bigint, bigintObject] : []
|
|
2880
|
+
typeof BigInt !== 'undefined' ? [bigint, bigintObject] : [], /* c8 ignore next */
|
|
2881
|
+
typeof DOMException !== 'undefined' ? domexception : [], /* c8 ignore next */
|
|
2882
|
+
typeof DOMRect !== 'undefined' ? domrect : [], /* c8 ignore next */
|
|
2883
|
+
typeof DOMPoint !== 'undefined' ? dompoint : [], /* c8 ignore next */
|
|
2884
|
+
typeof DOMMatrix !== 'undefined' ? dommatrix : []);
|
|
2749
2885
|
|
|
2750
2886
|
/**
|
|
2751
2887
|
* @type {import('typeson').Preset}
|
|
@@ -2843,6 +2979,10 @@
|
|
|
2843
2979
|
exports.cryptokey = cryptokey;
|
|
2844
2980
|
exports.dataview = dataview;
|
|
2845
2981
|
exports.date = date;
|
|
2982
|
+
exports.domexception = domexception;
|
|
2983
|
+
exports.dommatrix = dommatrix;
|
|
2984
|
+
exports.dompoint = dompoint;
|
|
2985
|
+
exports.domrect = domrect;
|
|
2846
2986
|
exports.error = error;
|
|
2847
2987
|
exports.errors = errors;
|
|
2848
2988
|
exports.escapeKeyPathComponent = escapeKeyPathComponent;
|