@nubjs/nub-linux-arm64 0.0.5 → 0.0.8

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 (381) hide show
  1. package/bin/nub +0 -0
  2. package/package.json +1 -1
  3. package/runtime/addons/nub-native.node +0 -0
  4. package/runtime/cache-evict.mjs +69 -0
  5. package/runtime/node_modules/@js-temporal/polyfill/CHANGELOG.md +453 -0
  6. package/runtime/node_modules/@js-temporal/polyfill/LICENSE +13 -0
  7. package/runtime/node_modules/@js-temporal/polyfill/README.md +90 -0
  8. package/runtime/node_modules/@js-temporal/polyfill/dist/index.cjs +2 -0
  9. package/runtime/node_modules/@js-temporal/polyfill/dist/index.cjs.map +1 -0
  10. package/runtime/node_modules/@js-temporal/polyfill/dist/index.esm.js +2 -0
  11. package/runtime/node_modules/@js-temporal/polyfill/dist/index.esm.js.map +1 -0
  12. package/runtime/node_modules/@js-temporal/polyfill/dist/index.umd.js +2 -0
  13. package/runtime/node_modules/@js-temporal/polyfill/dist/index.umd.js.map +1 -0
  14. package/runtime/node_modules/@js-temporal/polyfill/index.d.cts +1215 -0
  15. package/runtime/node_modules/@js-temporal/polyfill/index.d.ts +1215 -0
  16. package/runtime/node_modules/@js-temporal/polyfill/lib/assert.ts +8 -0
  17. package/runtime/node_modules/@js-temporal/polyfill/lib/bigintmath.ts +39 -0
  18. package/runtime/node_modules/@js-temporal/polyfill/lib/calendar.ts +2424 -0
  19. package/runtime/node_modules/@js-temporal/polyfill/lib/debug.ts +7 -0
  20. package/runtime/node_modules/@js-temporal/polyfill/lib/duration.ts +438 -0
  21. package/runtime/node_modules/@js-temporal/polyfill/lib/durationformat.d.ts +93 -0
  22. package/runtime/node_modules/@js-temporal/polyfill/lib/ecmascript.ts +4973 -0
  23. package/runtime/node_modules/@js-temporal/polyfill/lib/index.ts +34 -0
  24. package/runtime/node_modules/@js-temporal/polyfill/lib/init.ts +43 -0
  25. package/runtime/node_modules/@js-temporal/polyfill/lib/instant.ts +138 -0
  26. package/runtime/node_modules/@js-temporal/polyfill/lib/internaltypes.d.ts +242 -0
  27. package/runtime/node_modules/@js-temporal/polyfill/lib/intl.ts +758 -0
  28. package/runtime/node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts +162 -0
  29. package/runtime/node_modules/@js-temporal/polyfill/lib/legacydate.ts +17 -0
  30. package/runtime/node_modules/@js-temporal/polyfill/lib/math.ts +96 -0
  31. package/runtime/node_modules/@js-temporal/polyfill/lib/now.ts +48 -0
  32. package/runtime/node_modules/@js-temporal/polyfill/lib/plaindate.ts +212 -0
  33. package/runtime/node_modules/@js-temporal/polyfill/lib/plaindatetime.ts +274 -0
  34. package/runtime/node_modules/@js-temporal/polyfill/lib/plainmonthday.ts +110 -0
  35. package/runtime/node_modules/@js-temporal/polyfill/lib/plaintime.ts +154 -0
  36. package/runtime/node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts +157 -0
  37. package/runtime/node_modules/@js-temporal/polyfill/lib/regex.ts +59 -0
  38. package/runtime/node_modules/@js-temporal/polyfill/lib/slots.ts +341 -0
  39. package/runtime/node_modules/@js-temporal/polyfill/lib/temporal.ts +10 -0
  40. package/runtime/node_modules/@js-temporal/polyfill/lib/timeduration.ts +149 -0
  41. package/runtime/node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts +492 -0
  42. package/runtime/node_modules/@js-temporal/polyfill/package.json +143 -0
  43. package/runtime/node_modules/@oxc-parser/binding-linux-arm64-gnu/README.md +3 -0
  44. package/runtime/node_modules/@oxc-parser/binding-linux-arm64-gnu/package.json +42 -0
  45. package/runtime/node_modules/@oxc-parser/binding-linux-arm64-gnu/parser.linux-arm64-gnu.node +0 -0
  46. package/runtime/node_modules/@oxc-parser/binding-linux-x64-gnu/README.md +3 -0
  47. package/runtime/node_modules/@oxc-parser/binding-linux-x64-gnu/package.json +42 -0
  48. package/runtime/node_modules/@oxc-parser/binding-linux-x64-gnu/parser.linux-x64-gnu.node +0 -0
  49. package/runtime/node_modules/@oxc-project/runtime/CHANGELOG.md +88 -0
  50. package/runtime/node_modules/@oxc-project/runtime/LICENSE +22 -0
  51. package/runtime/node_modules/@oxc-project/runtime/README.md +5 -0
  52. package/runtime/node_modules/@oxc-project/runtime/package.json +1066 -0
  53. package/runtime/node_modules/@oxc-project/runtime/src/helpers/AwaitValue.js +4 -0
  54. package/runtime/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js +4 -0
  55. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecoratedDescriptor.js +9 -0
  56. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs.js +236 -0
  57. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2203.js +184 -0
  58. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2203R.js +191 -0
  59. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2301.js +222 -0
  60. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2305.js +133 -0
  61. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2311.js +124 -0
  62. package/runtime/node_modules/@oxc-project/runtime/src/helpers/arrayLikeToArray.js +6 -0
  63. package/runtime/node_modules/@oxc-project/runtime/src/helpers/arrayWithHoles.js +4 -0
  64. package/runtime/node_modules/@oxc-project/runtime/src/helpers/arrayWithoutHoles.js +5 -0
  65. package/runtime/node_modules/@oxc-project/runtime/src/helpers/assertClassBrand.js +5 -0
  66. package/runtime/node_modules/@oxc-project/runtime/src/helpers/assertThisInitialized.js +5 -0
  67. package/runtime/node_modules/@oxc-project/runtime/src/helpers/asyncGeneratorDelegate.js +24 -0
  68. package/runtime/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js +45 -0
  69. package/runtime/node_modules/@oxc-project/runtime/src/helpers/asyncToGenerator.js +26 -0
  70. package/runtime/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js +5 -0
  71. package/runtime/node_modules/@oxc-project/runtime/src/helpers/callSuper.js +7 -0
  72. package/runtime/node_modules/@oxc-project/runtime/src/helpers/checkInRHS.js +6 -0
  73. package/runtime/node_modules/@oxc-project/runtime/src/helpers/checkPrivateRedeclaration.js +4 -0
  74. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classApplyDescriptorDestructureSet.js +10 -0
  75. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classApplyDescriptorGet.js +4 -0
  76. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classApplyDescriptorSet.js +7 -0
  77. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classCallCheck.js +4 -0
  78. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classCheckPrivateStaticAccess.js +5 -0
  79. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  80. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classExtractFieldDescriptor.js +5 -0
  81. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classNameTDZError.js +4 -0
  82. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldDestructureSet.js +7 -0
  83. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldGet.js +7 -0
  84. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldGet2.js +5 -0
  85. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldInitSpec.js +5 -0
  86. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldLooseBase.js +5 -0
  87. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldLooseKey.js +5 -0
  88. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldSet.js +7 -0
  89. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldSet2.js +5 -0
  90. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateGetter.js +5 -0
  91. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateMethodGet.js +5 -0
  92. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateMethodInitSpec.js +5 -0
  93. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateMethodSet.js +4 -0
  94. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateSetter.js +5 -0
  95. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  96. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  97. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  98. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateMethodGet.js +5 -0
  99. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateMethodSet.js +4 -0
  100. package/runtime/node_modules/@oxc-project/runtime/src/helpers/construct.js +10 -0
  101. package/runtime/node_modules/@oxc-project/runtime/src/helpers/createClass.js +13 -0
  102. package/runtime/node_modules/@oxc-project/runtime/src/helpers/createForOfIteratorHelper.js +50 -0
  103. package/runtime/node_modules/@oxc-project/runtime/src/helpers/createForOfIteratorHelperLoose.js +19 -0
  104. package/runtime/node_modules/@oxc-project/runtime/src/helpers/createSuper.js +16 -0
  105. package/runtime/node_modules/@oxc-project/runtime/src/helpers/decorate.js +23 -0
  106. package/runtime/node_modules/@oxc-project/runtime/src/helpers/decorateMetadata.js +9 -0
  107. package/runtime/node_modules/@oxc-project/runtime/src/helpers/decorateParam.js +11 -0
  108. package/runtime/node_modules/@oxc-project/runtime/src/helpers/defaults.js +9 -0
  109. package/runtime/node_modules/@oxc-project/runtime/src/helpers/defineAccessor.js +8 -0
  110. package/runtime/node_modules/@oxc-project/runtime/src/helpers/defineEnumerableProperties.js +12 -0
  111. package/runtime/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js +10 -0
  112. package/runtime/node_modules/@oxc-project/runtime/src/helpers/dispose.js +28 -0
  113. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/AwaitValue.js +4 -0
  114. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/OverloadYield.js +4 -0
  115. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecoratedDescriptor.js +9 -0
  116. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs.js +236 -0
  117. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2203.js +184 -0
  118. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2203R.js +191 -0
  119. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2301.js +222 -0
  120. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2305.js +133 -0
  121. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2311.js +124 -0
  122. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/arrayLikeToArray.js +6 -0
  123. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/arrayWithHoles.js +4 -0
  124. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/arrayWithoutHoles.js +5 -0
  125. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/assertClassBrand.js +5 -0
  126. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/assertThisInitialized.js +5 -0
  127. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/asyncGeneratorDelegate.js +24 -0
  128. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/asyncIterator.js +45 -0
  129. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/asyncToGenerator.js +26 -0
  130. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/awaitAsyncGenerator.js +5 -0
  131. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/callSuper.js +7 -0
  132. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/checkInRHS.js +6 -0
  133. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/checkPrivateRedeclaration.js +4 -0
  134. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  135. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classApplyDescriptorGet.js +4 -0
  136. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classApplyDescriptorSet.js +7 -0
  137. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classCallCheck.js +4 -0
  138. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  139. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  140. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classExtractFieldDescriptor.js +5 -0
  141. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classNameTDZError.js +4 -0
  142. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  143. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldGet.js +7 -0
  144. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldGet2.js +5 -0
  145. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  146. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  147. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  148. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldSet.js +7 -0
  149. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldSet2.js +5 -0
  150. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateGetter.js +5 -0
  151. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateMethodGet.js +5 -0
  152. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  153. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateMethodSet.js +4 -0
  154. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateSetter.js +5 -0
  155. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  156. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  157. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  158. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  159. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  160. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/construct.js +10 -0
  161. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/createClass.js +13 -0
  162. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/createForOfIteratorHelper.js +50 -0
  163. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  164. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/createSuper.js +16 -0
  165. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/decorate.js +21 -0
  166. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/decorateMetadata.js +7 -0
  167. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/decorateParam.js +9 -0
  168. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/defaults.js +9 -0
  169. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/defineAccessor.js +8 -0
  170. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/defineEnumerableProperties.js +12 -0
  171. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/defineProperty.js +10 -0
  172. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/dispose.js +28 -0
  173. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/extends.js +10 -0
  174. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/get.js +11 -0
  175. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/getPrototypeOf.js +6 -0
  176. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/identity.js +4 -0
  177. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/importDeferProxy.js +27 -0
  178. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/inherits.js +14 -0
  179. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/inheritsLoose.js +5 -0
  180. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/initializerDefineProperty.js +9 -0
  181. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/initializerWarningHelper.js +4 -0
  182. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/instanceof.js +4 -0
  183. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/interopRequireDefault.js +6 -0
  184. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/interopRequireWildcard.js +27 -0
  185. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/isNativeFunction.js +8 -0
  186. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/isNativeReflectConstruct.js +9 -0
  187. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/iterableToArray.js +4 -0
  188. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/iterableToArrayLimit.js +28 -0
  189. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/jsx.js +22 -0
  190. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/maybeArrayLike.js +9 -0
  191. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/newArrowCheck.js +4 -0
  192. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/nonIterableRest.js +4 -0
  193. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/nonIterableSpread.js +4 -0
  194. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/nullishReceiverError.js +4 -0
  195. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectDestructuringEmpty.js +4 -0
  196. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectSpread.js +14 -0
  197. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectSpread2.js +23 -0
  198. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectWithoutProperties.js +13 -0
  199. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  200. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/package.json +3 -0
  201. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/possibleConstructorReturn.js +8 -0
  202. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/readOnlyError.js +4 -0
  203. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/regeneratorRuntime.js +304 -0
  204. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/set.js +22 -0
  205. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/setFunctionName.js +12 -0
  206. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/setPrototypeOf.js +6 -0
  207. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/skipFirstGeneratorNext.js +7 -0
  208. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/slicedToArray.js +8 -0
  209. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/superPropBase.js +6 -0
  210. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/superPropGet.js +9 -0
  211. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/superPropSet.js +6 -0
  212. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/taggedTemplateLiteral.js +8 -0
  213. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  214. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/tdz.js +4 -0
  215. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/temporalRef.js +6 -0
  216. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/temporalUndefined.js +2 -0
  217. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toArray.js +8 -0
  218. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toConsumableArray.js +8 -0
  219. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toPrimitive.js +12 -0
  220. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toPropertyKey.js +7 -0
  221. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toSetter.js +10 -0
  222. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/typeof.js +10 -0
  223. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/unsupportedIterableToArray.js +9 -0
  224. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/using.js +12 -0
  225. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/usingCtx.js +59 -0
  226. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/wrapAsyncGenerator.js +69 -0
  227. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/wrapNativeSuper.js +27 -0
  228. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/wrapRegExp.js +51 -0
  229. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/writeOnlyError.js +4 -0
  230. package/runtime/node_modules/@oxc-project/runtime/src/helpers/extends.js +10 -0
  231. package/runtime/node_modules/@oxc-project/runtime/src/helpers/get.js +11 -0
  232. package/runtime/node_modules/@oxc-project/runtime/src/helpers/getPrototypeOf.js +6 -0
  233. package/runtime/node_modules/@oxc-project/runtime/src/helpers/identity.js +4 -0
  234. package/runtime/node_modules/@oxc-project/runtime/src/helpers/importDeferProxy.js +27 -0
  235. package/runtime/node_modules/@oxc-project/runtime/src/helpers/inherits.js +14 -0
  236. package/runtime/node_modules/@oxc-project/runtime/src/helpers/inheritsLoose.js +5 -0
  237. package/runtime/node_modules/@oxc-project/runtime/src/helpers/initializerDefineProperty.js +9 -0
  238. package/runtime/node_modules/@oxc-project/runtime/src/helpers/initializerWarningHelper.js +4 -0
  239. package/runtime/node_modules/@oxc-project/runtime/src/helpers/instanceof.js +4 -0
  240. package/runtime/node_modules/@oxc-project/runtime/src/helpers/interopRequireDefault.js +6 -0
  241. package/runtime/node_modules/@oxc-project/runtime/src/helpers/interopRequireWildcard.js +27 -0
  242. package/runtime/node_modules/@oxc-project/runtime/src/helpers/isNativeFunction.js +8 -0
  243. package/runtime/node_modules/@oxc-project/runtime/src/helpers/isNativeReflectConstruct.js +9 -0
  244. package/runtime/node_modules/@oxc-project/runtime/src/helpers/iterableToArray.js +4 -0
  245. package/runtime/node_modules/@oxc-project/runtime/src/helpers/iterableToArrayLimit.js +28 -0
  246. package/runtime/node_modules/@oxc-project/runtime/src/helpers/jsx.js +22 -0
  247. package/runtime/node_modules/@oxc-project/runtime/src/helpers/maybeArrayLike.js +9 -0
  248. package/runtime/node_modules/@oxc-project/runtime/src/helpers/newArrowCheck.js +4 -0
  249. package/runtime/node_modules/@oxc-project/runtime/src/helpers/nonIterableRest.js +4 -0
  250. package/runtime/node_modules/@oxc-project/runtime/src/helpers/nonIterableSpread.js +4 -0
  251. package/runtime/node_modules/@oxc-project/runtime/src/helpers/nullishReceiverError.js +4 -0
  252. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectDestructuringEmpty.js +4 -0
  253. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectSpread.js +14 -0
  254. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js +23 -0
  255. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js +13 -0
  256. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js +10 -0
  257. package/runtime/node_modules/@oxc-project/runtime/src/helpers/possibleConstructorReturn.js +8 -0
  258. package/runtime/node_modules/@oxc-project/runtime/src/helpers/readOnlyError.js +4 -0
  259. package/runtime/node_modules/@oxc-project/runtime/src/helpers/regeneratorRuntime.js +304 -0
  260. package/runtime/node_modules/@oxc-project/runtime/src/helpers/set.js +22 -0
  261. package/runtime/node_modules/@oxc-project/runtime/src/helpers/setFunctionName.js +12 -0
  262. package/runtime/node_modules/@oxc-project/runtime/src/helpers/setPrototypeOf.js +6 -0
  263. package/runtime/node_modules/@oxc-project/runtime/src/helpers/skipFirstGeneratorNext.js +7 -0
  264. package/runtime/node_modules/@oxc-project/runtime/src/helpers/slicedToArray.js +8 -0
  265. package/runtime/node_modules/@oxc-project/runtime/src/helpers/superPropBase.js +6 -0
  266. package/runtime/node_modules/@oxc-project/runtime/src/helpers/superPropGet.js +9 -0
  267. package/runtime/node_modules/@oxc-project/runtime/src/helpers/superPropSet.js +6 -0
  268. package/runtime/node_modules/@oxc-project/runtime/src/helpers/taggedTemplateLiteral.js +8 -0
  269. package/runtime/node_modules/@oxc-project/runtime/src/helpers/taggedTemplateLiteralLoose.js +4 -0
  270. package/runtime/node_modules/@oxc-project/runtime/src/helpers/tdz.js +4 -0
  271. package/runtime/node_modules/@oxc-project/runtime/src/helpers/temporalRef.js +6 -0
  272. package/runtime/node_modules/@oxc-project/runtime/src/helpers/temporalUndefined.js +2 -0
  273. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toArray.js +8 -0
  274. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toConsumableArray.js +8 -0
  275. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js +12 -0
  276. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js +7 -0
  277. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toSetter.js +10 -0
  278. package/runtime/node_modules/@oxc-project/runtime/src/helpers/typeof.js +10 -0
  279. package/runtime/node_modules/@oxc-project/runtime/src/helpers/unsupportedIterableToArray.js +9 -0
  280. package/runtime/node_modules/@oxc-project/runtime/src/helpers/using.js +12 -0
  281. package/runtime/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js +59 -0
  282. package/runtime/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js +69 -0
  283. package/runtime/node_modules/@oxc-project/runtime/src/helpers/wrapNativeSuper.js +27 -0
  284. package/runtime/node_modules/@oxc-project/runtime/src/helpers/wrapRegExp.js +51 -0
  285. package/runtime/node_modules/@oxc-project/runtime/src/helpers/writeOnlyError.js +4 -0
  286. package/runtime/node_modules/@oxc-project/types/LICENSE +22 -0
  287. package/runtime/node_modules/@oxc-project/types/README.md +3 -0
  288. package/runtime/node_modules/@oxc-project/types/package.json +26 -0
  289. package/runtime/node_modules/@oxc-project/types/types.d.ts +1912 -0
  290. package/runtime/node_modules/@oxc-transform/binding-linux-arm64-gnu/README.md +3 -0
  291. package/runtime/node_modules/@oxc-transform/binding-linux-arm64-gnu/package.json +44 -0
  292. package/runtime/node_modules/@oxc-transform/binding-linux-arm64-gnu/transform.linux-arm64-gnu.node +0 -0
  293. package/runtime/node_modules/@petamoriken/float16/LICENSE +21 -0
  294. package/runtime/node_modules/@petamoriken/float16/README.md +413 -0
  295. package/runtime/node_modules/@petamoriken/float16/browser/float16.js +1340 -0
  296. package/runtime/node_modules/@petamoriken/float16/browser/float16.mjs +1325 -0
  297. package/runtime/node_modules/@petamoriken/float16/index.d.ts +546 -0
  298. package/runtime/node_modules/@petamoriken/float16/index.v5.6.d.ts +546 -0
  299. package/runtime/node_modules/@petamoriken/float16/index.v5.7.d.ts +555 -0
  300. package/runtime/node_modules/@petamoriken/float16/inspect/node.cjs +25 -0
  301. package/runtime/node_modules/@petamoriken/float16/inspect/node.mjs +23 -0
  302. package/runtime/node_modules/@petamoriken/float16/lib/DataView.cjs +16 -0
  303. package/runtime/node_modules/@petamoriken/float16/lib/Float16Array.cjs +690 -0
  304. package/runtime/node_modules/@petamoriken/float16/lib/_util/arrayIterator.cjs +52 -0
  305. package/runtime/node_modules/@petamoriken/float16/lib/_util/brand.cjs +27 -0
  306. package/runtime/node_modules/@petamoriken/float16/lib/_util/converter.cjs +111 -0
  307. package/runtime/node_modules/@petamoriken/float16/lib/_util/is.cjs +78 -0
  308. package/runtime/node_modules/@petamoriken/float16/lib/_util/messages.cjs +18 -0
  309. package/runtime/node_modules/@petamoriken/float16/lib/_util/primordials.cjs +150 -0
  310. package/runtime/node_modules/@petamoriken/float16/lib/_util/spec.cjs +84 -0
  311. package/runtime/node_modules/@petamoriken/float16/lib/f16round.cjs +10 -0
  312. package/runtime/node_modules/@petamoriken/float16/lib/index.cjs +16 -0
  313. package/runtime/node_modules/@petamoriken/float16/lib/isTypedArray.cjs +11 -0
  314. package/runtime/node_modules/@petamoriken/float16/package.json +115 -0
  315. package/runtime/node_modules/@petamoriken/float16/src/DataView.mjs +35 -0
  316. package/runtime/node_modules/@petamoriken/float16/src/Float16Array.mjs +1194 -0
  317. package/runtime/node_modules/@petamoriken/float16/src/_util/arrayIterator.mjs +86 -0
  318. package/runtime/node_modules/@petamoriken/float16/src/_util/brand.mjs +31 -0
  319. package/runtime/node_modules/@petamoriken/float16/src/_util/converter.mjs +173 -0
  320. package/runtime/node_modules/@petamoriken/float16/src/_util/is.mjs +151 -0
  321. package/runtime/node_modules/@petamoriken/float16/src/_util/messages.mjs +22 -0
  322. package/runtime/node_modules/@petamoriken/float16/src/_util/primordials.mjs +254 -0
  323. package/runtime/node_modules/@petamoriken/float16/src/_util/spec.mjs +137 -0
  324. package/runtime/node_modules/@petamoriken/float16/src/f16round.mjs +10 -0
  325. package/runtime/node_modules/@petamoriken/float16/src/index.mjs +7 -0
  326. package/runtime/node_modules/@petamoriken/float16/src/isTypedArray.mjs +10 -0
  327. package/runtime/node_modules/jsbi/LICENSE +176 -0
  328. package/runtime/node_modules/jsbi/README.md +173 -0
  329. package/runtime/node_modules/jsbi/dist/jsbi-cjs.js +2 -0
  330. package/runtime/node_modules/jsbi/dist/jsbi-cjs.js.map +1 -0
  331. package/runtime/node_modules/jsbi/dist/jsbi-umd.js +2 -0
  332. package/runtime/node_modules/jsbi/dist/jsbi-umd.js.map +1 -0
  333. package/runtime/node_modules/jsbi/dist/jsbi.mjs +2 -0
  334. package/runtime/node_modules/jsbi/dist/jsbi.mjs.map +1 -0
  335. package/runtime/node_modules/jsbi/jsbi.d.ts +43 -0
  336. package/runtime/node_modules/jsbi/package.json +35 -0
  337. package/runtime/node_modules/oxc-parser/LICENSE +22 -0
  338. package/runtime/node_modules/oxc-parser/README.md +167 -0
  339. package/runtime/node_modules/oxc-parser/package.json +153 -0
  340. package/runtime/node_modules/oxc-parser/src-js/bindings.js +601 -0
  341. package/runtime/node_modules/oxc-parser/src-js/generated/constants.js +105 -0
  342. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/js.js +5862 -0
  343. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/js_range.js +6403 -0
  344. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/ts.js +6154 -0
  345. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/ts_range.js +6723 -0
  346. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/constructors.js +13875 -0
  347. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/type_ids.js +191 -0
  348. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/walk.js +5810 -0
  349. package/runtime/node_modules/oxc-parser/src-js/generated/visit/keys.js +220 -0
  350. package/runtime/node_modules/oxc-parser/src-js/generated/visit/type_ids.js +177 -0
  351. package/runtime/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts +387 -0
  352. package/runtime/node_modules/oxc-parser/src-js/generated/visit/walk.js +2455 -0
  353. package/runtime/node_modules/oxc-parser/src-js/index.d.ts +312 -0
  354. package/runtime/node_modules/oxc-parser/src-js/index.js +108 -0
  355. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/common.js +301 -0
  356. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/eager.js +255 -0
  357. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/lazy-common.js +11 -0
  358. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/lazy.js +162 -0
  359. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/node-array.js +365 -0
  360. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/supported.js +52 -0
  361. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/visitor.js +127 -0
  362. package/runtime/node_modules/oxc-parser/src-js/visit/index.js +41 -0
  363. package/runtime/node_modules/oxc-parser/src-js/visit/visitor.js +405 -0
  364. package/runtime/node_modules/oxc-parser/src-js/wasm.js +13 -0
  365. package/runtime/node_modules/oxc-parser/src-js/webcontainer-fallback.cjs +21 -0
  366. package/runtime/node_modules/oxc-parser/src-js/wrap.js +57 -0
  367. package/runtime/node_modules/urlpattern-polyfill/LICENSE +19 -0
  368. package/runtime/node_modules/urlpattern-polyfill/README.md +242 -0
  369. package/runtime/node_modules/urlpattern-polyfill/dist/index.d.ts +9 -0
  370. package/runtime/node_modules/urlpattern-polyfill/dist/types.d.ts +49 -0
  371. package/runtime/node_modules/urlpattern-polyfill/dist/urlpattern.cjs +1 -0
  372. package/runtime/node_modules/urlpattern-polyfill/dist/urlpattern.js +1 -0
  373. package/runtime/node_modules/urlpattern-polyfill/index.cjs +7 -0
  374. package/runtime/node_modules/urlpattern-polyfill/index.js +7 -0
  375. package/runtime/node_modules/urlpattern-polyfill/package.json +149 -0
  376. package/runtime/polyfills.mjs +73 -97
  377. package/runtime/preload-async-hooks.mjs +50 -0
  378. package/runtime/preload.mjs +274 -320
  379. package/runtime/transform-core.mjs +762 -0
  380. package/runtime/version.mjs +12 -0
  381. package/runtime/worker-polyfill.mjs +147 -9
@@ -0,0 +1,555 @@
1
+ /**
2
+ * A typed array of 16-bit float values. The contents are initialized to 0. If the requested number
3
+ * of bytes could not be allocated an exception is raised.
4
+ */
5
+ export interface Float16Array<
6
+ TArrayBuffer extends ArrayBufferLike = ArrayBufferLike,
7
+ > {
8
+ /**
9
+ * The size in bytes of each element in the array.
10
+ */
11
+ readonly BYTES_PER_ELEMENT: number;
12
+
13
+ /**
14
+ * The ArrayBuffer instance referenced by the array.
15
+ */
16
+ readonly buffer: TArrayBuffer;
17
+
18
+ /**
19
+ * The length in bytes of the array.
20
+ */
21
+ readonly byteLength: number;
22
+
23
+ /**
24
+ * The offset in bytes of the array.
25
+ */
26
+ readonly byteOffset: number;
27
+
28
+ /**
29
+ * Returns the item located at the specified index.
30
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
31
+ */
32
+ at(index: number): number | undefined;
33
+
34
+ /**
35
+ * Returns the this object after copying a section of the array identified by start and end
36
+ * to the same array starting at position target
37
+ * @param target If target is negative, it is treated as length+target where length is the
38
+ * length of the array.
39
+ * @param start If start is negative, it is treated as length+start. If end is negative, it
40
+ * is treated as length+end.
41
+ * @param end If not specified, length of the this object is used as its default value.
42
+ */
43
+ copyWithin(target: number, start: number, end?: number): this;
44
+
45
+ /**
46
+ * Determines whether all the members of an array satisfy the specified test.
47
+ * @param predicate A function that accepts up to three arguments. The every method calls
48
+ * the predicate function for each element in the array until the predicate returns a value
49
+ * which is coercible to the Boolean value false, or until the end of the array.
50
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
51
+ * If thisArg is omitted, undefined is used as the this value.
52
+ */
53
+ every(
54
+ predicate: (value: number, index: number, array: this) => unknown,
55
+ thisArg?: any,
56
+ ): boolean;
57
+
58
+ /**
59
+ * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
60
+ * @param value value to fill array section with
61
+ * @param start index to start filling the array at. If start is negative, it is treated as
62
+ * length+start where length is the length of the array.
63
+ * @param end index to stop filling the array at. If end is negative, it is treated as
64
+ * length+end.
65
+ */
66
+ fill(value: number, start?: number, end?: number): this;
67
+
68
+ /**
69
+ * Returns the elements of an array that meet the condition specified in a callback function.
70
+ * @param predicate A function that accepts up to three arguments. The filter method calls
71
+ * the predicate function one time for each element in the array.
72
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
73
+ * If thisArg is omitted, undefined is used as the this value.
74
+ */
75
+ filter(
76
+ predicate: (value: number, index: number, array: this) => any,
77
+ thisArg?: any,
78
+ ): Float16Array<ArrayBuffer>;
79
+
80
+ /**
81
+ * Returns the value of the first element in the array where predicate is true, and undefined
82
+ * otherwise.
83
+ * @param predicate find calls predicate once for each element of the array, in ascending
84
+ * order, until it finds one where predicate returns true. If such an element is found, find
85
+ * immediately returns that element value. Otherwise, find returns undefined.
86
+ * @param thisArg If provided, it will be used as the this value for each invocation of
87
+ * predicate. If it is not provided, undefined is used instead.
88
+ */
89
+ find(
90
+ predicate: (value: number, index: number, obj: this) => boolean,
91
+ thisArg?: any,
92
+ ): number | undefined;
93
+
94
+ /**
95
+ * Returns the index of the first element in the array where predicate is true, and -1
96
+ * otherwise.
97
+ * @param predicate find calls predicate once for each element of the array, in ascending
98
+ * order, until it finds one where predicate returns true. If such an element is found,
99
+ * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
100
+ * @param thisArg If provided, it will be used as the this value for each invocation of
101
+ * predicate. If it is not provided, undefined is used instead.
102
+ */
103
+ findIndex(
104
+ predicate: (value: number, index: number, obj: this) => boolean,
105
+ thisArg?: any,
106
+ ): number;
107
+
108
+ /**
109
+ * Returns the value of the last element in the array where predicate is true, and undefined
110
+ * otherwise.
111
+ * @param predicate findLast calls predicate once for each element of the array, in descending
112
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
113
+ * immediately returns that element value. Otherwise, findLast returns undefined.
114
+ * @param thisArg If provided, it will be used as the this value for each invocation of
115
+ * predicate. If it is not provided, undefined is used instead.
116
+ */
117
+ findLast<S extends number>(
118
+ predicate: (
119
+ value: number,
120
+ index: number,
121
+ array: this,
122
+ ) => value is S,
123
+ thisArg?: any,
124
+ ): S | undefined;
125
+ findLast(
126
+ predicate: (
127
+ value: number,
128
+ index: number,
129
+ array: this,
130
+ ) => unknown,
131
+ thisArg?: any,
132
+ ): number | undefined;
133
+
134
+ /**
135
+ * Returns the index of the last element in the array where predicate is true, and -1
136
+ * otherwise.
137
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
138
+ * order, until it finds one where predicate returns true. If such an element is found,
139
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
140
+ * @param thisArg If provided, it will be used as the this value for each invocation of
141
+ * predicate. If it is not provided, undefined is used instead.
142
+ */
143
+ findLastIndex(
144
+ predicate: (
145
+ value: number,
146
+ index: number,
147
+ array: this,
148
+ ) => unknown,
149
+ thisArg?: any,
150
+ ): number;
151
+
152
+ /**
153
+ * Performs the specified action for each element in an array.
154
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
155
+ * callbackfn function one time for each element in the array.
156
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
157
+ * If thisArg is omitted, undefined is used as the this value.
158
+ */
159
+ forEach(
160
+ callbackfn: (value: number, index: number, array: this) => void,
161
+ thisArg?: any,
162
+ ): void;
163
+
164
+ /**
165
+ * Determines whether an array includes a certain element, returning true or false as appropriate.
166
+ * @param searchElement The element to search for.
167
+ * @param fromIndex The position in this array at which to begin searching for searchElement.
168
+ */
169
+ includes(searchElement: number, fromIndex?: number): boolean;
170
+
171
+ /**
172
+ * Returns the index of the first occurrence of a value in an array.
173
+ * @param searchElement The value to locate in the array.
174
+ * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
175
+ * search starts at index 0.
176
+ */
177
+ indexOf(searchElement: number, fromIndex?: number): number;
178
+
179
+ /**
180
+ * Adds all the elements of an array separated by the specified separator string.
181
+ * @param separator A string used to separate one element of an array from the next in the
182
+ * resulting String. If omitted, the array elements are separated with a comma.
183
+ */
184
+ join(separator?: string): string;
185
+
186
+ /**
187
+ * Returns the index of the last occurrence of a value in an array.
188
+ * @param searchElement The value to locate in the array.
189
+ * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
190
+ * search starts at index 0.
191
+ */
192
+ lastIndexOf(searchElement: number, fromIndex?: number): number;
193
+
194
+ /**
195
+ * The length of the array.
196
+ */
197
+ readonly length: number;
198
+
199
+ /**
200
+ * Calls a defined callback function on each element of an array, and returns an array that
201
+ * contains the results.
202
+ * @param callbackfn A function that accepts up to three arguments. The map method calls the
203
+ * callbackfn function one time for each element in the array.
204
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
205
+ * If thisArg is omitted, undefined is used as the this value.
206
+ */
207
+ map(
208
+ callbackfn: (value: number, index: number, array: this) => number,
209
+ thisArg?: any,
210
+ ): Float16Array<ArrayBuffer>;
211
+
212
+ /**
213
+ * Calls the specified callback function for all the elements in an array. The return value of
214
+ * the callback function is the accumulated result, and is provided as an argument in the next
215
+ * call to the callback function.
216
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
217
+ * callbackfn function one time for each element in the array.
218
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
219
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
220
+ * instead of an array value.
221
+ */
222
+ reduce(
223
+ callbackfn: (
224
+ previousValue: number,
225
+ currentValue: number,
226
+ currentIndex: number,
227
+ array: this,
228
+ ) => number,
229
+ ): number;
230
+ reduce(
231
+ callbackfn: (
232
+ previousValue: number,
233
+ currentValue: number,
234
+ currentIndex: number,
235
+ array: this,
236
+ ) => number,
237
+ initialValue: number,
238
+ ): number;
239
+
240
+ /**
241
+ * Calls the specified callback function for all the elements in an array. The return value of
242
+ * the callback function is the accumulated result, and is provided as an argument in the next
243
+ * call to the callback function.
244
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
245
+ * callbackfn function one time for each element in the array.
246
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
247
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
248
+ * instead of an array value.
249
+ */
250
+ reduce<U>(
251
+ callbackfn: (
252
+ previousValue: U,
253
+ currentValue: number,
254
+ currentIndex: number,
255
+ array: this,
256
+ ) => U,
257
+ initialValue: U,
258
+ ): U;
259
+
260
+ /**
261
+ * Calls the specified callback function for all the elements in an array, in descending order.
262
+ * The return value of the callback function is the accumulated result, and is provided as an
263
+ * argument in the next call to the callback function.
264
+ * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
265
+ * the callbackfn function one time for each element in the array.
266
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
267
+ * the accumulation. The first call to the callbackfn function provides this value as an
268
+ * argument instead of an array value.
269
+ */
270
+ reduceRight(
271
+ callbackfn: (
272
+ previousValue: number,
273
+ currentValue: number,
274
+ currentIndex: number,
275
+ array: this,
276
+ ) => number,
277
+ ): number;
278
+ reduceRight(
279
+ callbackfn: (
280
+ previousValue: number,
281
+ currentValue: number,
282
+ currentIndex: number,
283
+ array: this,
284
+ ) => number,
285
+ initialValue: number,
286
+ ): number;
287
+
288
+ /**
289
+ * Calls the specified callback function for all the elements in an array, in descending order.
290
+ * The return value of the callback function is the accumulated result, and is provided as an
291
+ * argument in the next call to the callback function.
292
+ * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
293
+ * the callbackfn function one time for each element in the array.
294
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
295
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
296
+ * instead of an array value.
297
+ */
298
+ reduceRight<U>(
299
+ callbackfn: (
300
+ previousValue: U,
301
+ currentValue: number,
302
+ currentIndex: number,
303
+ array: this,
304
+ ) => U,
305
+ initialValue: U,
306
+ ): U;
307
+
308
+ /**
309
+ * Reverses the elements in an Array.
310
+ */
311
+ reverse(): this;
312
+
313
+ /**
314
+ * Sets a value or an array of values.
315
+ * @param array A typed or untyped array of values to set.
316
+ * @param offset The index in the current array at which the values are to be written.
317
+ */
318
+ set(array: ArrayLike<number>, offset?: number): void;
319
+
320
+ /**
321
+ * Returns a section of an array.
322
+ * @param start The beginning of the specified portion of the array.
323
+ * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
324
+ */
325
+ slice(start?: number, end?: number): Float16Array<ArrayBuffer>;
326
+
327
+ /**
328
+ * Determines whether the specified callback function returns true for any element of an array.
329
+ * @param predicate A function that accepts up to three arguments. The some method calls
330
+ * the predicate function for each element in the array until the predicate returns a value
331
+ * which is coercible to the Boolean value true, or until the end of the array.
332
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
333
+ * If thisArg is omitted, undefined is used as the this value.
334
+ */
335
+ some(
336
+ predicate: (value: number, index: number, array: this) => unknown,
337
+ thisArg?: any,
338
+ ): boolean;
339
+
340
+ /**
341
+ * Sorts an array.
342
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
343
+ * a negative value if first argument is less than second argument, zero if they're equal and a positive
344
+ * value otherwise. If omitted, the elements are sorted in ascending order.
345
+ * ```ts
346
+ * [11,2,22,1].sort((a, b) => a - b)
347
+ * ```
348
+ */
349
+ sort(compareFn?: (a: number, b: number) => number): this;
350
+
351
+ /**
352
+ * Gets a new Float16Array view of the ArrayBuffer store for this array, referencing the elements
353
+ * at begin, inclusive, up to end, exclusive.
354
+ * @param begin The index of the beginning of the array.
355
+ * @param end The index of the end of the array.
356
+ */
357
+ subarray(begin?: number, end?: number): Float16Array<TArrayBuffer>;
358
+
359
+ /**
360
+ * Converts a number to a string by using the current locale.
361
+ */
362
+ toLocaleString(
363
+ locales?: string | string[],
364
+ options?: Intl.NumberFormatOptions,
365
+ ): string;
366
+
367
+ /**
368
+ * Copies the array and returns the copy with the elements in reverse order.
369
+ */
370
+ toReversed(): Float16Array<ArrayBuffer>;
371
+
372
+ /**
373
+ * Copies and sorts the array.
374
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
375
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
376
+ * value otherwise. If omitted, the elements are sorted in ascending order.
377
+ * ```ts
378
+ * const myNums = Float16Array.from([11.25, 2, -22.5, 1]);
379
+ * myNums.toSorted((a, b) => a - b) // Float16Array(4) [-22.5, 1, 2, 11.5]
380
+ * ```
381
+ */
382
+ toSorted(
383
+ compareFn?: (a: number, b: number) => number,
384
+ ): Float16Array<ArrayBuffer>;
385
+
386
+ /**
387
+ * Returns a string representation of an array.
388
+ */
389
+ toString(): string;
390
+
391
+ /** Returns the primitive value of the specified object. */
392
+ valueOf(): this;
393
+
394
+ /**
395
+ * Copies the array and inserts the given number at the provided index.
396
+ * @param index The index of the value to overwrite. If the index is
397
+ * negative, then it replaces from the end of the array.
398
+ * @param value The value to insert into the copied array.
399
+ * @returns A copy of the original array with the inserted value.
400
+ */
401
+ with(index: number, value: number): Float16Array<ArrayBuffer>;
402
+
403
+ [index: number]: number;
404
+
405
+ [Symbol.iterator](): ArrayIterator<number>;
406
+
407
+ /**
408
+ * Returns an array of key, value pairs for every entry in the array
409
+ */
410
+ entries(): ArrayIterator<[number, number]>;
411
+
412
+ /**
413
+ * Returns an list of keys in the array
414
+ */
415
+ keys(): ArrayIterator<number>;
416
+
417
+ /**
418
+ * Returns an list of values in the array
419
+ */
420
+ values(): ArrayIterator<number>;
421
+
422
+ readonly [Symbol.toStringTag]: "Float16Array";
423
+ }
424
+
425
+ export interface Float16ArrayConstructor {
426
+ readonly prototype: Float16Array<ArrayBufferLike>;
427
+ new (length?: number): Float16Array<ArrayBuffer>;
428
+ new (array: ArrayLike<number> | Iterable<number>): Float16Array<ArrayBuffer>;
429
+ new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(
430
+ buffer: TArrayBuffer,
431
+ byteOffset?: number,
432
+ length?: number,
433
+ ): Float16Array<TArrayBuffer>;
434
+
435
+ /**
436
+ * The size in bytes of each element in the array.
437
+ */
438
+ readonly BYTES_PER_ELEMENT: number;
439
+
440
+ /**
441
+ * Returns a new array from a set of elements.
442
+ * @param items A set of elements to include in the new array object.
443
+ */
444
+ of(...items: number[]): Float16Array<ArrayBuffer>;
445
+
446
+ /**
447
+ * Creates an array from an array-like or iterable object.
448
+ * @param arrayLike An array-like object to convert to an array.
449
+ */
450
+ from(arrayLike: ArrayLike<number>): Float16Array<ArrayBuffer>;
451
+
452
+ /**
453
+ * Creates an array from an array-like or iterable object.
454
+ * @param arrayLike An array-like object to convert to an array.
455
+ * @param mapfn A mapping function to call on every element of the array.
456
+ * @param thisArg Value of 'this' used to invoke the mapfn.
457
+ */
458
+ from<T>(
459
+ arrayLike: ArrayLike<T>,
460
+ mapfn: (v: T, k: number) => number,
461
+ thisArg?: any,
462
+ ): Float16Array<ArrayBuffer>;
463
+
464
+ /**
465
+ * Creates an array from an array-like or iterable object.
466
+ * @param elements An iterable object to convert to an array.
467
+ */
468
+ from(elements: Iterable<number>): Float16Array<ArrayBuffer>;
469
+
470
+ /**
471
+ * Creates an array from an array-like or iterable object.
472
+ * @param elements An iterable object to convert to an array.
473
+ * @param mapfn A mapping function to call on every element of the array.
474
+ * @param thisArg Value of 'this' used to invoke the mapfn.
475
+ */
476
+ from<T>(
477
+ elements: Iterable<T>,
478
+ mapfn?: (v: T, k: number) => number,
479
+ thisArg?: any,
480
+ ): Float16Array<ArrayBuffer>;
481
+ }
482
+ export declare const Float16Array: Float16ArrayConstructor;
483
+
484
+ /**
485
+ * Returns `true` if the value is a Float16Array instance.
486
+ *
487
+ * WARNING: This API returns `false` for ECMAScript's native Float16Array
488
+ * @since v3.4.0
489
+ */
490
+ export declare function isFloat16Array(value: unknown): value is Float16Array;
491
+
492
+ /**
493
+ * Returns `true` if the value is a type of TypedArray instance that contains Float16Array.
494
+ *
495
+ * @since v3.6.0
496
+ */
497
+ export declare function isTypedArray(
498
+ value: unknown,
499
+ ): value is
500
+ | Uint8Array<ArrayBufferLike>
501
+ | Uint8ClampedArray<ArrayBufferLike>
502
+ | Uint16Array<ArrayBufferLike>
503
+ | Uint32Array<ArrayBufferLike>
504
+ | Int8Array<ArrayBufferLike>
505
+ | Int16Array<ArrayBufferLike>
506
+ | Int32Array<ArrayBufferLike>
507
+ | Float16Array<ArrayBufferLike>
508
+ | Float32Array<ArrayBufferLike>
509
+ | Float64Array<ArrayBufferLike>
510
+ | BigUint64Array<ArrayBufferLike>
511
+ | BigInt64Array<ArrayBufferLike>;
512
+
513
+ /**
514
+ * Gets the Float16 value at the specified byte offset from the start of the view. There is
515
+ * no alignment constraint; multi-byte values may be fetched from any offset.
516
+ *
517
+ * @param byteOffset The place in the buffer at which the value should be retrieved.
518
+ * @param littleEndian If false or undefined, a big-endian value should be read,
519
+ * otherwise a little-endian value should be read.
520
+ */
521
+ export declare function getFloat16(
522
+ dataView: DataView<ArrayBufferLike>,
523
+ byteOffset: number,
524
+ littleEndian?: boolean,
525
+ ): number;
526
+
527
+ /**
528
+ * Stores an Float16 value at the specified byte offset from the start of the view.
529
+ *
530
+ * @param byteOffset The place in the buffer at which the value should be set.
531
+ * @param value The value to set.
532
+ * @param littleEndian If false or undefined, a big-endian value should be written,
533
+ * otherwise a little-endian value should be written.
534
+ */
535
+ export declare function setFloat16(
536
+ dataView: DataView<ArrayBufferLike>,
537
+ byteOffset: number,
538
+ value: number,
539
+ littleEndian?: boolean,
540
+ ): void;
541
+
542
+ /**
543
+ * Returns the nearest half-precision float representation of a number.
544
+ *
545
+ * @param x A numeric expression.
546
+ */
547
+ export declare function f16round(x: number): number;
548
+
549
+ /**
550
+ * Returns the nearest half-precision float representation of a number.
551
+ *
552
+ * @alias f16round
553
+ * @param x A numeric expression.
554
+ */
555
+ export declare function hfround(x: number): number;
@@ -0,0 +1,25 @@
1
+ /* eslint-env node */
2
+
3
+ "use strict";
4
+
5
+ /**
6
+ * Custom inspect function for Node.js, Deno, and Bun
7
+ *
8
+ * ```
9
+ * Float16Array.prototype[Symbol.for("nodejs.util.inspect.custom")] = customInspect;
10
+ * ```
11
+ * @param {number} _deps
12
+ * @param {import("node:util").InspectOptions} options
13
+ * @param {import("node:util").inspect} inspect
14
+ * @returns {string}
15
+ */
16
+ exports.customInspect = function customInspect(_deps, options, inspect) {
17
+ const length = this.length;
18
+
19
+ const array = [];
20
+ for (let i = 0; i < length; ++i) {
21
+ array[i] = this[i];
22
+ }
23
+
24
+ return `Float16Array(${length}) ${inspect(array, options)}`;
25
+ };
@@ -0,0 +1,23 @@
1
+ /* eslint-env node */
2
+
3
+ /**
4
+ * Custom inspect function for Node.js, Deno, and Bun
5
+ *
6
+ * ```
7
+ * Float16Array.prototype[Symbol.for("nodejs.util.inspect.custom")] = customInspect;
8
+ * ```
9
+ * @param {number} _deps
10
+ * @param {import("node:util").InspectOptions} options
11
+ * @param {import("node:util").inspect} inspect
12
+ * @returns {string}
13
+ */
14
+ export function customInspect(_deps, options, inspect) {
15
+ const length = this.length;
16
+
17
+ const array = [];
18
+ for (let i = 0; i < length; ++i) {
19
+ array[i] = this[i];
20
+ }
21
+
22
+ return `Float16Array(${length}) ${inspect(array, options)}`;
23
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getFloat16 = getFloat16;
7
+ exports.setFloat16 = setFloat16;
8
+ var _arrayIterator = require("./_util/arrayIterator.cjs");
9
+ var _converter = require("./_util/converter.cjs");
10
+ var _primordials = require("./_util/primordials.cjs");
11
+ function getFloat16(dataView, byteOffset, ...opts) {
12
+ return (0, _converter.convertToNumber)((0, _primordials.DataViewPrototypeGetUint16)(dataView, byteOffset, ...(0, _arrayIterator.safeIfNeeded)(opts)));
13
+ }
14
+ function setFloat16(dataView, byteOffset, value, ...opts) {
15
+ return (0, _primordials.DataViewPrototypeSetUint16)(dataView, byteOffset, (0, _converter.roundToFloat16Bits)(value), ...(0, _arrayIterator.safeIfNeeded)(opts));
16
+ }