typeson-registry 14.0.0 → 14.2.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/dist/index.js +26 -17
- 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 +20 -17
- 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/polyfills/SyncBlobFile.d.ts +33 -0
- package/dist/polyfills/SyncBlobFile.d.ts.map +1 -0
- package/dist/polyfills/URL.d.ts +23 -0
- package/dist/polyfills/URL.d.ts.map +1 -1
- package/dist/polyfills/index.d.ts +1 -0
- 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/structured-cloning-throwing.umd.cjs +1 -1
- package/dist/presets/structured-cloning-throwing.umd.cjs.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/universal.umd.cjs +1 -1
- package/dist/presets/universal.umd.cjs.map +1 -1
- package/dist/types/errors.umd.cjs.map +1 -1
- package/dist/types/typed-arrays-socketio.umd.cjs +1 -1
- package/dist/types/typed-arrays-socketio.umd.cjs.map +1 -1
- package/dist/types/typed-arrays.d.ts +1 -1
- package/dist/types/typed-arrays.d.ts.map +1 -1
- package/dist/types/typed-arrays.umd.cjs +1 -1
- package/dist/types/typed-arrays.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/polyfills/SyncBlobFile.js +97 -0
- package/polyfills/URL.js +44 -3
- package/polyfills/index.cjs +153 -2
- package/polyfills/index.cjs.map +1 -1
- package/polyfills/index.js +1 -0
package/dist/index.umd.cjs
CHANGED
|
@@ -1934,10 +1934,10 @@
|
|
|
1934
1934
|
|
|
1935
1935
|
/**
|
|
1936
1936
|
* Comprises all built-in errors.
|
|
1937
|
-
* @param {TypeErrorConstructor|RangeErrorConstructor
|
|
1938
|
-
* SyntaxErrorConstructor|ReferenceErrorConstructor
|
|
1939
|
-
* EvalErrorConstructor|URIErrorConstructor
|
|
1940
|
-
* AggregateErrorConstructor|InternalErrorConstructor
|
|
1937
|
+
* @param {TypeErrorConstructor|RangeErrorConstructor
|
|
1938
|
+
* |SyntaxErrorConstructor|ReferenceErrorConstructor
|
|
1939
|
+
* |EvalErrorConstructor|URIErrorConstructor
|
|
1940
|
+
* |AggregateErrorConstructor|InternalErrorConstructor
|
|
1941
1941
|
* } Ctor
|
|
1942
1942
|
* @returns {void}
|
|
1943
1943
|
*/
|
|
@@ -2605,12 +2605,12 @@
|
|
|
2605
2605
|
var typedArraysSocketIO = {};
|
|
2606
2606
|
|
|
2607
2607
|
/**
|
|
2608
|
-
* @param {Int8ArrayConstructor|Uint8ArrayConstructor
|
|
2609
|
-
* Uint8ClampedArrayConstructor|Int16ArrayConstructor
|
|
2610
|
-
* Uint16ArrayConstructor|Int32ArrayConstructor
|
|
2611
|
-
* Uint32ArrayConstructor|Float32ArrayConstructor
|
|
2612
|
-
* Float64ArrayConstructor|
|
|
2613
|
-
* BigInt64ArrayConstructor|BigUint64ArrayConstructor
|
|
2608
|
+
* @param {Int8ArrayConstructor|Uint8ArrayConstructor
|
|
2609
|
+
* |Uint8ClampedArrayConstructor|Int16ArrayConstructor
|
|
2610
|
+
* |Uint16ArrayConstructor|Int32ArrayConstructor
|
|
2611
|
+
* |Uint32ArrayConstructor|Float32ArrayConstructor
|
|
2612
|
+
* |Float64ArrayConstructor|Float16ArrayConstructor
|
|
2613
|
+
* |BigInt64ArrayConstructor|BigUint64ArrayConstructor
|
|
2614
2614
|
* } TypedArray
|
|
2615
2615
|
* @returns {void}
|
|
2616
2616
|
*/
|
|
@@ -2644,6 +2644,7 @@
|
|
|
2644
2644
|
// If we have Int8Array, we can assume the rest also exists.
|
|
2645
2645
|
|
|
2646
2646
|
[Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array].concat(_toConsumableArray(typeof BigInt64Array === 'function' ? [BigInt64Array, BigUint64Array]
|
|
2647
|
+
/* c8 ignore next */ : []), _toConsumableArray(typeof Float16Array === 'function' ? [Float16Array]
|
|
2647
2648
|
/* c8 ignore next */ : [])).forEach(function (TypedArray) {
|
|
2648
2649
|
return create$1(TypedArray);
|
|
2649
2650
|
});
|
|
@@ -2655,13 +2656,14 @@
|
|
|
2655
2656
|
var typedArrays = {};
|
|
2656
2657
|
|
|
2657
2658
|
/**
|
|
2658
|
-
* @typedef {Int8ArrayConstructor|Uint8ArrayConstructor
|
|
2659
|
-
* Uint8ClampedArrayConstructor
|
|
2660
|
-
* Int16ArrayConstructor|Uint16ArrayConstructor
|
|
2661
|
-
* Int32ArrayConstructor|Uint32ArrayConstructor
|
|
2662
|
-
* Float32ArrayConstructor
|
|
2663
|
-
* Float64ArrayConstructor
|
|
2664
|
-
* BigInt64ArrayConstructor|BigUint64ArrayConstructor
|
|
2659
|
+
* @typedef {Int8ArrayConstructor|Uint8ArrayConstructor
|
|
2660
|
+
* |Uint8ClampedArrayConstructor
|
|
2661
|
+
* |Int16ArrayConstructor|Uint16ArrayConstructor
|
|
2662
|
+
* |Int32ArrayConstructor|Uint32ArrayConstructor
|
|
2663
|
+
* |Float32ArrayConstructor
|
|
2664
|
+
* |Float64ArrayConstructor
|
|
2665
|
+
* |BigInt64ArrayConstructor|BigUint64ArrayConstructor
|
|
2666
|
+
* |Float16ArrayConstructor} TypedArrayConstructor
|
|
2665
2667
|
*/
|
|
2666
2668
|
|
|
2667
2669
|
/**
|
|
@@ -2737,6 +2739,7 @@
|
|
|
2737
2739
|
// Those constructors are added in ES6 as a group.
|
|
2738
2740
|
// If we have Int8Array, we can assume the rest also exists.
|
|
2739
2741
|
[Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array].concat(_toConsumableArray(typeof BigInt64Array === 'function' ? [BigInt64Array, BigUint64Array]
|
|
2742
|
+
/* c8 ignore next */ : []), _toConsumableArray(typeof Float16Array === 'function' ? [Float16Array]
|
|
2740
2743
|
/* c8 ignore next */ : [])).forEach(function (TypedArray) {
|
|
2741
2744
|
return create(TypedArray);
|
|
2742
2745
|
});
|