@nubjs/nub-win32-arm64 0.0.7 → 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 (393) hide show
  1. package/bin/nub.exe +0 -0
  2. package/package.json +1 -1
  3. package/runtime/addons/nub-native.node +0 -0
  4. package/runtime/node_modules/@js-temporal/polyfill/CHANGELOG.md +453 -0
  5. package/runtime/node_modules/@js-temporal/polyfill/LICENSE +13 -0
  6. package/runtime/node_modules/@js-temporal/polyfill/README.md +90 -0
  7. package/runtime/node_modules/@js-temporal/polyfill/dist/index.cjs +2 -0
  8. package/runtime/node_modules/@js-temporal/polyfill/dist/index.cjs.map +1 -0
  9. package/runtime/node_modules/@js-temporal/polyfill/dist/index.esm.js +2 -0
  10. package/runtime/node_modules/@js-temporal/polyfill/dist/index.esm.js.map +1 -0
  11. package/runtime/node_modules/@js-temporal/polyfill/dist/index.umd.js +2 -0
  12. package/runtime/node_modules/@js-temporal/polyfill/dist/index.umd.js.map +1 -0
  13. package/runtime/node_modules/@js-temporal/polyfill/index.d.cts +1215 -0
  14. package/runtime/node_modules/@js-temporal/polyfill/index.d.ts +1215 -0
  15. package/runtime/node_modules/@js-temporal/polyfill/lib/assert.ts +8 -0
  16. package/runtime/node_modules/@js-temporal/polyfill/lib/bigintmath.ts +39 -0
  17. package/runtime/node_modules/@js-temporal/polyfill/lib/calendar.ts +2424 -0
  18. package/runtime/node_modules/@js-temporal/polyfill/lib/debug.ts +7 -0
  19. package/runtime/node_modules/@js-temporal/polyfill/lib/duration.ts +438 -0
  20. package/runtime/node_modules/@js-temporal/polyfill/lib/durationformat.d.ts +93 -0
  21. package/runtime/node_modules/@js-temporal/polyfill/lib/ecmascript.ts +4973 -0
  22. package/runtime/node_modules/@js-temporal/polyfill/lib/index.ts +34 -0
  23. package/runtime/node_modules/@js-temporal/polyfill/lib/init.ts +43 -0
  24. package/runtime/node_modules/@js-temporal/polyfill/lib/instant.ts +138 -0
  25. package/runtime/node_modules/@js-temporal/polyfill/lib/internaltypes.d.ts +242 -0
  26. package/runtime/node_modules/@js-temporal/polyfill/lib/intl.ts +758 -0
  27. package/runtime/node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts +162 -0
  28. package/runtime/node_modules/@js-temporal/polyfill/lib/legacydate.ts +17 -0
  29. package/runtime/node_modules/@js-temporal/polyfill/lib/math.ts +96 -0
  30. package/runtime/node_modules/@js-temporal/polyfill/lib/now.ts +48 -0
  31. package/runtime/node_modules/@js-temporal/polyfill/lib/plaindate.ts +212 -0
  32. package/runtime/node_modules/@js-temporal/polyfill/lib/plaindatetime.ts +274 -0
  33. package/runtime/node_modules/@js-temporal/polyfill/lib/plainmonthday.ts +110 -0
  34. package/runtime/node_modules/@js-temporal/polyfill/lib/plaintime.ts +154 -0
  35. package/runtime/node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts +157 -0
  36. package/runtime/node_modules/@js-temporal/polyfill/lib/regex.ts +59 -0
  37. package/runtime/node_modules/@js-temporal/polyfill/lib/slots.ts +341 -0
  38. package/runtime/node_modules/@js-temporal/polyfill/lib/temporal.ts +10 -0
  39. package/runtime/node_modules/@js-temporal/polyfill/lib/timeduration.ts +149 -0
  40. package/runtime/node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts +492 -0
  41. package/runtime/node_modules/@js-temporal/polyfill/package.json +143 -0
  42. package/runtime/node_modules/@oxc-parser/binding-win32-x64-msvc/README.md +3 -0
  43. package/runtime/node_modules/@oxc-parser/binding-win32-x64-msvc/package.json +39 -0
  44. package/runtime/node_modules/@oxc-parser/binding-win32-x64-msvc/parser.win32-x64-msvc.node +0 -0
  45. package/runtime/node_modules/@oxc-project/runtime/CHANGELOG.md +88 -0
  46. package/runtime/node_modules/@oxc-project/runtime/LICENSE +22 -0
  47. package/runtime/node_modules/@oxc-project/runtime/README.md +5 -0
  48. package/runtime/node_modules/@oxc-project/runtime/package.json +1066 -0
  49. package/runtime/node_modules/@oxc-project/runtime/src/helpers/AwaitValue.js +4 -0
  50. package/runtime/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js +4 -0
  51. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecoratedDescriptor.js +9 -0
  52. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs.js +236 -0
  53. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2203.js +184 -0
  54. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2203R.js +191 -0
  55. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2301.js +222 -0
  56. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2305.js +133 -0
  57. package/runtime/node_modules/@oxc-project/runtime/src/helpers/applyDecs2311.js +124 -0
  58. package/runtime/node_modules/@oxc-project/runtime/src/helpers/arrayLikeToArray.js +6 -0
  59. package/runtime/node_modules/@oxc-project/runtime/src/helpers/arrayWithHoles.js +4 -0
  60. package/runtime/node_modules/@oxc-project/runtime/src/helpers/arrayWithoutHoles.js +5 -0
  61. package/runtime/node_modules/@oxc-project/runtime/src/helpers/assertClassBrand.js +5 -0
  62. package/runtime/node_modules/@oxc-project/runtime/src/helpers/assertThisInitialized.js +5 -0
  63. package/runtime/node_modules/@oxc-project/runtime/src/helpers/asyncGeneratorDelegate.js +24 -0
  64. package/runtime/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js +45 -0
  65. package/runtime/node_modules/@oxc-project/runtime/src/helpers/asyncToGenerator.js +26 -0
  66. package/runtime/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js +5 -0
  67. package/runtime/node_modules/@oxc-project/runtime/src/helpers/callSuper.js +7 -0
  68. package/runtime/node_modules/@oxc-project/runtime/src/helpers/checkInRHS.js +6 -0
  69. package/runtime/node_modules/@oxc-project/runtime/src/helpers/checkPrivateRedeclaration.js +4 -0
  70. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classApplyDescriptorDestructureSet.js +10 -0
  71. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classApplyDescriptorGet.js +4 -0
  72. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classApplyDescriptorSet.js +7 -0
  73. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classCallCheck.js +4 -0
  74. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classCheckPrivateStaticAccess.js +5 -0
  75. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  76. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classExtractFieldDescriptor.js +5 -0
  77. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classNameTDZError.js +4 -0
  78. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldDestructureSet.js +7 -0
  79. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldGet.js +7 -0
  80. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldGet2.js +5 -0
  81. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldInitSpec.js +5 -0
  82. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldLooseBase.js +5 -0
  83. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldLooseKey.js +5 -0
  84. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldSet.js +7 -0
  85. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateFieldSet2.js +5 -0
  86. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateGetter.js +5 -0
  87. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateMethodGet.js +5 -0
  88. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateMethodInitSpec.js +5 -0
  89. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateMethodSet.js +4 -0
  90. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classPrivateSetter.js +5 -0
  91. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  92. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  93. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  94. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateMethodGet.js +5 -0
  95. package/runtime/node_modules/@oxc-project/runtime/src/helpers/classStaticPrivateMethodSet.js +4 -0
  96. package/runtime/node_modules/@oxc-project/runtime/src/helpers/construct.js +10 -0
  97. package/runtime/node_modules/@oxc-project/runtime/src/helpers/createClass.js +13 -0
  98. package/runtime/node_modules/@oxc-project/runtime/src/helpers/createForOfIteratorHelper.js +50 -0
  99. package/runtime/node_modules/@oxc-project/runtime/src/helpers/createForOfIteratorHelperLoose.js +19 -0
  100. package/runtime/node_modules/@oxc-project/runtime/src/helpers/createSuper.js +16 -0
  101. package/runtime/node_modules/@oxc-project/runtime/src/helpers/decorate.js +23 -0
  102. package/runtime/node_modules/@oxc-project/runtime/src/helpers/decorateMetadata.js +9 -0
  103. package/runtime/node_modules/@oxc-project/runtime/src/helpers/decorateParam.js +11 -0
  104. package/runtime/node_modules/@oxc-project/runtime/src/helpers/defaults.js +9 -0
  105. package/runtime/node_modules/@oxc-project/runtime/src/helpers/defineAccessor.js +8 -0
  106. package/runtime/node_modules/@oxc-project/runtime/src/helpers/defineEnumerableProperties.js +12 -0
  107. package/runtime/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js +10 -0
  108. package/runtime/node_modules/@oxc-project/runtime/src/helpers/dispose.js +28 -0
  109. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/AwaitValue.js +4 -0
  110. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/OverloadYield.js +4 -0
  111. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecoratedDescriptor.js +9 -0
  112. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs.js +236 -0
  113. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2203.js +184 -0
  114. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2203R.js +191 -0
  115. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2301.js +222 -0
  116. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2305.js +133 -0
  117. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/applyDecs2311.js +124 -0
  118. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/arrayLikeToArray.js +6 -0
  119. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/arrayWithHoles.js +4 -0
  120. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/arrayWithoutHoles.js +5 -0
  121. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/assertClassBrand.js +5 -0
  122. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/assertThisInitialized.js +5 -0
  123. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/asyncGeneratorDelegate.js +24 -0
  124. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/asyncIterator.js +45 -0
  125. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/asyncToGenerator.js +26 -0
  126. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/awaitAsyncGenerator.js +5 -0
  127. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/callSuper.js +7 -0
  128. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/checkInRHS.js +6 -0
  129. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/checkPrivateRedeclaration.js +4 -0
  130. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  131. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classApplyDescriptorGet.js +4 -0
  132. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classApplyDescriptorSet.js +7 -0
  133. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classCallCheck.js +4 -0
  134. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  135. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  136. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classExtractFieldDescriptor.js +5 -0
  137. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classNameTDZError.js +4 -0
  138. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  139. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldGet.js +7 -0
  140. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldGet2.js +5 -0
  141. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  142. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  143. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  144. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldSet.js +7 -0
  145. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateFieldSet2.js +5 -0
  146. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateGetter.js +5 -0
  147. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateMethodGet.js +5 -0
  148. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  149. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateMethodSet.js +4 -0
  150. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classPrivateSetter.js +5 -0
  151. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  152. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  153. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  154. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  155. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  156. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/construct.js +10 -0
  157. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/createClass.js +13 -0
  158. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/createForOfIteratorHelper.js +50 -0
  159. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  160. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/createSuper.js +16 -0
  161. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/decorate.js +21 -0
  162. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/decorateMetadata.js +7 -0
  163. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/decorateParam.js +9 -0
  164. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/defaults.js +9 -0
  165. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/defineAccessor.js +8 -0
  166. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/defineEnumerableProperties.js +12 -0
  167. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/defineProperty.js +10 -0
  168. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/dispose.js +28 -0
  169. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/extends.js +10 -0
  170. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/get.js +11 -0
  171. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/getPrototypeOf.js +6 -0
  172. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/identity.js +4 -0
  173. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/importDeferProxy.js +27 -0
  174. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/inherits.js +14 -0
  175. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/inheritsLoose.js +5 -0
  176. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/initializerDefineProperty.js +9 -0
  177. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/initializerWarningHelper.js +4 -0
  178. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/instanceof.js +4 -0
  179. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/interopRequireDefault.js +6 -0
  180. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/interopRequireWildcard.js +27 -0
  181. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/isNativeFunction.js +8 -0
  182. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/isNativeReflectConstruct.js +9 -0
  183. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/iterableToArray.js +4 -0
  184. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/iterableToArrayLimit.js +28 -0
  185. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/jsx.js +22 -0
  186. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/maybeArrayLike.js +9 -0
  187. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/newArrowCheck.js +4 -0
  188. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/nonIterableRest.js +4 -0
  189. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/nonIterableSpread.js +4 -0
  190. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/nullishReceiverError.js +4 -0
  191. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectDestructuringEmpty.js +4 -0
  192. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectSpread.js +14 -0
  193. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectSpread2.js +23 -0
  194. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectWithoutProperties.js +13 -0
  195. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  196. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/package.json +3 -0
  197. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/possibleConstructorReturn.js +8 -0
  198. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/readOnlyError.js +4 -0
  199. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/regeneratorRuntime.js +304 -0
  200. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/set.js +22 -0
  201. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/setFunctionName.js +12 -0
  202. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/setPrototypeOf.js +6 -0
  203. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/skipFirstGeneratorNext.js +7 -0
  204. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/slicedToArray.js +8 -0
  205. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/superPropBase.js +6 -0
  206. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/superPropGet.js +9 -0
  207. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/superPropSet.js +6 -0
  208. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/taggedTemplateLiteral.js +8 -0
  209. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  210. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/tdz.js +4 -0
  211. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/temporalRef.js +6 -0
  212. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/temporalUndefined.js +2 -0
  213. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toArray.js +8 -0
  214. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toConsumableArray.js +8 -0
  215. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toPrimitive.js +12 -0
  216. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toPropertyKey.js +7 -0
  217. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/toSetter.js +10 -0
  218. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/typeof.js +10 -0
  219. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/unsupportedIterableToArray.js +9 -0
  220. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/using.js +12 -0
  221. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/usingCtx.js +59 -0
  222. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/wrapAsyncGenerator.js +69 -0
  223. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/wrapNativeSuper.js +27 -0
  224. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/wrapRegExp.js +51 -0
  225. package/runtime/node_modules/@oxc-project/runtime/src/helpers/esm/writeOnlyError.js +4 -0
  226. package/runtime/node_modules/@oxc-project/runtime/src/helpers/extends.js +10 -0
  227. package/runtime/node_modules/@oxc-project/runtime/src/helpers/get.js +11 -0
  228. package/runtime/node_modules/@oxc-project/runtime/src/helpers/getPrototypeOf.js +6 -0
  229. package/runtime/node_modules/@oxc-project/runtime/src/helpers/identity.js +4 -0
  230. package/runtime/node_modules/@oxc-project/runtime/src/helpers/importDeferProxy.js +27 -0
  231. package/runtime/node_modules/@oxc-project/runtime/src/helpers/inherits.js +14 -0
  232. package/runtime/node_modules/@oxc-project/runtime/src/helpers/inheritsLoose.js +5 -0
  233. package/runtime/node_modules/@oxc-project/runtime/src/helpers/initializerDefineProperty.js +9 -0
  234. package/runtime/node_modules/@oxc-project/runtime/src/helpers/initializerWarningHelper.js +4 -0
  235. package/runtime/node_modules/@oxc-project/runtime/src/helpers/instanceof.js +4 -0
  236. package/runtime/node_modules/@oxc-project/runtime/src/helpers/interopRequireDefault.js +6 -0
  237. package/runtime/node_modules/@oxc-project/runtime/src/helpers/interopRequireWildcard.js +27 -0
  238. package/runtime/node_modules/@oxc-project/runtime/src/helpers/isNativeFunction.js +8 -0
  239. package/runtime/node_modules/@oxc-project/runtime/src/helpers/isNativeReflectConstruct.js +9 -0
  240. package/runtime/node_modules/@oxc-project/runtime/src/helpers/iterableToArray.js +4 -0
  241. package/runtime/node_modules/@oxc-project/runtime/src/helpers/iterableToArrayLimit.js +28 -0
  242. package/runtime/node_modules/@oxc-project/runtime/src/helpers/jsx.js +22 -0
  243. package/runtime/node_modules/@oxc-project/runtime/src/helpers/maybeArrayLike.js +9 -0
  244. package/runtime/node_modules/@oxc-project/runtime/src/helpers/newArrowCheck.js +4 -0
  245. package/runtime/node_modules/@oxc-project/runtime/src/helpers/nonIterableRest.js +4 -0
  246. package/runtime/node_modules/@oxc-project/runtime/src/helpers/nonIterableSpread.js +4 -0
  247. package/runtime/node_modules/@oxc-project/runtime/src/helpers/nullishReceiverError.js +4 -0
  248. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectDestructuringEmpty.js +4 -0
  249. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectSpread.js +14 -0
  250. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js +23 -0
  251. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js +13 -0
  252. package/runtime/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js +10 -0
  253. package/runtime/node_modules/@oxc-project/runtime/src/helpers/possibleConstructorReturn.js +8 -0
  254. package/runtime/node_modules/@oxc-project/runtime/src/helpers/readOnlyError.js +4 -0
  255. package/runtime/node_modules/@oxc-project/runtime/src/helpers/regeneratorRuntime.js +304 -0
  256. package/runtime/node_modules/@oxc-project/runtime/src/helpers/set.js +22 -0
  257. package/runtime/node_modules/@oxc-project/runtime/src/helpers/setFunctionName.js +12 -0
  258. package/runtime/node_modules/@oxc-project/runtime/src/helpers/setPrototypeOf.js +6 -0
  259. package/runtime/node_modules/@oxc-project/runtime/src/helpers/skipFirstGeneratorNext.js +7 -0
  260. package/runtime/node_modules/@oxc-project/runtime/src/helpers/slicedToArray.js +8 -0
  261. package/runtime/node_modules/@oxc-project/runtime/src/helpers/superPropBase.js +6 -0
  262. package/runtime/node_modules/@oxc-project/runtime/src/helpers/superPropGet.js +9 -0
  263. package/runtime/node_modules/@oxc-project/runtime/src/helpers/superPropSet.js +6 -0
  264. package/runtime/node_modules/@oxc-project/runtime/src/helpers/taggedTemplateLiteral.js +8 -0
  265. package/runtime/node_modules/@oxc-project/runtime/src/helpers/taggedTemplateLiteralLoose.js +4 -0
  266. package/runtime/node_modules/@oxc-project/runtime/src/helpers/tdz.js +4 -0
  267. package/runtime/node_modules/@oxc-project/runtime/src/helpers/temporalRef.js +6 -0
  268. package/runtime/node_modules/@oxc-project/runtime/src/helpers/temporalUndefined.js +2 -0
  269. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toArray.js +8 -0
  270. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toConsumableArray.js +8 -0
  271. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js +12 -0
  272. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js +7 -0
  273. package/runtime/node_modules/@oxc-project/runtime/src/helpers/toSetter.js +10 -0
  274. package/runtime/node_modules/@oxc-project/runtime/src/helpers/typeof.js +10 -0
  275. package/runtime/node_modules/@oxc-project/runtime/src/helpers/unsupportedIterableToArray.js +9 -0
  276. package/runtime/node_modules/@oxc-project/runtime/src/helpers/using.js +12 -0
  277. package/runtime/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js +59 -0
  278. package/runtime/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js +69 -0
  279. package/runtime/node_modules/@oxc-project/runtime/src/helpers/wrapNativeSuper.js +27 -0
  280. package/runtime/node_modules/@oxc-project/runtime/src/helpers/wrapRegExp.js +51 -0
  281. package/runtime/node_modules/@oxc-project/runtime/src/helpers/writeOnlyError.js +4 -0
  282. package/runtime/node_modules/@oxc-project/types/LICENSE +22 -0
  283. package/runtime/node_modules/@oxc-project/types/README.md +3 -0
  284. package/runtime/node_modules/@oxc-project/types/package.json +26 -0
  285. package/runtime/node_modules/@oxc-project/types/types.d.ts +1912 -0
  286. package/runtime/node_modules/@oxc-transform/binding-win32-x64-msvc/README.md +3 -0
  287. package/runtime/node_modules/@oxc-transform/binding-win32-x64-msvc/package.json +41 -0
  288. package/runtime/node_modules/@oxc-transform/binding-win32-x64-msvc/transform.win32-x64-msvc.node +0 -0
  289. package/runtime/node_modules/@petamoriken/float16/LICENSE +21 -0
  290. package/runtime/node_modules/@petamoriken/float16/README.md +413 -0
  291. package/runtime/node_modules/@petamoriken/float16/browser/float16.js +1340 -0
  292. package/runtime/node_modules/@petamoriken/float16/browser/float16.mjs +1325 -0
  293. package/runtime/node_modules/@petamoriken/float16/index.d.ts +546 -0
  294. package/runtime/node_modules/@petamoriken/float16/index.v5.6.d.ts +546 -0
  295. package/runtime/node_modules/@petamoriken/float16/index.v5.7.d.ts +555 -0
  296. package/runtime/node_modules/@petamoriken/float16/inspect/node.cjs +25 -0
  297. package/runtime/node_modules/@petamoriken/float16/inspect/node.mjs +23 -0
  298. package/runtime/node_modules/@petamoriken/float16/lib/DataView.cjs +16 -0
  299. package/runtime/node_modules/@petamoriken/float16/lib/Float16Array.cjs +690 -0
  300. package/runtime/node_modules/@petamoriken/float16/lib/_util/arrayIterator.cjs +52 -0
  301. package/runtime/node_modules/@petamoriken/float16/lib/_util/brand.cjs +27 -0
  302. package/runtime/node_modules/@petamoriken/float16/lib/_util/converter.cjs +111 -0
  303. package/runtime/node_modules/@petamoriken/float16/lib/_util/is.cjs +78 -0
  304. package/runtime/node_modules/@petamoriken/float16/lib/_util/messages.cjs +18 -0
  305. package/runtime/node_modules/@petamoriken/float16/lib/_util/primordials.cjs +150 -0
  306. package/runtime/node_modules/@petamoriken/float16/lib/_util/spec.cjs +84 -0
  307. package/runtime/node_modules/@petamoriken/float16/lib/f16round.cjs +10 -0
  308. package/runtime/node_modules/@petamoriken/float16/lib/index.cjs +16 -0
  309. package/runtime/node_modules/@petamoriken/float16/lib/isTypedArray.cjs +11 -0
  310. package/runtime/node_modules/@petamoriken/float16/package.json +115 -0
  311. package/runtime/node_modules/@petamoriken/float16/src/DataView.mjs +35 -0
  312. package/runtime/node_modules/@petamoriken/float16/src/Float16Array.mjs +1194 -0
  313. package/runtime/node_modules/@petamoriken/float16/src/_util/arrayIterator.mjs +86 -0
  314. package/runtime/node_modules/@petamoriken/float16/src/_util/brand.mjs +31 -0
  315. package/runtime/node_modules/@petamoriken/float16/src/_util/converter.mjs +173 -0
  316. package/runtime/node_modules/@petamoriken/float16/src/_util/is.mjs +151 -0
  317. package/runtime/node_modules/@petamoriken/float16/src/_util/messages.mjs +22 -0
  318. package/runtime/node_modules/@petamoriken/float16/src/_util/primordials.mjs +254 -0
  319. package/runtime/node_modules/@petamoriken/float16/src/_util/spec.mjs +137 -0
  320. package/runtime/node_modules/@petamoriken/float16/src/f16round.mjs +10 -0
  321. package/runtime/node_modules/@petamoriken/float16/src/index.mjs +7 -0
  322. package/runtime/node_modules/@petamoriken/float16/src/isTypedArray.mjs +10 -0
  323. package/runtime/node_modules/get-tsconfig/LICENSE +21 -0
  324. package/runtime/node_modules/get-tsconfig/README.md +268 -0
  325. package/runtime/node_modules/get-tsconfig/dist/index.cjs +7 -0
  326. package/runtime/node_modules/get-tsconfig/dist/index.d.cts +2116 -0
  327. package/runtime/node_modules/get-tsconfig/dist/index.d.mts +2116 -0
  328. package/runtime/node_modules/get-tsconfig/dist/index.mjs +7 -0
  329. package/runtime/node_modules/get-tsconfig/package.json +46 -0
  330. package/runtime/node_modules/jsbi/LICENSE +176 -0
  331. package/runtime/node_modules/jsbi/README.md +173 -0
  332. package/runtime/node_modules/jsbi/dist/jsbi-cjs.js +2 -0
  333. package/runtime/node_modules/jsbi/dist/jsbi-cjs.js.map +1 -0
  334. package/runtime/node_modules/jsbi/dist/jsbi-umd.js +2 -0
  335. package/runtime/node_modules/jsbi/dist/jsbi-umd.js.map +1 -0
  336. package/runtime/node_modules/jsbi/dist/jsbi.mjs +2 -0
  337. package/runtime/node_modules/jsbi/dist/jsbi.mjs.map +1 -0
  338. package/runtime/node_modules/jsbi/jsbi.d.ts +43 -0
  339. package/runtime/node_modules/jsbi/package.json +35 -0
  340. package/runtime/node_modules/oxc-parser/LICENSE +22 -0
  341. package/runtime/node_modules/oxc-parser/README.md +167 -0
  342. package/runtime/node_modules/oxc-parser/package.json +153 -0
  343. package/runtime/node_modules/oxc-parser/src-js/bindings.js +601 -0
  344. package/runtime/node_modules/oxc-parser/src-js/generated/constants.js +105 -0
  345. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/js.js +5862 -0
  346. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/js_range.js +6403 -0
  347. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/ts.js +6154 -0
  348. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/ts_range.js +6723 -0
  349. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/constructors.js +13875 -0
  350. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/type_ids.js +191 -0
  351. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/walk.js +5810 -0
  352. package/runtime/node_modules/oxc-parser/src-js/generated/visit/keys.js +220 -0
  353. package/runtime/node_modules/oxc-parser/src-js/generated/visit/type_ids.js +177 -0
  354. package/runtime/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts +387 -0
  355. package/runtime/node_modules/oxc-parser/src-js/generated/visit/walk.js +2455 -0
  356. package/runtime/node_modules/oxc-parser/src-js/index.d.ts +312 -0
  357. package/runtime/node_modules/oxc-parser/src-js/index.js +108 -0
  358. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/common.js +301 -0
  359. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/eager.js +255 -0
  360. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/lazy-common.js +11 -0
  361. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/lazy.js +162 -0
  362. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/node-array.js +365 -0
  363. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/supported.js +52 -0
  364. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/visitor.js +127 -0
  365. package/runtime/node_modules/oxc-parser/src-js/visit/index.js +41 -0
  366. package/runtime/node_modules/oxc-parser/src-js/visit/visitor.js +405 -0
  367. package/runtime/node_modules/oxc-parser/src-js/wasm.js +13 -0
  368. package/runtime/node_modules/oxc-parser/src-js/webcontainer-fallback.cjs +21 -0
  369. package/runtime/node_modules/oxc-parser/src-js/wrap.js +57 -0
  370. package/runtime/node_modules/oxc-transform/LICENSE +22 -0
  371. package/runtime/node_modules/oxc-transform/README.md +84 -0
  372. package/runtime/node_modules/oxc-transform/browser.js +1 -0
  373. package/runtime/node_modules/oxc-transform/index.d.ts +658 -0
  374. package/runtime/node_modules/oxc-transform/index.js +598 -0
  375. package/runtime/node_modules/oxc-transform/package.json +114 -0
  376. package/runtime/node_modules/oxc-transform/webcontainer-fallback.cjs +21 -0
  377. package/runtime/node_modules/resolve-pkg-maps/LICENSE +21 -0
  378. package/runtime/node_modules/resolve-pkg-maps/README.md +216 -0
  379. package/runtime/node_modules/resolve-pkg-maps/dist/index.cjs +1 -0
  380. package/runtime/node_modules/resolve-pkg-maps/dist/index.d.cts +11 -0
  381. package/runtime/node_modules/resolve-pkg-maps/dist/index.d.mts +11 -0
  382. package/runtime/node_modules/resolve-pkg-maps/dist/index.mjs +1 -0
  383. package/runtime/node_modules/resolve-pkg-maps/package.json +42 -0
  384. package/runtime/node_modules/urlpattern-polyfill/LICENSE +19 -0
  385. package/runtime/node_modules/urlpattern-polyfill/README.md +242 -0
  386. package/runtime/node_modules/urlpattern-polyfill/dist/index.d.ts +9 -0
  387. package/runtime/node_modules/urlpattern-polyfill/dist/types.d.ts +49 -0
  388. package/runtime/node_modules/urlpattern-polyfill/dist/urlpattern.cjs +1 -0
  389. package/runtime/node_modules/urlpattern-polyfill/dist/urlpattern.js +1 -0
  390. package/runtime/node_modules/urlpattern-polyfill/index.cjs +7 -0
  391. package/runtime/node_modules/urlpattern-polyfill/index.js +7 -0
  392. package/runtime/node_modules/urlpattern-polyfill/package.json +149 -0
  393. package/runtime/version.mjs +1 -1
package/bin/nub.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubjs/nub-win32-arm64",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Nub binary for win32-arm64",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/colinhacks/nub",
Binary file
@@ -0,0 +1,453 @@
1
+ # 0.5.1
2
+
3
+ Bug fixes:
4
+
5
+ - Fix infinite recursion in Node 23.x with `Intl.DurationFormat` (fixes [#329](https://github.com/js-temporal/temporal-polyfill/issues/329)).
6
+ - Include correct `package-lock.json` (fixes [#328](https://github.com/js-temporal/temporal-polyfill/issues/328)).
7
+ - Don't override TIMEOUT when running `npm run test262`.
8
+
9
+ Non-breaking changes:
10
+
11
+ - Support Node 22.x and 23.x and test them in CI (fixes [#323](https://github.com/js-temporal/temporal-polyfill/issues/323)).
12
+ - The polyfilled `Intl.DateTimeFormat` object now supports offset time zone identifiers (e.g., `-02:30`) in Node 23.x. Note that the native `Intl.DateTimeFormat` in Node 23.x also supports them, but in a nonstandard way, so you should use the polyfilled `Intl.DateTimeFormat` in your code.
13
+ - Add migration guide for 0.4.x → 0.5.0.
14
+ - Reduce production bundle size by deleting assertions and minifying function names.
15
+
16
+ # 0.5.0
17
+
18
+ Breaking changes:
19
+
20
+ This major update reflects all changes to the Temporal proposal adopted by TC39 between May 2023 and March 2025.
21
+
22
+ The majority of these changes were made in the June 2024 TC39 meeting (slides [here](https://docs.google.com/presentation/d/1PPMAxVnVjFwRPuJwOvVsw9nZLQ6jDM8Hd5PNO0Grp4I/edit?slide=id.g2e01b5af2da_0_444#slide=id.g2e01b5af2da_0_444)) where the scope of Temporal was reduced at the request of JS engine implementers who were concerned about the size impact of adding Temporal to distributions on limited-capacity devices like low-end Android phones and Apple Watch.
23
+
24
+ - User-defined calendars have been removed.
25
+ Calendars are now represented by strings representing built-in calendars.
26
+ Without custom calendars, the huge surface area of `Temporal.Calendar` was not necessary, and that type was removed from the proposal.
27
+ - User-defined time zones have been removed.
28
+ Time zones are now only represented by string identifiers representing built-in time zones: either a Zone or Link name from the IANA Time Zone Database, or a time zone offset with minutes precision.
29
+ `Temporal.TimeZone` has also been removed, and its methods replaced by the following:
30
+ - `getPreviousTransition`/`getNextTransition` - use the new `getTimeZoneTransition` method of `Temporal.ZoneDateTime`.
31
+ - `equals` - use `ZonedDateTime.prototype.equals` using the same instant and calendar.
32
+ - Other `Temporal.TimeZone` methods can use the corresponding methods on `Temporal.ZonedDateTime`.
33
+ - Many convenience methods have been removed. In all cases, the same functionality is available using other Temporal methods:
34
+ - Removed `getISOFields()` methods. Instead use `withCalendar('iso8601')` and the individual property getters.
35
+ - Removed `withPlainDate()` methods. Instead use `with({ year, monthCode, day })`.
36
+ - Removed `toPlainDateTime()` and `toZonedDateTime()` methods of `Temporal.PlainTime`. Instead use the same-named methods on `Temporal.PlainDate` to combine a date and a time.
37
+ - Removed `epochSeconds` and `epochMicroseconds` properties. Instead calculate epoch seconds with `Math.floor(epochMilliseconds / 1000)` and epoch microseconds with `epochNanoseconds / 1000n + ((epochNanoseconds % 1000n) < 0n ? -1n : 0n)`.
38
+ - Removed `toPlainYearMonth()` and `toPlainMonthDay()` methods of `Temporal.PlainDateTime` and `Temporal.ZonedDateTime`. Instead use `toPlainDate()` and then the methods on `Temporal.PlainDate`.
39
+ - Removed `Temporal.Instant.prototype.toZonedDateTime` and `Temporal.Now.zonedDateTime`. Instead use `toZonedDateTimeISO()`/`zonedDateTimeISO()` to create a `Temporal.ZonedDateTime` object using the ISO8601 calendar, and then use `withCalendar()` if a non-ISO calendar is desired.
40
+ - The `relativeTo` parameter is no longer accepted in `Temporal.Duration.prototype.add` and `subtract`. Instead take the `relativeTo` object, add the two durations to it, and difference it with the original using `until()`.
41
+ - Throw if there are multiple calendar annotations in a string and one has the critical flag ([Proposal PR](https://github.com/tc39/proposal-temporal/pull/2572))
42
+ - Changed the way calculations are done with `Temporal.Duration`, and placed limits on each of the units. Years, months, and weeks are each limited to 2³²−1. The other units (days through nanoseconds) are collectively limited: taken together, they must be less than `Number.MAX_SAFE_INTEGER` seconds plus 999,999,999 nanoseconds. This has few user-visible changes, but it does mean that some durations are no longer allowed (for example, `Temporal.Duration.from({ seconds: Number.MAX_VALUE })`.) ([Proposal PR 1](https://github.com/tc39/proposal-temporal/pull/2722), [PR 2](https://github.com/tc39/proposal-temporal/pull/2727), [PR 3](https://github.com/tc39/proposal-temporal/pull/2612))
43
+ - Offset time zones are now limited to minutes precision. That is, you can have `[+01:01]` but not `[+01:00:01]` or `[+01:00:00.000000001]` ([Proposal PR](https://github.com/tc39/proposal-temporal/pull/2607))
44
+ - For APIs that take a string, other primitives are no longer coerced to strings. Technically, you could previously do `Temporal.PlainDate.from(20230711)` and it would be treated as `Temporal.PlainDate.from("20230711")`. This is no longer the case. ([Proposal PR](https://github.com/tc39/proposal-temporal/pull/2574))
45
+ - `Temporal.PlainYearMonth.prototype.toPlainDate` and `Temporal.PlainMonthDay.prototype.toPlainDate` now have clamping behaviour instead of throwing if the resulting PlainDate would be invalid. For example, `birthday.toPlainDate({ year: 2025 })` will now return February 28, 2025 if the birthday in question if February 29. ([Proposal PR](https://github.com/tc39/proposal-temporal/pull/2718))
46
+ - If you still want the throwing behaviour, you can get it more verbosely:
47
+ ```js
48
+ const { monthCode, day } = birthday;
49
+ Temporal.PlainDate.from({ year: 2025, monthCode, day }, { overflow: 'reject' });
50
+ ```
51
+ - Not all calendars have a week numbering scheme, so `weekOfYear` and `yearOfWeek` methods may now return `undefined` ([Proposal PR](https://github.com/tc39/proposal-temporal/pull/2756))
52
+ - In `Temporal.Duration.prototype.round()`, rounding to a >1 increment of a calendar `smallestUnit` while simultaneously balancing to a calendar `largestUnit` is now disallowed and will throw ([Proposal PR](https://github.com/tc39/proposal-temporal/pull/2916))
53
+ - Creating a `Temporal.MonthDay` in a non-ISO8601 calendar will now throw if the year is too far (>¼ million years) in the future or past ([Proposal PR](https://github.com/tc39/proposal-temporal/pull/3054))
54
+
55
+ Bug fixes:
56
+
57
+ - Fixed several bugs in duration calculations, particularly rounding ([Proposal PR 1](https://github.com/tc39/proposal-temporal/pull/2571), [PR 2](https://github.com/tc39/proposal-temporal/pull/2758), [PR 3](https://github.com/tc39/proposal-temporal/pull/2759), [PR 4](https://github.com/tc39/proposal-temporal/pull/2797), [PR 5](https://github.com/tc39/proposal-temporal/pull/2810))
58
+ - Fixed a bug in start-of-day calculations ([Proposal PR](https://github.com/tc39/proposal-temporal/pull/2918))
59
+ - Many small bug fixes to bring the polyfill into better compliance with the Temporal proposal
60
+
61
+ Non-breaking changes
62
+
63
+ - Many improvements in performance and bundle size
64
+ - Remove runtime dependency on tslib. Now this package has only one runtime dependency: JSBI (a polyfill for `BigInt`)
65
+ - Update dev dependencies
66
+ - Support Node 20.x and test it in CI
67
+
68
+ # 0.4.4
69
+
70
+ Breaking changes:
71
+
72
+ - `Temporal.ZonedDateTime` objects are no longer supported as parameters to `Intl.DateTimeFormat` formatting methods. ([12071fb0], see also [Upstream PR](https://github.com/tc39/proposal-temporal/pull/2479), [Upstream PR 2](https://github.com/tc39/proposal-temporal/pull/2522))
73
+ - To format using `Temporal.ZonedDateTime`'s time zone, use `Temporal.ZonedDateTime.prototype.toLocaleString`. This method:
74
+ 1. Creates a new `Intl.DateTimeFormat` instance in the same time zone and calendar as the `Temporal.ZonedDateTime` instance
75
+ 1. Creates a `Temporal.Instant` from the `Temporal.ZonedDateTime` instance.
76
+ 1. Formats that `Temporal.Instant` instance using the created `Intl.DateTimeFormat` instance.
77
+ - To format in a time zone that does not match the time zone of the `Temporal.ZonedDateTime` instance:
78
+ 1. Create a new `Temporal.ZonedDateTime` instance in the right time zone using `Temporal.ZonedDateTime.prototype.withTimeZone`.
79
+ - To get the current system time zone, use `Temporal.Now.timeZoneId()`.
80
+ Be careful when caching the current system time zone (or an `Intl.DateTimeFormat` instance using that time zone), because the system time zone can change during the lifetime of your program (e.g. when a user on a mobile device crosses a time zone boundary or when a user manually edits time zone settings).
81
+ 1. Follow the steps above.
82
+ - Generally, try to always include the `timeZone` property when creating an `Intl.DateTimeFormat` instance to avoid an ambiguity about which time zone the formatted results will be in.
83
+ - `Intl.DateTimeFormat` instances can be expensive to create. For performance-sensitive code where the same calendar and time zone are used repeatedly for formatting, we recommend creating and reusing an `Intl.DateTimeFormat` instance with the desired `timeZone` and `calendar` options, and then formatting using the value of `Temporal.ZonedDateTime.prototype.epochMilliseconds`.
84
+ `Intl.DateTimeFormat` instances may also require a lot of RAM, so indefinitely caching large numbers of them is not recommended for memory-constrained environments.
85
+ - The `.calendar` property on Temporal types has been replaced with a `.calendarId` property that returns the string calendar identifier and a `.getCalendar()` method that returns an object that implements `Temporal.CalendarProtocol`.
86
+ - `getCalendar()` will always return a new object if the containing instance was constructed using a built-in calendar identifier string. However, if the containing instance was constructed using a calendar object (either a built-in calendar or custom calendar), then the same object is returned. ([cc701b45], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/1808))
87
+ - Temporal will compare calendars by testing for string equality between calendar identifiers.
88
+ When a calendar is an object, its `id` property will be used for comparison. ([3916e547], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/1808))
89
+ - The `.calendar` property has been entirely removed from `Temporal.PlainTime`. ([0727d86e], see also [Issue 1](https://github.com/tc39/proposal-temporal/issues/1808), [Issue 2](https://github.com/tc39/proposal-temporal/issues/1588))
90
+ - The `.timeZone` property on `Temporal.ZonedDateTime` has been replaced with a `.timeZoneId` property that returns the string time zone identifier and a `.getTimeZone()` method that returns an object that implements `Temporal.TimeZoneProtocol`. ([d3263f0], see also Upstream issue)
91
+ - `getTimeZone()` will always return a new object if the `Temporal.ZonedDateTime` instance was constructed using a built-in time zone identifier string.
92
+ However, if the instance was constructed using a time zone object (either a built-in time zone or custom time zone), then the same object is returned.
93
+ - `Termporal.Now.timeZone()` is replaced by `Temporal.Now.timeZoneId()`, which returns a time zone identifier string, not a `Temporal.TimeZone` instance. ([600f0cc7], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/1808))
94
+ - Temporal will compare time zones by testing for string equality between calendar identifiers.
95
+ When a calendar is an object, its `id` property will be used for comparison. ([d6cb2862], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/1808))
96
+ - Require the `id` property and make overriding `toString` optional (but recommended!) for `Temporal.TimeZoneProtocol`. ([97637bbc])
97
+ - Remove support for nested time zone and calendar property bags. ([9b7f61ae], [0c38267b], see also [Discussion](https://github.com/tc39/proposal-temporal/issues/2104#issuecomment-140))
98
+ - Require the remainder returned by the `NanosecondsToDays` internal operation to be less than the length of one calendar day.
99
+ This could happen due to shenanigans in a custom time zone's `getOffsetNanosecondsFor` or `getPossibleInstantsFor` methods, or a custom calendar's `dateAdd` method.
100
+ ([44b00a38], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/2357)
101
+ - Set an upper limit of 1e9 on rounding increments. ([5d78c815])
102
+ - Require `fields` and `mergeFields` methods for `Temporal.CalendarProtocol` (custom calendar) objects. ([5ad63274])
103
+ - Reject Z designators when parsing `Temporal.PlainTime` strings.
104
+
105
+ Bug fixes:
106
+
107
+ - Read field identifiers from a calendar's `fields()` method during `dateFromFields()`, `yearMonthFromFields()`, and `monthDayFromFields()`.
108
+ Previously, these methods only referenced hardcoded `'era'` and `'eraYear'` field identifiers. ([375a4ad9])
109
+ - Avoid precision loss in AddDuration operations. ([c0f7349a])
110
+ - Fix an infinite-loop bug and a RangeError during non-ISO calendar calculations. ([d94c1cd9], see also [proposal-temporal PR](https://github.com/tc39/proposal-temporal/pull/2539), [Issue 1](https://github.com/tc39/proposal-temporal/issues/2383), [Issue 2](https://github.com/tc39/proposal-temporal/issues/2537))
111
+ - Avoid rounding errors in `BalanceTime` operations. ([9260a8a0])
112
+ - Avoid precision loss in `NanosecondsToDays` operations. ([e02f0626])
113
+ - Require that results from `NanosecondsToDays` calls don't flip sign. ([0b238ccf])
114
+ - Fix bugs introduced while restricting the creation of `Temporal.Duration` using non-numeric inputs. ([46c4132d], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/2112))
115
+ - Fix bugs when passing fractional numbers to `CreateTemporalDuration`. ([856a5460], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/2246))
116
+ - Always return a Number of nanoseconds from `RoundDuration`. ([8d3c1f1b])
117
+ - Use BigInt math in `RoundDuration` to avoid problems when the values are larger than `Number.MAX_SAFE_INTEGER`. ([955323f8])
118
+ - Always start at the end of 1972 when computing a `Temporal.PlainMonthDay` from fields, preventing the reference year from accidentally being in 1971. ([ef4a0c4b])
119
+ - Apply the overflow behaviour to year/month/day values in `monthDayFromFields`. ([7ebd0f96])
120
+ - Preserve the day of month when constraining a nonexistent leap month, instead of defaulting to the end of the closest corresponding regular month. ([996f8fa1])
121
+ - Allow month codes `'M01L'` and `'M12L'` in the Chinese calendar. ([696f2c7e])
122
+ - Avoid overflows in `GetNamedTimeZoneOffsetNanoseconds`. ([c42570b8])
123
+ - Fix calendar validation in various ToTemporal\_\_\_ operations. ([e3913974], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/2546))
124
+ - Don't call `GetMethod` on a string calendar. ([fe698d8d], see also [Upstream issue](https://github.com/tc39/proposal-temporal/pull/2547))
125
+ - Avoid rounding errors in `BalanceDurationRelative` and `UnbalanceDurationRelative`. ([a907acf0])
126
+ - Check for negative day length in `Temporal.ZonedDateTime.prototype.round`. ([0d2d60ec], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/2261))
127
+ This change avoids a common bug where a UTC timestamp is accidentally interpreted as if it were a local time in a real time zone.
128
+ If you do want to parse the time portion of a UTC timestamp string, use: `Temporal.Instant.from(s).toZonedDateTimeISO('UTC').toPlainTime()`. ([a7a50eac])
129
+ - Reject 0-value components when parsing `Temporal.Duration` strings, and avoid rounding errors when nanoseconds components are present. ([58b5601a])
130
+ - Reject `relativeTo` string options that are neither valid `Temporal.PlainDate` nor `Temporal.ZonedDateTime` strings, such as `'2022-08-18T17:01Z'`. ([4db15c41])
131
+ - Add validation for the return values from calendar operations. ([d88cfa4d])
132
+ - Validate required methods of `Temporal.TimeZoneProtocol` and `Temporal.CalendarProtocol`. ([84563cea], [755c7620], see also [Discussion](https://github.com/tc39/proposal-temporal/issues/2104#issuecomment-140))
133
+ - Throw earlier when users might mix up positional `Temporal.TimeZone` and `Temporal.Calendar` arguments with each other, to prevent bugs like `new Temporal.ZonedDateTime(0n, cal, tz)` where the switched calendar and time zone arguments would cause exceptions to be thrown later. ([7922f1f9])
134
+
135
+ Non-breaking changes:
136
+
137
+ - Implement `yearOfWeek` methods that complement existing `weekOfYear` methods.
138
+ The new method returns the year associated with `weekOfYear`, which may (see https://en.wikipedia.org/wiki/ISO_week_date) vary from `year` in some calendars like `'iso8601'`.
139
+ This new method can be useful for formatting IS0 8601 strings using the year-week-day format like `1981-W53-7`. ([bf08ca56])
140
+ - Support new Internet Extended Date-Time (IXDTF) Annotations
141
+ - See the [Temporal + IXDTF tracking issue](https://github.com/tc39/proposal-temporal/issues/1450).
142
+ - Align ISO 8601 grammar with annotations from IXDTF specification.
143
+ Calendar and time zone annotations are now allowed to contain a "critical" flag (`'!'`) prefix.
144
+ Critical flags have no effect when parsing input strings because Temporal already treats unknown or inconsistent inputs as errors by default. ([e8b2e71c])
145
+ - There can be multiple types of annotations in an IXDTF string.
146
+ Temporal only recognizes time zone and calendar annotations.
147
+ Unrecognized non-critical annotations will be ignored.
148
+ Unrecognized critical annotations will cause the parsing method to throw an exception.
149
+ - Allow `toString()` methods for `Temporal.PlainDate`, `Temporal.PlainDateTime`, `Temporal.PlainYearMonth`, `Temporal.PlainMonthDay`, and `Temporal.ZonedDateTime` to emit critical IXDTF annotations using the `'critical'` option.
150
+ Use this option with care, because the platform that you're communicating with may not understand this syntax.
151
+ `calendarName: 'critical'` behaves like `calendarName: 'always'` and `timeZoneName: 'critical'` behaves like `timeZoneName: 'always'`, but they also output a `'!'` prefix in the corresponding annotation. ([50a64f16])
152
+ Critical flags are never used by Temporal, but could be consumed by other programs.
153
+ - Ignore calendar annotations when parsing `Temporal.Instant` strings. ([b86b87f0])
154
+ - Allow calendar and/or time zone annotations after strings without a time part: YYYY-MM-DD, YYYY-MM, and MM-DD. ([acd6464f])
155
+ - Disallow UTC offsets in YYYY-MM and MM-DD strings because they could cause ambiguity between an offset and the day of a YYYY-MM-DD string. ([acd6464f])
156
+ - Reject ambiguous time strings even with calendar annotations. ([af875275])
157
+ - Implement the full set of rounding modes.
158
+ New modes include `'expand'`, `'halfCeil'`, `'halfFloor'`, `'halfTrunc'`, and `'halfEven'`.
159
+ ([eb5404d1])
160
+ - Treat calendar names as case-insensitive. ([9e730d68])
161
+ - Improve cross-binary compatibility of polyfill objects by storing internals on `globalThis`. ([73a0bf36], see also [GitHub Issue](https://github.com/js-temporal/temporal-polyfill/issues/164))
162
+ - Allow various `Temporal.Calendar` methods to return 0. ([8a49023b])
163
+ - Improve error messages when converting fields to a `Temporal.PlainMonthDay`. ([e1cd4170])
164
+ - Round towards the Big Bang in epoch time getters. ([6d124a56], see also [Upstream issue](https://github.com/tc39/proposal-temporal/issues/2423), [Spec change](https://github.com/tc39/proposal-temporal/issues/2424))
165
+ - Improve performance when operating on large numbers in `BalanceISODate`. ([d2a23dd5])
166
+ - Optimize `Temporal.TimeZone.prototype.getNextTransition()` for dates that predate 1847, which is the earliest data in the IANA time zone database. ([9591af3b])
167
+ - Improve performance when out-of-range finding transition points for named time zones. ([3b61abfe])
168
+ - Special-case zones with precomputed DST transition points in `GetPreviousTransition`. ([5922bdf1])
169
+
170
+ Other:
171
+
172
+ - Bump required dependency versions. ([c65455a5])
173
+ - Fix sourcemaps so they point directly to TS source files. ([6b462d49], see also [GitHub PR](https://github.com/js-temporal/temporal-polyfill/pull/194))
174
+
175
+ # 0.4.3
176
+
177
+ Bug fixes:
178
+
179
+ - Fix an off-by-one error when dates in the Hebrew calendar were created using
180
+ `monthCode`, the year was a leap year, and the month was after the leap
181
+ month ([f3d0ca9f])
182
+ - Fix addition of months and years for lunisolar calendars ([4f8b04c1])
183
+ - Fix the ISO8601 representation of years between 1 BCE and 999 BCE ([b251dc0e]).
184
+ - Fix a bug causing time to appear to go backwards for a small number of
185
+ milliseconds ([bb59ca97])
186
+ - Always validate ISO8601 time components as well as date components
187
+ ([34662a05])
188
+ - Fix comparison of dates that might have a differing number of hours in their
189
+ respective days ([a4c60241])
190
+ - Include calendar reference information when `calendarName='always'` is passed
191
+ to various Temporal toString method's options bags ([54fcc4f3])
192
+ - Fix a nonconformant use of the `relativeTo` property bag ([9992f9b1])
193
+ - Fix ZonedDateTime.prototype.withPlainTime(null) to throw a TypeError, instead
194
+ of treating it as midnight ([ec2b0546])
195
+ - Fix parsing of some valid Instant strings when they would be out of range
196
+ before considering the UTC offset ([d9de9e74])
197
+ - Bail out early in non-ISO calendar implementations to avoid an infinte loop
198
+ when calculating the duration between two identical dates. ([6f3c42c9])
199
+ - Fix type resolution when using TypeScript Node16 and transpiling to CJS ([9bab0eb5], see
200
+ also the [relevant TypeScript issue](https://github.com/microsoft/TypeScript/issues/49160))
201
+
202
+ Non-breaking changes:
203
+
204
+ - Consistently call observable operations with undefined options arguments,
205
+ instead of empty objects ([297b8f38])
206
+
207
+ # 0.4.2
208
+
209
+ This version is a patch version enabling TypeScript Node16 support for this
210
+ package.
211
+
212
+ Bug Fixes:
213
+
214
+ - Add types to exports/./import to support Typescript Node16 ([304c86dd])
215
+
216
+ # 0.4.1
217
+
218
+ This version is a patch version enabling polyfill compatibility with Safari
219
+ versions <15.1 (October 2021 and earlier).
220
+
221
+ Bug fixes:
222
+
223
+ - Remove erroneous options from Safari's Intl.DateTimeFormat resolvedOptions
224
+ bag. The underlying bug in Safari was fixed in Safari 15.1.
225
+
226
+ # 0.4.0
227
+
228
+ This version roughly corresponds with all the changes made to the Temporal polyfill as of the January 2022 TC39 Plenary meeting.
229
+
230
+ Breaking changes:
231
+
232
+ - Use JSBI instead of big-integer for Big Integer math operations. If your codebase does not need to polyfill BigInt, consider using [the JSBI Babel plugin](https://github.com/GoogleChromeLabs/babel-plugin-transform-jsbi-to-bigint) to transpile these operations to native BigInt.
233
+ - Reject plain date-only strings ([b733c213], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1952), [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1986))
234
+ - Reject '-000000' as an extended year value ([670cda6b], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1992))
235
+ - Add missing branding checks for Calendar and Timezone classes to match spec changes ([670cda6b], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1995))
236
+
237
+ Bug fixes:
238
+
239
+ - Temporal class prototypes are no longer writeable ([871d28dc], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1974))
240
+ - Throw a RangeError for invalid offset strings ([d5ada8b0], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1976))
241
+ - Pad fractional second values correctly in Duration.prototype.toString() ([e046ccdf], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1956))
242
+ - Support the numberless output of Hebrew months from Intl.DateTimeFormat ([b06ac47f], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/2034))
243
+ - Workaround FireFox bug with Gregory era names ([30c4d4d8], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/2033))
244
+
245
+ Non-breaking changes:
246
+
247
+ - Rename public ...FromFields types ([3554d7f1])
248
+ - Add validation for hard-coded Era data in Calendar.ts ([08e84c9f])
249
+ - Improve code in Calendar.ts to handle calendar with a constant era but a variable number of months in a year ([ef8c588b])
250
+ - Add an optional calendar to PlainTime, PlainDateTime, and PlainMonthDay ([f8837367], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1950))
251
+ - Only require a year in Gregorian calendar implementations, not a full date ([02aec1c3])
252
+ - Include `valueOf` in the Temporal.Duration type ([b1dd7eb3])
253
+ - Expand the types allowed to be used as TimezoneLike and CalendarLike to match the spec ([9d54c646])
254
+ - Improve worse-case performance when finding Timezone transition points by over 1000X! ([e70d6324])
255
+ - Change Calendar.fields to return an `Array`, not an `Iterable` ([3145c6c4], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/2056))
256
+
257
+ Other:
258
+
259
+ - Update build dependencies ([500b4c97])
260
+ - Run tests against Node 17 on CI ([db63e22a])
261
+
262
+ # 0.3.0
263
+
264
+ This version roughly corresponds with all the changes made to the Temporal polyfill as of the October 2021 TC39 Plenary meeting.
265
+
266
+ Breaking changes:
267
+
268
+ - Timezones now require a `getOffsetNanosecondsFor` method, and no longer fall back to the intrinsic definition (previously provided by `Temporal.Timezone#getOffsetNanosecondsFor`) if not provided. ([08346dc5], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1929))
269
+ - Disallow Z designators when parsing strings for Plain Temporal types ([f3f8a994], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1874))
270
+ - Allow ISO strings with "Z" + a bracketed IANA name ([70bd9898], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1749))
271
+ - Emit ES2020 builds for newer browsers, and emit ES5 for older browsers. ([2331468d], [9e95c62b])
272
+ - Temporal.Duration constructor will now throw if given a non-integer ([9df5d068], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1872))
273
+ - Remove support for sub-minute offsets in ISO strings ([766e5037], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1871), [Spec PR](https://github.com/tc39/proposal-temporal/pull/1862))
274
+ - Throw TypeError on missing options from Duration.total ([4ec075f0], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1720))
275
+ - Reject non-integer Duration fields in Duration.with() ([e6b2488d], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1735))
276
+ - Ensure an Object is returned from calendar.mergeFields() ([4e63f25f], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1719))
277
+
278
+ Bug fixes:
279
+
280
+ - Fix GetFormatterParts for Firefox Nightly ([47f9132f])
281
+ - Fix TS types of RoundTo and TotalOf ([3008a670])
282
+ - Fix crash setting `day` outside current JPN era ([6d3588c3], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1807))
283
+ - Copy options object for PlainYearMonth.{add,subtract} and InterpretTemporalDateTimeFields to prevent user-modified objects from interfering with later operations. ([bafa1bdf], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1748))
284
+ - Validate input to Calendar.prototype.fields ([7ebc700e], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1750))
285
+ - Stop observably calling into `getPossibleInstantsFor` in `InterpretISODateTimeOffset` ([5448e59f], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1688))
286
+ - Call `CalendarEquals` correctly ([07ea694e], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1858))
287
+ - Fix arithmetic issues when using non-ISO months ([079a3325], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1761))
288
+ - Regex: tighten matching of month and day values in datesplit ([b5736546], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1836))
289
+ - Fix TS types for required CalendarProtocol methods ([0ee4581f], see also [proposal-temporal polyfill PR](https://github.com/tc39/proposal-temporal/pull/1964))
290
+
291
+ Non-breaking changes:
292
+
293
+ - Various `#round` and `#total` methods now accept string parameters or options bags. Strings are interpreted as the `smallestUnit` option (or `unit` for `Temporal.Duration#total`). ([068e801f], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1875))
294
+ - Add @@toStringTag to TS types ([41ab6bc0])
295
+ - Accept string Calendar names in PlainMonthDay and PlainYearMonth constructors ([27b4c7e8])
296
+ - Make options optional in Calendar method TS types ([3a09d00d])
297
+ - Align implementation of RoundDuration with adjusted spec text ([4a0d0264], see also [Spec PR](https://github.com/tc39/proposal-temporal/pull/1968/files))
298
+
299
+ Other:
300
+
301
+ - Bump various dependencies ([47701107], [f5427de9], [310d9d8b])
302
+ - Allow launching and debugging tests (both Demitasse and Test262 suites) from the VSCode debug panel ([960d9b76], [7f7c19a1], [4ec6568e], [edcc668b])
303
+ - Run the Test262 test suite against this polyfill, for various configurations of the resulting build artifact ([2331468d], [666c69da], [429273ec], [ff937782], [f885253f])
304
+ - Remove various pieces of unused code, and add CI testing to detect unused code in PR review ([67f9f6bb], [63bdfcd1])
305
+ - Drop the dependency on es-abstract ([d24575f2], [ad7e2e3a], [5b1bc5e2])
306
+ - The polyfill's source was ported to TypeScript ([12e4d529], [ac78fd9d], [53f32e0f], [06b806c9], [66fdc765], [50b1c34b], [4724b017], [947a8a5e], [fdbf7e01], [fa60af6a], [da753f2f], [f4db8b0b], [4a38420d])
307
+ - Document the release process for this polyfill ([c55818b6])
308
+
309
+ [12071fb0]: https://github.com/js-temporal/temporal-polyfill/commit/12071fb08903bdf8f73bae4b628ca91e469e8085
310
+ [cc701b45]: https://github.com/js-temporal/temporal-polyfill/commit/cc701b45afc2438f76cbbafe30c29a4485ad556c
311
+ [3916e547]: https://github.com/js-temporal/temporal-polyfill/commit/3916e547fa33eed8342f7845146135aae30696fd
312
+ [0727d86e]: https://github.com/js-temporal/temporal-polyfill/commit/0727d86ec364749f36cb7e5fb53f10db9b404da2
313
+ [600f0cc7]: https://github.com/js-temporal/temporal-polyfill/commit/600f0cc7cdd540bb55d738ed7c934bb7a7e01e17
314
+ [d6cb2862]: https://github.com/js-temporal/temporal-polyfill/commit/d6cb2862d624580f6210d849bdd424f3e9cebb4d
315
+ [97637bbc]: https://github.com/js-temporal/temporal-polyfill/commit/97637bbc3d7d1546ea67586534efc87b84c12359
316
+ [9b7f61ae]: https://github.com/js-temporal/temporal-polyfill/commit/9b7f61ae616c512df3c681d00cd59f86718d6a02
317
+ [0c38267b]: https://github.com/js-temporal/temporal-polyfill/commit/0c38267bfe56b5215ddaa14765a6a77275285569
318
+ [44b00a38]: https://github.com/js-temporal/temporal-polyfill/commit/44b00a38525a0e9607856d64909475c083476999
319
+ [5d78c815]: https://github.com/js-temporal/temporal-polyfill/commit/5d78c815bb561218c262714a6becc879cc9d66af
320
+ [5ad63274]: https://github.com/js-temporal/temporal-polyfill/commit/5ad63274fed03f9606bb827a5ccb49fcbfe33d3e
321
+ [375a4ad9]: https://github.com/js-temporal/temporal-polyfill/commit/375a4ad9bd527e002a0aa499b09c539ad8ded35b
322
+ [c0f7349a]: https://github.com/js-temporal/temporal-polyfill/commit/c0f7349a327b68543797d38e045b1fd8c1e0949b
323
+ [d94c1cd9]: https://github.com/js-temporal/temporal-polyfill/commit/d94c1cd9a853a6c9cd1212de9db46d4c4b695957
324
+ [9260a8a0]: https://github.com/js-temporal/temporal-polyfill/commit/9260a8a0f58db2c4606a09ae54b711f0c4a1d892
325
+ [e02f0626]: https://github.com/js-temporal/temporal-polyfill/commit/e02f0626ce89945c791ad4443f502738e0de3779
326
+ [0b238ccf]: https://github.com/js-temporal/temporal-polyfill/commit/0b238ccf338cd9b185d4df87433d7f65debc6347
327
+ [46c4132d]: https://github.com/js-temporal/temporal-polyfill/commit/46c4132d4cdcb923ec09eb0674873ce0a875fdd8
328
+ [856a5460]: https://github.com/js-temporal/temporal-polyfill/commit/856a54605b542a7d049bc1da58dee570367d7c6a
329
+ [8d3c1f1b]: https://github.com/js-temporal/temporal-polyfill/commit/8d3c1f1bd2533e69ef42368e8dbd4a097433dfbb
330
+ [955323f8]: https://github.com/js-temporal/temporal-polyfill/commit/955323f8e863f18c6691427bb1c3bbfc7c6a1403
331
+ [ef4a0c4b]: https://github.com/js-temporal/temporal-polyfill/commit/ef4a0c4bc143f3c8b28a19aec2a6ea5e588f4b9c
332
+ [7ebd0f96]: https://github.com/js-temporal/temporal-polyfill/commit/7ebd0f962589fe9885f7eaa35fd0a001a5075499
333
+ [996f8fa1]: https://github.com/js-temporal/temporal-polyfill/commit/996f8fa1084175f7c6fa11af393f5974d3364f26
334
+ [696f2c7e]: https://github.com/js-temporal/temporal-polyfill/commit/696f2c7eb1c37b6fe4a4696fbe6073e182cfa4a4
335
+ [c42570b8]: https://github.com/js-temporal/temporal-polyfill/commit/c42570b8aee0482e84f061afd75379c03cd11c8e
336
+ [e3913974]: https://github.com/js-temporal/temporal-polyfill/commit/e39139743a43a6fb5702036fa7e2989f8a91ad02
337
+ [fe698d8d]: https://github.com/js-temporal/temporal-polyfill/commit/fe698d8d9357633520e3b22c5a48d84db84bb400
338
+ [a907acf0]: https://github.com/js-temporal/temporal-polyfill/commit/a907acf0031e3ce80a3e9b2897240a61b6c34b23
339
+ [0d2d60ec]: https://github.com/js-temporal/temporal-polyfill/commit/0d2d60eca7a0293a4c3c4e4741e1674a2d24c7f7
340
+ [a7a50eac]: https://github.com/js-temporal/temporal-polyfill/commit/a7a50eac6d0413b8b222d8cecef00dcc949a58b7
341
+ [58b5601a]: https://github.com/js-temporal/temporal-polyfill/commit/58b5601a921296754c402aaf01c81fcf5418235b
342
+ [4db15c41]: https://github.com/js-temporal/temporal-polyfill/commit/4db15c41bde82f14416daf9a1990d4e82b4104af
343
+ [d88cfa4d]: https://github.com/js-temporal/temporal-polyfill/commit/d88cfa4d4968dde600f0a99fe79496d65109589f
344
+ [84563cea]: https://github.com/js-temporal/temporal-polyfill/commit/84563cea6f1b380ea6dd8366bab65023756161c2
345
+ [755c7620]: https://github.com/js-temporal/temporal-polyfill/commit/755c762014b196c8c3ff16325bc8a6df836ec69e
346
+ [7922f1f9]: https://github.com/js-temporal/temporal-polyfill/commit/7922f1f9f4eb154573f695d19f980d66401e4d82
347
+ [e8b2e71c]: https://github.com/js-temporal/temporal-polyfill/commit/e8b2e71c8c558a849b487f43785e46337ef3e837
348
+ [50a64f16]: https://github.com/js-temporal/temporal-polyfill/commit/50a64f163cb3abefdf7ef956c10f0197f4e46faf
349
+ [b86b87f0]: https://github.com/js-temporal/temporal-polyfill/commit/b86b87f048937caee6d00243af69eb6604d853f0
350
+ [acd6464f]: https://github.com/js-temporal/temporal-polyfill/commit/acd6464fac951c13cd1f0ad268c2d485be76b872
351
+ [af875275]: https://github.com/js-temporal/temporal-polyfill/commit/af875275902e18eb6a230c5f5541ed9c286eb955
352
+ [eb5404d1]: https://github.com/js-temporal/temporal-polyfill/commit/eb5404d182a94574c4aa183fcbf6907c54874657
353
+ [9e730d68]: https://github.com/js-temporal/temporal-polyfill/commit/9e730d68ef2e7d2bf9a568a67ac1f22aa91a1d6d
354
+ [bf08ca56]: https://github.com/js-temporal/temporal-polyfill/commit/bf08ca5606a9392635e70cd888f5686f6ecf4aa0
355
+ [73a0bf36]: https://github.com/js-temporal/temporal-polyfill/commit/73a0bf36b6d8aa4feb31d91c14688ca43c5822db
356
+ [8a49023b]: https://github.com/js-temporal/temporal-polyfill/commit/8a49023b1b8857c01aadbe71dc8d53481dd4c10b
357
+ [e1cd4170]: https://github.com/js-temporal/temporal-polyfill/commit/e1cd4170f12da0790faf3adcb99848e6cb6789c4
358
+ [6d124a56]: https://github.com/js-temporal/temporal-polyfill/commit/6d124a5676f608f3ff6b971588325ae134ff507b
359
+ [d2a23dd5]: https://github.com/js-temporal/temporal-polyfill/commit/d2a23dd500d97b37364d0e655d2408a88a35d424
360
+ [9591af3b]: https://github.com/js-temporal/temporal-polyfill/commit/9591af3b160b5db53d3d56fe60bc59aaf023eec1
361
+ [3b61abfe]: https://github.com/js-temporal/temporal-polyfill/commit/3b61abfee69a0c41dee334e901c43fb6829108b6
362
+ [5922bdf1]: https://github.com/js-temporal/temporal-polyfill/commit/5922bdf16c1af1209020ab20f60d5f525308e16d
363
+ [c65455a5]: https://github.com/js-temporal/temporal-polyfill/commit/c65455a531bdeceedca1aaa0372747263b799942
364
+ [6b462d49]: https://github.com/js-temporal/temporal-polyfill/commit/6b462d498634f3641bd5fdafe894b536413aa3bb
365
+ [f3d0ca9f]: https://github.com/js-temporal/temporal-polyfill/commit/f3d0ca9f2f32beb071a7d25c9732bd38784b3e6d
366
+ [4f8b04c1]: https://github.com/js-temporal/temporal-polyfill/commit/4f8b04c1caba0360a527cbe8c8d95e2a8642ab6e
367
+ [b251dc0e]: https://github.com/js-temporal/temporal-polyfill/commit/b251dc0ef48cd7b2edee2f6541ce0cfb6d019e08
368
+ [bb59ca97]: https://github.com/js-temporal/temporal-polyfill/commit/bb59ca970b1c0cb70bdafd2896814076c11edd07
369
+ [34662a05]: https://github.com/js-temporal/temporal-polyfill/commit/34662a05cfe50e17a02356cbc55ff0ca2365e888
370
+ [a4c60241]: https://github.com/js-temporal/temporal-polyfill/commit/a4c602410bb5b711683918cd414568e19c594499
371
+ [54fcc4f3]: https://github.com/js-temporal/temporal-polyfill/commit/54fcc4f34b6ce87d15d3df9359bb538766c562ef
372
+ [9992f9b1]: https://github.com/js-temporal/temporal-polyfill/commit/9992f9b1137ff52cc427bc0c96504dca387d267b
373
+ [ec2b0546]: https://github.com/js-temporal/temporal-polyfill/commit/ec2b0546dd68718c6645713512753570eccf0ba6
374
+ [d9de9e74]: https://github.com/js-temporal/temporal-polyfill/commit/d9de9e74d0cba630b3480b31964362f82c435992
375
+ [6f3c42c9]: https://github.com/js-temporal/temporal-polyfill/commit/6f3c42c90460fa0917e228b5724d7b462c052fd8
376
+ [9bab0eb5]: https://github.com/js-temporal/temporal-polyfill/commit/9bab0eb586a8db13081a51e81fd0f6f2518d041a
377
+ [297b8f38]: https://github.com/js-temporal/temporal-polyfill/commit/297b8f385e5a146ad9c97ce3a9865a654999a713
378
+ [304c86dd]: https://github.com/js-temporal/temporal-polyfill/commit/304c86dd61e7107095ed42149e85d919e3a6cac8
379
+ [b733c213]: https://github.com/js-temporal/temporal-polyfill/commit/b733c213cba462f79eb9ee3a084661ea5344d9ea
380
+ [670cda6b]: https://github.com/js-temporal/temporal-polyfill/commit/670cda6bd269db66c8ce97eb73f941b20abb92ec
381
+ [670cda6b]: https://github.com/js-temporal/temporal-polyfill/commit/670cda6bd269db66c8ce97eb73f941b20abb92ec
382
+ [871d28dc]: https://github.com/js-temporal/temporal-polyfill/commit/871d28dc16674b650bd2161e168bae4549ec2bd2
383
+ [d5ada8b0]: https://github.com/js-temporal/temporal-polyfill/commit/d5ada8b01f6ebc96cac46b6fda888ee6fc64e457
384
+ [e046ccdf]: https://github.com/js-temporal/temporal-polyfill/commit/e046ccdfd5ff4a2f048195894e279aefc64e565c
385
+ [b06ac47f]: https://github.com/js-temporal/temporal-polyfill/commit/b06ac47f2d580f7079f13b4f82a90ebce2e469bb
386
+ [30c4d4d8]: https://github.com/js-temporal/temporal-polyfill/commit/30c4d4d8584267989423cb09124ea175e08e9c04
387
+ [3554d7f1]: https://github.com/js-temporal/temporal-polyfill/commit/3554d7f119d275749507dc0943f9b0823a0a3dd2
388
+ [08e84c9f]: https://github.com/js-temporal/temporal-polyfill/commit/08e84c9f2478dc9e62bbe43737bacba762dbc9f7
389
+ [ef8c588b]: https://github.com/js-temporal/temporal-polyfill/commit/ef8c588bc54204d584ff5f3f582f9075e7e1abf7
390
+ [f8837367]: https://github.com/js-temporal/temporal-polyfill/commit/f88373671662b5d108311804c26f56df8df2f32c
391
+ [02aec1c3]: https://github.com/js-temporal/temporal-polyfill/commit/02aec1c319b9081e394232ec264d515549ed2a51
392
+ [b1dd7eb3]: https://github.com/js-temporal/temporal-polyfill/commit/b1dd7eb348d001008240102a154e94eb141f8d7d
393
+ [9d54c646]: https://github.com/js-temporal/temporal-polyfill/commit/9d54c6464b31a71b9f28d94cc8cfae60c5765067
394
+ [e70d6324]: https://github.com/js-temporal/temporal-polyfill/commit/e70d6324b876888c5b46e46523e1a3ef47a067ba
395
+ [3145c6c4]: https://github.com/js-temporal/temporal-polyfill/commit/3145c6c411a36e69985419a84d4bbf9a573383c0
396
+ [500b4c97]: https://github.com/js-temporal/temporal-polyfill/commit/500b4c97e05b225472ae61007da579a7548bfb78
397
+ [db63e22a]: https://github.com/js-temporal/temporal-polyfill/commit/db63e22a238c3546d8c1082847ae6a19c7bc9570
398
+ [08346dc5]: https://github.com/js-temporal/temporal-polyfill/commit/08346dc5bc809e7575eacde3200f9775fe19c378
399
+ [f3f8a994]: https://github.com/js-temporal/temporal-polyfill/commit/f3f8a994c05603ddf1f4ebad09f191a8e847566e
400
+ [70bd9898]: https://github.com/js-temporal/temporal-polyfill/commit/70bd98989d79da847c479b1a3ff05a6a4dc045b2
401
+ [2331468d]: https://github.com/js-temporal/temporal-polyfill/commit/2331468dc809b1abefab5d3c6d0901baf298f9fa
402
+ [9e95c62b]: https://github.com/js-temporal/temporal-polyfill/commit/9e95c62b4346f89b79a8be66a8767bf120230cf8
403
+ [9df5d068]: https://github.com/js-temporal/temporal-polyfill/commit/9df5d068165cce79cbdf5b047674e4156a3acb28
404
+ [766e5037]: https://github.com/js-temporal/temporal-polyfill/commit/766e5037a7943ed30f4e7d106bd74fb68509008e
405
+ [4ec075f0]: https://github.com/js-temporal/temporal-polyfill/commit/4ec075f0b8d3e58cc1a6632157696dc76901835a
406
+ [e6b2488d]: https://github.com/js-temporal/temporal-polyfill/commit/e6b2488d668c72e73f2d0052439bca4eca48536c
407
+ [4e63f25f]: https://github.com/js-temporal/temporal-polyfill/commit/4e63f25f4adcb3230ae18d75aca878eadff7ab91
408
+ [47f9132f]: https://github.com/js-temporal/temporal-polyfill/commit/47f9132f1c56658e40bb1f268a9ac542a897a9ca
409
+ [3008a670]: https://github.com/js-temporal/temporal-polyfill/commit/3008a670b3758abe1b2341d54da4217b251bc234
410
+ [6d3588c3]: https://github.com/js-temporal/temporal-polyfill/commit/6d3588c33fec99d18c403229cff19375a7726dea
411
+ [bafa1bdf]: https://github.com/js-temporal/temporal-polyfill/commit/bafa1bdf2dbfc28513d7e39b0c0d1c3d075d9db5
412
+ [7ebc700e]: https://github.com/js-temporal/temporal-polyfill/commit/7ebc700ea92d660f42b6397f7e400122630c2e76
413
+ [5448e59f]: https://github.com/js-temporal/temporal-polyfill/commit/5448e59f461e7a56f8d5af4eb5353b2284cbab93
414
+ [07ea694e]: https://github.com/js-temporal/temporal-polyfill/commit/07ea694e0e44bffae021b537facf80def78d94cf
415
+ [079a3325]: https://github.com/js-temporal/temporal-polyfill/commit/079a33254af4e6610b409e33a3cc7fa22d116796
416
+ [b5736546]: https://github.com/js-temporal/temporal-polyfill/commit/b5736546a193478cd4b8f491f8a7c7d9763c322a
417
+ [0ee4581f]: https://github.com/js-temporal/temporal-polyfill/commit/0ee4581f8068fdd433040b17c7a2580733c55039
418
+ [068e801f]: https://github.com/js-temporal/temporal-polyfill/commit/068e801ff507aa1176dba2283e526900cdc6d0c1
419
+ [41ab6bc0]: https://github.com/js-temporal/temporal-polyfill/commit/41ab6bc01dc66b6f20ba7bc39f681aeebb64068a
420
+ [27b4c7e8]: https://github.com/js-temporal/temporal-polyfill/commit/27b4c7e89d617434bddf9b4240c57ab732233dba
421
+ [3a09d00d]: https://github.com/js-temporal/temporal-polyfill/commit/3a09d00de02918362b1530cc4121047c9e7495bb
422
+ [4a0d0264]: https://github.com/js-temporal/temporal-polyfill/commit/4a0d02648592439840345820b80f6d6f45e773aa
423
+ [47701107]: https://github.com/js-temporal/temporal-polyfill/commit/477011079f6e69e4d6fb18127d9cb0db2ee29ea6
424
+ [f5427de9]: https://github.com/js-temporal/temporal-polyfill/commit/f5427de92d4e4f015ea1374368b6594295597af3
425
+ [310d9d8b]: https://github.com/js-temporal/temporal-polyfill/commit/310d9d8b329de46e83fb2de75b997c7d28ac65f6
426
+ [960d9b76]: https://github.com/js-temporal/temporal-polyfill/commit/960d9b76d7acb24f017eb6ad58c72cb89905f804
427
+ [7f7c19a1]: https://github.com/js-temporal/temporal-polyfill/commit/7f7c19a11fc16bdd8aed52cd9e074d06be14c1ae
428
+ [4ec6568e]: https://github.com/js-temporal/temporal-polyfill/commit/4ec6568e1dc64f219b8b9aeddc9655f2728157b5
429
+ [edcc668b]: https://github.com/js-temporal/temporal-polyfill/commit/edcc668b680321aea0ceb20f041e7831cbb3b041
430
+ [2331468d]: https://github.com/js-temporal/temporal-polyfill/commit/2331468dc809b1abefab5d3c6d0901baf298f9fa
431
+ [666c69da]: https://github.com/js-temporal/temporal-polyfill/commit/666c69dab69655940ed712ca40d1ea7b1a6f3a4c
432
+ [429273ec]: https://github.com/js-temporal/temporal-polyfill/commit/429273ec7ced0eb85bfd736d07c01e7c31d871e8
433
+ [ff937782]: https://github.com/js-temporal/temporal-polyfill/commit/ff9377829f27895ee5d31f02d2b442fea827e399
434
+ [f885253f]: https://github.com/js-temporal/temporal-polyfill/commit/f885253fdc0d16115b0a9d986a47e3fa35e50878
435
+ [67f9f6bb]: https://github.com/js-temporal/temporal-polyfill/commit/67f9f6bbb7c3252144d6267cd1cf25f53e253d56
436
+ [63bdfcd1]: https://github.com/js-temporal/temporal-polyfill/commit/63bdfcd11f62d85796761c6397369b900db35a84
437
+ [d24575f2]: https://github.com/js-temporal/temporal-polyfill/commit/d24575f21b127c7889f1fa49ce41fc2f5e100618
438
+ [ad7e2e3a]: https://github.com/js-temporal/temporal-polyfill/commit/ad7e2e3a5b7a9f136c0ef551753b7381a5d16301
439
+ [5b1bc5e2]: https://github.com/js-temporal/temporal-polyfill/commit/5b1bc5e2e8635626993a65dadfecab45125f4f96
440
+ [12e4d529]: https://github.com/js-temporal/temporal-polyfill/commit/12e4d5294ffe6c847ca0a98e752fbf25a68b973d
441
+ [ac78fd9d]: https://github.com/js-temporal/temporal-polyfill/commit/ac78fd9ddff96dd792703a4948d11196d52fbbed
442
+ [53f32e0f]: https://github.com/js-temporal/temporal-polyfill/commit/53f32e0f868d2ddcaf09643c87a09df2ed158b78
443
+ [06b806c9]: https://github.com/js-temporal/temporal-polyfill/commit/06b806c9c1831eca649d5398399f862ea539a5ed
444
+ [66fdc765]: https://github.com/js-temporal/temporal-polyfill/commit/66fdc76589578b349ae2df63d9c79972f311ff0f
445
+ [50b1c34b]: https://github.com/js-temporal/temporal-polyfill/commit/50b1c34b3f54073fe50ce56998767a3bb0f4c763
446
+ [4724b017]: https://github.com/js-temporal/temporal-polyfill/commit/4724b017f86ef8c7b51d6291594604bff24a81f3
447
+ [947a8a5e]: https://github.com/js-temporal/temporal-polyfill/commit/947a8a5e0bfbfaf534fb943d8bd46d676dd5b5e6
448
+ [fdbf7e01]: https://github.com/js-temporal/temporal-polyfill/commit/fdbf7e0167be4413b39d3ea9c1e41c5323ab97c1
449
+ [fa60af6a]: https://github.com/js-temporal/temporal-polyfill/commit/fa60af6af015dbefba11de488e7f6be707c953a7
450
+ [da753f2f]: https://github.com/js-temporal/temporal-polyfill/commit/da753f2fedd80f4894ab5d1d9522b2820eb39f56
451
+ [f4db8b0b]: https://github.com/js-temporal/temporal-polyfill/commit/f4db8b0bb47584da0ecf5ab138242836924f052f
452
+ [4a38420d]: https://github.com/js-temporal/temporal-polyfill/commit/4a38420de406f35439c937eafbdc5783cda9c2b9
453
+ [c55818b6]: https://github.com/js-temporal/temporal-polyfill/commit/c55818b6458cfd4ea0efd7259f593fc2ec8dcda9
@@ -0,0 +1,13 @@
1
+ Copyright 2017, 2018, 2019, 2020 ECMA International
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any
4
+ purpose with or without fee is hereby granted, provided that the above
5
+ copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,90 @@
1
+ # Temporal Polyfill
2
+
3
+ ## Polyfill for [TC39 Proposal: Temporal](https://github.com/tc39/proposal-temporal)
4
+
5
+ This polyfill was kicked off by some of the champions of the [Temporal proposal](https://github.com/tc39/proposal-temporal).
6
+ The goal is to be ready for production use when the Temporal proposal reaches Stage 4, although like with all OSS work progress is dependent on contributors.
7
+ We're eagerly welcoming to contributors who want to help build and maintain this polyfill.
8
+ PRs are always welcome!
9
+
10
+ Note that this polyfill is not affiliated with TC39. Links to other polyfills can be found [here](https://github.com/tc39/proposal-temporal/tree/main/#polyfills).
11
+
12
+ This polyfill is compatible with Node.js 14 or later.
13
+
14
+ ## v0.4.0 => v0.5.0 Breaking Changes and Migration
15
+
16
+ Until recently, this polyfill lagged behind the proposal repo (and its not-for-production-use polyfill).
17
+ It's now caught up with the last few years of changes to the Temporal proposal, including many removed APIs and other breaking changes.
18
+ While breaking changes to any TC39 proposal are always possible before [Stage 4](https://tc39.es/process-document/), Temporal is close to adoption and no signifncant changes are expected in the future.
19
+
20
+ The [changelog](./CHANGELOG.md#050) details what's changed, including tips for migrating existing code to the latest version.
21
+
22
+ ## Roadmap
23
+
24
+ - [x] Fork non-production polyfill from [tc39/proposal-temporal repo](https://github.com/tc39/proposal-temporal/tree/main/polyfill)
25
+ - [x] Release initial pre-alpha to NPM at [@js-temporal/polyfill](https://www.npmjs.com/package/@js-temporal/polyfill)
26
+ - [x] Sync the code in this repo with the handful of polyfill changes that have recently been made in the [tc39/proposal-temporal](https://github.com/tc39/proposal-temporal) repo
27
+ - [x] Release alpha version to NPM
28
+ - [x] Deprecate all other earlier Temporal polyfills
29
+ - [x] Optimize slow operations by reducing calls to Intl.DateTimeFormat constructor (see [#7](https://github.com/js-temporal/temporal-polyfill/issues/7), [#8](https://github.com/js-temporal/temporal-polyfill/pull/8), [#10](https://github.com/js-temporal/temporal-polyfill/pull/10), [#12](https://github.com/js-temporal/temporal-polyfill/pull/12))
30
+ - [x] Convert to TypeScript for better maintainability
31
+ - [x] Improve typing of sources for better maintainability
32
+ - [x] Migrate to JSBI for improved compile-time safety around BigInt operations.
33
+ - [ ] Optimize performance of other slow operations
34
+ - [ ] Release production version to NPM
35
+
36
+ ## Bug Reports and Feedback
37
+
38
+ If you think you've found a bug in the Temporal API itself (not the implementation in this polyfill), please file an issue in the [tc39/proposal-temporal issue tracker](https://github.com/tc39/proposal-temporal/issues) issue tracker.
39
+
40
+ If you've found a bug in this polyfill&mdash;meaning that the implementation here doesn't match the [Temporal spec](https://tc39.es/proposal-temporal/)&mdash;please file an issue in this repo's [issue tracker](https://github.com/js-temporal/temporal-polyfill/issues).
41
+
42
+ ## Documentation
43
+
44
+ Reference documentation and examples for the Temporal API can be found [here](https://tc39.es/proposal-temporal/docs/index.html).
45
+
46
+ A cookbook to help you get started and learn the ins and outs of Temporal is available [here](https://tc39.es/proposal-temporal/docs/index.html)
47
+
48
+ If you find a bug in the documentation, please file a bug over in the [tc39/proposal-temporal issue tracker](https://github.com/tc39/proposal-temporal/issues) issue tracker.
49
+
50
+ Note that the Temporal documentation is in the process of being migrated to [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript).
51
+ You can track the progress of the MDN migration [here](https://github.com/tc39/proposal-temporal/issues/1449).
52
+
53
+ ## Usage
54
+
55
+ To install:
56
+
57
+ ```bash
58
+ $ npm install @js-temporal/polyfill
59
+ ```
60
+
61
+ CJS Usage:
62
+
63
+ ```javascript
64
+ const { Temporal, Intl, toTemporalInstant } = require('@js-temporal/polyfill');
65
+ Date.prototype.toTemporalInstant = toTemporalInstant;
66
+ ```
67
+
68
+ Import the polyfill as an ES6 module:
69
+
70
+ ```javascript
71
+ import { Temporal, Intl, toTemporalInstant } from '@js-temporal/polyfill';
72
+ Date.prototype.toTemporalInstant = toTemporalInstant;
73
+ ```
74
+
75
+ Note that this polyfill currently does not install a global `Temporal` object like a real implementation will.
76
+ This behavior avoids hiding the global Temporal object in environments where a real Temporal implementation is present.
77
+ See [this issue](https://github.com/tc39/proposal-temporal/issues/778) for more background on this decision.
78
+ Once JS engines start shipping with Temporal, we may decide to change this behavior to match built-in behavior more closely.
79
+ See [#2](https://github.com/js-temporal/temporal-polyfill/issues/2) to provide feedback or track this issue.
80
+
81
+ This polyfill ships ES2020 code for both CJS and ESM bundles - if your
82
+ environment does not support ES2020, then please make sure to transpile the
83
+ content of this package along with the rest of your code.
84
+
85
+ This polyfill uses [JSBI](https://github.com/GoogleChromeLabs/jsbi) to enable backwards-compatibility for environments that don't support native bigints. If your project only ever runs in environments that do support native bigints (see [caniuse data](https://caniuse.com/bigint)), we highly recommend configuring the [JSBI Babel plugin](https://github.com/GoogleChromeLabs/babel-plugin-transform-jsbi-to-bigint) that translates JSBI calls to their native bigint equivalent, improving code-size and performance. We are exploring ways to provide separate builds for these use-cases in [#155](https://github.com/js-temporal/temporal-polyfill/issues/155).
86
+
87
+ ## Contributing / Help Wanted
88
+
89
+ We're eagerly welcoming to contributors who want to help build and maintain this polyfill.
90
+ PRs are always welcome!