@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,52 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.safeIfNeeded = safeIfNeeded;
7
+ exports.wrap = wrap;
8
+ var _primordials = require("./primordials.cjs");
9
+ const arrayIterators = new _primordials.NativeWeakMap();
10
+ const SafeIteratorPrototype = (0, _primordials.ObjectCreate)(null, {
11
+ next: {
12
+ value: function next() {
13
+ const arrayIterator = (0, _primordials.WeakMapPrototypeGet)(arrayIterators, this);
14
+ return (0, _primordials.ArrayIteratorPrototypeNext)(arrayIterator);
15
+ }
16
+ },
17
+ [_primordials.SymbolIterator]: {
18
+ value: function values() {
19
+ return this;
20
+ }
21
+ }
22
+ });
23
+ function safeIfNeeded(array) {
24
+ if (array[_primordials.SymbolIterator] === _primordials.NativeArrayPrototypeSymbolIterator && _primordials.ArrayIteratorPrototype.next === _primordials.ArrayIteratorPrototypeNext) {
25
+ return array;
26
+ }
27
+ const safe = (0, _primordials.ObjectCreate)(SafeIteratorPrototype);
28
+ (0, _primordials.WeakMapPrototypeSet)(arrayIterators, safe, (0, _primordials.ArrayPrototypeSymbolIterator)(array));
29
+ return safe;
30
+ }
31
+ const generators = new _primordials.NativeWeakMap();
32
+ const DummyArrayIteratorPrototype = (0, _primordials.ObjectCreate)(_primordials.IteratorPrototype, {
33
+ next: {
34
+ value: function next() {
35
+ const generator = (0, _primordials.WeakMapPrototypeGet)(generators, this);
36
+ return (0, _primordials.GeneratorPrototypeNext)(generator);
37
+ },
38
+ writable: true,
39
+ configurable: true
40
+ }
41
+ });
42
+ for (const key of (0, _primordials.ReflectOwnKeys)(_primordials.ArrayIteratorPrototype)) {
43
+ if (key === "next") {
44
+ continue;
45
+ }
46
+ (0, _primordials.ObjectDefineProperty)(DummyArrayIteratorPrototype, key, (0, _primordials.ReflectGetOwnPropertyDescriptor)(_primordials.ArrayIteratorPrototype, key));
47
+ }
48
+ function wrap(generator) {
49
+ const dummy = (0, _primordials.ObjectCreate)(DummyArrayIteratorPrototype);
50
+ (0, _primordials.WeakMapPrototypeSet)(generators, dummy, generator);
51
+ return dummy;
52
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.hasFloat16ArrayBrand = hasFloat16ArrayBrand;
7
+ var _is = require("./is.cjs");
8
+ var _messages = require("./messages.cjs");
9
+ var _primordials = require("./primordials.cjs");
10
+ const brand = exports.brand = (0, _primordials.SymbolFor)("__Float16Array__");
11
+ function hasFloat16ArrayBrand(target) {
12
+ if (!(0, _is.isObjectLike)(target)) {
13
+ return false;
14
+ }
15
+ const prototype = (0, _primordials.ReflectGetPrototypeOf)(target);
16
+ if (!(0, _is.isObjectLike)(prototype)) {
17
+ return false;
18
+ }
19
+ const constructor = prototype.constructor;
20
+ if (constructor === undefined) {
21
+ return false;
22
+ }
23
+ if (!(0, _is.isObject)(constructor)) {
24
+ throw (0, _primordials.NativeTypeError)(_messages.THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
25
+ }
26
+ return (0, _primordials.ReflectHas)(constructor, brand);
27
+ }
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.convertToNumber = convertToNumber;
7
+ exports.roundToFloat16 = roundToFloat16;
8
+ exports.roundToFloat16Bits = roundToFloat16Bits;
9
+ var _primordials = require("./primordials.cjs");
10
+ const INVERSE_OF_EPSILON = 1 / _primordials.EPSILON;
11
+ function roundTiesToEven(num) {
12
+ return num + INVERSE_OF_EPSILON - INVERSE_OF_EPSILON;
13
+ }
14
+ const FLOAT16_MIN_VALUE = 6.103515625e-05;
15
+ const FLOAT16_MAX_VALUE = 65504;
16
+ const FLOAT16_EPSILON = 0.0009765625;
17
+ const FLOAT16_EPSILON_MULTIPLIED_BY_FLOAT16_MIN_VALUE = FLOAT16_EPSILON * FLOAT16_MIN_VALUE;
18
+ const FLOAT16_EPSILON_DEVIDED_BY_EPSILON = FLOAT16_EPSILON * INVERSE_OF_EPSILON;
19
+ function roundToFloat16(num) {
20
+ const number = +num;
21
+ if (!(0, _primordials.NumberIsFinite)(number) || number === 0) {
22
+ return number;
23
+ }
24
+ const sign = number > 0 ? 1 : -1;
25
+ const absolute = (0, _primordials.MathAbs)(number);
26
+ if (absolute < FLOAT16_MIN_VALUE) {
27
+ return sign * roundTiesToEven(absolute / FLOAT16_EPSILON_MULTIPLIED_BY_FLOAT16_MIN_VALUE) * FLOAT16_EPSILON_MULTIPLIED_BY_FLOAT16_MIN_VALUE;
28
+ }
29
+ const temp = (1 + FLOAT16_EPSILON_DEVIDED_BY_EPSILON) * absolute;
30
+ const result = temp - (temp - absolute);
31
+ if (result > FLOAT16_MAX_VALUE || (0, _primordials.NumberIsNaN)(result)) {
32
+ return sign * Infinity;
33
+ }
34
+ return sign * result;
35
+ }
36
+ const buffer = new _primordials.NativeArrayBuffer(4);
37
+ const floatView = new _primordials.NativeFloat32Array(buffer);
38
+ const uint32View = new _primordials.NativeUint32Array(buffer);
39
+ const baseTable = new _primordials.NativeUint16Array(512);
40
+ const shiftTable = new _primordials.NativeUint8Array(512);
41
+ for (let i = 0; i < 256; ++i) {
42
+ const e = i - 127;
43
+ if (e < -24) {
44
+ baseTable[i] = 0x0000;
45
+ baseTable[i | 0x100] = 0x8000;
46
+ shiftTable[i] = 24;
47
+ shiftTable[i | 0x100] = 24;
48
+ } else if (e < -14) {
49
+ baseTable[i] = 0x0400 >> -e - 14;
50
+ baseTable[i | 0x100] = 0x0400 >> -e - 14 | 0x8000;
51
+ shiftTable[i] = -e - 1;
52
+ shiftTable[i | 0x100] = -e - 1;
53
+ } else if (e <= 15) {
54
+ baseTable[i] = e + 15 << 10;
55
+ baseTable[i | 0x100] = e + 15 << 10 | 0x8000;
56
+ shiftTable[i] = 13;
57
+ shiftTable[i | 0x100] = 13;
58
+ } else if (e < 128) {
59
+ baseTable[i] = 0x7c00;
60
+ baseTable[i | 0x100] = 0xfc00;
61
+ shiftTable[i] = 24;
62
+ shiftTable[i | 0x100] = 24;
63
+ } else {
64
+ baseTable[i] = 0x7c00;
65
+ baseTable[i | 0x100] = 0xfc00;
66
+ shiftTable[i] = 13;
67
+ shiftTable[i | 0x100] = 13;
68
+ }
69
+ }
70
+ function roundToFloat16Bits(num) {
71
+ floatView[0] = roundToFloat16(num);
72
+ const f = uint32View[0];
73
+ const e = f >> 23 & 0x1ff;
74
+ return baseTable[e] + ((f & 0x007fffff) >> shiftTable[e]);
75
+ }
76
+ const mantissaTable = new _primordials.NativeUint32Array(2048);
77
+ for (let i = 1; i < 1024; ++i) {
78
+ let m = i << 13;
79
+ let e = 0;
80
+ while ((m & 0x00800000) === 0) {
81
+ m <<= 1;
82
+ e -= 0x00800000;
83
+ }
84
+ m &= ~0x00800000;
85
+ e += 0x38800000;
86
+ mantissaTable[i] = m | e;
87
+ }
88
+ for (let i = 1024; i < 2048; ++i) {
89
+ mantissaTable[i] = 0x38000000 + (i - 1024 << 13);
90
+ }
91
+ const exponentTable = new _primordials.NativeUint32Array(64);
92
+ for (let i = 1; i < 31; ++i) {
93
+ exponentTable[i] = i << 23;
94
+ }
95
+ exponentTable[31] = 0x47800000;
96
+ exponentTable[32] = 0x80000000;
97
+ for (let i = 33; i < 63; ++i) {
98
+ exponentTable[i] = 0x80000000 + (i - 32 << 23);
99
+ }
100
+ exponentTable[63] = 0xc7800000;
101
+ const offsetTable = new _primordials.NativeUint16Array(64);
102
+ for (let i = 1; i < 64; ++i) {
103
+ if (i !== 32) {
104
+ offsetTable[i] = 1024;
105
+ }
106
+ }
107
+ function convertToNumber(float16bits) {
108
+ const i = float16bits >> 10;
109
+ uint32View[0] = mantissaTable[offsetTable[i] + (float16bits & 0x3ff)] + exponentTable[i];
110
+ return floatView[0];
111
+ }
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isAnyArrayBuffer = isAnyArrayBuffer;
7
+ exports.isCanonicalIntegerIndexString = isCanonicalIntegerIndexString;
8
+ exports.isNativeBigIntTypedArray = isNativeBigIntTypedArray;
9
+ exports.isNativeTypedArray = isNativeTypedArray;
10
+ exports.isObject = isObject;
11
+ exports.isObjectLike = isObjectLike;
12
+ exports.isOrdinaryArray = isOrdinaryArray;
13
+ exports.isOrdinaryNativeTypedArray = isOrdinaryNativeTypedArray;
14
+ exports.isSharedArrayBuffer = isSharedArrayBuffer;
15
+ var _primordials = require("./primordials.cjs");
16
+ function isObject(value) {
17
+ return value !== null && typeof value === "object" || typeof value === "function";
18
+ }
19
+ function isObjectLike(value) {
20
+ return value !== null && typeof value === "object";
21
+ }
22
+ function isNativeTypedArray(value) {
23
+ return (0, _primordials.TypedArrayPrototypeGetSymbolToStringTag)(value) !== undefined;
24
+ }
25
+ function isNativeBigIntTypedArray(value) {
26
+ const typedArrayName = (0, _primordials.TypedArrayPrototypeGetSymbolToStringTag)(value);
27
+ return typedArrayName === "BigInt64Array" || typedArrayName === "BigUint64Array";
28
+ }
29
+ function isArrayBuffer(value) {
30
+ try {
31
+ if ((0, _primordials.ArrayIsArray)(value)) {
32
+ return false;
33
+ }
34
+ (0, _primordials.ArrayBufferPrototypeGetByteLength)(value);
35
+ return true;
36
+ } catch (e) {
37
+ return false;
38
+ }
39
+ }
40
+ function isSharedArrayBuffer(value) {
41
+ if (_primordials.NativeSharedArrayBuffer === null) {
42
+ return false;
43
+ }
44
+ try {
45
+ (0, _primordials.SharedArrayBufferPrototypeGetByteLength)(value);
46
+ return true;
47
+ } catch (e) {
48
+ return false;
49
+ }
50
+ }
51
+ function isAnyArrayBuffer(value) {
52
+ return isArrayBuffer(value) || isSharedArrayBuffer(value);
53
+ }
54
+ function isOrdinaryArray(value) {
55
+ if (!(0, _primordials.ArrayIsArray)(value)) {
56
+ return false;
57
+ }
58
+ return value[_primordials.SymbolIterator] === _primordials.NativeArrayPrototypeSymbolIterator && _primordials.ArrayIteratorPrototype.next === _primordials.ArrayIteratorPrototypeNext;
59
+ }
60
+ function isOrdinaryNativeTypedArray(value) {
61
+ if (!isNativeTypedArray(value)) {
62
+ return false;
63
+ }
64
+ return value[_primordials.SymbolIterator] === _primordials.NativeTypedArrayPrototypeSymbolIterator && _primordials.ArrayIteratorPrototype.next === _primordials.ArrayIteratorPrototypeNext;
65
+ }
66
+ function isCanonicalIntegerIndexString(value) {
67
+ if (typeof value !== "string") {
68
+ return false;
69
+ }
70
+ const number = +value;
71
+ if (value !== number + "") {
72
+ return false;
73
+ }
74
+ if (!(0, _primordials.NumberIsFinite)(number)) {
75
+ return false;
76
+ }
77
+ return number === (0, _primordials.MathTrunc)(number);
78
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ const THIS_IS_NOT_AN_OBJECT = exports.THIS_IS_NOT_AN_OBJECT = "This is not an object";
7
+ const THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT = exports.THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT = "This is not a Float16Array object";
8
+ const THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY = exports.THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY = "This constructor is not a subclass of Float16Array";
9
+ const THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT = exports.THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT = "The constructor property value is not an object";
10
+ const SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT = exports.SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT = "Species constructor didn't return TypedArray object";
11
+ const DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH = exports.DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH = "Derived constructor created TypedArray object which was too small length";
12
+ const ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER = exports.ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER = "Attempting to access detached ArrayBuffer";
13
+ const CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT = exports.CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT = "Cannot convert undefined or null to object";
14
+ const CANNOT_MIX_BIGINT_AND_OTHER_TYPES = exports.CANNOT_MIX_BIGINT_AND_OTHER_TYPES = "Cannot mix BigInt and other types, use explicit conversions";
15
+ const ITERATOR_PROPERTY_IS_NOT_CALLABLE = exports.ITERATOR_PROPERTY_IS_NOT_CALLABLE = "@@iterator property is not callable";
16
+ const REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE = exports.REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE = "Reduce of empty array with no initial value";
17
+ const THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED = exports.THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED = "The comparison function must be either a function or undefined";
18
+ const OFFSET_IS_OUT_OF_BOUNDS = exports.OFFSET_IS_OUT_OF_BOUNDS = "Offset is out of bounds";
@@ -0,0 +1,150 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _messages = require("./messages.cjs");
7
+ function uncurryThis(target) {
8
+ return (thisArg, ...args) => {
9
+ return ReflectApply(target, thisArg, args);
10
+ };
11
+ }
12
+ function uncurryThisGetter(target, key) {
13
+ return uncurryThis(ReflectGetOwnPropertyDescriptor(target, key).get);
14
+ }
15
+ const {
16
+ apply: ReflectApply,
17
+ construct: ReflectConstruct,
18
+ defineProperty: ReflectDefineProperty,
19
+ get: ReflectGet,
20
+ getOwnPropertyDescriptor: ReflectGetOwnPropertyDescriptor,
21
+ getPrototypeOf: ReflectGetPrototypeOf,
22
+ has: ReflectHas,
23
+ ownKeys: ReflectOwnKeys,
24
+ set: ReflectSet,
25
+ setPrototypeOf: ReflectSetPrototypeOf
26
+ } = Reflect;
27
+ exports.ReflectSetPrototypeOf = ReflectSetPrototypeOf;
28
+ exports.ReflectSet = ReflectSet;
29
+ exports.ReflectOwnKeys = ReflectOwnKeys;
30
+ exports.ReflectHas = ReflectHas;
31
+ exports.ReflectGetPrototypeOf = ReflectGetPrototypeOf;
32
+ exports.ReflectGetOwnPropertyDescriptor = ReflectGetOwnPropertyDescriptor;
33
+ exports.ReflectGet = ReflectGet;
34
+ exports.ReflectDefineProperty = ReflectDefineProperty;
35
+ exports.ReflectConstruct = ReflectConstruct;
36
+ exports.ReflectApply = ReflectApply;
37
+ const NativeProxy = exports.NativeProxy = Proxy;
38
+ const {
39
+ EPSILON,
40
+ MAX_SAFE_INTEGER,
41
+ isFinite: NumberIsFinite,
42
+ isNaN: NumberIsNaN
43
+ } = Number;
44
+ exports.NumberIsNaN = NumberIsNaN;
45
+ exports.NumberIsFinite = NumberIsFinite;
46
+ exports.MAX_SAFE_INTEGER = MAX_SAFE_INTEGER;
47
+ exports.EPSILON = EPSILON;
48
+ const {
49
+ iterator: SymbolIterator,
50
+ species: SymbolSpecies,
51
+ toStringTag: SymbolToStringTag,
52
+ for: SymbolFor
53
+ } = Symbol;
54
+ exports.SymbolFor = SymbolFor;
55
+ exports.SymbolToStringTag = SymbolToStringTag;
56
+ exports.SymbolSpecies = SymbolSpecies;
57
+ exports.SymbolIterator = SymbolIterator;
58
+ const NativeObject = exports.NativeObject = Object;
59
+ const {
60
+ create: ObjectCreate,
61
+ defineProperty: ObjectDefineProperty,
62
+ freeze: ObjectFreeze,
63
+ is: ObjectIs
64
+ } = NativeObject;
65
+ exports.ObjectIs = ObjectIs;
66
+ exports.ObjectFreeze = ObjectFreeze;
67
+ exports.ObjectDefineProperty = ObjectDefineProperty;
68
+ exports.ObjectCreate = ObjectCreate;
69
+ const ObjectPrototype = NativeObject.prototype;
70
+ const ObjectPrototype__lookupGetter__ = exports.ObjectPrototype__lookupGetter__ = ObjectPrototype.__lookupGetter__ ? uncurryThis(ObjectPrototype.__lookupGetter__) : (object, key) => {
71
+ if (object == null) {
72
+ throw NativeTypeError(_messages.CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT);
73
+ }
74
+ let target = NativeObject(object);
75
+ do {
76
+ const descriptor = ReflectGetOwnPropertyDescriptor(target, key);
77
+ if (descriptor !== undefined) {
78
+ if (ObjectHasOwn(descriptor, "get")) {
79
+ return descriptor.get;
80
+ }
81
+ return;
82
+ }
83
+ } while ((target = ReflectGetPrototypeOf(target)) !== null);
84
+ };
85
+ const ObjectHasOwn = exports.ObjectHasOwn = NativeObject.hasOwn || uncurryThis(ObjectPrototype.hasOwnProperty);
86
+ const NativeArray = Array;
87
+ const ArrayIsArray = exports.ArrayIsArray = NativeArray.isArray;
88
+ const ArrayPrototype = NativeArray.prototype;
89
+ const ArrayPrototypeJoin = exports.ArrayPrototypeJoin = uncurryThis(ArrayPrototype.join);
90
+ const ArrayPrototypePush = exports.ArrayPrototypePush = uncurryThis(ArrayPrototype.push);
91
+ const ArrayPrototypeToLocaleString = exports.ArrayPrototypeToLocaleString = uncurryThis(ArrayPrototype.toLocaleString);
92
+ const NativeArrayPrototypeSymbolIterator = exports.NativeArrayPrototypeSymbolIterator = ArrayPrototype[SymbolIterator];
93
+ const ArrayPrototypeSymbolIterator = exports.ArrayPrototypeSymbolIterator = uncurryThis(NativeArrayPrototypeSymbolIterator);
94
+ const {
95
+ abs: MathAbs,
96
+ trunc: MathTrunc
97
+ } = Math;
98
+ exports.MathTrunc = MathTrunc;
99
+ exports.MathAbs = MathAbs;
100
+ const NativeArrayBuffer = exports.NativeArrayBuffer = ArrayBuffer;
101
+ const ArrayBufferIsView = exports.ArrayBufferIsView = NativeArrayBuffer.isView;
102
+ const ArrayBufferPrototype = NativeArrayBuffer.prototype;
103
+ const ArrayBufferPrototypeSlice = exports.ArrayBufferPrototypeSlice = uncurryThis(ArrayBufferPrototype.slice);
104
+ const ArrayBufferPrototypeGetByteLength = exports.ArrayBufferPrototypeGetByteLength = uncurryThisGetter(ArrayBufferPrototype, "byteLength");
105
+ const NativeSharedArrayBuffer = exports.NativeSharedArrayBuffer = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : null;
106
+ const SharedArrayBufferPrototypeGetByteLength = exports.SharedArrayBufferPrototypeGetByteLength = NativeSharedArrayBuffer && uncurryThisGetter(NativeSharedArrayBuffer.prototype, "byteLength");
107
+ const TypedArray = exports.TypedArray = ReflectGetPrototypeOf(Uint8Array);
108
+ const TypedArrayFrom = TypedArray.from;
109
+ const TypedArrayPrototype = exports.TypedArrayPrototype = TypedArray.prototype;
110
+ const NativeTypedArrayPrototypeSymbolIterator = exports.NativeTypedArrayPrototypeSymbolIterator = TypedArrayPrototype[SymbolIterator];
111
+ const TypedArrayPrototypeKeys = exports.TypedArrayPrototypeKeys = uncurryThis(TypedArrayPrototype.keys);
112
+ const TypedArrayPrototypeValues = exports.TypedArrayPrototypeValues = uncurryThis(TypedArrayPrototype.values);
113
+ const TypedArrayPrototypeEntries = exports.TypedArrayPrototypeEntries = uncurryThis(TypedArrayPrototype.entries);
114
+ const TypedArrayPrototypeSet = exports.TypedArrayPrototypeSet = uncurryThis(TypedArrayPrototype.set);
115
+ const TypedArrayPrototypeReverse = exports.TypedArrayPrototypeReverse = uncurryThis(TypedArrayPrototype.reverse);
116
+ const TypedArrayPrototypeFill = exports.TypedArrayPrototypeFill = uncurryThis(TypedArrayPrototype.fill);
117
+ const TypedArrayPrototypeCopyWithin = exports.TypedArrayPrototypeCopyWithin = uncurryThis(TypedArrayPrototype.copyWithin);
118
+ const TypedArrayPrototypeSort = exports.TypedArrayPrototypeSort = uncurryThis(TypedArrayPrototype.sort);
119
+ const TypedArrayPrototypeSlice = exports.TypedArrayPrototypeSlice = uncurryThis(TypedArrayPrototype.slice);
120
+ const TypedArrayPrototypeSubarray = exports.TypedArrayPrototypeSubarray = uncurryThis(TypedArrayPrototype.subarray);
121
+ const TypedArrayPrototypeGetBuffer = exports.TypedArrayPrototypeGetBuffer = uncurryThisGetter(TypedArrayPrototype, "buffer");
122
+ const TypedArrayPrototypeGetByteOffset = exports.TypedArrayPrototypeGetByteOffset = uncurryThisGetter(TypedArrayPrototype, "byteOffset");
123
+ const TypedArrayPrototypeGetLength = exports.TypedArrayPrototypeGetLength = uncurryThisGetter(TypedArrayPrototype, "length");
124
+ const TypedArrayPrototypeGetSymbolToStringTag = exports.TypedArrayPrototypeGetSymbolToStringTag = uncurryThisGetter(TypedArrayPrototype, SymbolToStringTag);
125
+ const NativeUint8Array = exports.NativeUint8Array = Uint8Array;
126
+ const NativeUint16Array = exports.NativeUint16Array = Uint16Array;
127
+ const Uint16ArrayFrom = (...args) => {
128
+ return ReflectApply(TypedArrayFrom, NativeUint16Array, args);
129
+ };
130
+ exports.Uint16ArrayFrom = Uint16ArrayFrom;
131
+ const NativeUint32Array = exports.NativeUint32Array = Uint32Array;
132
+ const NativeFloat32Array = exports.NativeFloat32Array = Float32Array;
133
+ const ArrayIteratorPrototype = exports.ArrayIteratorPrototype = ReflectGetPrototypeOf([][SymbolIterator]());
134
+ const ArrayIteratorPrototypeNext = exports.ArrayIteratorPrototypeNext = uncurryThis(ArrayIteratorPrototype.next);
135
+ const GeneratorPrototypeNext = exports.GeneratorPrototypeNext = uncurryThis(function* () {}().next);
136
+ const IteratorPrototype = exports.IteratorPrototype = ReflectGetPrototypeOf(ArrayIteratorPrototype);
137
+ const DataViewPrototype = DataView.prototype;
138
+ const DataViewPrototypeGetUint16 = exports.DataViewPrototypeGetUint16 = uncurryThis(DataViewPrototype.getUint16);
139
+ const DataViewPrototypeSetUint16 = exports.DataViewPrototypeSetUint16 = uncurryThis(DataViewPrototype.setUint16);
140
+ const NativeTypeError = exports.NativeTypeError = TypeError;
141
+ const NativeRangeError = exports.NativeRangeError = RangeError;
142
+ const NativeWeakSet = exports.NativeWeakSet = WeakSet;
143
+ const WeakSetPrototype = NativeWeakSet.prototype;
144
+ const WeakSetPrototypeAdd = exports.WeakSetPrototypeAdd = uncurryThis(WeakSetPrototype.add);
145
+ const WeakSetPrototypeHas = exports.WeakSetPrototypeHas = uncurryThis(WeakSetPrototype.has);
146
+ const NativeWeakMap = exports.NativeWeakMap = WeakMap;
147
+ const WeakMapPrototype = NativeWeakMap.prototype;
148
+ const WeakMapPrototypeGet = exports.WeakMapPrototypeGet = uncurryThis(WeakMapPrototype.get);
149
+ const WeakMapPrototypeHas = exports.WeakMapPrototypeHas = uncurryThis(WeakMapPrototype.has);
150
+ const WeakMapPrototypeSet = exports.WeakMapPrototypeSet = uncurryThis(WeakMapPrototype.set);
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.IsDetachedBuffer = IsDetachedBuffer;
7
+ exports.SpeciesConstructor = SpeciesConstructor;
8
+ exports.ToIntegerOrInfinity = ToIntegerOrInfinity;
9
+ exports.ToLength = ToLength;
10
+ exports.defaultCompare = defaultCompare;
11
+ var _is = require("./is.cjs");
12
+ var _messages = require("./messages.cjs");
13
+ var _primordials = require("./primordials.cjs");
14
+ function ToIntegerOrInfinity(target) {
15
+ const number = +target;
16
+ if ((0, _primordials.NumberIsNaN)(number) || number === 0) {
17
+ return 0;
18
+ }
19
+ return (0, _primordials.MathTrunc)(number);
20
+ }
21
+ function ToLength(target) {
22
+ const length = ToIntegerOrInfinity(target);
23
+ if (length < 0) {
24
+ return 0;
25
+ }
26
+ return length < _primordials.MAX_SAFE_INTEGER ? length : _primordials.MAX_SAFE_INTEGER;
27
+ }
28
+ function SpeciesConstructor(target, defaultConstructor) {
29
+ if (!(0, _is.isObject)(target)) {
30
+ throw (0, _primordials.NativeTypeError)(_messages.THIS_IS_NOT_AN_OBJECT);
31
+ }
32
+ const constructor = target.constructor;
33
+ if (constructor === undefined) {
34
+ return defaultConstructor;
35
+ }
36
+ if (!(0, _is.isObject)(constructor)) {
37
+ throw (0, _primordials.NativeTypeError)(_messages.THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
38
+ }
39
+ const species = constructor[_primordials.SymbolSpecies];
40
+ if (species == null) {
41
+ return defaultConstructor;
42
+ }
43
+ return species;
44
+ }
45
+ function IsDetachedBuffer(buffer) {
46
+ if ((0, _is.isSharedArrayBuffer)(buffer)) {
47
+ return false;
48
+ }
49
+ try {
50
+ (0, _primordials.ArrayBufferPrototypeSlice)(buffer, 0, 0);
51
+ return false;
52
+ } catch (e) {}
53
+ return true;
54
+ }
55
+ function defaultCompare(x, y) {
56
+ const isXNaN = (0, _primordials.NumberIsNaN)(x);
57
+ const isYNaN = (0, _primordials.NumberIsNaN)(y);
58
+ if (isXNaN && isYNaN) {
59
+ return 0;
60
+ }
61
+ if (isXNaN) {
62
+ return 1;
63
+ }
64
+ if (isYNaN) {
65
+ return -1;
66
+ }
67
+ if (x < y) {
68
+ return -1;
69
+ }
70
+ if (x > y) {
71
+ return 1;
72
+ }
73
+ if (x === 0 && y === 0) {
74
+ const isXPlusZero = (0, _primordials.ObjectIs)(x, 0);
75
+ const isYPlusZero = (0, _primordials.ObjectIs)(y, 0);
76
+ if (!isXPlusZero && isYPlusZero) {
77
+ return -1;
78
+ }
79
+ if (isXPlusZero && !isYPlusZero) {
80
+ return 1;
81
+ }
82
+ }
83
+ return 0;
84
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.f16round = f16round;
7
+ var _converter = require("./_util/converter.cjs");
8
+ function f16round(x) {
9
+ return (0, _converter.roundToFloat16)(x);
10
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _Float16Array = require("./Float16Array.cjs");
7
+ exports.Float16Array = _Float16Array.Float16Array;
8
+ exports.isFloat16Array = _Float16Array.isFloat16Array;
9
+ var _isTypedArray = require("./isTypedArray.cjs");
10
+ exports.isTypedArray = _isTypedArray.isTypedArray;
11
+ var _DataView = require("./DataView.cjs");
12
+ exports.getFloat16 = _DataView.getFloat16;
13
+ exports.setFloat16 = _DataView.setFloat16;
14
+ var _f16round = require("./f16round.cjs");
15
+ exports.f16round = _f16round.f16round;
16
+ exports.hfround = _f16round.f16round;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isTypedArray = isTypedArray;
7
+ var _Float16Array = require("./Float16Array.cjs");
8
+ var _is = require("./_util/is.cjs");
9
+ function isTypedArray(target) {
10
+ return (0, _is.isNativeTypedArray)(target) || (0, _Float16Array.isFloat16Array)(target);
11
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "name": "@petamoriken/float16",
3
+ "version": "3.9.3",
4
+ "description": "IEEE 754 half-precision floating-point for JavaScript",
5
+ "keywords": [
6
+ "float16",
7
+ "binary16",
8
+ "FP16",
9
+ "half-precision",
10
+ "ieee754",
11
+ "Float16Array",
12
+ "TypedArray",
13
+ "DataView",
14
+ "getFloat16",
15
+ "setFloat16",
16
+ "f16round",
17
+ "ponyfill",
18
+ "shim"
19
+ ],
20
+ "homepage": "https://github.com/petamoriken/float16",
21
+ "bugs": {
22
+ "url": "https://github.com/petamoriken/float16/issues"
23
+ },
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://github.com/petamoriken/float16.git"
27
+ },
28
+ "license": "MIT",
29
+ "author": "Kenta Moriuchi <moriken@kimamass.com> (https://moriken.dev)",
30
+ "sideEffects": false,
31
+ "exports": {
32
+ ".": {
33
+ "require": "./lib/index.cjs",
34
+ "import": "./src/index.mjs",
35
+ "types": "./index.v5.7.d.ts"
36
+ },
37
+ "./inspect": {
38
+ "require": "./inspect/node.cjs",
39
+ "import": "./inspect/node.mjs"
40
+ }
41
+ },
42
+ "main": "./lib/index.cjs",
43
+ "browser": "./browser/float16.js",
44
+ "module": "./src/index.mjs",
45
+ "types": "./index.d.ts",
46
+ "typesVersions": {
47
+ ">=5.7": {
48
+ "index.d.ts": [
49
+ "index.v5.7.d.ts"
50
+ ]
51
+ },
52
+ ">=5.6": {
53
+ "index.d.ts": [
54
+ "index.v5.6.d.ts"
55
+ ]
56
+ }
57
+ },
58
+ "files": [
59
+ "src",
60
+ "lib",
61
+ "browser",
62
+ "inspect/node.mjs",
63
+ "inspect/node.cjs",
64
+ "index.d.ts",
65
+ "index.v5.6.d.ts",
66
+ "index.v5.7.d.ts"
67
+ ],
68
+ "scripts": {
69
+ "build": "concurrently \"yarn:build:*\"",
70
+ "build:browser": "rollup -c",
71
+ "build:lib": "babel src -d lib --out-file-extension .cjs",
72
+ "clean": "rm -rf lib browser docs coverage .nyc_output",
73
+ "coverage": "nyc --reporter=lcov mocha test/*.js",
74
+ "docs": "mkdir -p docs && cp README.md docs/index.md && yarn run docs:test",
75
+ "docs:test": "mkdir -p docs/test && concurrently \"yarn:docs:test:*\"",
76
+ "docs:test:build": "cp test/*.js docs/test && tools/power",
77
+ "docs:test:copy": "cp browser/float16.js docs/test/float16.js && cp test/browser/*.html docs/test",
78
+ "docs:test:dependencies": "cp node_modules/mocha/mocha.js node_modules/mocha/mocha.css node_modules/power-assert/build/power-assert.js docs/test",
79
+ "lint": "concurrently \"yarn:lint:*\"",
80
+ "lint:eslint": "eslint src/**/*.mjs",
81
+ "lint:unused": "find-unused-exports --module-glob 'src/**/*.mjs'",
82
+ "prepublishOnly": "yarn run lint && yarn test",
83
+ "refresh": "yarn run clean && yarn run build && yarn run docs",
84
+ "setup-test-browser": "http-server docs/test -p 8000 > /dev/null 2>&1 &",
85
+ "test": "mocha test/*.js",
86
+ "test-browser": "nightwatch -e chrome,chrome_old,firefox,firefox_old,firefox_esr,safari,safari_old"
87
+ },
88
+ "devDependencies": {
89
+ "@babel/cli": "^7.28.0",
90
+ "@babel/core": "^7.28.4",
91
+ "@babel/plugin-transform-modules-commonjs": "^7.27.1",
92
+ "@types/nightwatch": "^3.0.1",
93
+ "@types/node": "^24.5.2",
94
+ "babel-plugin-replace-import-extension": "^1.1.5",
95
+ "browserslist": "^4.26.2",
96
+ "concurrently": "^9.2.1",
97
+ "eslint": "^8.57.1",
98
+ "eslint-plugin-import": "^2.32.0",
99
+ "eslint-plugin-jsdoc": "^60.5.0",
100
+ "espower-cli": "^1.1.0",
101
+ "espower-loader": "^1.2.2",
102
+ "exorcist": "^2.0.0",
103
+ "find-unused-exports": "^7.1.1",
104
+ "http-server": "^14.1.1",
105
+ "mocha": "^11.7.2",
106
+ "nightwatch": "^3.12.2",
107
+ "nightwatch-saucelabs-endsauce": "^2.4.0",
108
+ "nyc": "^17.1.0",
109
+ "power-assert": "^1.4.2",
110
+ "rollup": "^4.52.2",
111
+ "rollup-plugin-cleanup": "^3.2.1",
112
+ "source-map-support": "^0.5.21"
113
+ },
114
+ "packageManager": "yarn@1.22.22"
115
+ }