@amazon/vinyl-util 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (965) hide show
  1. package/dist/browserTestUtil/index.js +2641 -0
  2. package/dist/browserTestUtil/index.js.map +7 -0
  3. package/dist/browserTestUtil/types/current/async/async.d.ts +30 -0
  4. package/dist/browserTestUtil/types/current/async/async.d.ts.map +1 -0
  5. package/dist/browserTestUtil/types/current/async/async.js +48 -0
  6. package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts +16 -0
  7. package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts.map +1 -0
  8. package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.js +57 -0
  9. package/dist/browserTestUtil/types/current/async/marble.d.ts +12 -0
  10. package/dist/browserTestUtil/types/current/async/marble.d.ts.map +1 -0
  11. package/dist/browserTestUtil/types/current/async/marble.js +27 -0
  12. package/dist/browserTestUtil/types/current/benchmark/Benchmark.d.ts +90 -0
  13. package/dist/browserTestUtil/types/current/benchmark/Benchmark.d.ts.map +1 -0
  14. package/dist/browserTestUtil/types/current/benchmark/Benchmark.js +247 -0
  15. package/dist/browserTestUtil/types/current/env/jasmineEnv.d.ts +14 -0
  16. package/dist/browserTestUtil/types/current/env/jasmineEnv.d.ts.map +1 -0
  17. package/dist/browserTestUtil/types/current/env/jasmineEnv.js +34 -0
  18. package/dist/browserTestUtil/types/current/expect/expectIterableEquals.d.ts +8 -0
  19. package/dist/browserTestUtil/types/current/expect/expectIterableEquals.d.ts.map +1 -0
  20. package/dist/browserTestUtil/types/current/expect/expectIterableEquals.js +13 -0
  21. package/dist/browserTestUtil/types/current/expect/expectNothing.d.ts +5 -0
  22. package/dist/browserTestUtil/types/current/expect/expectNothing.d.ts.map +1 -0
  23. package/dist/browserTestUtil/types/current/expect/expectNothing.js +10 -0
  24. package/dist/browserTestUtil/types/current/expect/prototype.d.ts +18 -0
  25. package/dist/browserTestUtil/types/current/expect/prototype.d.ts.map +1 -0
  26. package/dist/browserTestUtil/types/current/expect/prototype.js +28 -0
  27. package/dist/browserTestUtil/types/current/expect/typesafety.d.ts +38 -0
  28. package/dist/browserTestUtil/types/current/expect/typesafety.d.ts.map +1 -0
  29. package/dist/browserTestUtil/types/current/expect/typesafety.js +43 -0
  30. package/dist/browserTestUtil/types/current/index.d.ts +22 -0
  31. package/dist/browserTestUtil/types/current/index.d.ts.map +1 -0
  32. package/dist/browserTestUtil/types/current/index.js +21 -0
  33. package/dist/browserTestUtil/types/current/matchers/customMatchers.d.ts +9 -0
  34. package/dist/browserTestUtil/types/current/matchers/customMatchers.d.ts.map +1 -0
  35. package/dist/browserTestUtil/types/current/matchers/customMatchers.js +8 -0
  36. package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.d.ts +5 -0
  37. package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.d.ts.map +1 -0
  38. package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.js +25 -0
  39. package/dist/browserTestUtil/types/current/mock/asSpy.d.ts +18 -0
  40. package/dist/browserTestUtil/types/current/mock/asSpy.d.ts.map +1 -0
  41. package/dist/browserTestUtil/types/current/mock/asSpy.js +24 -0
  42. package/dist/browserTestUtil/types/current/mock/createSpyFactory.d.ts +44 -0
  43. package/dist/browserTestUtil/types/current/mock/createSpyFactory.d.ts.map +1 -0
  44. package/dist/browserTestUtil/types/current/mock/createSpyFactory.js +27 -0
  45. package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.d.ts +12 -0
  46. package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.d.ts.map +1 -0
  47. package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.js +30 -0
  48. package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts +11 -0
  49. package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts.map +1 -0
  50. package/dist/browserTestUtil/types/current/mock/dom/globals.js +15 -0
  51. package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts +2110 -0
  52. package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts.map +1 -0
  53. package/dist/browserTestUtil/types/current/mock/dom/lib.dom.js +1828 -0
  54. package/dist/browserTestUtil/types/current/mock/dom/mockEvent.d.ts +7 -0
  55. package/dist/browserTestUtil/types/current/mock/dom/mockEvent.d.ts.map +1 -0
  56. package/dist/browserTestUtil/types/current/mock/dom/mockEvent.js +14 -0
  57. package/dist/browserTestUtil/types/current/mock/implementEventFakes.d.ts +17 -0
  58. package/dist/browserTestUtil/types/current/mock/implementEventFakes.d.ts.map +1 -0
  59. package/dist/browserTestUtil/types/current/mock/implementEventFakes.js +108 -0
  60. package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.d.ts +2 -0
  61. package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.d.ts.map +1 -0
  62. package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.js +26 -0
  63. package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.d.ts +10 -0
  64. package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.d.ts.map +1 -0
  65. package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.js +32 -0
  66. package/dist/browserTestUtil/types/current/tsconfig.tsbuildinfo +1 -0
  67. package/dist/browserTestUtil/types/ts3.7/async/async.d.ts +30 -0
  68. package/dist/browserTestUtil/types/ts3.7/async/createCallbackTimingTest.d.ts +16 -0
  69. package/dist/browserTestUtil/types/ts3.7/async/marble.d.ts +12 -0
  70. package/dist/browserTestUtil/types/ts3.7/benchmark/Benchmark.d.ts +84 -0
  71. package/dist/browserTestUtil/types/ts3.7/env/jasmineEnv.d.ts +14 -0
  72. package/dist/browserTestUtil/types/ts3.7/expect/expectIterableEquals.d.ts +8 -0
  73. package/dist/browserTestUtil/types/ts3.7/expect/expectNothing.d.ts +5 -0
  74. package/dist/browserTestUtil/types/ts3.7/expect/prototype.d.ts +18 -0
  75. package/dist/browserTestUtil/types/ts3.7/expect/typesafety.d.ts +50 -0
  76. package/dist/browserTestUtil/types/ts3.7/index.d.ts +22 -0
  77. package/dist/browserTestUtil/types/ts3.7/matchers/customMatchers.d.ts +9 -0
  78. package/dist/browserTestUtil/types/ts3.7/matchers/toBeCloseToWithin.d.ts +5 -0
  79. package/dist/browserTestUtil/types/ts3.7/mock/asSpy.d.ts +18 -0
  80. package/dist/browserTestUtil/types/ts3.7/mock/createSpyFactory.d.ts +44 -0
  81. package/dist/browserTestUtil/types/ts3.7/mock/dom/MockTimeRanges.d.ts +15 -0
  82. package/dist/browserTestUtil/types/ts3.7/mock/dom/globals.d.ts +11 -0
  83. package/dist/browserTestUtil/types/ts3.7/mock/dom/lib.dom.d.ts +2110 -0
  84. package/dist/browserTestUtil/types/ts3.7/mock/dom/mockEvent.d.ts +7 -0
  85. package/dist/browserTestUtil/types/ts3.7/mock/implementEventFakes.d.ts +17 -0
  86. package/dist/browserTestUtil/types/ts3.7/mock/polyfillCustomEvent.d.ts +2 -0
  87. package/dist/browserTestUtil/types/ts3.7/reporters/ConsoleReporter.d.ts +10 -0
  88. package/dist/browserTestUtil/types/ts4.1/async/async.d.ts +30 -0
  89. package/dist/browserTestUtil/types/ts4.1/async/createCallbackTimingTest.d.ts +16 -0
  90. package/dist/browserTestUtil/types/ts4.1/async/marble.d.ts +12 -0
  91. package/dist/browserTestUtil/types/ts4.1/benchmark/Benchmark.d.ts +84 -0
  92. package/dist/browserTestUtil/types/ts4.1/env/jasmineEnv.d.ts +14 -0
  93. package/dist/browserTestUtil/types/ts4.1/expect/expectIterableEquals.d.ts +8 -0
  94. package/dist/browserTestUtil/types/ts4.1/expect/expectNothing.d.ts +5 -0
  95. package/dist/browserTestUtil/types/ts4.1/expect/prototype.d.ts +18 -0
  96. package/dist/browserTestUtil/types/ts4.1/expect/typesafety.d.ts +50 -0
  97. package/dist/browserTestUtil/types/ts4.1/index.d.ts +22 -0
  98. package/dist/browserTestUtil/types/ts4.1/matchers/customMatchers.d.ts +9 -0
  99. package/dist/browserTestUtil/types/ts4.1/matchers/toBeCloseToWithin.d.ts +5 -0
  100. package/dist/browserTestUtil/types/ts4.1/mock/asSpy.d.ts +18 -0
  101. package/dist/browserTestUtil/types/ts4.1/mock/createSpyFactory.d.ts +44 -0
  102. package/dist/browserTestUtil/types/ts4.1/mock/dom/MockTimeRanges.d.ts +15 -0
  103. package/dist/browserTestUtil/types/ts4.1/mock/dom/globals.d.ts +11 -0
  104. package/dist/browserTestUtil/types/ts4.1/mock/dom/lib.dom.d.ts +2110 -0
  105. package/dist/browserTestUtil/types/ts4.1/mock/dom/mockEvent.d.ts +7 -0
  106. package/dist/browserTestUtil/types/ts4.1/mock/implementEventFakes.d.ts +17 -0
  107. package/dist/browserTestUtil/types/ts4.1/mock/polyfillCustomEvent.d.ts +2 -0
  108. package/dist/browserTestUtil/types/ts4.1/reporters/ConsoleReporter.d.ts +10 -0
  109. package/dist/browserTestUtil/types/ts4.7/async/async.d.ts +30 -0
  110. package/dist/browserTestUtil/types/ts4.7/async/createCallbackTimingTest.d.ts +16 -0
  111. package/dist/browserTestUtil/types/ts4.7/async/marble.d.ts +12 -0
  112. package/dist/browserTestUtil/types/ts4.7/benchmark/Benchmark.d.ts +90 -0
  113. package/dist/browserTestUtil/types/ts4.7/env/jasmineEnv.d.ts +14 -0
  114. package/dist/browserTestUtil/types/ts4.7/expect/expectIterableEquals.d.ts +8 -0
  115. package/dist/browserTestUtil/types/ts4.7/expect/expectNothing.d.ts +5 -0
  116. package/dist/browserTestUtil/types/ts4.7/expect/prototype.d.ts +18 -0
  117. package/dist/browserTestUtil/types/ts4.7/expect/typesafety.d.ts +50 -0
  118. package/dist/browserTestUtil/types/ts4.7/index.d.ts +22 -0
  119. package/dist/browserTestUtil/types/ts4.7/matchers/customMatchers.d.ts +9 -0
  120. package/dist/browserTestUtil/types/ts4.7/matchers/toBeCloseToWithin.d.ts +5 -0
  121. package/dist/browserTestUtil/types/ts4.7/mock/asSpy.d.ts +18 -0
  122. package/dist/browserTestUtil/types/ts4.7/mock/createSpyFactory.d.ts +44 -0
  123. package/dist/browserTestUtil/types/ts4.7/mock/dom/MockTimeRanges.d.ts +15 -0
  124. package/dist/browserTestUtil/types/ts4.7/mock/dom/globals.d.ts +11 -0
  125. package/dist/browserTestUtil/types/ts4.7/mock/dom/lib.dom.d.ts +2110 -0
  126. package/dist/browserTestUtil/types/ts4.7/mock/dom/mockEvent.d.ts +7 -0
  127. package/dist/browserTestUtil/types/ts4.7/mock/implementEventFakes.d.ts +17 -0
  128. package/dist/browserTestUtil/types/ts4.7/mock/polyfillCustomEvent.d.ts +2 -0
  129. package/dist/browserTestUtil/types/ts4.7/reporters/ConsoleReporter.d.ts +10 -0
  130. package/dist/index.cjs +6104 -0
  131. package/dist/index.cjs.map +7 -0
  132. package/dist/index.js +6084 -0
  133. package/dist/index.js.map +7 -0
  134. package/dist/polyfill/index.d.ts +7 -0
  135. package/dist/polyfill/index.d.ts.map +1 -0
  136. package/dist/polyfill/index.js +3552 -0
  137. package/dist/polyfill/index.js.map +7 -0
  138. package/dist/polyfill/tsconfig.tsbuildinfo +1 -0
  139. package/dist/test/benchmark.es5.js +266 -0
  140. package/dist/test/benchmark.js +2026 -0
  141. package/dist/test/benchmark.js.map +7 -0
  142. package/dist/testUtil/index.js +593 -0
  143. package/dist/testUtil/index.js.map +7 -0
  144. package/dist/testUtil/types/current/error/uncaughtErrorUtil.d.ts +15 -0
  145. package/dist/testUtil/types/current/error/uncaughtErrorUtil.d.ts.map +1 -0
  146. package/dist/testUtil/types/current/error/uncaughtErrorUtil.js +52 -0
  147. package/dist/testUtil/types/current/global/overrideGlobalInit.d.ts +5 -0
  148. package/dist/testUtil/types/current/global/overrideGlobalInit.d.ts.map +1 -0
  149. package/dist/testUtil/types/current/global/overrideGlobalInit.js +10 -0
  150. package/dist/testUtil/types/current/index.d.ts +20 -0
  151. package/dist/testUtil/types/current/index.d.ts.map +1 -0
  152. package/dist/testUtil/types/current/index.js +19 -0
  153. package/dist/testUtil/types/current/mock/event/MockEventHost.d.ts +15 -0
  154. package/dist/testUtil/types/current/mock/event/MockEventHost.d.ts.map +1 -0
  155. package/dist/testUtil/types/current/mock/event/MockEventHost.js +21 -0
  156. package/dist/testUtil/types/current/mock/event/emptyLogTarget.d.ts +3 -0
  157. package/dist/testUtil/types/current/mock/event/emptyLogTarget.d.ts.map +1 -0
  158. package/dist/testUtil/types/current/mock/event/emptyLogTarget.js +7 -0
  159. package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts +18 -0
  160. package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts.map +1 -0
  161. package/dist/testUtil/types/current/mock/logging/MockLogger.js +41 -0
  162. package/dist/testUtil/types/current/mock/navigator/setMockNavigator.d.ts +7 -0
  163. package/dist/testUtil/types/current/mock/navigator/setMockNavigator.d.ts.map +1 -0
  164. package/dist/testUtil/types/current/mock/navigator/setMockNavigator.js +15 -0
  165. package/dist/testUtil/types/current/mock/network/MockNetworkInformation.d.ts +10 -0
  166. package/dist/testUtil/types/current/mock/network/MockNetworkInformation.d.ts.map +1 -0
  167. package/dist/testUtil/types/current/mock/network/MockNetworkInformation.js +12 -0
  168. package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts +10 -0
  169. package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts.map +1 -0
  170. package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.js +15 -0
  171. package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts +7 -0
  172. package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts.map +1 -0
  173. package/dist/testUtil/types/current/mock/network/MockNetworkState.js +11 -0
  174. package/dist/testUtil/types/current/mock/network/MockRequester.d.ts +6 -0
  175. package/dist/testUtil/types/current/mock/network/MockRequester.d.ts.map +1 -0
  176. package/dist/testUtil/types/current/mock/network/MockRequester.js +10 -0
  177. package/dist/testUtil/types/current/mock/network/emptyRequestInfo.d.ts +10 -0
  178. package/dist/testUtil/types/current/mock/network/emptyRequestInfo.d.ts.map +1 -0
  179. package/dist/testUtil/types/current/mock/network/emptyRequestInfo.js +71 -0
  180. package/dist/testUtil/types/current/mock/persistence/MockPersistence.d.ts +9 -0
  181. package/dist/testUtil/types/current/mock/persistence/MockPersistence.d.ts.map +1 -0
  182. package/dist/testUtil/types/current/mock/persistence/MockPersistence.js +12 -0
  183. package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.d.ts +6 -0
  184. package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.d.ts.map +1 -0
  185. package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.js +20 -0
  186. package/dist/testUtil/types/current/patch/addPatchTests.d.ts +35 -0
  187. package/dist/testUtil/types/current/patch/addPatchTests.d.ts.map +1 -0
  188. package/dist/testUtil/types/current/patch/addPatchTests.js +54 -0
  189. package/dist/testUtil/types/current/reporters/LogReporter.d.ts +57 -0
  190. package/dist/testUtil/types/current/reporters/LogReporter.d.ts.map +1 -0
  191. package/dist/testUtil/types/current/reporters/LogReporter.js +145 -0
  192. package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts +23 -0
  193. package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts.map +1 -0
  194. package/dist/testUtil/types/current/reporters/RestApiReporter.js +91 -0
  195. package/dist/testUtil/types/current/tsconfig.tsbuildinfo +1 -0
  196. package/dist/testUtil/types/current/util/event/createEventSpy.d.ts +31 -0
  197. package/dist/testUtil/types/current/util/event/createEventSpy.d.ts.map +1 -0
  198. package/dist/testUtil/types/current/util/event/createEventSpy.js +33 -0
  199. package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.d.ts +6 -0
  200. package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.d.ts.map +1 -0
  201. package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.js +20 -0
  202. package/dist/testUtil/types/ts3.7/error/uncaughtErrorUtil.d.ts +15 -0
  203. package/dist/testUtil/types/ts3.7/global/overrideGlobalInit.d.ts +5 -0
  204. package/dist/testUtil/types/ts3.7/index.d.ts +20 -0
  205. package/dist/testUtil/types/ts3.7/mock/event/MockEventHost.d.ts +15 -0
  206. package/dist/testUtil/types/ts3.7/mock/event/emptyLogTarget.d.ts +3 -0
  207. package/dist/testUtil/types/ts3.7/mock/logging/MockLogger.d.ts +18 -0
  208. package/dist/testUtil/types/ts3.7/mock/navigator/setMockNavigator.d.ts +7 -0
  209. package/dist/testUtil/types/ts3.7/mock/network/MockNetworkInformation.d.ts +10 -0
  210. package/dist/testUtil/types/ts3.7/mock/network/MockNetworkMetricsController.d.ts +10 -0
  211. package/dist/testUtil/types/ts3.7/mock/network/MockNetworkState.d.ts +7 -0
  212. package/dist/testUtil/types/ts3.7/mock/network/MockRequester.d.ts +6 -0
  213. package/dist/testUtil/types/ts3.7/mock/network/emptyRequestInfo.d.ts +10 -0
  214. package/dist/testUtil/types/ts3.7/mock/persistence/MockPersistence.d.ts +9 -0
  215. package/dist/testUtil/types/ts3.7/mock/util/spyOnPropertySafe.d.ts +6 -0
  216. package/dist/testUtil/types/ts3.7/patch/addPatchTests.d.ts +35 -0
  217. package/dist/testUtil/types/ts3.7/reporters/LogReporter.d.ts +57 -0
  218. package/dist/testUtil/types/ts3.7/reporters/RestApiReporter.d.ts +23 -0
  219. package/dist/testUtil/types/ts3.7/util/event/createEventSpy.d.ts +31 -0
  220. package/dist/testUtil/types/ts3.7/util/initializeUncaughtErrorLogging.d.ts +6 -0
  221. package/dist/testUtil/types/ts4.1/error/uncaughtErrorUtil.d.ts +15 -0
  222. package/dist/testUtil/types/ts4.1/global/overrideGlobalInit.d.ts +5 -0
  223. package/dist/testUtil/types/ts4.1/index.d.ts +20 -0
  224. package/dist/testUtil/types/ts4.1/mock/event/MockEventHost.d.ts +15 -0
  225. package/dist/testUtil/types/ts4.1/mock/event/emptyLogTarget.d.ts +3 -0
  226. package/dist/testUtil/types/ts4.1/mock/logging/MockLogger.d.ts +18 -0
  227. package/dist/testUtil/types/ts4.1/mock/navigator/setMockNavigator.d.ts +7 -0
  228. package/dist/testUtil/types/ts4.1/mock/network/MockNetworkInformation.d.ts +10 -0
  229. package/dist/testUtil/types/ts4.1/mock/network/MockNetworkMetricsController.d.ts +10 -0
  230. package/dist/testUtil/types/ts4.1/mock/network/MockNetworkState.d.ts +7 -0
  231. package/dist/testUtil/types/ts4.1/mock/network/MockRequester.d.ts +6 -0
  232. package/dist/testUtil/types/ts4.1/mock/network/emptyRequestInfo.d.ts +10 -0
  233. package/dist/testUtil/types/ts4.1/mock/persistence/MockPersistence.d.ts +9 -0
  234. package/dist/testUtil/types/ts4.1/mock/util/spyOnPropertySafe.d.ts +6 -0
  235. package/dist/testUtil/types/ts4.1/patch/addPatchTests.d.ts +35 -0
  236. package/dist/testUtil/types/ts4.1/reporters/LogReporter.d.ts +58 -0
  237. package/dist/testUtil/types/ts4.1/reporters/RestApiReporter.d.ts +24 -0
  238. package/dist/testUtil/types/ts4.1/util/event/createEventSpy.d.ts +31 -0
  239. package/dist/testUtil/types/ts4.1/util/initializeUncaughtErrorLogging.d.ts +6 -0
  240. package/dist/testUtil/types/ts4.7/error/uncaughtErrorUtil.d.ts +15 -0
  241. package/dist/testUtil/types/ts4.7/global/overrideGlobalInit.d.ts +5 -0
  242. package/dist/testUtil/types/ts4.7/index.d.ts +20 -0
  243. package/dist/testUtil/types/ts4.7/mock/event/MockEventHost.d.ts +15 -0
  244. package/dist/testUtil/types/ts4.7/mock/event/emptyLogTarget.d.ts +3 -0
  245. package/dist/testUtil/types/ts4.7/mock/logging/MockLogger.d.ts +18 -0
  246. package/dist/testUtil/types/ts4.7/mock/navigator/setMockNavigator.d.ts +7 -0
  247. package/dist/testUtil/types/ts4.7/mock/network/MockNetworkInformation.d.ts +10 -0
  248. package/dist/testUtil/types/ts4.7/mock/network/MockNetworkMetricsController.d.ts +10 -0
  249. package/dist/testUtil/types/ts4.7/mock/network/MockNetworkState.d.ts +7 -0
  250. package/dist/testUtil/types/ts4.7/mock/network/MockRequester.d.ts +6 -0
  251. package/dist/testUtil/types/ts4.7/mock/network/emptyRequestInfo.d.ts +10 -0
  252. package/dist/testUtil/types/ts4.7/mock/persistence/MockPersistence.d.ts +9 -0
  253. package/dist/testUtil/types/ts4.7/mock/util/spyOnPropertySafe.d.ts +6 -0
  254. package/dist/testUtil/types/ts4.7/patch/addPatchTests.d.ts +35 -0
  255. package/dist/testUtil/types/ts4.7/reporters/LogReporter.d.ts +57 -0
  256. package/dist/testUtil/types/ts4.7/reporters/RestApiReporter.d.ts +23 -0
  257. package/dist/testUtil/types/ts4.7/util/event/createEventSpy.d.ts +31 -0
  258. package/dist/testUtil/types/ts4.7/util/initializeUncaughtErrorLogging.d.ts +6 -0
  259. package/dist/types/current/client/Version.d.ts +38 -0
  260. package/dist/types/current/client/Version.d.ts.map +1 -0
  261. package/dist/types/current/client/Version.js +40 -0
  262. package/dist/types/current/client/userAgent/UserAgentInfo.d.ts +36 -0
  263. package/dist/types/current/client/userAgent/UserAgentInfo.d.ts.map +1 -0
  264. package/dist/types/current/client/userAgent/UserAgentInfo.js +12 -0
  265. package/dist/types/current/client/userAgent/defaultUserAgentRules.d.ts +94 -0
  266. package/dist/types/current/client/userAgent/defaultUserAgentRules.d.ts.map +1 -0
  267. package/dist/types/current/client/userAgent/defaultUserAgentRules.js +251 -0
  268. package/dist/types/current/client/userAgent/hasBrowser.d.ts +26 -0
  269. package/dist/types/current/client/userAgent/hasBrowser.d.ts.map +1 -0
  270. package/dist/types/current/client/userAgent/hasBrowser.js +49 -0
  271. package/dist/types/current/client/userAgent/parseUserAgent.d.ts +14 -0
  272. package/dist/types/current/client/userAgent/parseUserAgent.d.ts.map +1 -0
  273. package/dist/types/current/client/userAgent/parseUserAgent.js +67 -0
  274. package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts +104 -0
  275. package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts.map +1 -0
  276. package/dist/types/current/client/userAgent/tokenizeUserAgent.js +167 -0
  277. package/dist/types/current/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
  278. package/dist/types/current/client/userAgent/userAgentRuleHelpers.d.ts.map +1 -0
  279. package/dist/types/current/client/userAgent/userAgentRuleHelpers.js +96 -0
  280. package/dist/types/current/core/Unsubscribe.d.ts +2 -0
  281. package/dist/types/current/core/Unsubscribe.d.ts.map +1 -0
  282. package/dist/types/current/core/Unsubscribe.js +5 -0
  283. package/dist/types/current/core/clearable.d.ts +19 -0
  284. package/dist/types/current/core/clearable.d.ts.map +1 -0
  285. package/dist/types/current/core/clearable.js +24 -0
  286. package/dist/types/current/core/cloneable.d.ts +14 -0
  287. package/dist/types/current/core/cloneable.d.ts.map +1 -0
  288. package/dist/types/current/core/cloneable.js +14 -0
  289. package/dist/types/current/core/disposable.d.ts +66 -0
  290. package/dist/types/current/core/disposable.d.ts.map +1 -0
  291. package/dist/types/current/core/disposable.js +91 -0
  292. package/dist/types/current/error/AbortError.d.ts +6 -0
  293. package/dist/types/current/error/AbortError.d.ts.map +1 -0
  294. package/dist/types/current/error/AbortError.js +15 -0
  295. package/dist/types/current/error/ErrorOrigin.d.ts +45 -0
  296. package/dist/types/current/error/ErrorOrigin.d.ts.map +1 -0
  297. package/dist/types/current/error/ErrorOrigin.js +48 -0
  298. package/dist/types/current/error/IllegalArgumentError.d.ts +10 -0
  299. package/dist/types/current/error/IllegalArgumentError.d.ts.map +1 -0
  300. package/dist/types/current/error/IllegalArgumentError.js +20 -0
  301. package/dist/types/current/error/IllegalStateError.d.ts +9 -0
  302. package/dist/types/current/error/IllegalStateError.d.ts.map +1 -0
  303. package/dist/types/current/error/IllegalStateError.js +17 -0
  304. package/dist/types/current/error/MediaUnsupportedError.d.ts +9 -0
  305. package/dist/types/current/error/MediaUnsupportedError.d.ts.map +1 -0
  306. package/dist/types/current/error/MediaUnsupportedError.js +20 -0
  307. package/dist/types/current/error/ReportableError.d.ts +39 -0
  308. package/dist/types/current/error/ReportableError.d.ts.map +1 -0
  309. package/dist/types/current/error/ReportableError.js +66 -0
  310. package/dist/types/current/error/ServiceResponseError.d.ts +14 -0
  311. package/dist/types/current/error/ServiceResponseError.d.ts.map +1 -0
  312. package/dist/types/current/error/ServiceResponseError.js +31 -0
  313. package/dist/types/current/error/StackOverflowError.d.ts +9 -0
  314. package/dist/types/current/error/StackOverflowError.d.ts.map +1 -0
  315. package/dist/types/current/error/StackOverflowError.js +17 -0
  316. package/dist/types/current/error/TimeoutError.d.ts +6 -0
  317. package/dist/types/current/error/TimeoutError.d.ts.map +1 -0
  318. package/dist/types/current/error/TimeoutError.js +15 -0
  319. package/dist/types/current/error/UnreachableCodeError.d.ts +9 -0
  320. package/dist/types/current/error/UnreachableCodeError.d.ts.map +1 -0
  321. package/dist/types/current/error/UnreachableCodeError.js +17 -0
  322. package/dist/types/current/error/ValidationError.d.ts +17 -0
  323. package/dist/types/current/error/ValidationError.d.ts.map +1 -0
  324. package/dist/types/current/error/ValidationError.js +32 -0
  325. package/dist/types/current/event/DomEventHost.d.ts +45 -0
  326. package/dist/types/current/event/DomEventHost.d.ts.map +1 -0
  327. package/dist/types/current/event/DomEventHost.js +53 -0
  328. package/dist/types/current/event/EventHost.d.ts +69 -0
  329. package/dist/types/current/event/EventHost.d.ts.map +1 -0
  330. package/dist/types/current/event/EventHost.js +38 -0
  331. package/dist/types/current/event/Signal.d.ts +57 -0
  332. package/dist/types/current/event/Signal.d.ts.map +1 -0
  333. package/dist/types/current/event/Signal.js +66 -0
  334. package/dist/types/current/event/nextEventAsPromise.d.ts +30 -0
  335. package/dist/types/current/event/nextEventAsPromise.d.ts.map +1 -0
  336. package/dist/types/current/event/nextEventAsPromise.js +23 -0
  337. package/dist/types/current/event/onAny.d.ts +13 -0
  338. package/dist/types/current/event/onAny.d.ts.map +1 -0
  339. package/dist/types/current/event/onAny.js +24 -0
  340. package/dist/types/current/event/redispatchEvents.d.ts +15 -0
  341. package/dist/types/current/event/redispatchEvents.d.ts.map +1 -0
  342. package/dist/types/current/event/redispatchEvents.js +23 -0
  343. package/dist/types/current/global/environment.d.ts +26 -0
  344. package/dist/types/current/global/environment.d.ts.map +1 -0
  345. package/dist/types/current/global/environment.js +29 -0
  346. package/dist/types/current/global/globalRegistry.d.ts +86 -0
  347. package/dist/types/current/global/globalRegistry.d.ts.map +1 -0
  348. package/dist/types/current/global/globalRegistry.js +181 -0
  349. package/dist/types/current/global/globalTarget.d.ts +8 -0
  350. package/dist/types/current/global/globalTarget.d.ts.map +1 -0
  351. package/dist/types/current/global/globalTarget.js +12 -0
  352. package/dist/types/current/index.d.ts +118 -0
  353. package/dist/types/current/index.d.ts.map +1 -0
  354. package/dist/types/current/index.js +117 -0
  355. package/dist/types/current/logging/ConsoleLogHandler.d.ts +26 -0
  356. package/dist/types/current/logging/ConsoleLogHandler.d.ts.map +1 -0
  357. package/dist/types/current/logging/ConsoleLogHandler.js +43 -0
  358. package/dist/types/current/logging/HistoryLogHandler.d.ts +56 -0
  359. package/dist/types/current/logging/HistoryLogHandler.d.ts.map +1 -0
  360. package/dist/types/current/logging/HistoryLogHandler.js +54 -0
  361. package/dist/types/current/logging/LogTarget.d.ts +19 -0
  362. package/dist/types/current/logging/LogTarget.d.ts.map +1 -0
  363. package/dist/types/current/logging/LogTarget.js +18 -0
  364. package/dist/types/current/logging/Logger.d.ts +66 -0
  365. package/dist/types/current/logging/Logger.d.ts.map +1 -0
  366. package/dist/types/current/logging/Logger.js +110 -0
  367. package/dist/types/current/logging/VinylLogging.d.ts +9 -0
  368. package/dist/types/current/logging/VinylLogging.d.ts.map +1 -0
  369. package/dist/types/current/logging/VinylLogging.js +22 -0
  370. package/dist/types/current/logging/getLogLevelFromSearch.d.ts +8 -0
  371. package/dist/types/current/logging/getLogLevelFromSearch.d.ts.map +1 -0
  372. package/dist/types/current/logging/getLogLevelFromSearch.js +17 -0
  373. package/dist/types/current/logging/logTimer.d.ts +10 -0
  374. package/dist/types/current/logging/logTimer.d.ts.map +1 -0
  375. package/dist/types/current/logging/logTimer.js +18 -0
  376. package/dist/types/current/network/RequestError.d.ts +26 -0
  377. package/dist/types/current/network/RequestError.d.ts.map +1 -0
  378. package/dist/types/current/network/RequestError.js +78 -0
  379. package/dist/types/current/network/RequestInterceptor.d.ts +14 -0
  380. package/dist/types/current/network/RequestInterceptor.d.ts.map +1 -0
  381. package/dist/types/current/network/RequestInterceptor.js +5 -0
  382. package/dist/types/current/network/Requester.d.ts +84 -0
  383. package/dist/types/current/network/Requester.d.ts.map +1 -0
  384. package/dist/types/current/network/Requester.js +10 -0
  385. package/dist/types/current/network/RequesterImpl.d.ts +120 -0
  386. package/dist/types/current/network/RequesterImpl.d.ts.map +1 -0
  387. package/dist/types/current/network/RequesterImpl.js +321 -0
  388. package/dist/types/current/network/RequesterImplEventMap.d.ts +230 -0
  389. package/dist/types/current/network/RequesterImplEventMap.d.ts.map +1 -0
  390. package/dist/types/current/network/RequesterImplEventMap.js +23 -0
  391. package/dist/types/current/network/browser/NetworkInformation.d.ts +48 -0
  392. package/dist/types/current/network/browser/NetworkInformation.d.ts.map +1 -0
  393. package/dist/types/current/network/browser/NetworkInformation.js +17 -0
  394. package/dist/types/current/network/createRequester.d.ts +12 -0
  395. package/dist/types/current/network/createRequester.d.ts.map +1 -0
  396. package/dist/types/current/network/createRequester.js +29 -0
  397. package/dist/types/current/network/logging/networkLoggingHandler.d.ts +14 -0
  398. package/dist/types/current/network/logging/networkLoggingHandler.d.ts.map +1 -0
  399. package/dist/types/current/network/logging/networkLoggingHandler.js +74 -0
  400. package/dist/types/current/network/metrics/NetworkMetricsController.d.ts +41 -0
  401. package/dist/types/current/network/metrics/NetworkMetricsController.d.ts.map +1 -0
  402. package/dist/types/current/network/metrics/NetworkMetricsController.js +5 -0
  403. package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
  404. package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts.map +1 -0
  405. package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.js +210 -0
  406. package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts +11 -0
  407. package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts.map +1 -0
  408. package/dist/types/current/network/metrics/networkMetricsGlobal.js +19 -0
  409. package/dist/types/current/network/metrics/networkMetricsModel.d.ts +147 -0
  410. package/dist/types/current/network/metrics/networkMetricsModel.d.ts.map +1 -0
  411. package/dist/types/current/network/metrics/networkMetricsModel.js +35 -0
  412. package/dist/types/current/network/network.d.ts +47 -0
  413. package/dist/types/current/network/network.d.ts.map +1 -0
  414. package/dist/types/current/network/network.js +54 -0
  415. package/dist/types/current/network/requesterGlobal.d.ts +19 -0
  416. package/dist/types/current/network/requesterGlobal.d.ts.map +1 -0
  417. package/dist/types/current/network/requesterGlobal.js +29 -0
  418. package/dist/types/current/network/requesterUtil.d.ts +28 -0
  419. package/dist/types/current/network/requesterUtil.d.ts.map +1 -0
  420. package/dist/types/current/network/requesterUtil.js +71 -0
  421. package/dist/types/current/network/responseUtil.d.ts +10 -0
  422. package/dist/types/current/network/responseUtil.d.ts.map +1 -0
  423. package/dist/types/current/network/responseUtil.js +14 -0
  424. package/dist/types/current/patch/network/fetch.d.ts +11 -0
  425. package/dist/types/current/patch/network/fetch.d.ts.map +1 -0
  426. package/dist/types/current/patch/network/fetch.js +43 -0
  427. package/dist/types/current/patch/patchTarget.d.ts +114 -0
  428. package/dist/types/current/patch/patchTarget.d.ts.map +1 -0
  429. package/dist/types/current/patch/patchTarget.js +219 -0
  430. package/dist/types/current/persistence/KeyValuePersistence.d.ts +28 -0
  431. package/dist/types/current/persistence/KeyValuePersistence.d.ts.map +1 -0
  432. package/dist/types/current/persistence/KeyValuePersistence.js +5 -0
  433. package/dist/types/current/persistence/PersistentItem.d.ts +86 -0
  434. package/dist/types/current/persistence/PersistentItem.d.ts.map +1 -0
  435. package/dist/types/current/persistence/PersistentItem.js +70 -0
  436. package/dist/types/current/persistence/StoragePersistence.d.ts +11 -0
  437. package/dist/types/current/persistence/StoragePersistence.d.ts.map +1 -0
  438. package/dist/types/current/persistence/StoragePersistence.js +25 -0
  439. package/dist/types/current/persistence/persistenceRef.d.ts +7 -0
  440. package/dist/types/current/persistence/persistenceRef.d.ts.map +1 -0
  441. package/dist/types/current/persistence/persistenceRef.js +13 -0
  442. package/dist/types/current/tsconfig.tsbuildinfo +1 -0
  443. package/dist/types/current/util/async/Abort.d.ts +99 -0
  444. package/dist/types/current/util/async/Abort.d.ts.map +1 -0
  445. package/dist/types/current/util/async/Abort.js +122 -0
  446. package/dist/types/current/util/async/Deferred.d.ts +25 -0
  447. package/dist/types/current/util/async/Deferred.d.ts.map +1 -0
  448. package/dist/types/current/util/async/Deferred.js +41 -0
  449. package/dist/types/current/util/async/TaskQueue.d.ts +74 -0
  450. package/dist/types/current/util/async/TaskQueue.d.ts.map +1 -0
  451. package/dist/types/current/util/async/TaskQueue.js +124 -0
  452. package/dist/types/current/util/async/TimeoutController.d.ts +36 -0
  453. package/dist/types/current/util/async/TimeoutController.d.ts.map +1 -0
  454. package/dist/types/current/util/async/TimeoutController.js +62 -0
  455. package/dist/types/current/util/async/TimeoutSlot.d.ts +29 -0
  456. package/dist/types/current/util/async/TimeoutSlot.d.ts.map +1 -0
  457. package/dist/types/current/util/async/TimeoutSlot.js +50 -0
  458. package/dist/types/current/util/async/abortUtils.d.ts +15 -0
  459. package/dist/types/current/util/async/abortUtils.d.ts.map +1 -0
  460. package/dist/types/current/util/async/abortUtils.js +27 -0
  461. package/dist/types/current/util/async/never.d.ts +5 -0
  462. package/dist/types/current/util/async/never.d.ts.map +1 -0
  463. package/dist/types/current/util/async/never.js +22 -0
  464. package/dist/types/current/util/async/promise.d.ts +53 -0
  465. package/dist/types/current/util/async/promise.d.ts.map +1 -0
  466. package/dist/types/current/util/async/promise.js +131 -0
  467. package/dist/types/current/util/async/sleep.d.ts +27 -0
  468. package/dist/types/current/util/async/sleep.d.ts.map +1 -0
  469. package/dist/types/current/util/async/sleep.js +41 -0
  470. package/dist/types/current/util/async/timeout.d.ts +29 -0
  471. package/dist/types/current/util/async/timeout.d.ts.map +1 -0
  472. package/dist/types/current/util/async/timeout.js +55 -0
  473. package/dist/types/current/util/browser/searchParams.d.ts +13 -0
  474. package/dist/types/current/util/browser/searchParams.d.ts.map +1 -0
  475. package/dist/types/current/util/browser/searchParams.js +26 -0
  476. package/dist/types/current/util/buffer/BufferError.d.ts +6 -0
  477. package/dist/types/current/util/buffer/BufferError.d.ts.map +1 -0
  478. package/dist/types/current/util/buffer/BufferError.js +15 -0
  479. package/dist/types/current/util/buffer/BufferReader.d.ts +77 -0
  480. package/dist/types/current/util/buffer/BufferReader.d.ts.map +1 -0
  481. package/dist/types/current/util/buffer/BufferReader.js +150 -0
  482. package/dist/types/current/util/buffer/BufferWriter.d.ts +30 -0
  483. package/dist/types/current/util/buffer/BufferWriter.d.ts.map +1 -0
  484. package/dist/types/current/util/buffer/BufferWriter.js +80 -0
  485. package/dist/types/current/util/buffer/buffer.d.ts +55 -0
  486. package/dist/types/current/util/buffer/buffer.d.ts.map +1 -0
  487. package/dist/types/current/util/buffer/buffer.js +99 -0
  488. package/dist/types/current/util/collection/CacheMap.d.ts +12 -0
  489. package/dist/types/current/util/collection/CacheMap.d.ts.map +1 -0
  490. package/dist/types/current/util/collection/CacheMap.js +5 -0
  491. package/dist/types/current/util/collection/LinkedList.d.ts +165 -0
  492. package/dist/types/current/util/collection/LinkedList.d.ts.map +1 -0
  493. package/dist/types/current/util/collection/LinkedList.js +332 -0
  494. package/dist/types/current/util/collection/LruCache.d.ts +93 -0
  495. package/dist/types/current/util/collection/LruCache.d.ts.map +1 -0
  496. package/dist/types/current/util/collection/LruCache.js +170 -0
  497. package/dist/types/current/util/collection/array.d.ts +207 -0
  498. package/dist/types/current/util/collection/array.d.ts.map +1 -0
  499. package/dist/types/current/util/collection/array.js +403 -0
  500. package/dist/types/current/util/collection/typedArray.d.ts +17 -0
  501. package/dist/types/current/util/collection/typedArray.d.ts.map +1 -0
  502. package/dist/types/current/util/collection/typedArray.js +32 -0
  503. package/dist/types/current/util/comparison/compare.d.ts +33 -0
  504. package/dist/types/current/util/comparison/compare.d.ts.map +1 -0
  505. package/dist/types/current/util/comparison/compare.js +53 -0
  506. package/dist/types/current/util/config/ValueProvider.d.ts +17 -0
  507. package/dist/types/current/util/config/ValueProvider.d.ts.map +1 -0
  508. package/dist/types/current/util/config/ValueProvider.js +18 -0
  509. package/dist/types/current/util/date/date.d.ts +32 -0
  510. package/dist/types/current/util/date/date.d.ts.map +1 -0
  511. package/dist/types/current/util/date/date.js +49 -0
  512. package/dist/types/current/util/error/stack.d.ts +79 -0
  513. package/dist/types/current/util/error/stack.d.ts.map +1 -0
  514. package/dist/types/current/util/error/stack.js +135 -0
  515. package/dist/types/current/util/fun/debounce.d.ts +12 -0
  516. package/dist/types/current/util/fun/debounce.d.ts.map +1 -0
  517. package/dist/types/current/util/fun/debounce.js +28 -0
  518. package/dist/types/current/util/fun/flow.d.ts +38 -0
  519. package/dist/types/current/util/fun/flow.d.ts.map +1 -0
  520. package/dist/types/current/util/fun/flow.js +28 -0
  521. package/dist/types/current/util/fun/function.d.ts +5 -0
  522. package/dist/types/current/util/fun/function.d.ts.map +1 -0
  523. package/dist/types/current/util/fun/function.js +8 -0
  524. package/dist/types/current/util/fun/memoize.d.ts +24 -0
  525. package/dist/types/current/util/fun/memoize.d.ts.map +1 -0
  526. package/dist/types/current/util/fun/memoize.js +62 -0
  527. package/dist/types/current/util/fun/throttle.d.ts +34 -0
  528. package/dist/types/current/util/fun/throttle.d.ts.map +1 -0
  529. package/dist/types/current/util/fun/throttle.js +66 -0
  530. package/dist/types/current/util/iteration/iterable.d.ts +26 -0
  531. package/dist/types/current/util/iteration/iterable.d.ts.map +1 -0
  532. package/dist/types/current/util/iteration/iterable.js +97 -0
  533. package/dist/types/current/util/map/map.d.ts +17 -0
  534. package/dist/types/current/util/map/map.d.ts.map +1 -0
  535. package/dist/types/current/util/map/map.js +35 -0
  536. package/dist/types/current/util/math/math.d.ts +79 -0
  537. package/dist/types/current/util/math/math.d.ts.map +1 -0
  538. package/dist/types/current/util/math/math.js +94 -0
  539. package/dist/types/current/util/mpeg/parseSidxBox.d.ts +100 -0
  540. package/dist/types/current/util/mpeg/parseSidxBox.d.ts.map +1 -0
  541. package/dist/types/current/util/mpeg/parseSidxBox.js +91 -0
  542. package/dist/types/current/util/network/request.d.ts +18 -0
  543. package/dist/types/current/util/network/request.d.ts.map +1 -0
  544. package/dist/types/current/util/network/request.js +79 -0
  545. package/dist/types/current/util/object/clone.d.ts +68 -0
  546. package/dist/types/current/util/object/clone.d.ts.map +1 -0
  547. package/dist/types/current/util/object/clone.js +36 -0
  548. package/dist/types/current/util/object/equalDeep.d.ts +54 -0
  549. package/dist/types/current/util/object/equalDeep.d.ts.map +1 -0
  550. package/dist/types/current/util/object/equalDeep.js +144 -0
  551. package/dist/types/current/util/object/lazy.d.ts +54 -0
  552. package/dist/types/current/util/object/lazy.d.ts.map +1 -0
  553. package/dist/types/current/util/object/lazy.js +70 -0
  554. package/dist/types/current/util/object/merge.d.ts +72 -0
  555. package/dist/types/current/util/object/merge.d.ts.map +1 -0
  556. package/dist/types/current/util/object/merge.js +19 -0
  557. package/dist/types/current/util/object/mergeDeep.d.ts +126 -0
  558. package/dist/types/current/util/object/mergeDeep.d.ts.map +1 -0
  559. package/dist/types/current/util/object/mergeDeep.js +256 -0
  560. package/dist/types/current/util/object/mutableType.d.ts +64 -0
  561. package/dist/types/current/util/object/mutableType.d.ts.map +1 -0
  562. package/dist/types/current/util/object/mutableType.js +5 -0
  563. package/dist/types/current/util/object/object.d.ts +55 -0
  564. package/dist/types/current/util/object/object.d.ts.map +1 -0
  565. package/dist/types/current/util/object/object.js +91 -0
  566. package/dist/types/current/util/object/readonlyType.d.ts +71 -0
  567. package/dist/types/current/util/object/readonlyType.d.ts.map +1 -0
  568. package/dist/types/current/util/object/readonlyType.js +5 -0
  569. package/dist/types/current/util/range/IntersectionRanges.d.ts +37 -0
  570. package/dist/types/current/util/range/IntersectionRanges.d.ts.map +1 -0
  571. package/dist/types/current/util/range/IntersectionRanges.js +77 -0
  572. package/dist/types/current/util/range/Ranges.d.ts +123 -0
  573. package/dist/types/current/util/range/Ranges.d.ts.map +1 -0
  574. package/dist/types/current/util/range/Ranges.js +192 -0
  575. package/dist/types/current/util/range/UnionRanges.d.ts +37 -0
  576. package/dist/types/current/util/range/UnionRanges.d.ts.map +1 -0
  577. package/dist/types/current/util/range/UnionRanges.js +56 -0
  578. package/dist/types/current/util/range/timeRanges.d.ts +14 -0
  579. package/dist/types/current/util/range/timeRanges.d.ts.map +1 -0
  580. package/dist/types/current/util/range/timeRanges.js +25 -0
  581. package/dist/types/current/util/serialization/ParseError.d.ts +48 -0
  582. package/dist/types/current/util/serialization/ParseError.d.ts.map +1 -0
  583. package/dist/types/current/util/serialization/ParseError.js +42 -0
  584. package/dist/types/current/util/serialization/json.d.ts +30 -0
  585. package/dist/types/current/util/serialization/json.d.ts.map +1 -0
  586. package/dist/types/current/util/serialization/json.js +79 -0
  587. package/dist/types/current/util/serialization/primitives.d.ts +24 -0
  588. package/dist/types/current/util/serialization/primitives.d.ts.map +1 -0
  589. package/dist/types/current/util/serialization/primitives.js +48 -0
  590. package/dist/types/current/util/serialization/stringifyForPrint.d.ts +14 -0
  591. package/dist/types/current/util/serialization/stringifyForPrint.d.ts.map +1 -0
  592. package/dist/types/current/util/serialization/stringifyForPrint.js +39 -0
  593. package/dist/types/current/util/set/set.d.ts +17 -0
  594. package/dist/types/current/util/set/set.d.ts.map +1 -0
  595. package/dist/types/current/util/set/set.js +29 -0
  596. package/dist/types/current/util/string/StringReader.d.ts +149 -0
  597. package/dist/types/current/util/string/StringReader.d.ts.map +1 -0
  598. package/dist/types/current/util/string/StringReader.js +242 -0
  599. package/dist/types/current/util/string/string.d.ts +130 -0
  600. package/dist/types/current/util/string/string.d.ts.map +1 -0
  601. package/dist/types/current/util/string/string.js +249 -0
  602. package/dist/types/current/util/string/uid.d.ts +20 -0
  603. package/dist/types/current/util/string/uid.d.ts.map +1 -0
  604. package/dist/types/current/util/string/uid.js +26 -0
  605. package/dist/types/current/util/type.d.ts +166 -0
  606. package/dist/types/current/util/type.d.ts.map +1 -0
  607. package/dist/types/current/util/type.js +25 -0
  608. package/dist/types/current/util/url/resolveUrl.d.ts +23 -0
  609. package/dist/types/current/util/url/resolveUrl.d.ts.map +1 -0
  610. package/dist/types/current/util/url/resolveUrl.js +79 -0
  611. package/dist/types/ts3.7/client/Version.d.ts +38 -0
  612. package/dist/types/ts3.7/client/userAgent/UserAgentInfo.d.ts +36 -0
  613. package/dist/types/ts3.7/client/userAgent/defaultUserAgentRules.d.ts +94 -0
  614. package/dist/types/ts3.7/client/userAgent/hasBrowser.d.ts +26 -0
  615. package/dist/types/ts3.7/client/userAgent/parseUserAgent.d.ts +14 -0
  616. package/dist/types/ts3.7/client/userAgent/tokenizeUserAgent.d.ts +104 -0
  617. package/dist/types/ts3.7/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
  618. package/dist/types/ts3.7/core/Unsubscribe.d.ts +2 -0
  619. package/dist/types/ts3.7/core/clearable.d.ts +19 -0
  620. package/dist/types/ts3.7/core/cloneable.d.ts +14 -0
  621. package/dist/types/ts3.7/core/disposable.d.ts +66 -0
  622. package/dist/types/ts3.7/error/AbortError.d.ts +6 -0
  623. package/dist/types/ts3.7/error/ErrorOrigin.d.ts +45 -0
  624. package/dist/types/ts3.7/error/IllegalArgumentError.d.ts +10 -0
  625. package/dist/types/ts3.7/error/IllegalStateError.d.ts +9 -0
  626. package/dist/types/ts3.7/error/MediaUnsupportedError.d.ts +9 -0
  627. package/dist/types/ts3.7/error/ReportableError.d.ts +39 -0
  628. package/dist/types/ts3.7/error/ServiceResponseError.d.ts +14 -0
  629. package/dist/types/ts3.7/error/StackOverflowError.d.ts +9 -0
  630. package/dist/types/ts3.7/error/TimeoutError.d.ts +6 -0
  631. package/dist/types/ts3.7/error/UnreachableCodeError.d.ts +9 -0
  632. package/dist/types/ts3.7/error/ValidationError.d.ts +17 -0
  633. package/dist/types/ts3.7/event/DomEventHost.d.ts +45 -0
  634. package/dist/types/ts3.7/event/EventHost.d.ts +69 -0
  635. package/dist/types/ts3.7/event/Signal.d.ts +57 -0
  636. package/dist/types/ts3.7/event/nextEventAsPromise.d.ts +30 -0
  637. package/dist/types/ts3.7/event/onAny.d.ts +13 -0
  638. package/dist/types/ts3.7/event/redispatchEvents.d.ts +15 -0
  639. package/dist/types/ts3.7/global/environment.d.ts +26 -0
  640. package/dist/types/ts3.7/global/globalRegistry.d.ts +83 -0
  641. package/dist/types/ts3.7/global/globalTarget.d.ts +8 -0
  642. package/dist/types/ts3.7/index.d.ts +118 -0
  643. package/dist/types/ts3.7/logging/ConsoleLogHandler.d.ts +26 -0
  644. package/dist/types/ts3.7/logging/HistoryLogHandler.d.ts +56 -0
  645. package/dist/types/ts3.7/logging/LogTarget.d.ts +19 -0
  646. package/dist/types/ts3.7/logging/Logger.d.ts +66 -0
  647. package/dist/types/ts3.7/logging/VinylLogging.d.ts +9 -0
  648. package/dist/types/ts3.7/logging/getLogLevelFromSearch.d.ts +8 -0
  649. package/dist/types/ts3.7/logging/logTimer.d.ts +10 -0
  650. package/dist/types/ts3.7/network/RequestError.d.ts +26 -0
  651. package/dist/types/ts3.7/network/RequestInterceptor.d.ts +14 -0
  652. package/dist/types/ts3.7/network/Requester.d.ts +84 -0
  653. package/dist/types/ts3.7/network/RequesterImpl.d.ts +116 -0
  654. package/dist/types/ts3.7/network/RequesterImplEventMap.d.ts +230 -0
  655. package/dist/types/ts3.7/network/browser/NetworkInformation.d.ts +48 -0
  656. package/dist/types/ts3.7/network/createRequester.d.ts +12 -0
  657. package/dist/types/ts3.7/network/logging/networkLoggingHandler.d.ts +14 -0
  658. package/dist/types/ts3.7/network/metrics/NetworkMetricsController.d.ts +41 -0
  659. package/dist/types/ts3.7/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
  660. package/dist/types/ts3.7/network/metrics/networkMetricsGlobal.d.ts +11 -0
  661. package/dist/types/ts3.7/network/metrics/networkMetricsModel.d.ts +147 -0
  662. package/dist/types/ts3.7/network/network.d.ts +47 -0
  663. package/dist/types/ts3.7/network/requesterGlobal.d.ts +19 -0
  664. package/dist/types/ts3.7/network/requesterUtil.d.ts +28 -0
  665. package/dist/types/ts3.7/network/responseUtil.d.ts +10 -0
  666. package/dist/types/ts3.7/patch/network/fetch.d.ts +11 -0
  667. package/dist/types/ts3.7/patch/patchTarget.d.ts +114 -0
  668. package/dist/types/ts3.7/persistence/KeyValuePersistence.d.ts +28 -0
  669. package/dist/types/ts3.7/persistence/PersistentItem.d.ts +86 -0
  670. package/dist/types/ts3.7/persistence/StoragePersistence.d.ts +11 -0
  671. package/dist/types/ts3.7/persistence/persistenceRef.d.ts +7 -0
  672. package/dist/types/ts3.7/util/async/Abort.d.ts +96 -0
  673. package/dist/types/ts3.7/util/async/Deferred.d.ts +25 -0
  674. package/dist/types/ts3.7/util/async/TaskQueue.d.ts +71 -0
  675. package/dist/types/ts3.7/util/async/TimeoutController.d.ts +36 -0
  676. package/dist/types/ts3.7/util/async/TimeoutSlot.d.ts +26 -0
  677. package/dist/types/ts3.7/util/async/abortUtils.d.ts +15 -0
  678. package/dist/types/ts3.7/util/async/never.d.ts +5 -0
  679. package/dist/types/ts3.7/util/async/promise.d.ts +53 -0
  680. package/dist/types/ts3.7/util/async/sleep.d.ts +27 -0
  681. package/dist/types/ts3.7/util/async/timeout.d.ts +29 -0
  682. package/dist/types/ts3.7/util/browser/searchParams.d.ts +13 -0
  683. package/dist/types/ts3.7/util/buffer/BufferError.d.ts +6 -0
  684. package/dist/types/ts3.7/util/buffer/BufferReader.d.ts +77 -0
  685. package/dist/types/ts3.7/util/buffer/BufferWriter.d.ts +30 -0
  686. package/dist/types/ts3.7/util/buffer/buffer.d.ts +55 -0
  687. package/dist/types/ts3.7/util/collection/CacheMap.d.ts +12 -0
  688. package/dist/types/ts3.7/util/collection/LinkedList.d.ts +156 -0
  689. package/dist/types/ts3.7/util/collection/LruCache.d.ts +96 -0
  690. package/dist/types/ts3.7/util/collection/array.d.ts +207 -0
  691. package/dist/types/ts3.7/util/collection/typedArray.d.ts +17 -0
  692. package/dist/types/ts3.7/util/comparison/compare.d.ts +33 -0
  693. package/dist/types/ts3.7/util/config/ValueProvider.d.ts +17 -0
  694. package/dist/types/ts3.7/util/date/date.d.ts +32 -0
  695. package/dist/types/ts3.7/util/error/stack.d.ts +79 -0
  696. package/dist/types/ts3.7/util/fun/debounce.d.ts +12 -0
  697. package/dist/types/ts3.7/util/fun/flow.d.ts +38 -0
  698. package/dist/types/ts3.7/util/fun/function.d.ts +5 -0
  699. package/dist/types/ts3.7/util/fun/memoize.d.ts +24 -0
  700. package/dist/types/ts3.7/util/fun/throttle.d.ts +34 -0
  701. package/dist/types/ts3.7/util/iteration/iterable.d.ts +26 -0
  702. package/dist/types/ts3.7/util/map/map.d.ts +17 -0
  703. package/dist/types/ts3.7/util/math/math.d.ts +79 -0
  704. package/dist/types/ts3.7/util/mpeg/parseSidxBox.d.ts +100 -0
  705. package/dist/types/ts3.7/util/network/request.d.ts +18 -0
  706. package/dist/types/ts3.7/util/object/clone.d.ts +68 -0
  707. package/dist/types/ts3.7/util/object/equalDeep.d.ts +54 -0
  708. package/dist/types/ts3.7/util/object/lazy.d.ts +54 -0
  709. package/dist/types/ts3.7/util/object/merge.d.ts +72 -0
  710. package/dist/types/ts3.7/util/object/mergeDeep.d.ts +153 -0
  711. package/dist/types/ts3.7/util/object/mutableType.d.ts +85 -0
  712. package/dist/types/ts3.7/util/object/object.d.ts +55 -0
  713. package/dist/types/ts3.7/util/object/readonlyType.d.ts +100 -0
  714. package/dist/types/ts3.7/util/range/IntersectionRanges.d.ts +37 -0
  715. package/dist/types/ts3.7/util/range/Ranges.d.ts +126 -0
  716. package/dist/types/ts3.7/util/range/UnionRanges.d.ts +37 -0
  717. package/dist/types/ts3.7/util/range/timeRanges.d.ts +14 -0
  718. package/dist/types/ts3.7/util/serialization/ParseError.d.ts +48 -0
  719. package/dist/types/ts3.7/util/serialization/json.d.ts +30 -0
  720. package/dist/types/ts3.7/util/serialization/primitives.d.ts +24 -0
  721. package/dist/types/ts3.7/util/serialization/stringifyForPrint.d.ts +14 -0
  722. package/dist/types/ts3.7/util/set/set.d.ts +17 -0
  723. package/dist/types/ts3.7/util/string/StringReader.d.ts +134 -0
  724. package/dist/types/ts3.7/util/string/string.d.ts +130 -0
  725. package/dist/types/ts3.7/util/string/uid.d.ts +20 -0
  726. package/dist/types/ts3.7/util/type.d.ts +173 -0
  727. package/dist/types/ts3.7/util/url/resolveUrl.d.ts +23 -0
  728. package/dist/types/ts4.1/client/Version.d.ts +38 -0
  729. package/dist/types/ts4.1/client/userAgent/UserAgentInfo.d.ts +36 -0
  730. package/dist/types/ts4.1/client/userAgent/defaultUserAgentRules.d.ts +94 -0
  731. package/dist/types/ts4.1/client/userAgent/hasBrowser.d.ts +26 -0
  732. package/dist/types/ts4.1/client/userAgent/parseUserAgent.d.ts +14 -0
  733. package/dist/types/ts4.1/client/userAgent/tokenizeUserAgent.d.ts +104 -0
  734. package/dist/types/ts4.1/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
  735. package/dist/types/ts4.1/core/Unsubscribe.d.ts +2 -0
  736. package/dist/types/ts4.1/core/clearable.d.ts +19 -0
  737. package/dist/types/ts4.1/core/cloneable.d.ts +14 -0
  738. package/dist/types/ts4.1/core/disposable.d.ts +66 -0
  739. package/dist/types/ts4.1/error/AbortError.d.ts +6 -0
  740. package/dist/types/ts4.1/error/ErrorOrigin.d.ts +45 -0
  741. package/dist/types/ts4.1/error/IllegalArgumentError.d.ts +10 -0
  742. package/dist/types/ts4.1/error/IllegalStateError.d.ts +9 -0
  743. package/dist/types/ts4.1/error/MediaUnsupportedError.d.ts +9 -0
  744. package/dist/types/ts4.1/error/ReportableError.d.ts +39 -0
  745. package/dist/types/ts4.1/error/ServiceResponseError.d.ts +14 -0
  746. package/dist/types/ts4.1/error/StackOverflowError.d.ts +9 -0
  747. package/dist/types/ts4.1/error/TimeoutError.d.ts +6 -0
  748. package/dist/types/ts4.1/error/UnreachableCodeError.d.ts +9 -0
  749. package/dist/types/ts4.1/error/ValidationError.d.ts +17 -0
  750. package/dist/types/ts4.1/event/DomEventHost.d.ts +45 -0
  751. package/dist/types/ts4.1/event/EventHost.d.ts +69 -0
  752. package/dist/types/ts4.1/event/Signal.d.ts +57 -0
  753. package/dist/types/ts4.1/event/nextEventAsPromise.d.ts +30 -0
  754. package/dist/types/ts4.1/event/onAny.d.ts +13 -0
  755. package/dist/types/ts4.1/event/redispatchEvents.d.ts +15 -0
  756. package/dist/types/ts4.1/global/environment.d.ts +26 -0
  757. package/dist/types/ts4.1/global/globalRegistry.d.ts +83 -0
  758. package/dist/types/ts4.1/global/globalTarget.d.ts +8 -0
  759. package/dist/types/ts4.1/index.d.ts +118 -0
  760. package/dist/types/ts4.1/logging/ConsoleLogHandler.d.ts +26 -0
  761. package/dist/types/ts4.1/logging/HistoryLogHandler.d.ts +56 -0
  762. package/dist/types/ts4.1/logging/LogTarget.d.ts +19 -0
  763. package/dist/types/ts4.1/logging/Logger.d.ts +66 -0
  764. package/dist/types/ts4.1/logging/VinylLogging.d.ts +9 -0
  765. package/dist/types/ts4.1/logging/getLogLevelFromSearch.d.ts +8 -0
  766. package/dist/types/ts4.1/logging/logTimer.d.ts +10 -0
  767. package/dist/types/ts4.1/network/RequestError.d.ts +26 -0
  768. package/dist/types/ts4.1/network/RequestInterceptor.d.ts +14 -0
  769. package/dist/types/ts4.1/network/Requester.d.ts +84 -0
  770. package/dist/types/ts4.1/network/RequesterImpl.d.ts +116 -0
  771. package/dist/types/ts4.1/network/RequesterImplEventMap.d.ts +230 -0
  772. package/dist/types/ts4.1/network/browser/NetworkInformation.d.ts +48 -0
  773. package/dist/types/ts4.1/network/createRequester.d.ts +12 -0
  774. package/dist/types/ts4.1/network/logging/networkLoggingHandler.d.ts +14 -0
  775. package/dist/types/ts4.1/network/metrics/NetworkMetricsController.d.ts +41 -0
  776. package/dist/types/ts4.1/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
  777. package/dist/types/ts4.1/network/metrics/networkMetricsGlobal.d.ts +11 -0
  778. package/dist/types/ts4.1/network/metrics/networkMetricsModel.d.ts +147 -0
  779. package/dist/types/ts4.1/network/network.d.ts +47 -0
  780. package/dist/types/ts4.1/network/requesterGlobal.d.ts +19 -0
  781. package/dist/types/ts4.1/network/requesterUtil.d.ts +28 -0
  782. package/dist/types/ts4.1/network/responseUtil.d.ts +10 -0
  783. package/dist/types/ts4.1/patch/network/fetch.d.ts +11 -0
  784. package/dist/types/ts4.1/patch/patchTarget.d.ts +114 -0
  785. package/dist/types/ts4.1/persistence/KeyValuePersistence.d.ts +28 -0
  786. package/dist/types/ts4.1/persistence/PersistentItem.d.ts +86 -0
  787. package/dist/types/ts4.1/persistence/StoragePersistence.d.ts +11 -0
  788. package/dist/types/ts4.1/persistence/persistenceRef.d.ts +7 -0
  789. package/dist/types/ts4.1/util/async/Abort.d.ts +96 -0
  790. package/dist/types/ts4.1/util/async/Deferred.d.ts +25 -0
  791. package/dist/types/ts4.1/util/async/TaskQueue.d.ts +71 -0
  792. package/dist/types/ts4.1/util/async/TimeoutController.d.ts +37 -0
  793. package/dist/types/ts4.1/util/async/TimeoutSlot.d.ts +26 -0
  794. package/dist/types/ts4.1/util/async/abortUtils.d.ts +15 -0
  795. package/dist/types/ts4.1/util/async/never.d.ts +5 -0
  796. package/dist/types/ts4.1/util/async/promise.d.ts +53 -0
  797. package/dist/types/ts4.1/util/async/sleep.d.ts +27 -0
  798. package/dist/types/ts4.1/util/async/timeout.d.ts +29 -0
  799. package/dist/types/ts4.1/util/browser/searchParams.d.ts +13 -0
  800. package/dist/types/ts4.1/util/buffer/BufferError.d.ts +6 -0
  801. package/dist/types/ts4.1/util/buffer/BufferReader.d.ts +77 -0
  802. package/dist/types/ts4.1/util/buffer/BufferWriter.d.ts +30 -0
  803. package/dist/types/ts4.1/util/buffer/buffer.d.ts +55 -0
  804. package/dist/types/ts4.1/util/collection/CacheMap.d.ts +12 -0
  805. package/dist/types/ts4.1/util/collection/LinkedList.d.ts +156 -0
  806. package/dist/types/ts4.1/util/collection/LruCache.d.ts +96 -0
  807. package/dist/types/ts4.1/util/collection/array.d.ts +207 -0
  808. package/dist/types/ts4.1/util/collection/typedArray.d.ts +17 -0
  809. package/dist/types/ts4.1/util/comparison/compare.d.ts +33 -0
  810. package/dist/types/ts4.1/util/config/ValueProvider.d.ts +17 -0
  811. package/dist/types/ts4.1/util/date/date.d.ts +32 -0
  812. package/dist/types/ts4.1/util/error/stack.d.ts +79 -0
  813. package/dist/types/ts4.1/util/fun/debounce.d.ts +12 -0
  814. package/dist/types/ts4.1/util/fun/flow.d.ts +38 -0
  815. package/dist/types/ts4.1/util/fun/function.d.ts +5 -0
  816. package/dist/types/ts4.1/util/fun/memoize.d.ts +24 -0
  817. package/dist/types/ts4.1/util/fun/throttle.d.ts +34 -0
  818. package/dist/types/ts4.1/util/iteration/iterable.d.ts +26 -0
  819. package/dist/types/ts4.1/util/map/map.d.ts +17 -0
  820. package/dist/types/ts4.1/util/math/math.d.ts +79 -0
  821. package/dist/types/ts4.1/util/mpeg/parseSidxBox.d.ts +100 -0
  822. package/dist/types/ts4.1/util/network/request.d.ts +18 -0
  823. package/dist/types/ts4.1/util/object/clone.d.ts +68 -0
  824. package/dist/types/ts4.1/util/object/equalDeep.d.ts +54 -0
  825. package/dist/types/ts4.1/util/object/lazy.d.ts +54 -0
  826. package/dist/types/ts4.1/util/object/merge.d.ts +72 -0
  827. package/dist/types/ts4.1/util/object/mergeDeep.d.ts +153 -0
  828. package/dist/types/ts4.1/util/object/mutableType.d.ts +87 -0
  829. package/dist/types/ts4.1/util/object/object.d.ts +55 -0
  830. package/dist/types/ts4.1/util/object/readonlyType.d.ts +100 -0
  831. package/dist/types/ts4.1/util/range/IntersectionRanges.d.ts +38 -0
  832. package/dist/types/ts4.1/util/range/Ranges.d.ts +126 -0
  833. package/dist/types/ts4.1/util/range/UnionRanges.d.ts +38 -0
  834. package/dist/types/ts4.1/util/range/timeRanges.d.ts +14 -0
  835. package/dist/types/ts4.1/util/serialization/ParseError.d.ts +48 -0
  836. package/dist/types/ts4.1/util/serialization/json.d.ts +30 -0
  837. package/dist/types/ts4.1/util/serialization/primitives.d.ts +24 -0
  838. package/dist/types/ts4.1/util/serialization/stringifyForPrint.d.ts +14 -0
  839. package/dist/types/ts4.1/util/set/set.d.ts +17 -0
  840. package/dist/types/ts4.1/util/string/StringReader.d.ts +134 -0
  841. package/dist/types/ts4.1/util/string/string.d.ts +130 -0
  842. package/dist/types/ts4.1/util/string/uid.d.ts +20 -0
  843. package/dist/types/ts4.1/util/type.d.ts +173 -0
  844. package/dist/types/ts4.1/util/url/resolveUrl.d.ts +23 -0
  845. package/dist/types/ts4.7/client/Version.d.ts +38 -0
  846. package/dist/types/ts4.7/client/userAgent/UserAgentInfo.d.ts +36 -0
  847. package/dist/types/ts4.7/client/userAgent/defaultUserAgentRules.d.ts +94 -0
  848. package/dist/types/ts4.7/client/userAgent/hasBrowser.d.ts +26 -0
  849. package/dist/types/ts4.7/client/userAgent/parseUserAgent.d.ts +14 -0
  850. package/dist/types/ts4.7/client/userAgent/tokenizeUserAgent.d.ts +104 -0
  851. package/dist/types/ts4.7/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
  852. package/dist/types/ts4.7/core/Unsubscribe.d.ts +2 -0
  853. package/dist/types/ts4.7/core/clearable.d.ts +19 -0
  854. package/dist/types/ts4.7/core/cloneable.d.ts +14 -0
  855. package/dist/types/ts4.7/core/disposable.d.ts +66 -0
  856. package/dist/types/ts4.7/error/AbortError.d.ts +6 -0
  857. package/dist/types/ts4.7/error/ErrorOrigin.d.ts +45 -0
  858. package/dist/types/ts4.7/error/IllegalArgumentError.d.ts +10 -0
  859. package/dist/types/ts4.7/error/IllegalStateError.d.ts +9 -0
  860. package/dist/types/ts4.7/error/MediaUnsupportedError.d.ts +9 -0
  861. package/dist/types/ts4.7/error/ReportableError.d.ts +39 -0
  862. package/dist/types/ts4.7/error/ServiceResponseError.d.ts +14 -0
  863. package/dist/types/ts4.7/error/StackOverflowError.d.ts +9 -0
  864. package/dist/types/ts4.7/error/TimeoutError.d.ts +6 -0
  865. package/dist/types/ts4.7/error/UnreachableCodeError.d.ts +9 -0
  866. package/dist/types/ts4.7/error/ValidationError.d.ts +17 -0
  867. package/dist/types/ts4.7/event/DomEventHost.d.ts +45 -0
  868. package/dist/types/ts4.7/event/EventHost.d.ts +69 -0
  869. package/dist/types/ts4.7/event/Signal.d.ts +57 -0
  870. package/dist/types/ts4.7/event/nextEventAsPromise.d.ts +30 -0
  871. package/dist/types/ts4.7/event/onAny.d.ts +13 -0
  872. package/dist/types/ts4.7/event/redispatchEvents.d.ts +15 -0
  873. package/dist/types/ts4.7/global/environment.d.ts +26 -0
  874. package/dist/types/ts4.7/global/globalRegistry.d.ts +86 -0
  875. package/dist/types/ts4.7/global/globalTarget.d.ts +8 -0
  876. package/dist/types/ts4.7/index.d.ts +118 -0
  877. package/dist/types/ts4.7/logging/ConsoleLogHandler.d.ts +26 -0
  878. package/dist/types/ts4.7/logging/HistoryLogHandler.d.ts +56 -0
  879. package/dist/types/ts4.7/logging/LogTarget.d.ts +19 -0
  880. package/dist/types/ts4.7/logging/Logger.d.ts +66 -0
  881. package/dist/types/ts4.7/logging/VinylLogging.d.ts +9 -0
  882. package/dist/types/ts4.7/logging/getLogLevelFromSearch.d.ts +8 -0
  883. package/dist/types/ts4.7/logging/logTimer.d.ts +10 -0
  884. package/dist/types/ts4.7/network/RequestError.d.ts +26 -0
  885. package/dist/types/ts4.7/network/RequestInterceptor.d.ts +14 -0
  886. package/dist/types/ts4.7/network/Requester.d.ts +84 -0
  887. package/dist/types/ts4.7/network/RequesterImpl.d.ts +120 -0
  888. package/dist/types/ts4.7/network/RequesterImplEventMap.d.ts +230 -0
  889. package/dist/types/ts4.7/network/browser/NetworkInformation.d.ts +48 -0
  890. package/dist/types/ts4.7/network/createRequester.d.ts +12 -0
  891. package/dist/types/ts4.7/network/logging/networkLoggingHandler.d.ts +14 -0
  892. package/dist/types/ts4.7/network/metrics/NetworkMetricsController.d.ts +41 -0
  893. package/dist/types/ts4.7/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
  894. package/dist/types/ts4.7/network/metrics/networkMetricsGlobal.d.ts +11 -0
  895. package/dist/types/ts4.7/network/metrics/networkMetricsModel.d.ts +147 -0
  896. package/dist/types/ts4.7/network/network.d.ts +47 -0
  897. package/dist/types/ts4.7/network/requesterGlobal.d.ts +19 -0
  898. package/dist/types/ts4.7/network/requesterUtil.d.ts +28 -0
  899. package/dist/types/ts4.7/network/responseUtil.d.ts +10 -0
  900. package/dist/types/ts4.7/patch/network/fetch.d.ts +11 -0
  901. package/dist/types/ts4.7/patch/patchTarget.d.ts +114 -0
  902. package/dist/types/ts4.7/persistence/KeyValuePersistence.d.ts +28 -0
  903. package/dist/types/ts4.7/persistence/PersistentItem.d.ts +86 -0
  904. package/dist/types/ts4.7/persistence/StoragePersistence.d.ts +11 -0
  905. package/dist/types/ts4.7/persistence/persistenceRef.d.ts +7 -0
  906. package/dist/types/ts4.7/util/async/Abort.d.ts +99 -0
  907. package/dist/types/ts4.7/util/async/Deferred.d.ts +25 -0
  908. package/dist/types/ts4.7/util/async/TaskQueue.d.ts +74 -0
  909. package/dist/types/ts4.7/util/async/TimeoutController.d.ts +36 -0
  910. package/dist/types/ts4.7/util/async/TimeoutSlot.d.ts +29 -0
  911. package/dist/types/ts4.7/util/async/abortUtils.d.ts +15 -0
  912. package/dist/types/ts4.7/util/async/never.d.ts +5 -0
  913. package/dist/types/ts4.7/util/async/promise.d.ts +53 -0
  914. package/dist/types/ts4.7/util/async/sleep.d.ts +27 -0
  915. package/dist/types/ts4.7/util/async/timeout.d.ts +29 -0
  916. package/dist/types/ts4.7/util/browser/searchParams.d.ts +13 -0
  917. package/dist/types/ts4.7/util/buffer/BufferError.d.ts +6 -0
  918. package/dist/types/ts4.7/util/buffer/BufferReader.d.ts +77 -0
  919. package/dist/types/ts4.7/util/buffer/BufferWriter.d.ts +30 -0
  920. package/dist/types/ts4.7/util/buffer/buffer.d.ts +55 -0
  921. package/dist/types/ts4.7/util/collection/CacheMap.d.ts +12 -0
  922. package/dist/types/ts4.7/util/collection/LinkedList.d.ts +165 -0
  923. package/dist/types/ts4.7/util/collection/LruCache.d.ts +99 -0
  924. package/dist/types/ts4.7/util/collection/array.d.ts +207 -0
  925. package/dist/types/ts4.7/util/collection/typedArray.d.ts +17 -0
  926. package/dist/types/ts4.7/util/comparison/compare.d.ts +33 -0
  927. package/dist/types/ts4.7/util/config/ValueProvider.d.ts +17 -0
  928. package/dist/types/ts4.7/util/date/date.d.ts +32 -0
  929. package/dist/types/ts4.7/util/error/stack.d.ts +79 -0
  930. package/dist/types/ts4.7/util/fun/debounce.d.ts +12 -0
  931. package/dist/types/ts4.7/util/fun/flow.d.ts +38 -0
  932. package/dist/types/ts4.7/util/fun/function.d.ts +5 -0
  933. package/dist/types/ts4.7/util/fun/memoize.d.ts +24 -0
  934. package/dist/types/ts4.7/util/fun/throttle.d.ts +34 -0
  935. package/dist/types/ts4.7/util/iteration/iterable.d.ts +26 -0
  936. package/dist/types/ts4.7/util/map/map.d.ts +17 -0
  937. package/dist/types/ts4.7/util/math/math.d.ts +79 -0
  938. package/dist/types/ts4.7/util/mpeg/parseSidxBox.d.ts +100 -0
  939. package/dist/types/ts4.7/util/network/request.d.ts +18 -0
  940. package/dist/types/ts4.7/util/object/clone.d.ts +68 -0
  941. package/dist/types/ts4.7/util/object/equalDeep.d.ts +54 -0
  942. package/dist/types/ts4.7/util/object/lazy.d.ts +54 -0
  943. package/dist/types/ts4.7/util/object/merge.d.ts +72 -0
  944. package/dist/types/ts4.7/util/object/mergeDeep.d.ts +153 -0
  945. package/dist/types/ts4.7/util/object/mutableType.d.ts +87 -0
  946. package/dist/types/ts4.7/util/object/object.d.ts +55 -0
  947. package/dist/types/ts4.7/util/object/readonlyType.d.ts +100 -0
  948. package/dist/types/ts4.7/util/range/IntersectionRanges.d.ts +37 -0
  949. package/dist/types/ts4.7/util/range/Ranges.d.ts +126 -0
  950. package/dist/types/ts4.7/util/range/UnionRanges.d.ts +37 -0
  951. package/dist/types/ts4.7/util/range/timeRanges.d.ts +14 -0
  952. package/dist/types/ts4.7/util/serialization/ParseError.d.ts +48 -0
  953. package/dist/types/ts4.7/util/serialization/json.d.ts +30 -0
  954. package/dist/types/ts4.7/util/serialization/primitives.d.ts +24 -0
  955. package/dist/types/ts4.7/util/serialization/stringifyForPrint.d.ts +14 -0
  956. package/dist/types/ts4.7/util/set/set.d.ts +17 -0
  957. package/dist/types/ts4.7/util/string/StringReader.d.ts +149 -0
  958. package/dist/types/ts4.7/util/string/string.d.ts +130 -0
  959. package/dist/types/ts4.7/util/string/uid.d.ts +20 -0
  960. package/dist/types/ts4.7/util/type.d.ts +173 -0
  961. package/dist/types/ts4.7/util/url/resolveUrl.d.ts +23 -0
  962. package/docs/EVENTS.md +187 -0
  963. package/docs/GLOBALS.md +45 -0
  964. package/docs/NETWORKING.md +161 -0
  965. package/package.json +118 -0
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Returns the keys (both property names and symbols) of all own properties.
3
+ * Unlike `Object.keys`, this will also return non-enumerable properties.
4
+ * Does not return keys inherited from the object's prototype.
5
+ *
6
+ * Implementation details:
7
+ * If Reflect is supported, Reflect.ownKeys will be used, wrapping in a Set, otherwise
8
+ * Object.getOwnPropertyNames and Object.getOwnPropertySymbols will be used. This will typically
9
+ * be equivalent. Proxies may alter the order of keys but platforms that do not support Reflect
10
+ * will also typically not support Proxies.
11
+ *
12
+ * @see Reflect.ownKeys
13
+ * @see Object.getOwnPropertyNames
14
+ * @see Object.getOwnPropertySymbols
15
+ * @param obj
16
+ * @return Returns a `Set` of the own properties of the target object, including non-enumerable.
17
+ * The ordering will be: positive numeric indexes in order, strings in insertion order,
18
+ * symbols in insertion order.
19
+ */
20
+ export declare function ownKeys<T>(obj: T): Set<keyof T>;
21
+ /**
22
+ * Returns the prototype chain of the given object.
23
+ *
24
+ * Example:
25
+ * ```
26
+ * class A {}
27
+ * class B extends A {}
28
+ * class C extends B {}
29
+ * const c = new C()
30
+ * getPrototypeChain(c) // [c, C.prototype, B.prototype, A.prototype, Object.prototype]
31
+ * ```
32
+ * @param obj
33
+ */
34
+ export declare function getPrototypeChain(obj: any): any[];
35
+ /**
36
+ * Returns true if the given object represents a plain object and not a class instance.
37
+ */
38
+ export declare function isPlainObject(value: any): boolean;
39
+ /**
40
+ * Gets the object's value for the given key if it exists, otherwise sets [key] to
41
+ * `defaultValue`, returning the newly set value.
42
+ *
43
+ * @param object
44
+ * @param key
45
+ * @param defaultValue
46
+ */
47
+ export declare function getOrSetProp<K extends keyof T, T extends object>(object: T, key: K, defaultValue: () => T[K]): T[K];
48
+ /**
49
+ * Returns true if value is not null. Provides a type guard which can be used in filters.
50
+ * Example:
51
+ * [1, null, 2, 3, null, 4].filter(isNonNull) // type number[]
52
+ * @param value
53
+ */
54
+ export declare function isNonNull<T>(value: T): value is NonNullable<T>;
55
+ //# sourceMappingURL=object.d.ts.map
@@ -0,0 +1,100 @@
1
+ import type { Fun } from '../../util/type';
2
+ /**
3
+ * Recursively marks Objects, Arrays, Maps, Sets, or Dates as read only.
4
+ * Other non-primitive types will retain their method signatures, potentially exposing mutation
5
+ * methods.
6
+ * This type does not represent an immutable value, merely a readonly variant of T.
7
+ */
8
+ export type ReadonlyDeep<T> = T extends Array<any> ? ReadonlyTupleOrArrayDeep<T> : T extends Fun ? T : T extends Date ? ReadonlyDate : T extends Map<infer K, infer V> ? ReadonlyMapDeep<K, V> : T extends Set<infer V> ? ReadonlySetDeep<ReadonlyDeep<V>> : T extends object ? ReadonlyObjectDeep<T> : T;
9
+ /**
10
+ * Recursively marks a tuple (up to 5 in length) or an array as read only.
11
+ */
12
+ export type ReadonlyTupleOrArrayDeep<T extends any[]> = T extends [
13
+ infer V0
14
+ ] ? readonly [
15
+ ReadonlyDeep<V0>
16
+ ] : T extends [
17
+ infer V0,
18
+ infer V1
19
+ ] ? readonly [
20
+ ReadonlyDeep<V0>,
21
+ ReadonlyDeep<V1>
22
+ ] : T extends [
23
+ infer V0,
24
+ infer V1,
25
+ infer V2
26
+ ] ? readonly [
27
+ ReadonlyDeep<V0>,
28
+ ReadonlyDeep<V1>,
29
+ ReadonlyDeep<V2>
30
+ ] : T extends [
31
+ infer V0,
32
+ infer V1,
33
+ infer V2,
34
+ infer V3
35
+ ] ? readonly [
36
+ ReadonlyDeep<V0>,
37
+ ReadonlyDeep<V1>,
38
+ ReadonlyDeep<V2>,
39
+ ReadonlyDeep<V3>
40
+ ] : T extends [
41
+ infer V0,
42
+ infer V1,
43
+ infer V2,
44
+ infer V3,
45
+ infer V4
46
+ ] ? readonly [
47
+ ReadonlyDeep<V0>,
48
+ ReadonlyDeep<V1>,
49
+ ReadonlyDeep<V2>,
50
+ ReadonlyDeep<V3>,
51
+ ReadonlyDeep<V4>
52
+ ] : ReadonlyArrayDeep<T[number]>;
53
+ /**
54
+ * A recursively deep read only array. Do not use this directly, use {@link ReadonlyDeep} instead,
55
+ * which works for Objects and Arrays.
56
+ */
57
+ export type ReadonlyArrayDeep<E> = readonly ReadonlyDeep<E>[];
58
+ /**
59
+ * A recursively deep read only object. Do not use this directly, use {@link ReadonlyDeep} instead,
60
+ * which works for Objects and Arrays.
61
+ */
62
+ export type ReadonlyObjectDeep<T> = {
63
+ readonly [P in keyof T]: ReadonlyDeep<T[P]>;
64
+ };
65
+ /**
66
+ * A shallow, readonly Record.
67
+ * Note, this differs from Record only by readonly modifiers, as such there is no compile time
68
+ * safety preventing a ReadonlyRecord from being assigned to a Record type.
69
+ */
70
+ export type ReadonlyRecord<K extends keyof any, T> = {
71
+ readonly [P in K]: T;
72
+ };
73
+ /**
74
+ * A Date type with mutation functions omitted.
75
+ */
76
+ export type ReadonlyDate = Readonly<Omit<Date, 'setDate' | 'setFullYear' | 'setHours' | 'setMilliseconds' | 'setMinutes' | 'setMonth' | 'setSeconds' | 'setTime' | 'setUTCDate' | 'setUTCFullYear' | 'setUTCHours' | 'setUTCMilliseconds' | 'setUTCMinutes' | 'setUTCMonth' | 'setUTCSeconds'>>;
77
+ /**
78
+ * A Map type with mutation functions omitted.
79
+ */
80
+ export type ReadonlyMap<K, V> = Readonly<Omit<Map<K, V>, 'clear' | 'delete' | 'set'>>;
81
+ /**
82
+ * A deep, readonly map.
83
+ */
84
+ export type ReadonlyMapDeep<K, V> = ReadonlyMap<K, ReadonlyDeep<V>>;
85
+ /**
86
+ * A Set type with mutation functions omitted.
87
+ */
88
+ export type ReadonlySet<E> = Readonly<Omit<Set<E>, 'add' | 'clear' | 'delete'>>;
89
+ /**
90
+ * A deep, readonly set.
91
+ */
92
+ export type ReadonlySetDeep<E> = ReadonlySet<ReadonlyDeep<E>>;
93
+ /**
94
+ * A type alias to ReadonlyDeep that has the additional connotation that the value is constant.
95
+ *
96
+ * An immutable object may or may not be frozen, but write access should always consider to be
97
+ * forbidden.
98
+ */
99
+ export type Immutable<T> = ReadonlyDeep<T>;
100
+ //# sourceMappingURL=readonlyType.d.ts.map
@@ -0,0 +1,38 @@
1
+ import type { Range, ReadonlyRanges } from './Ranges';
2
+ import { ReadonlyRangesImpl } from './Ranges';
3
+ import type { Maybe } from '../../util/type';
4
+ export interface IntersectionRangesOptions {
5
+ /**
6
+ * If true, only recomputes ranges after a call to `invalidate`.
7
+ * After `invalidate()`, the ranges are recalculated on next read.
8
+ * Default: false
9
+ */
10
+ readonly useCache?: boolean;
11
+ }
12
+ /**
13
+ * Takes a list of ranges and computes the intersection ranges on read.
14
+ */
15
+ export declare class IntersectionRanges extends ReadonlyRangesImpl {
16
+ private readonly options?;
17
+ private backingRanges;
18
+ private valid;
19
+ private _innerRanges;
20
+ constructor(
21
+ /**
22
+ * The ranges for which to compute the intersection.
23
+ */
24
+ innerRanges: readonly ReadonlyRanges[], options?: Maybe<IntersectionRangesOptions>);
25
+ get innerRanges(): readonly ReadonlyRanges[];
26
+ set innerRanges(value: readonly ReadonlyRanges[]);
27
+ get ranges(): ArrayLike<Range>;
28
+ /**
29
+ * Flags the intersection ranges as invalid.
30
+ * This has no effect if options.useCache is not true.
31
+ */
32
+ invalidate(): void;
33
+ /**
34
+ * Refreshes the backing ranges by computing intersection.
35
+ */
36
+ private validate;
37
+ }
38
+ //# sourceMappingURL=IntersectionRanges.d.ts.map
@@ -0,0 +1,126 @@
1
+ /**
2
+ * Query utilities for a list of ranges.
3
+ * Ranges are expected to be start, end pairs where no two ranges overlap or touch.
4
+ * All ranges are in incremental order.
5
+ */
6
+ export interface ReadonlyRanges extends Iterable<Range> {
7
+ /**
8
+ * Returns true if there are zero ranges.
9
+ */
10
+ readonly empty: boolean;
11
+ /**
12
+ * The ranges array like this reader encapsulates.
13
+ * Ranges are [start, end] tuples, they will always be ordered, never touch, and never overlap.
14
+ */
15
+ readonly ranges: ArrayLike<Range>;
16
+ /**
17
+ * Returns the range at the given value, or null if all ranges are outside the given tolerance.
18
+ * Range values are considered inclusive.
19
+ * That is, a ReadonlyRanges with `[0, 1]` will return `[0, 1]` for value `1`.
20
+ *
21
+ * @param value The value to compare to current ranges.
22
+ * @param tolerance The tolerance the value may be outside a range and still considered
23
+ * to be within. Default: 0
24
+ */
25
+ getRangeAt(value: number, tolerance?: number): Range | null;
26
+ /**
27
+ * Returns the range that includes the entire from-to span, within a given tolerance.
28
+ *
29
+ * Range values are considered inclusive.
30
+ * That is, a `ReadonlyRanges` with `[0, 2]` will return `[0, 2]` for
31
+ * `getRangeContaining(2, 2)` or `getRangeContaining(0, 0)`.
32
+ *
33
+ * `from` does not need to be lesser than `to`.
34
+ *
35
+ * @param from
36
+ * @param to
37
+ * @param tolerance
38
+ */
39
+ getRangeContaining(from: number, to: number, tolerance?: number): Range | null;
40
+ /**
41
+ * Returns all ranges where at least part of the range is within the given from-to span.
42
+ *
43
+ * `from` does not need to be lesser than `to`.
44
+ *
45
+ * @param from
46
+ * @param to
47
+ * @param tolerance
48
+ */
49
+ getRangesWithin(from: number, to: number, tolerance?: number): Range[];
50
+ [Symbol.iterator](): IterableIterator<Range>;
51
+ }
52
+ /**
53
+ * A [start, end] tuple.
54
+ */
55
+ export type Range = readonly [
56
+ start: number,
57
+ end: number
58
+ ];
59
+ export declare abstract class ReadonlyRangesImpl implements ReadonlyRanges {
60
+ /**
61
+ * An accessor to the backed ranges.
62
+ * Implementations must provide an ArrayLike<Range> for random-access reading.
63
+ * This will be called at most once per read operation.
64
+ */
65
+ abstract get ranges(): ArrayLike<Range>;
66
+ get empty(): boolean;
67
+ getRangeAt(value: number, tolerance?: number): Range | null;
68
+ getRangeContaining(from: number, to: number, tolerance?: number): Range | null;
69
+ getRangesWithin(from: number, to: number, tolerance?: number): Range[];
70
+ [Symbol.iterator](): IterableIterator<Range>;
71
+ toString(): string;
72
+ }
73
+ /**
74
+ * Creates a ReadonlyRanges view for the given array of ranges.
75
+ *
76
+ * @param value An array of ranges. The ReadonlyRanges reader does not clone
77
+ * this value and will access this backing array directly.
78
+ */
79
+ export declare function rangesOf(value: readonly Range[]): ReadonlyRanges;
80
+ /**
81
+ * A static, empty ranges representation.
82
+ */
83
+ export declare const emptyRanges: ReadonlyRanges;
84
+ /**
85
+ * A collection of Range start/end tuples.
86
+ * When ranges are added they are merged and sorted, making for fast within range checks.
87
+ */
88
+ export declare class RangesImpl implements ReadonlyRanges {
89
+ private readonly reader;
90
+ readonly ranges: Range[];
91
+ /**
92
+ * @param ranges The non-normalized ranges to add.
93
+ * @see #add
94
+ */
95
+ constructor(ranges?: readonly Range[]);
96
+ get empty(): boolean;
97
+ /**
98
+ * Adds the given range to this list.
99
+ * If end is less than start, the range will not be added.
100
+ * Ranges will be merged when there is overlap or touching. Example,
101
+ * `add(1, 4); add(2, 5)` results in the final ranges: `[1, 5]`
102
+ */
103
+ add(start: number, end: number): void;
104
+ /**
105
+ * Removes the given range span from this list.
106
+ * Ranges partially intersecting will be changed to not include the start-end span.
107
+ * If start is after end, nothing will be removed.
108
+ */
109
+ remove(start: number, end: number): void;
110
+ /**
111
+ * Clears all ranges.
112
+ */
113
+ clear(): void;
114
+ getRangeAt(value: number, tolerance?: number): Range | null;
115
+ getRangeContaining(from: number, to: number, tolerance?: number): Range | null;
116
+ getRangesWithin(from: number, to: number, tolerance?: number): Range[];
117
+ clone(): RangesImpl;
118
+ [Symbol.iterator](): IterableIterator<Range>;
119
+ toString(): string;
120
+ }
121
+ /**
122
+ * Returns true if the two ranges intersect.
123
+ * Adjacent ranges (touching but not overlapping) will not be considered to intersect.
124
+ */
125
+ export declare function rangeIntersects(rangeA: Range, rangeB: Range): boolean;
126
+ //# sourceMappingURL=Ranges.d.ts.map
@@ -0,0 +1,38 @@
1
+ import type { Range, ReadonlyRanges } from './Ranges';
2
+ import { ReadonlyRangesImpl } from './Ranges';
3
+ import type { Maybe } from '../../util/type';
4
+ export interface UnionRangesOptions {
5
+ /**
6
+ * If true, only recomputes ranges after a call to `invalidate`.
7
+ * After `invalidate()`, the ranges are recalculated on next read.
8
+ * Default: false
9
+ */
10
+ readonly useCache?: boolean;
11
+ }
12
+ /**
13
+ * Takes a list of ranges and computes the union ranges on read.
14
+ */
15
+ export declare class UnionRanges extends ReadonlyRangesImpl {
16
+ private readonly options?;
17
+ private readonly backingRanges;
18
+ private valid;
19
+ private _innerRanges;
20
+ constructor(
21
+ /**
22
+ * The ranges for which to compute the union.
23
+ */
24
+ innerRanges: readonly ReadonlyRanges[], options?: Maybe<UnionRangesOptions>);
25
+ get innerRanges(): readonly ReadonlyRanges[];
26
+ set innerRanges(value: readonly ReadonlyRanges[]);
27
+ get ranges(): readonly Range[];
28
+ /**
29
+ * Flags the union ranges as invalid.
30
+ * This has no effect if options.useCache is not true.
31
+ */
32
+ invalidate(): void;
33
+ /**
34
+ * Refreshes the backing ranges.
35
+ */
36
+ private validate;
37
+ }
38
+ //# sourceMappingURL=UnionRanges.d.ts.map
@@ -0,0 +1,14 @@
1
+ import type { Range, ReadonlyRanges } from './Ranges';
2
+ /**
3
+ * Converts a `TimeRanges` object to an Array for utility purposes.
4
+ *
5
+ * @param timeRanges
6
+ */
7
+ export declare function timeRangesToArray(timeRanges: TimeRanges): Range[];
8
+ /**
9
+ * Creates a reader for a TimeRanges object for easier querying.
10
+ *
11
+ * @param timeRanges
12
+ */
13
+ export declare function createTimeRangesReader(timeRanges: TimeRanges): ReadonlyRanges;
14
+ //# sourceMappingURL=timeRanges.d.ts.map
@@ -0,0 +1,48 @@
1
+ export interface ParseError {
2
+ /**
3
+ * The full reason and location.
4
+ */
5
+ readonly message: string;
6
+ /**
7
+ * The reason for the error.
8
+ */
9
+ readonly reason: string;
10
+ /**
11
+ * A description of the location the error occurred.
12
+ */
13
+ readonly location: string;
14
+ }
15
+ export interface PrintStringPositionOptions {
16
+ /**
17
+ * The maximum number of character columns to output.
18
+ * The number of columns shown will be the min of this value and the number of columns
19
+ * at the index row.
20
+ * The default is 60.
21
+ */
22
+ maxColumns?: number;
23
+ /**
24
+ * The caret indicator.
25
+ * The caret will be printed on a second row, directly underneath the column index
26
+ * represents. This may more than one character, where the first character will align
27
+ * with the index column.
28
+ * The default value is '^'.
29
+ */
30
+ caret?: string;
31
+ /**
32
+ * A number between 0 and 1 representing the percentage of trailing to leading characters.
33
+ * 0 Indicates all trailing, 1 indicates all leading, and 0.5 indicates that the index
34
+ * column is as close to the middle as possible.
35
+ * The default value is 0.6.
36
+ */
37
+ split?: number;
38
+ }
39
+ /**
40
+ * Given a string and a position index, gets the row the index represents, displaying the
41
+ * surrounding characters, with a second row showing a caret indicator pointing at the index.
42
+ *
43
+ * @param str
44
+ * @param index The
45
+ * @param options Display options
46
+ */
47
+ export declare function printStringPosition(str: string, index: number, options?: PrintStringPositionOptions): string;
48
+ //# sourceMappingURL=ParseError.d.ts.map
@@ -0,0 +1,30 @@
1
+ import type { AnyRecord, Fun, IsAny } from '../../util/type';
2
+ /**
3
+ * A representation of the conversion the toJson function will apply to make an input JSON compatible.
4
+ */
5
+ export type Json<T = any> = IsAny<T> extends true ? AnyRecord : unknown extends T ? never : T extends bigint | symbol | Fun ? string : T extends {
6
+ toJSON(): infer R;
7
+ } ? R : T extends boolean | number | string | null | undefined ? T : T extends Set<infer U> ? Json<U>[] : T extends readonly any[] ? Json<T[number]>[] : {
8
+ [P in keyof T]: Json<T[P]>;
9
+ };
10
+ /**
11
+ * Converts a dynamic value to a serializable value.
12
+ * The value must be either an object with a toJSON function, a primitive, or a plain object
13
+ * where all enumerable properties map to values supported by this function.
14
+ * Properties not enumerable will be omitted, properties not serializable will be converted
15
+ * to strings.
16
+ * - bigint -> value.toString
17
+ * - function -> [function <name>]
18
+ * - symbol -> [symbol <name>]
19
+ *
20
+ * Error instances have a special case where non-serializable errors will still have their
21
+ * name, message, and stack properties serialized.
22
+ *
23
+ * Note that this is not intended for use in serializing objects where all values are known;
24
+ * it's intended to cover the case of reporting or logging an unknown object that may or may not
25
+ * be serializable.
26
+ *
27
+ * @param value
28
+ */
29
+ export declare function toJson<T>(value: T): Json<T>;
30
+ //# sourceMappingURL=json.d.ts.map
@@ -0,0 +1,24 @@
1
+ import type { Maybe } from '../../util/type';
2
+ /**
3
+ * Returns true if the given string is 'true' or '1'
4
+ *
5
+ * @param str
6
+ */
7
+ export declare function parseBoolean(str: Maybe<string>): boolean;
8
+ /**
9
+ * Returns the toString() value of the given object.
10
+ *
11
+ * @param value
12
+ */
13
+ export declare function stringify(value: any): string;
14
+ /**
15
+ * Parses a string into an integer.
16
+ * If the string is nullish, empty, or is not a finite number, returns null.
17
+ */
18
+ export declare function parseIntSafe(str: Maybe<string>, radix?: number): number | null;
19
+ /**
20
+ * Parses a string into a number.
21
+ * If the string is nullish, empty, or is not a finite number, returns null.
22
+ */
23
+ export declare function parseFloatSafe(str: Maybe<string>): number | null;
24
+ //# sourceMappingURL=primitives.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Stringifies a value suitable for human-readable messages.
3
+ *
4
+ * The value is first run through {@link toJson} which makes it safe for serialization.
5
+ * (Circular references will become strings, and toJSON serializers will be respected)
6
+ * The safe json is then stringified, using a JSON.stringify replacer that preserves
7
+ * representations for NaN, Infinity, undefined, and Symbol.
8
+ *
9
+ * @param value Any value.
10
+ * @param maxLength If provided, will truncate the final string.
11
+ * @param indicator The truncation indicator.
12
+ */
13
+ export declare function stringifyForPrint(value: any, maxLength?: number, indicator?: string): string;
14
+ //# sourceMappingURL=stringifyForPrint.d.ts.map
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Returns the union of two sets. That is, the unique elements of A and B.
3
+ *
4
+ * @param a
5
+ * @param b
6
+ * @return Returns a new Set `A ∪ B`
7
+ */
8
+ export declare function union<T, U>(a: ReadonlySet<T>, b: ReadonlySet<U>): Set<T | U>;
9
+ /**
10
+ * Returns the set difference of A and B. That is, the elements of A that are not in B.
11
+ *
12
+ * @param a
13
+ * @param b
14
+ * @return Returns a new Set that is `A \ B`
15
+ */
16
+ export declare function diff<T>(a: ReadonlySet<T>, b: ReadonlySet<T>): Set<T>;
17
+ //# sourceMappingURL=set.d.ts.map
@@ -0,0 +1,134 @@
1
+ import { ReportableError } from '../../error/ReportableError';
2
+ import type { ParseError } from '../../util/serialization/ParseError';
3
+ import type { Json } from '../../util/serialization/json';
4
+ /**
5
+ * A cursor on a string that allows for fast, naive parsing.
6
+ */
7
+ export declare class StringReader {
8
+ data: string;
9
+ /**
10
+ * @param data The string to read.
11
+ */
12
+ constructor(data: string);
13
+ /**
14
+ * The current cursor.
15
+ * This should always be between the range 0 and `data.length`
16
+ */
17
+ position: number;
18
+ /**
19
+ * Returns true if the current {@link position} is less than the source data's length.
20
+ */
21
+ hasNext(): boolean;
22
+ get remaining(): number;
23
+ get length(): number;
24
+ /**
25
+ * Throws a {@link StringParseError} where the location uses {@link printStringPosition} to
26
+ * show a friendly message indicating the current position.
27
+ *
28
+ * @param message
29
+ * @param offset The offset to add to the current position.
30
+ */
31
+ err(message: string, offset?: number): never;
32
+ /**
33
+ * Reads and returns the character code at the current position.
34
+ * To read the next character without advancing the cursor, use {@link peek}
35
+ *
36
+ * Note:
37
+ * This method has no bounds checking; if {@link position} is greater than or equal to
38
+ * `str.length` then NaN will be returned and {@link position} will still be incremented.
39
+ *
40
+ * @see String.charCodeAt
41
+ */
42
+ next(): number;
43
+ /**
44
+ * Reads characters until the predicate returns false or the data length has been reached.
45
+ *
46
+ * @param predicate Given the char code at the cursor index, returns true if the character
47
+ * should be included in the substring result.
48
+ * @returns number The start position.
49
+ */
50
+ while(predicate: (charCode: number) => boolean): number;
51
+ /**
52
+ * Reads characters until the predicate returns true or the string length has been reached.
53
+ *
54
+ * @param predicate
55
+ * @returns number Returns the start index.
56
+ */
57
+ until(predicate: (charCode: number) => boolean): number;
58
+ /**
59
+ * Reads characters until the given character has been found or the string length has been
60
+ * reached.
61
+ *
62
+ * @param charCode
63
+ * @return number Returns the start index.
64
+ */
65
+ untilChar(charCode: number): number;
66
+ /**
67
+ * Reads characters until the given string has been found or the string length has been
68
+ * reached.
69
+ *
70
+ * @param string The string to match
71
+ * @return number Returns the start index.
72
+ */
73
+ untilString(string: string): number;
74
+ /**
75
+ * The same as {@link while} except returns the read substring as a result.
76
+ */
77
+ substringWhile(predicate: (charCode: number) => boolean): string;
78
+ /**
79
+ * The same as {@link until} except returns the read substring as a result.
80
+ */
81
+ substringUntil(predicate: (charCode: number) => boolean): string;
82
+ /**
83
+ * The same as {@link untilChar} except returns the read substring as a result.
84
+ */
85
+ substringUntilChar(charCode: number): string;
86
+ /**
87
+ * Reads the substring from the current index with the given length.
88
+ *
89
+ * @param length
90
+ */
91
+ substr(length: number): string;
92
+ /**
93
+ * Reads the expected string from the current position.
94
+ * If the read string doesn't match the given string, a {@link StringParseError} is thrown.
95
+ *
96
+ * @param str The string required to match at the current position.
97
+ * @param ignoreCase If true, the comparison will be case-insensitive.
98
+ */
99
+ read(str: string, ignoreCase?: boolean): string;
100
+ /**
101
+ * Reads the expected char code from the current position.
102
+ * If the read character doesn't match the given character, a {@link StringParseError} is
103
+ * thrown.
104
+ *
105
+ * @param charCode The character code required to match at the current position.
106
+ */
107
+ readChar(charCode: number): number;
108
+ get peek(): number;
109
+ /**
110
+ * Reads through all whitespace characters, returning the starting index.
111
+ */
112
+ white(): number;
113
+ /**
114
+ * If {@link peek} equals the given character code, returns true and advances the index by
115
+ * one.
116
+ *
117
+ * @param charCode
118
+ */
119
+ charIf(charCode: number): boolean;
120
+ /**
121
+ * If the given string matches the substring at the current position, returns true and advances
122
+ * the index by the string's length.
123
+ */
124
+ stringIf(string: string, ignoreCase?: boolean): boolean;
125
+ }
126
+ export declare class StringParseError extends ReportableError implements ParseError {
127
+ readonly position: number;
128
+ readonly reason: string;
129
+ get [Symbol.toStringTag](): string;
130
+ readonly location: string;
131
+ constructor(str: string, position: number, reason: string);
132
+ toJSON(): Json;
133
+ }
134
+ //# sourceMappingURL=StringReader.d.ts.map