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.
Files changed (37) hide show
  1. package/dist/index.js +26 -17
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/index.umd.cjs +20 -17
  6. package/dist/index.umd.cjs.map +1 -1
  7. package/dist/index.umd.min.cjs +1 -1
  8. package/dist/index.umd.min.cjs.map +1 -1
  9. package/dist/polyfills/SyncBlobFile.d.ts +33 -0
  10. package/dist/polyfills/SyncBlobFile.d.ts.map +1 -0
  11. package/dist/polyfills/URL.d.ts +23 -0
  12. package/dist/polyfills/URL.d.ts.map +1 -1
  13. package/dist/polyfills/index.d.ts +1 -0
  14. package/dist/presets/builtin.umd.cjs +1 -1
  15. package/dist/presets/builtin.umd.cjs.map +1 -1
  16. package/dist/presets/postmessage.umd.cjs.map +1 -1
  17. package/dist/presets/socketio.umd.cjs +1 -1
  18. package/dist/presets/socketio.umd.cjs.map +1 -1
  19. package/dist/presets/structured-cloning-throwing.umd.cjs +1 -1
  20. package/dist/presets/structured-cloning-throwing.umd.cjs.map +1 -1
  21. package/dist/presets/structured-cloning.umd.cjs +1 -1
  22. package/dist/presets/structured-cloning.umd.cjs.map +1 -1
  23. package/dist/presets/universal.umd.cjs +1 -1
  24. package/dist/presets/universal.umd.cjs.map +1 -1
  25. package/dist/types/errors.umd.cjs.map +1 -1
  26. package/dist/types/typed-arrays-socketio.umd.cjs +1 -1
  27. package/dist/types/typed-arrays-socketio.umd.cjs.map +1 -1
  28. package/dist/types/typed-arrays.d.ts +1 -1
  29. package/dist/types/typed-arrays.d.ts.map +1 -1
  30. package/dist/types/typed-arrays.umd.cjs +1 -1
  31. package/dist/types/typed-arrays.umd.cjs.map +1 -1
  32. package/package.json +1 -1
  33. package/polyfills/SyncBlobFile.js +97 -0
  34. package/polyfills/URL.js +44 -3
  35. package/polyfills/index.cjs +153 -2
  36. package/polyfills/index.cjs.map +1 -1
  37. package/polyfills/index.js +1 -0
package/dist/index.js CHANGED
@@ -869,10 +869,10 @@ if (typeof InternalError === 'function') {
869
869
 
870
870
  /**
871
871
  * Comprises all built-in errors.
872
- * @param {TypeErrorConstructor|RangeErrorConstructor|
873
- * SyntaxErrorConstructor|ReferenceErrorConstructor|
874
- * EvalErrorConstructor|URIErrorConstructor|
875
- * AggregateErrorConstructor|InternalErrorConstructor
872
+ * @param {TypeErrorConstructor|RangeErrorConstructor
873
+ * |SyntaxErrorConstructor|ReferenceErrorConstructor
874
+ * |EvalErrorConstructor|URIErrorConstructor
875
+ * |AggregateErrorConstructor|InternalErrorConstructor
876
876
  * } Ctor
877
877
  * @returns {void}
878
878
  */
@@ -1467,12 +1467,12 @@ const symbol = {
1467
1467
  const typedArraysSocketIO = {};
1468
1468
 
1469
1469
  /**
1470
- * @param {Int8ArrayConstructor|Uint8ArrayConstructor|
1471
- * Uint8ClampedArrayConstructor|Int16ArrayConstructor|
1472
- * Uint16ArrayConstructor|Int32ArrayConstructor|
1473
- * Uint32ArrayConstructor|Float32ArrayConstructor|
1474
- * Float64ArrayConstructor|
1475
- * BigInt64ArrayConstructor|BigUint64ArrayConstructor
1470
+ * @param {Int8ArrayConstructor|Uint8ArrayConstructor
1471
+ * |Uint8ClampedArrayConstructor|Int16ArrayConstructor
1472
+ * |Uint16ArrayConstructor|Int32ArrayConstructor
1473
+ * |Uint32ArrayConstructor|Float32ArrayConstructor
1474
+ * |Float64ArrayConstructor|Float16ArrayConstructor
1475
+ * |BigInt64ArrayConstructor|BigUint64ArrayConstructor
1476
1476
  * } TypedArray
1477
1477
  * @returns {void}
1478
1478
  */
@@ -1521,6 +1521,10 @@ if (typeof Int8Array === 'function') {
1521
1521
  ...(typeof BigInt64Array === 'function'
1522
1522
  ? [BigInt64Array, BigUint64Array]
1523
1523
  /* c8 ignore next */
1524
+ : []),
1525
+ ...(typeof Float16Array === 'function'
1526
+ ? [Float16Array]
1527
+ /* c8 ignore next */
1524
1528
  : [])
1525
1529
  ].forEach((TypedArray) => create$1(TypedArray));
1526
1530
  }
@@ -1531,13 +1535,14 @@ if (typeof Int8Array === 'function') {
1531
1535
  const typedArrays = {};
1532
1536
 
1533
1537
  /**
1534
- * @typedef {Int8ArrayConstructor|Uint8ArrayConstructor|
1535
- * Uint8ClampedArrayConstructor|
1536
- * Int16ArrayConstructor|Uint16ArrayConstructor|
1537
- * Int32ArrayConstructor|Uint32ArrayConstructor|
1538
- * Float32ArrayConstructor|
1539
- * Float64ArrayConstructor|
1540
- * BigInt64ArrayConstructor|BigUint64ArrayConstructor} TypedArrayConstructor
1538
+ * @typedef {Int8ArrayConstructor|Uint8ArrayConstructor
1539
+ * |Uint8ClampedArrayConstructor
1540
+ * |Int16ArrayConstructor|Uint16ArrayConstructor
1541
+ * |Int32ArrayConstructor|Uint32ArrayConstructor
1542
+ * |Float32ArrayConstructor
1543
+ * |Float64ArrayConstructor
1544
+ * |BigInt64ArrayConstructor|BigUint64ArrayConstructor
1545
+ * |Float16ArrayConstructor} TypedArrayConstructor
1541
1546
  */
1542
1547
 
1543
1548
  /**
@@ -1624,6 +1629,10 @@ if (typeof Int8Array === 'function') {
1624
1629
  ...(typeof BigInt64Array === 'function'
1625
1630
  ? [BigInt64Array, BigUint64Array]
1626
1631
  /* c8 ignore next */
1632
+ : []),
1633
+ ...(typeof Float16Array === 'function'
1634
+ ? [Float16Array]
1635
+ /* c8 ignore next */
1627
1636
  : [])
1628
1637
  ].forEach((TypedArray) => create(TypedArray));
1629
1638
  }