@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,79 @@
1
+ /*
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ /**
6
+ * Resolves a relative URI against a base URL using string manipulation,
7
+ * avoiding the overhead of constructing `URL` objects.
8
+ *
9
+ * Handles the same cases as `new URL(relative, base)`:
10
+ * - Absolute URIs (with scheme) are returned as-is.
11
+ * - Protocol-relative URIs (`//host/path`) inherit the base scheme.
12
+ * - Absolute paths (`/path`) replace the base path.
13
+ * - Relative paths are resolved against the base directory.
14
+ *
15
+ * @param relative The relative (or absolute) URI to resolve.
16
+ * @param base The base URL string to resolve against.
17
+ * @returns A resolved absolute URL string.
18
+ */
19
+ export function resolveUrl(relative, base) {
20
+ // Absolute URI — has a scheme.
21
+ if (relative.indexOf('://') > 0)
22
+ return relative;
23
+ // Protocol-relative.
24
+ if (relative.startsWith('//')) {
25
+ const schemeEnd = base.indexOf('://');
26
+ return base.substring(0, schemeEnd + 1) + relative;
27
+ }
28
+ const schemeEnd = base.indexOf('://') + 3;
29
+ const pathStart = base.indexOf('/', schemeEnd);
30
+ const origin = pathStart === -1 ? base : base.substring(0, pathStart);
31
+ // Absolute path.
32
+ if (relative.startsWith('/'))
33
+ return origin + relative;
34
+ // Empty relative — return base as-is.
35
+ if (relative === '')
36
+ return base;
37
+ // Relative path — resolve against base directory.
38
+ const basePath = pathStart === -1 ? '/' : base.substring(pathStart);
39
+ const lastSlash = basePath.lastIndexOf('/');
40
+ const dir = basePath.substring(0, lastSlash + 1);
41
+ return origin + resolveDots(dir + relative);
42
+ }
43
+ /**
44
+ * Extracts the hostname from an absolute URL string.
45
+ *
46
+ * @param url An absolute URL string (e.g. `https://example.com:8080/path`).
47
+ * @returns The hostname (e.g. `example.com`).
48
+ */
49
+ export function getHostname(url) {
50
+ const start = url.indexOf('://') + 3;
51
+ let end = url.indexOf('/', start);
52
+ if (end === -1)
53
+ end = url.length;
54
+ const hostPort = url.substring(start, end);
55
+ const colon = hostPort.indexOf(':');
56
+ return colon === -1 ? hostPort : hostPort.substring(0, colon);
57
+ }
58
+ /**
59
+ * Resolves `.` and `..` segments in a path.
60
+ */
61
+ function resolveDots(path) {
62
+ // Fast path: no dots to resolve.
63
+ if (path.indexOf('.') === -1)
64
+ return path;
65
+ const parts = path.split('/');
66
+ const out = [];
67
+ for (let i = 0; i < parts.length; i++) {
68
+ const p = parts[i];
69
+ if (p === '..') {
70
+ // Don't pop past root.
71
+ if (out.length > 1)
72
+ out.pop();
73
+ }
74
+ else if (p !== '.') {
75
+ out.push(p);
76
+ }
77
+ }
78
+ return out.join('/');
79
+ }
@@ -0,0 +1,38 @@
1
+ import { Comparator } from '../util/comparison/compare';
2
+ import { Maybe } from '../util/type';
3
+ /**
4
+ * An object representing a version.
5
+ */
6
+ export interface Version {
7
+ readonly str: string;
8
+ readonly major: number;
9
+ readonly minor: number | null;
10
+ readonly patch: number | null;
11
+ readonly build: number | null;
12
+ }
13
+ /**
14
+ * A comparator for Version objects.
15
+ * This strict comparator will consider 1.0.0 > 1.0. Use {@link compareVersions} if null
16
+ * segments should be treated as zero values.
17
+ * Use this comparator when stable sorting.
18
+ */
19
+ export declare const compareVersionsStrict: Comparator<Version | null>;
20
+ /**
21
+ * A comparator for Version objects.
22
+ * Unlike {@link compareVersionsStrict}, 1.0.0.0 === 1.
23
+ * Use this comparator when comparing two versions and order does not need to be stable.
24
+ */
25
+ export declare const compareVersions: Comparator<Version | null>;
26
+ /**
27
+ * Given a string containing a semver-like version string, finds and returns the parsed Version.
28
+ *
29
+ * @param str
30
+ */
31
+ export declare function parseVersion(str: string): Version;
32
+ /**
33
+ * Given a string containing a semver-like version string, finds and returns the parsed Version.
34
+ *
35
+ * @param str
36
+ */
37
+ export declare function parseVersion(str: Maybe<string>): Version | null;
38
+ //# sourceMappingURL=Version.d.ts.map
@@ -0,0 +1,36 @@
1
+ import { Version } from '../../client/Version';
2
+ /**
3
+ * A parsed user agent.
4
+ */
5
+ export interface UserAgentInfo {
6
+ readonly userAgent: string;
7
+ readonly browser: UaSystemInfo | null;
8
+ readonly browserLike: UaSystemInfo | null;
9
+ readonly device: UaDeviceInfo | null;
10
+ readonly os: UaSystemInfo | null;
11
+ readonly osLike: UaSystemInfo | null;
12
+ }
13
+ /**
14
+ * Platform or system information.
15
+ */
16
+ export interface UaSystemInfo {
17
+ readonly name: string;
18
+ readonly version: Version | null;
19
+ }
20
+ /**
21
+ * Device information from the user agent.
22
+ */
23
+ export interface UaDeviceInfo {
24
+ readonly vendor: string | null;
25
+ readonly model: string | null;
26
+ readonly type: string | null;
27
+ }
28
+ export declare const emptyUserAgentInfo: {
29
+ readonly userAgent: "";
30
+ readonly browser: null;
31
+ readonly browserLike: null;
32
+ readonly os: null;
33
+ readonly osLike: null;
34
+ readonly device: null;
35
+ };
36
+ //# sourceMappingURL=UserAgentInfo.d.ts.map
@@ -0,0 +1,94 @@
1
+ import { UserAgentRules } from './tokenizeUserAgent';
2
+ /**
3
+ * An enumeration of operating systems that can be detected from the user agent.
4
+ */
5
+ export declare enum Os {
6
+ ANDROID = "Android",
7
+ ANDROID_OSP = "Android OSP",
8
+ CHROME_OS = "chromeOS",
9
+ CHROMECAST = "Chromecast",
10
+ FEDORA = "Fedora",
11
+ FIREFOX_OS = "Firefox OS",// Firefox OS (legacy) does not have a differentiable user agent
12
+ FIRE_OS = "Fire OS",
13
+ FREE_BSD = "FreeBSD",
14
+ HARMONY_OS = "HarmonyOS",
15
+ I_OS = "iOS",
16
+ KAIOS = "KaiOS",// Based on the discontinued Firefox OS
17
+ LINUX = "Linux",
18
+ MAC_OS = "macOS",
19
+ MIUI = "MIUI",
20
+ ORBIS = "Orbis OS",
21
+ SMART_CAST = "SmartCast",
22
+ SYMBIAN = "Symbian",
23
+ TIZEN = "Tizen",
24
+ UBUNTU = "Ubuntu",
25
+ VEGA = "Vega",
26
+ WEB_OS = "webOS",
27
+ WINDOWS = "Windows",
28
+ WINDOWS_PHONE = "Windows Phone"
29
+ }
30
+ /**
31
+ * An enumeration of browsers that can be detected from the user agent.
32
+ */
33
+ export declare enum Browser {
34
+ BRAVE = "Brave",
35
+ CHROME = "Chrome",
36
+ CHROME_HEADLESS = "Chrome Headless",
37
+ CHROMIUM = "Chromium",
38
+ DUCK_DUCK_GO = "DuckDuckGo",
39
+ EDGE_CHROMIUM = "Edge Chromium",
40
+ EDGE_LEGACY = "Edge Legacy",
41
+ ELECTRON = "Electron",
42
+ FIREFOX = "Firefox",
43
+ HUAWEI = "Huawei",
44
+ IE = "IE",
45
+ IE_MOBILE = "IE Mobile",// AKA Pocket Internet Explorer
46
+ OCULUS = "Oculus Browser",
47
+ OPENWAVE = "Openwave",
48
+ OPERA = "Opera",
49
+ OPERA_TOUCH = "Opera Touch",
50
+ QUARK = "Quark",
51
+ SILK = "Silk",
52
+ SAFARI = "Safari",
53
+ SAMSUNG_BROWSER = "Samsung Browser",
54
+ UC_BROWSER = "UC Browser",
55
+ WPE = "WPE WebKit",
56
+ YANDEX = "Yandex",
57
+ WEBKIT = "WebKit"
58
+ }
59
+ export declare enum DeviceVendor {
60
+ AMAZON = "Amazon",
61
+ APPLE = "Apple",
62
+ FACEBOOK = "Facebook",
63
+ GOOGLE = "Google",
64
+ HISENSE = "Hisense",
65
+ HTC = "HTC",
66
+ HUAWEI = "Huawei",
67
+ K = "K",
68
+ LG = "LG",
69
+ MEIZU = "Meizu",
70
+ MICROSOFT = "Microsoft",
71
+ MOTOROLA = "Motorola",
72
+ NINTENDO = "Nintendo",
73
+ NOKIA = "Nokia",
74
+ NVIDIA = "Nvidia",
75
+ ONE_PLUS = "OnePlus",
76
+ OPPO = "OPPO",
77
+ ROKU = "Roku",
78
+ SAMSUNG = "Samsung",
79
+ SKY = "Sky",
80
+ SKY_DEVICES = "SKY Devices",// Not related to the set-top boxes.
81
+ SONY = "Sony",
82
+ TESLA = "Tesla",
83
+ VIZIO = "VIZIO"
84
+ }
85
+ export declare enum DeviceType {
86
+ AUTOMOTIVE = "automotive",
87
+ CONSOLE = "console",
88
+ DESKTOP = "desktop",
89
+ SMART_TV = "smarttv",
90
+ MOBILE = "mobile",
91
+ WEARABLE = "wearable"
92
+ }
93
+ export declare const defaultUserAgentRules: UserAgentRules;
94
+ //# sourceMappingURL=defaultUserAgentRules.d.ts.map
@@ -0,0 +1,26 @@
1
+ import { Browser } from './defaultUserAgentRules';
2
+ import { UserAgentInfo } from './UserAgentInfo';
3
+ import { Maybe } from '../../util/type';
4
+ export interface HasBrowserOptions {
5
+ /**
6
+ * If true (default), checks both {@link UserAgentInfo.browserLike} (first) and
7
+ * {@link UserAgentInfo.browser} for a name match.
8
+ */
9
+ readonly checkBrowserLike?: boolean;
10
+ /**
11
+ * The parsed user agent to query. Default is the browser's parsed user agent.
12
+ */
13
+ readonly userAgentInfo?: UserAgentInfo;
14
+ }
15
+ /**
16
+ * Returns true if the current user agent matches the given browser.
17
+ *
18
+ * @param browser
19
+ * @param minVersionStr If provided, only returns true if the browser version is at least this version.
20
+ * Must be parsable by {@link parseVersion}.
21
+ * @param maxVersionStr If provided, only returns true if the browser version is at most this version.
22
+ * Must be parsable by {@link parseVersion}.
23
+ * @param options Additional optional configuration.
24
+ */
25
+ export declare function hasBrowser(browser: Browser, minVersionStr?: Maybe<string>, maxVersionStr?: Maybe<string>, options?: HasBrowserOptions): boolean;
26
+ //# sourceMappingURL=hasBrowser.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { Maybe } from '../../util/type';
2
+ import { UserAgentRules } from './tokenizeUserAgent';
3
+ import { UserAgentInfo } from './UserAgentInfo';
4
+ /**
5
+ * Parses the user agent into a {@link UserAgentInfo} object.
6
+ *
7
+ * @param userAgent The User Agent. Default: `navigator.userAgent`.
8
+ * @param rules The user agent rules.
9
+ */
10
+ export declare function parseUserAgent(userAgent?: Maybe<string>, rules?: UserAgentRules): UserAgentInfo;
11
+ export declare const userAgentInfoRef: import("../../global/globalRegistry").GlobalRef<UserAgentInfo>;
12
+ export declare function getUserAgentInfo(): UserAgentInfo;
13
+ export declare function setUserAgent(value: string): void;
14
+ //# sourceMappingURL=parseUserAgent.d.ts.map
@@ -0,0 +1,104 @@
1
+ import { Maybe } from '../../util/type';
2
+ import { Version } from '../../client/Version';
3
+ import { UaDeviceInfo, UaSystemInfo } from './UserAgentInfo';
4
+ /**
5
+ * Builds a tokenized user agent for faster queries.
6
+ *
7
+ * @param userAgent
8
+ */
9
+ export declare function tokenizeUserAgent(userAgent: string): TokenizedUserAgent;
10
+ /**
11
+ * A User Agent rule takes a tokenized user agent, and if the rule matches, returns the Browser
12
+ * or Platform
13
+ * information. Otherwise, returns null.
14
+ */
15
+ export type SystemInfoRule = (tokenizedUa: TokenizedUserAgent) => UaSystemInfo | null;
16
+ /**
17
+ * A User Agent rule takes a tokenized user agent, and if the rule matches, returns the Device
18
+ * information. Otherwise, returns null.
19
+ */
20
+ export type DeviceInfoRule = (tokenizedUa: TokenizedUserAgent) => UaDeviceInfo | null;
21
+ /**
22
+ * A User Agent rule takes a tokenized user agent, and if the rule matches, returns the Browser
23
+ * or Platform
24
+ * information. Otherwise, returns null.
25
+ */
26
+ export type SystemInfoLikeRule = (tokenizedUa: TokenizedUserAgent, systemInfo: UaSystemInfo | null) => UaSystemInfo | null;
27
+ /**
28
+ * The ruleset to use when parsing a user agent.
29
+ * Rules are expected to be from most specific to least.
30
+ */
31
+ export interface UserAgentRules {
32
+ readonly browserRules: readonly SystemInfoRule[];
33
+ readonly browserLikeRules: readonly SystemInfoLikeRule[];
34
+ readonly osRules: readonly SystemInfoRule[];
35
+ readonly osLikeRules: readonly SystemInfoLikeRule[];
36
+ readonly deviceRules: readonly DeviceInfoRule[];
37
+ }
38
+ /**
39
+ * A tokenized user agent.
40
+ * A common format for user agents:
41
+ * `Mozilla/5.0 (<system-information>) <platform> (<platform-details>) [extensions]`
42
+ *
43
+ */
44
+ export interface TokenizedUserAgent {
45
+ /**
46
+ * The original user agent.
47
+ */
48
+ readonly userAgent: string;
49
+ /**
50
+ * The tokenized system and platform details or extensions (parts within parenthetical sections
51
+ * separated by semicolons.)
52
+ */
53
+ readonly system: TokenizedInfo;
54
+ /**
55
+ * The tokenized platform info (parts outside parenthetical sections, separated by
56
+ * whitespace.)
57
+ */
58
+ readonly platform: TokenizedInfo;
59
+ }
60
+ /**
61
+ * A parsed system or extension part of the user agent. (A section within a parenthetical)
62
+ */
63
+ export interface UserAgentPart extends UaSystemInfo {
64
+ readonly name: string;
65
+ readonly version: Version | null;
66
+ readonly tokens: readonly string[];
67
+ }
68
+ export declare class TokenizedInfo {
69
+ readonly parts: UserAgentPart[];
70
+ /**
71
+ * A token map of lowercase token strings to name/version pairs.
72
+ */
73
+ private readonly tokenMap;
74
+ constructor(parts: UserAgentPart[]);
75
+ /**
76
+ * Given lowercase tokens of only alpha characters, returns the mapped token part if all tokens
77
+ * are contained in the section.
78
+ */
79
+ get(...tokens: readonly string[]): UaSystemInfo | null;
80
+ /**
81
+ * Given an expression of logical operators, returns the name and version of the part
82
+ * that matches the expression.
83
+ *
84
+ * Logical operators currently supported: | for OR and & for AND.
85
+ * Operands between operators will be tokenized via {@link tokenizeWords}.
86
+ *
87
+ * @param expr The expression of tokens and operators. Example: 'windows phone|windows&mobile'
88
+ * will match when one part has both 'windows' and 'phone' or there are two parts, one with
89
+ * 'windows' and another part with 'mobile'
90
+ * (Case insensitive)
91
+ */
92
+ query(expr: string): UaSystemInfo | null;
93
+ }
94
+ /**
95
+ * Executes a logical expression mapping tokens with a predicate, using the result as operands.
96
+ *
97
+ * Logical operators currently supported: | for OR and & for AND.
98
+ * Operands between operators will be tokenized via {@link tokenizeWords}.
99
+ *
100
+ * @param expr The expression of tokens and operators.
101
+ * @param predicate Each token set operand will be mapped using this function.
102
+ */
103
+ export declare function tokenQuery<T>(expr: string, predicate: (tokens: readonly string[]) => Maybe<T>): T | null;
104
+ //# sourceMappingURL=tokenizeUserAgent.d.ts.map
@@ -0,0 +1,52 @@
1
+ import { Maybe } from '../../util/type';
2
+ import { DeviceInfoRule, SystemInfoLikeRule, SystemInfoRule, TokenizedUserAgent } from './tokenizeUserAgent';
3
+ /**
4
+ * A rule to match platform information (parts outside parentheticals).
5
+ *
6
+ * @param name The exact name to use if there's a match.
7
+ * @param expr
8
+ */
9
+ export declare function uaPlatformRule(name: string, expr: string): SystemInfoRule;
10
+ /**
11
+ * A rule to match system information. (Matches parts within parentheticals.)
12
+ *
13
+ * @param name The exact name to use if there's a match.
14
+ * @param expr
15
+ * @param hasVersion If true, the version will be inferred from the matched part.
16
+ */
17
+ export declare function uaSystemRule(name: string, expr: string, hasVersion: boolean): SystemInfoRule;
18
+ /**
19
+ * A rule to match platform or system information.
20
+ *
21
+ * @param name The exact name to use if there's a match.
22
+ * @param expr A token expression.
23
+ */
24
+ export declare function uaPlatformOrSystemRule(name: string, expr: string): SystemInfoRule;
25
+ /**
26
+ * Changes the name of the Name/Version part returned from the given rule.
27
+ *
28
+ * @param name
29
+ * @param rule
30
+ */
31
+ export declare function uaName(name: string, rule: SystemInfoRule): SystemInfoRule;
32
+ export declare function uaSystemLike(name: string, derived: readonly string[]): SystemInfoLikeRule;
33
+ /**
34
+ * A rule to match system or platform information, providing vendor and type information.
35
+ *
36
+ * @param vendor The device make/vendor to use when there's a match.
37
+ * @param type The type of device, e.g. 'mobile' or 'tablet'.
38
+ * @param expr The token expression to use to determine a match. If there is a match, the
39
+ * matched name will be used as the model unless model is explicit.
40
+ * @param model If defined, will be used as the model string instead of the matched expression
41
+ * name.
42
+ */
43
+ export declare function uaDeviceRule(vendor: string | null, type: string | null, expr: string, model?: Maybe<string>): DeviceInfoRule;
44
+ /**
45
+ * A rule that executes a regex, transforming the match result.
46
+ *
47
+ * @param expr
48
+ * @param onMatch When the expression matches, onMatch will be given the RegExpExecArray and return
49
+ * the final info object.
50
+ */
51
+ export declare function regexRule<T>(expr: RegExp, onMatch: (match: RegExpMatchArray) => T): (t: TokenizedUserAgent) => T | null;
52
+ //# sourceMappingURL=userAgentRuleHelpers.d.ts.map
@@ -0,0 +1,2 @@
1
+ export type Unsubscribe = () => void;
2
+ //# sourceMappingURL=Unsubscribe.d.ts.map
@@ -0,0 +1,19 @@
1
+ export interface Clearable {
2
+ /**
3
+ * Clears this object.
4
+ */
5
+ clear(): void;
6
+ }
7
+ /**
8
+ * Returns true if the value implements Clearable.
9
+ *
10
+ * @param value
11
+ */
12
+ export declare function isClearable(value: any): value is Clearable;
13
+ /**
14
+ * If the given object implements Clearable, executes clear.
15
+ *
16
+ * @param value
17
+ */
18
+ export declare function maybeClear(value: any): void;
19
+ //# sourceMappingURL=clearable.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * An interface that may be implemented to provide custom clone behavior.
3
+ */
4
+ export interface Cloneable<T> {
5
+ /**
6
+ * Produces a copy of this object.
7
+ */
8
+ clone(): T;
9
+ }
10
+ /**
11
+ * Returns true if the given value implements Cloneable.
12
+ */
13
+ export declare function isCloneable<T>(value: T): value is T & Cloneable<T>;
14
+ //# sourceMappingURL=cloneable.d.ts.map
@@ -0,0 +1,66 @@
1
+ import { IllegalStateError } from '../error/IllegalStateError';
2
+ import { Unsubscribe } from '../core/Unsubscribe';
3
+ import { Maybe } from '../util/type';
4
+ /**
5
+ * Any object that may be disposed.
6
+ */
7
+ export interface Disposable {
8
+ dispose(): void;
9
+ }
10
+ /**
11
+ * Returns true if the given value is disposable.
12
+ *
13
+ * @param value Any value. The value will be considered Disposable if it contains a method named
14
+ * 'dispose', and that function requires zero parameters. This value will be type guarded to
15
+ * Disposable if true is returned.
16
+ */
17
+ export declare function isDisposable(value: any): value is Disposable;
18
+ /**
19
+ * Disposes all the given {@link Disposable} objects.
20
+ *
21
+ * @param disposables
22
+ */
23
+ export declare function disposeAll(disposables: Iterable<Disposable>): void;
24
+ /**
25
+ * Returns a Disposable that invokes the given function on dispose.
26
+ *
27
+ * @param unsub
28
+ */
29
+ export declare function toDisposable(unsub: () => void): Disposable;
30
+ export type AddDisposable = <T extends Maybe<Disposable | Unsubscribe>>(disposable: T) => T;
31
+ /**
32
+ * A Disposer disposes added disposables as a group.
33
+ * The method members may be called without a receiver.
34
+ */
35
+ export interface Disposer extends Disposable {
36
+ readonly disposed: boolean;
37
+ readonly add: AddDisposable;
38
+ readonly dispose: () => void;
39
+ }
40
+ /**
41
+ * Creates a Disposer, an object on which {@link Disposable} instances may be added, and disposed
42
+ * as a group.
43
+ *
44
+ * The method members may be called without a receiver, thus allowing destructuring.
45
+ * Example:
46
+ * ```
47
+ * function create(): Disposable {
48
+ * const { dispose, add } = disposer()
49
+ * add(someDisposable)
50
+ * add(anotherDisposable)
51
+ * return {
52
+ * dispose
53
+ * }
54
+ * }
55
+ * ```
56
+ *
57
+ */
58
+ export declare function createDisposer(): Disposer;
59
+ /**
60
+ * An illegal state error indicating that an object has been disposed.
61
+ */
62
+ export declare class DisposedError extends IllegalStateError {
63
+ get [Symbol.toStringTag](): string;
64
+ constructor(message?: string);
65
+ }
66
+ //# sourceMappingURL=disposable.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { ErrorLevel, ReportableError } from './ReportableError';
2
+ export declare class AbortError extends ReportableError {
3
+ get [Symbol.toStringTag](): string;
4
+ constructor(message?: string, origin?: string, level?: ErrorLevel);
5
+ }
6
+ //# sourceMappingURL=AbortError.d.ts.map
@@ -0,0 +1,45 @@
1
+ export declare const ErrorOrigin: {
2
+ /**
3
+ * The error originated from Vinyl and was reported from the uncaught exception or promise
4
+ * rejection handlers.
5
+ */
6
+ UNCAUGHT: string;
7
+ /**
8
+ * The error originated from Vinyl and was caught.
9
+ */
10
+ INTERNAL: string;
11
+ /**
12
+ * A Vinyl interface was used incorrectly by a consumer.
13
+ */
14
+ API: string;
15
+ /**
16
+ * The error originated from a failed service call (500 errors).
17
+ */
18
+ SERVICE_EXTERNAL: string;
19
+ /**
20
+ * The error originated from a failed service call (400 errors).
21
+ */
22
+ SERVICE_INTERNAL: string;
23
+ /**
24
+ * The error originated from a problem playing provided media.
25
+ * The reporter is from a component such as the element, source buffer, media source, etc.
26
+ */
27
+ MEDIA: string;
28
+ /**
29
+ * The error originated from a problem parsing input data.
30
+ * Such as a malformed Dash or HLS manifest.
31
+ */
32
+ PARSING: string;
33
+ /**
34
+ * The error originated from an incompatibility with browser APIs,
35
+ * such as EME.
36
+ */
37
+ COMPATIBILITY: string;
38
+ /**
39
+ * The error originated from DRM.
40
+ * This does not include internal or service errors, only errors from the creation of media keys or media key
41
+ * sessions.
42
+ */
43
+ DRM: string;
44
+ };
45
+ //# sourceMappingURL=ErrorOrigin.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { ReportableError } from './ReportableError';
2
+ /**
3
+ * An error indicating that a method was called with illegal arguments.
4
+ */
5
+ export declare class IllegalArgumentError extends ReportableError {
6
+ readonly isInternal: boolean;
7
+ get [Symbol.toStringTag](): string;
8
+ constructor(message: string, isInternal?: boolean);
9
+ }
10
+ //# sourceMappingURL=IllegalArgumentError.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { ReportableError } from './ReportableError';
2
+ /**
3
+ * An error indicating an unexpected state.
4
+ */
5
+ export declare class IllegalStateError extends ReportableError {
6
+ get [Symbol.toStringTag](): string;
7
+ constructor(message: string);
8
+ }
9
+ //# sourceMappingURL=IllegalStateError.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { ReportableError } from '../error/ReportableError';
2
+ import { Json } from '../util/serialization/json';
3
+ export declare class MediaUnsupportedError extends ReportableError {
4
+ readonly code: string;
5
+ constructor(message: string, code: string);
6
+ toJSON(): Json;
7
+ get [Symbol.toStringTag](): string;
8
+ }
9
+ //# sourceMappingURL=MediaUnsupportedError.d.ts.map
@@ -0,0 +1,39 @@
1
+ import { Json } from '../util/serialization/json';
2
+ export declare enum ErrorLevel {
3
+ /**
4
+ * Fatal errors are not recoverable.
5
+ */
6
+ FATAL = "fatal",
7
+ /**
8
+ * Warn level errors should be reported, but are recoverable.
9
+ */
10
+ WARN = "warn",
11
+ /**
12
+ * Silent errors should not be reported. For example aborting a play operation due to a new track loading.
13
+ */
14
+ SILENT = "silent"
15
+ }
16
+ /**
17
+ * A Serializable Error that contains an error origin.
18
+ */
19
+ export declare class ReportableError extends Error {
20
+ readonly origin: string;
21
+ readonly level: ErrorLevel;
22
+ get [Symbol.toStringTag](): string;
23
+ constructor(message?: string, origin?: string, level?: ErrorLevel);
24
+ get name(): string;
25
+ /**
26
+ * All ReportableError instances must be serializable.
27
+ */
28
+ toJSON(): Json;
29
+ }
30
+ /**
31
+ * Returns true if the given object is a ReportableError.
32
+ */
33
+ export declare function isReportableError(error: any): error is ReportableError;
34
+ /**
35
+ * Returns true if the error is a ReportableError and is level SILENT.
36
+ * @param error
37
+ */
38
+ export declare function isSilentError(error: any): boolean;
39
+ //# sourceMappingURL=ReportableError.d.ts.map