@bleedingdev/modern-js-utils 3.9.0-ultramodern.2 → 3.9.0-ultramodern.20

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 (362) hide show
  1. package/dist/cjs/cli/applyOptionsChain.js +1 -1
  2. package/dist/cjs/cli/get/config.js +1 -1
  3. package/dist/cjs/cli/require.js +13 -8
  4. package/dist/cjs/compiled.js +1 -9
  5. package/dist/cjs/universal/index.js +5 -25
  6. package/dist/compiled/browserslist/index.js +37 -35
  7. package/dist/compiled/chokidar/types/index.d.ts +1 -1
  8. package/dist/compiled/commander/index.js +2 -3
  9. package/dist/compiled/debug/index.js +1 -1
  10. package/dist/compiled/execa/index.js +8 -6
  11. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +1 -1
  12. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +1 -1
  13. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +1 -1
  14. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +1 -1
  15. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +1 -1
  16. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +1 -1
  17. package/dist/compiled/fast-glob/out/types/index.d.ts +1 -1
  18. package/dist/compiled/fs-extra/index.js +39 -35
  19. package/dist/compiled/glob/index.js +17 -15
  20. package/dist/compiled/inquirer/index.js +29 -25
  21. package/dist/compiled/inquirer/lib/prompts/base.d.ts +100 -0
  22. package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +116 -0
  23. package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +53 -0
  24. package/dist/compiled/inquirer/lib/prompts/editor.d.ts +101 -0
  25. package/dist/compiled/inquirer/lib/prompts/expand.d.ts +149 -0
  26. package/dist/compiled/inquirer/lib/prompts/input.d.ts +82 -0
  27. package/dist/compiled/inquirer/lib/prompts/list.d.ts +89 -0
  28. package/dist/compiled/inquirer/lib/prompts/number.d.ts +32 -0
  29. package/dist/compiled/inquirer/lib/prompts/password.d.ts +82 -0
  30. package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +111 -0
  31. package/dist/compiled/inquirer/lib/utils/events.d.ts +72 -0
  32. package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +23 -0
  33. package/dist/compiled/inquirer/lib/utils/paginator.d.ts +55 -0
  34. package/dist/compiled/inquirer/lib/utils/readline.d.ts +56 -0
  35. package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +90 -0
  36. package/dist/compiled/inquirer/lib/utils/utils.d.ts +30 -0
  37. package/dist/compiled/inquirer/rxjs/LICENSE.txt +202 -0
  38. package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +5 -0
  39. package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +2 -0
  40. package/dist/compiled/inquirer/rxjs/index.d.ts +173 -0
  41. package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +10 -0
  42. package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +13 -0
  43. package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +13 -0
  44. package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +175 -0
  45. package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +2 -0
  46. package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +121 -0
  47. package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +9 -0
  48. package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +49 -0
  49. package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +53 -0
  50. package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +54 -0
  51. package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +72 -0
  52. package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +92 -0
  53. package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +115 -0
  54. package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +227 -0
  55. package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +65 -0
  56. package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +14 -0
  57. package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +200 -0
  58. package/dist/compiled/inquirer/rxjs/internal/config.d.ts +73 -0
  59. package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +7 -0
  60. package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +7 -0
  61. package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +42 -0
  62. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +5 -0
  63. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +4 -0
  64. package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +5 -0
  65. package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +33 -0
  66. package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +5 -0
  67. package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +27 -0
  68. package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +51 -0
  69. package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +173 -0
  70. package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +76 -0
  71. package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +7 -0
  72. package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +159 -0
  73. package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +72 -0
  74. package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +24 -0
  75. package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +6 -0
  76. package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +45 -0
  77. package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +5 -0
  78. package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +14 -0
  79. package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +314 -0
  80. package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +82 -0
  81. package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +21 -0
  82. package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +48 -0
  83. package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +9 -0
  84. package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +40 -0
  85. package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +14 -0
  86. package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +5 -0
  87. package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +19 -0
  88. package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +9 -0
  89. package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +12 -0
  90. package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +8 -0
  91. package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +115 -0
  92. package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +126 -0
  93. package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +30 -0
  94. package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +7 -0
  95. package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +41 -0
  96. package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +48 -0
  97. package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +50 -0
  98. package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +41 -0
  99. package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +54 -0
  100. package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +5 -0
  101. package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +46 -0
  102. package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +41 -0
  103. package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +4 -0
  104. package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +6 -0
  105. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +10 -0
  106. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +6 -0
  107. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +43 -0
  108. package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +6 -0
  109. package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +59 -0
  110. package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +7 -0
  111. package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +8 -0
  112. package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +43 -0
  113. package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +87 -0
  114. package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +58 -0
  115. package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +61 -0
  116. package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +59 -0
  117. package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +38 -0
  118. package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +59 -0
  119. package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +6 -0
  120. package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +51 -0
  121. package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +60 -0
  122. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +4 -0
  123. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +4 -0
  124. package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +51 -0
  125. package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +7 -0
  126. package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +9 -0
  127. package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +6 -0
  128. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +47 -0
  129. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +7 -0
  130. package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +9 -0
  131. package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +9 -0
  132. package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +64 -0
  133. package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +12 -0
  134. package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +9 -0
  135. package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +9 -0
  136. package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +6 -0
  137. package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +119 -0
  138. package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +38 -0
  139. package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +64 -0
  140. package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +14 -0
  141. package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +8 -0
  142. package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +5 -0
  143. package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +10 -0
  144. package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +52 -0
  145. package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +50 -0
  146. package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +10 -0
  147. package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +62 -0
  148. package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +18 -0
  149. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +7 -0
  150. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +9 -0
  151. package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +68 -0
  152. package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +44 -0
  153. package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +50 -0
  154. package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +63 -0
  155. package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +56 -0
  156. package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +8 -0
  157. package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +46 -0
  158. package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +54 -0
  159. package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +18 -0
  160. package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +30 -0
  161. package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +19 -0
  162. package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +69 -0
  163. package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +56 -0
  164. package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +6 -0
  165. package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +29 -0
  166. package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +5 -0
  167. package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +61 -0
  168. package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +108 -0
  169. package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +38 -0
  170. package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +28 -0
  171. package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +61 -0
  172. package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +43 -0
  173. package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +46 -0
  174. package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +5 -0
  175. package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +12 -0
  176. package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +60 -0
  177. package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +43 -0
  178. package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +10 -0
  179. package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +5 -0
  180. package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +36 -0
  181. package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +45 -0
  182. package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +48 -0
  183. package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +5 -0
  184. package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +7 -0
  185. package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +62 -0
  186. package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +61 -0
  187. package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +7 -0
  188. package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +8 -0
  189. package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +20 -0
  190. package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +45 -0
  191. package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +42 -0
  192. package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +41 -0
  193. package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +8 -0
  194. package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +72 -0
  195. package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +78 -0
  196. package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +53 -0
  197. package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +39 -0
  198. package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +50 -0
  199. package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +255 -0
  200. package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +8 -0
  201. package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +35 -0
  202. package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +33 -0
  203. package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +48 -0
  204. package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +65 -0
  205. package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +6 -0
  206. package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +49 -0
  207. package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +49 -0
  208. package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +4 -0
  209. package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +10 -0
  210. package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +14 -0
  211. package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +26 -0
  212. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +4 -0
  213. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +4 -0
  214. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +9 -0
  215. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +3 -0
  216. package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +3 -0
  217. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +4 -0
  218. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +15 -0
  219. package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +30 -0
  220. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +12 -0
  221. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +6 -0
  222. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +12 -0
  223. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +6 -0
  224. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +24 -0
  225. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +9 -0
  226. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +14 -0
  227. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +4 -0
  228. package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +48 -0
  229. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +38 -0
  230. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +13 -0
  231. package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +41 -0
  232. package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +53 -0
  233. package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +7 -0
  234. package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +14 -0
  235. package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +14 -0
  236. package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +7 -0
  237. package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +69 -0
  238. package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +14 -0
  239. package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +2 -0
  240. package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +3 -0
  241. package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +8 -0
  242. package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +16 -0
  243. package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +15 -0
  244. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +6 -0
  245. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +9 -0
  246. package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +7 -0
  247. package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +88 -0
  248. package/dist/compiled/inquirer/rxjs/internal/types.d.ts +307 -0
  249. package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +19 -0
  250. package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +21 -0
  251. package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +14 -0
  252. package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +17 -0
  253. package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +20 -0
  254. package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +17 -0
  255. package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +16 -0
  256. package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +2 -0
  257. package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +5 -0
  258. package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +11 -0
  259. package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +6 -0
  260. package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +7 -0
  261. package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +11 -0
  262. package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +2 -0
  263. package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +14 -0
  264. package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +5 -0
  265. package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +44 -0
  266. package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +2 -0
  267. package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +2 -0
  268. package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +9 -0
  269. package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +6 -0
  270. package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +4 -0
  271. package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +3 -0
  272. package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +8 -0
  273. package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +6 -0
  274. package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +4 -0
  275. package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +3 -0
  276. package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +15 -0
  277. package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +7 -0
  278. package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +2 -0
  279. package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +2 -0
  280. package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +14 -0
  281. package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +11 -0
  282. package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +7 -0
  283. package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +6 -0
  284. package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +2 -0
  285. package/dist/compiled/inquirer/rxjs/operators/index.d.ts +114 -0
  286. package/dist/compiled/inquirer/rxjs/testing/index.d.ts +2 -0
  287. package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +3 -0
  288. package/dist/compiled/inquirer/types-license +21 -0
  289. package/dist/compiled/js-yaml/index.js +1 -2
  290. package/dist/compiled/js-yaml/index.mjs +1 -2
  291. package/dist/compiled/lodash/index.d.ts +1 -11
  292. package/dist/compiled/minimist/index.js +1 -2
  293. package/dist/compiled/ora/index.js +17 -15
  294. package/dist/compiled/semver/index.js +12 -13
  295. package/dist/compiled/signale/index.js +3 -3
  296. package/dist/compiled/upath/index.js +15 -11
  297. package/dist/compiled/upath/upath.d.ts +2 -2
  298. package/dist/compiled/webpack-chain/index.js +5 -3
  299. package/dist/esm/cli/applyOptionsChain.mjs +1 -1
  300. package/dist/esm/cli/get/config.mjs +1 -1
  301. package/dist/esm/cli/require.mjs +14 -6
  302. package/dist/esm/compiled.mjs +1 -10
  303. package/dist/esm/universal/index.mjs +0 -2
  304. package/dist/esm-node/cli/applyOptionsChain.mjs +1 -1
  305. package/dist/esm-node/cli/get/config.mjs +1 -1
  306. package/dist/esm-node/cli/require.mjs +14 -6
  307. package/dist/esm-node/compiled.mjs +1 -9
  308. package/dist/esm-node/universal/index.mjs +0 -2
  309. package/dist/types/cli/require.d.ts +0 -1
  310. package/dist/types/compiled.d.ts +6 -6
  311. package/dist/types/universal/index.d.ts +0 -2
  312. package/package.json +7 -6
  313. package/rslib.config.mts +2 -0
  314. package/dist/cjs/universal/backend-federation-contract/build-artifact.js +0 -185
  315. package/dist/cjs/universal/backend-federation-contract/constants.js +0 -92
  316. package/dist/cjs/universal/backend-federation-contract/delivery-unit.js +0 -130
  317. package/dist/cjs/universal/backend-federation-contract/index.js +0 -137
  318. package/dist/cjs/universal/backend-federation-contract/metadata.js +0 -133
  319. package/dist/cjs/universal/backend-federation-contract/types.js +0 -18
  320. package/dist/cjs/universal/backend-federation-contract/validation-core.js +0 -85
  321. package/dist/cjs/universal/surface-resolution/env-static-provider.js +0 -318
  322. package/dist/cjs/universal/surface-resolution/index.js +0 -69
  323. package/dist/cjs/universal/surface-resolution/surface-ref.js +0 -132
  324. package/dist/cjs/universal/surface-resolution/types.js +0 -18
  325. package/dist/cjs/universal/surface-resolution/validation.js +0 -202
  326. package/dist/esm/rslib-runtime~1.mjs +0 -12
  327. package/dist/esm/universal/backend-federation-contract/build-artifact.mjs +0 -135
  328. package/dist/esm/universal/backend-federation-contract/constants.mjs +0 -18
  329. package/dist/esm/universal/backend-federation-contract/delivery-unit.mjs +0 -74
  330. package/dist/esm/universal/backend-federation-contract/index.mjs +0 -5
  331. package/dist/esm/universal/backend-federation-contract/metadata.mjs +0 -80
  332. package/dist/esm/universal/backend-federation-contract/types.mjs +0 -0
  333. package/dist/esm/universal/backend-federation-contract/validation-core.mjs +0 -29
  334. package/dist/esm/universal/surface-resolution/env-static-provider.mjs +0 -274
  335. package/dist/esm/universal/surface-resolution/index.mjs +0 -3
  336. package/dist/esm/universal/surface-resolution/surface-ref.mjs +0 -88
  337. package/dist/esm/universal/surface-resolution/types.mjs +0 -0
  338. package/dist/esm/universal/surface-resolution/validation.mjs +0 -155
  339. package/dist/esm-node/universal/backend-federation-contract/build-artifact.mjs +0 -136
  340. package/dist/esm-node/universal/backend-federation-contract/constants.mjs +0 -19
  341. package/dist/esm-node/universal/backend-federation-contract/delivery-unit.mjs +0 -75
  342. package/dist/esm-node/universal/backend-federation-contract/index.mjs +0 -6
  343. package/dist/esm-node/universal/backend-federation-contract/metadata.mjs +0 -81
  344. package/dist/esm-node/universal/backend-federation-contract/types.mjs +0 -1
  345. package/dist/esm-node/universal/backend-federation-contract/validation-core.mjs +0 -30
  346. package/dist/esm-node/universal/surface-resolution/env-static-provider.mjs +0 -275
  347. package/dist/esm-node/universal/surface-resolution/index.mjs +0 -4
  348. package/dist/esm-node/universal/surface-resolution/surface-ref.mjs +0 -89
  349. package/dist/esm-node/universal/surface-resolution/types.mjs +0 -1
  350. package/dist/esm-node/universal/surface-resolution/validation.mjs +0 -156
  351. package/dist/types/universal/backend-federation-contract/build-artifact.d.ts +0 -9
  352. package/dist/types/universal/backend-federation-contract/constants.d.ts +0 -14
  353. package/dist/types/universal/backend-federation-contract/delivery-unit.d.ts +0 -9
  354. package/dist/types/universal/backend-federation-contract/index.d.ts +0 -7
  355. package/dist/types/universal/backend-federation-contract/metadata.d.ts +0 -7
  356. package/dist/types/universal/backend-federation-contract/types.d.ts +0 -60
  357. package/dist/types/universal/backend-federation-contract/validation-core.d.ts +0 -8
  358. package/dist/types/universal/surface-resolution/env-static-provider.d.ts +0 -107
  359. package/dist/types/universal/surface-resolution/index.d.ts +0 -4
  360. package/dist/types/universal/surface-resolution/surface-ref.d.ts +0 -72
  361. package/dist/types/universal/surface-resolution/types.d.ts +0 -102
  362. package/dist/types/universal/surface-resolution/validation.d.ts +0 -53
@@ -0,0 +1,7 @@
1
+ import { ObservableNotification } from '../types';
2
+ export interface TestMessage {
3
+ frame: number;
4
+ notification: ObservableNotification<any>;
5
+ isGhost?: boolean;
6
+ }
7
+ //# sourceMappingURL=TestMessage.d.ts.map
@@ -0,0 +1,88 @@
1
+ import { Observable } from '../Observable';
2
+ import { ColdObservable } from './ColdObservable';
3
+ import { HotObservable } from './HotObservable';
4
+ import { TestMessage } from './TestMessage';
5
+ import { SubscriptionLog } from './SubscriptionLog';
6
+ import { VirtualTimeScheduler } from '../scheduler/VirtualTimeScheduler';
7
+ export interface RunHelpers {
8
+ cold: typeof TestScheduler.prototype.createColdObservable;
9
+ hot: typeof TestScheduler.prototype.createHotObservable;
10
+ flush: typeof TestScheduler.prototype.flush;
11
+ time: typeof TestScheduler.prototype.createTime;
12
+ expectObservable: typeof TestScheduler.prototype.expectObservable;
13
+ expectSubscriptions: typeof TestScheduler.prototype.expectSubscriptions;
14
+ animate: (marbles: string) => void;
15
+ }
16
+ export declare type observableToBeFn = (marbles: string, values?: any, errorValue?: any) => void;
17
+ export declare type subscriptionLogsToBeFn = (marbles: string | string[]) => void;
18
+ export declare class TestScheduler extends VirtualTimeScheduler {
19
+ assertDeepEqual: (actual: any, expected: any) => boolean | void;
20
+ /**
21
+ * The number of virtual time units each character in a marble diagram represents. If
22
+ * the test scheduler is being used in "run mode", via the `run` method, this is temporarily
23
+ * set to `1` for the duration of the `run` block, then set back to whatever value it was.
24
+ */
25
+ static frameTimeFactor: number;
26
+ /**
27
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
28
+ */
29
+ readonly hotObservables: HotObservable<any>[];
30
+ /**
31
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
32
+ */
33
+ readonly coldObservables: ColdObservable<any>[];
34
+ /**
35
+ * Test meta data to be processed during `flush()`
36
+ */
37
+ private flushTests;
38
+ /**
39
+ * Indicates whether the TestScheduler instance is operating in "run mode",
40
+ * meaning it's processing a call to `run()`
41
+ */
42
+ private runMode;
43
+ /**
44
+ *
45
+ * @param assertDeepEqual A function to set up your assertion for your test harness
46
+ */
47
+ constructor(assertDeepEqual: (actual: any, expected: any) => boolean | void);
48
+ createTime(marbles: string): number;
49
+ /**
50
+ * @param marbles A diagram in the marble DSL. Letters map to keys in `values` if provided.
51
+ * @param values Values to use for the letters in `marbles`. If omitted, the letters themselves are used.
52
+ * @param error The error to use for the `#` marble (if present).
53
+ */
54
+ createColdObservable<T = string>(marbles: string, values?: {
55
+ [marble: string]: T;
56
+ }, error?: any): ColdObservable<T>;
57
+ /**
58
+ * @param marbles A diagram in the marble DSL. Letters map to keys in `values` if provided.
59
+ * @param values Values to use for the letters in `marbles`. If omitted, the letters themselves are used.
60
+ * @param error The error to use for the `#` marble (if present).
61
+ */
62
+ createHotObservable<T = string>(marbles: string, values?: {
63
+ [marble: string]: T;
64
+ }, error?: any): HotObservable<T>;
65
+ private materializeInnerObservable;
66
+ expectObservable<T>(observable: Observable<T>, subscriptionMarbles?: string | null): {
67
+ toBe(marbles: string, values?: any, errorValue?: any): void;
68
+ toEqual: (other: Observable<T>) => void;
69
+ };
70
+ expectSubscriptions(actualSubscriptionLogs: SubscriptionLog[]): {
71
+ toBe: subscriptionLogsToBeFn;
72
+ };
73
+ flush(): void;
74
+ static parseMarblesAsSubscriptions(marbles: string | null, runMode?: boolean): SubscriptionLog;
75
+ static parseMarbles(marbles: string, values?: any, errorValue?: any, materializeInnerObservables?: boolean, runMode?: boolean): TestMessage[];
76
+ private createAnimator;
77
+ private createDelegates;
78
+ /**
79
+ * The `run` method performs the test in 'run mode' - in which schedulers
80
+ * used within the test automatically delegate to the `TestScheduler`. That
81
+ * is, in 'run mode' there is no need to explicitly pass a `TestScheduler`
82
+ * instance to observable creators or operators.
83
+ *
84
+ * @see {@link /guide/testing/marble-testing}
85
+ */
86
+ run<T>(callback: (helpers: RunHelpers) => T): T;
87
+ }
88
+ //# sourceMappingURL=TestScheduler.d.ts.map
@@ -0,0 +1,307 @@
1
+ /// <reference lib="esnext.asynciterable" />
2
+ import { Observable } from './Observable';
3
+ import { Subscription } from './Subscription';
4
+ /**
5
+ * Note: This will add Symbol.observable globally for all TypeScript users,
6
+ * however, we are no longer polyfilling Symbol.observable
7
+ */
8
+ declare global {
9
+ interface SymbolConstructor {
10
+ readonly observable: symbol;
11
+ }
12
+ }
13
+ /**
14
+ * A function type interface that describes a function that accepts one parameter `T`
15
+ * and returns another parameter `R`.
16
+ *
17
+ * Usually used to describe {@link OperatorFunction} - it always takes a single
18
+ * parameter (the source Observable) and returns another Observable.
19
+ */
20
+ export interface UnaryFunction<T, R> {
21
+ (source: T): R;
22
+ }
23
+ export interface OperatorFunction<T, R> extends UnaryFunction<Observable<T>, Observable<R>> {
24
+ }
25
+ export declare type FactoryOrValue<T> = T | (() => T);
26
+ /**
27
+ * A function type interface that describes a function that accepts and returns a parameter of the same type.
28
+ *
29
+ * Used to describe {@link OperatorFunction} with the only one type: `OperatorFunction<T, T>`.
30
+ *
31
+ */
32
+ export interface MonoTypeOperatorFunction<T> extends OperatorFunction<T, T> {
33
+ }
34
+ /**
35
+ * A value and the time at which it was emitted.
36
+ *
37
+ * Emitted by the `timestamp` operator
38
+ *
39
+ * @see {@link timestamp}
40
+ */
41
+ export interface Timestamp<T> {
42
+ value: T;
43
+ /**
44
+ * The timestamp. By default, this is in epoch milliseconds.
45
+ * Could vary based on the timestamp provider passed to the operator.
46
+ */
47
+ timestamp: number;
48
+ }
49
+ /**
50
+ * A value emitted and the amount of time since the last value was emitted.
51
+ *
52
+ * Emitted by the `timeInterval` operator.
53
+ *
54
+ * @see {@link timeInterval}
55
+ */
56
+ export interface TimeInterval<T> {
57
+ value: T;
58
+ /**
59
+ * The amount of time between this value's emission and the previous value's emission.
60
+ * If this is the first emitted value, then it will be the amount of time since subscription
61
+ * started.
62
+ */
63
+ interval: number;
64
+ }
65
+ export interface Unsubscribable {
66
+ unsubscribe(): void;
67
+ }
68
+ export declare type TeardownLogic = Subscription | Unsubscribable | (() => void) | void;
69
+ export interface SubscriptionLike extends Unsubscribable {
70
+ unsubscribe(): void;
71
+ readonly closed: boolean;
72
+ }
73
+ /**
74
+ * @deprecated Do not use. Most likely you want to use `ObservableInput`. Will be removed in v8.
75
+ */
76
+ export declare type SubscribableOrPromise<T> = Subscribable<T> | Subscribable<never> | PromiseLike<T> | InteropObservable<T>;
77
+ /** OBSERVABLE INTERFACES */
78
+ export interface Subscribable<T> {
79
+ subscribe(observer: Partial<Observer<T>>): Unsubscribable;
80
+ }
81
+ /**
82
+ * Valid types that can be converted to observables.
83
+ */
84
+ export declare type ObservableInput<T> = Observable<T> | InteropObservable<T> | AsyncIterable<T> | PromiseLike<T> | ArrayLike<T> | Iterable<T> | ReadableStreamLike<T>;
85
+ /**
86
+ * @deprecated Renamed to {@link InteropObservable }. Will be removed in v8.
87
+ */
88
+ export declare type ObservableLike<T> = InteropObservable<T>;
89
+ /**
90
+ * An object that implements the `Symbol.observable` interface.
91
+ */
92
+ export interface InteropObservable<T> {
93
+ [Symbol.observable]: () => Subscribable<T>;
94
+ }
95
+ /**
96
+ * A notification representing a "next" from an observable.
97
+ * Can be used with {@link dematerialize}.
98
+ */
99
+ export interface NextNotification<T> {
100
+ /** The kind of notification. Always "N" */
101
+ kind: 'N';
102
+ /** The value of the notification. */
103
+ value: T;
104
+ }
105
+ /**
106
+ * A notification representing an "error" from an observable.
107
+ * Can be used with {@link dematerialize}.
108
+ */
109
+ export interface ErrorNotification {
110
+ /** The kind of notification. Always "E" */
111
+ kind: 'E';
112
+ error: any;
113
+ }
114
+ /**
115
+ * A notification representing a "completion" from an observable.
116
+ * Can be used with {@link dematerialize}.
117
+ */
118
+ export interface CompleteNotification {
119
+ kind: 'C';
120
+ }
121
+ /**
122
+ * Valid observable notification types.
123
+ */
124
+ export declare type ObservableNotification<T> = NextNotification<T> | ErrorNotification | CompleteNotification;
125
+ export interface NextObserver<T> {
126
+ closed?: boolean;
127
+ next: (value: T) => void;
128
+ error?: (err: any) => void;
129
+ complete?: () => void;
130
+ }
131
+ export interface ErrorObserver<T> {
132
+ closed?: boolean;
133
+ next?: (value: T) => void;
134
+ error: (err: any) => void;
135
+ complete?: () => void;
136
+ }
137
+ export interface CompletionObserver<T> {
138
+ closed?: boolean;
139
+ next?: (value: T) => void;
140
+ error?: (err: any) => void;
141
+ complete: () => void;
142
+ }
143
+ export declare type PartialObserver<T> = NextObserver<T> | ErrorObserver<T> | CompletionObserver<T>;
144
+ /**
145
+ * An object interface that defines a set of callback functions a user can use to get
146
+ * notified of any set of {@link Observable}
147
+ * {@link guide/glossary-and-semantics#notification notification} events.
148
+ *
149
+ * For more info, please refer to {@link guide/observer this guide}.
150
+ */
151
+ export interface Observer<T> {
152
+ /**
153
+ * A callback function that gets called by the producer during the subscription when
154
+ * the producer "has" the `value`. It won't be called if `error` or `complete` callback
155
+ * functions have been called, nor after the consumer has unsubscribed.
156
+ *
157
+ * For more info, please refer to {@link guide/glossary-and-semantics#next this guide}.
158
+ */
159
+ next: (value: T) => void;
160
+ /**
161
+ * A callback function that gets called by the producer if and when it encountered a
162
+ * problem of any kind. The errored value will be provided through the `err` parameter.
163
+ * This callback can't be called more than one time, it can't be called if the
164
+ * `complete` callback function have been called previously, nor it can't be called if
165
+ * the consumer has unsubscribed.
166
+ *
167
+ * For more info, please refer to {@link guide/glossary-and-semantics#error this guide}.
168
+ */
169
+ error: (err: any) => void;
170
+ /**
171
+ * A callback function that gets called by the producer if and when it has no more
172
+ * values to provide (by calling `next` callback function). This means that no error
173
+ * has happened. This callback can't be called more than one time, it can't be called
174
+ * if the `error` callback function have been called previously, nor it can't be called
175
+ * if the consumer has unsubscribed.
176
+ *
177
+ * For more info, please refer to {@link guide/glossary-and-semantics#complete this guide}.
178
+ */
179
+ complete: () => void;
180
+ }
181
+ export interface SubjectLike<T> extends Observer<T>, Subscribable<T> {
182
+ }
183
+ export interface SchedulerLike extends TimestampProvider {
184
+ schedule<T>(work: (this: SchedulerAction<T>, state: T) => void, delay: number, state: T): Subscription;
185
+ schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay: number, state?: T): Subscription;
186
+ schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay?: number, state?: T): Subscription;
187
+ }
188
+ export interface SchedulerAction<T> extends Subscription {
189
+ schedule(state?: T, delay?: number): Subscription;
190
+ }
191
+ /**
192
+ * This is a type that provides a method to allow RxJS to create a numeric timestamp
193
+ */
194
+ export interface TimestampProvider {
195
+ /**
196
+ * Returns a timestamp as a number.
197
+ *
198
+ * This is used by types like `ReplaySubject` or operators like `timestamp` to calculate
199
+ * the amount of time passed between events.
200
+ */
201
+ now(): number;
202
+ }
203
+ /**
204
+ * Extracts the type from an `ObservableInput<any>`. If you have
205
+ * `O extends ObservableInput<any>` and you pass in `Observable<number>`, or
206
+ * `Promise<number>`, etc, it will type as `number`.
207
+ */
208
+ export declare type ObservedValueOf<O> = O extends ObservableInput<infer T> ? T : never;
209
+ /**
210
+ * Extracts a union of element types from an `ObservableInput<any>[]`.
211
+ * If you have `O extends ObservableInput<any>[]` and you pass in
212
+ * `Observable<string>[]` or `Promise<string>[]` you would get
213
+ * back a type of `string`.
214
+ * If you pass in `[Observable<string>, Observable<number>]` you would
215
+ * get back a type of `string | number`.
216
+ */
217
+ export declare type ObservedValueUnionFromArray<X> = X extends Array<ObservableInput<infer T>> ? T : never;
218
+ /**
219
+ * @deprecated Renamed to {@link ObservedValueUnionFromArray}. Will be removed in v8.
220
+ */
221
+ export declare type ObservedValuesFromArray<X> = ObservedValueUnionFromArray<X>;
222
+ /**
223
+ * Extracts a tuple of element types from an `ObservableInput<any>[]`.
224
+ * If you have `O extends ObservableInput<any>[]` and you pass in
225
+ * `[Observable<string>, Observable<number>]` you would get back a type
226
+ * of `[string, number]`.
227
+ */
228
+ export declare type ObservedValueTupleFromArray<X> = {
229
+ [K in keyof X]: ObservedValueOf<X[K]>;
230
+ };
231
+ /**
232
+ * Used to infer types from arguments to functions like {@link forkJoin}.
233
+ * So that you can have `forkJoin([Observable<A>, PromiseLike<B>]): Observable<[A, B]>`
234
+ * et al.
235
+ */
236
+ export declare type ObservableInputTuple<T> = {
237
+ [K in keyof T]: ObservableInput<T[K]>;
238
+ };
239
+ /**
240
+ * Constructs a new tuple with the specified type at the head.
241
+ * If you declare `Cons<A, [B, C]>` you will get back `[A, B, C]`.
242
+ */
243
+ export declare type Cons<X, Y extends readonly any[]> = ((arg: X, ...rest: Y) => any) extends (...args: infer U) => any ? U : never;
244
+ /**
245
+ * Extracts the head of a tuple.
246
+ * If you declare `Head<[A, B, C]>` you will get back `A`.
247
+ */
248
+ export declare type Head<X extends readonly any[]> = ((...args: X) => any) extends (arg: infer U, ...rest: any[]) => any ? U : never;
249
+ /**
250
+ * Extracts the tail of a tuple.
251
+ * If you declare `Tail<[A, B, C]>` you will get back `[B, C]`.
252
+ */
253
+ export declare type Tail<X extends readonly any[]> = ((...args: X) => any) extends (arg: any, ...rest: infer U) => any ? U : never;
254
+ /**
255
+ * Extracts the generic value from an Array type.
256
+ * If you have `T extends Array<any>`, and pass a `string[]` to it,
257
+ * `ValueFromArray<T>` will return the actual type of `string`.
258
+ */
259
+ export declare type ValueFromArray<A extends readonly unknown[]> = A extends Array<infer T> ? T : never;
260
+ /**
261
+ * Gets the value type from an {@link ObservableNotification}, if possible.
262
+ */
263
+ export declare type ValueFromNotification<T> = T extends {
264
+ kind: 'N' | 'E' | 'C';
265
+ } ? T extends NextNotification<any> ? T extends {
266
+ value: infer V;
267
+ } ? V : undefined : never : never;
268
+ /**
269
+ * A simple type to represent a gamut of "falsy" values... with a notable exception:
270
+ * `NaN` is "falsy" however, it is not and cannot be typed via TypeScript. See
271
+ * comments here: https://github.com/microsoft/TypeScript/issues/28682#issuecomment-707142417
272
+ */
273
+ export declare type Falsy = null | undefined | false | 0 | -0 | 0n | '';
274
+ export declare type TruthyTypesOf<T> = T extends Falsy ? never : T;
275
+ interface ReadableStreamDefaultReaderLike<T> {
276
+ read(): PromiseLike<{
277
+ done: false;
278
+ value: T;
279
+ } | {
280
+ done: true;
281
+ value?: undefined;
282
+ }>;
283
+ releaseLock(): void;
284
+ }
285
+ /**
286
+ * The base signature RxJS will look for to identify and use
287
+ * a [ReadableStream](https://streams.spec.whatwg.org/#rs-class)
288
+ * as an {@link ObservableInput} source.
289
+ */
290
+ export interface ReadableStreamLike<T> {
291
+ getReader(): ReadableStreamDefaultReaderLike<T>;
292
+ }
293
+ /**
294
+ * An observable with a `connect` method that is used to create a subscription
295
+ * to an underlying source, connecting it with all consumers via a multicast.
296
+ */
297
+ export interface Connectable<T> extends Observable<T> {
298
+ /**
299
+ * (Idempotent) Calling this method will connect the underlying source observable to all subscribed consumers
300
+ * through an underlying {@link Subject}.
301
+ * @returns A subscription, that when unsubscribed, will "disconnect" the source from the connector subject,
302
+ * severing notifications to all consumers.
303
+ */
304
+ connect(): Subscription;
305
+ }
306
+ export {};
307
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,19 @@
1
+ export interface ArgumentOutOfRangeError extends Error {
2
+ }
3
+ export interface ArgumentOutOfRangeErrorCtor {
4
+ /**
5
+ * @deprecated Internal implementation detail. Do not construct error instances.
6
+ * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
7
+ */
8
+ new (): ArgumentOutOfRangeError;
9
+ }
10
+ /**
11
+ * An error thrown when an element was queried at a certain index of an
12
+ * Observable, but no such index or position exists in that sequence.
13
+ *
14
+ * @see {@link elementAt}
15
+ * @see {@link take}
16
+ * @see {@link takeLast}
17
+ */
18
+ export declare const ArgumentOutOfRangeError: ArgumentOutOfRangeErrorCtor;
19
+ //# sourceMappingURL=ArgumentOutOfRangeError.d.ts.map
@@ -0,0 +1,21 @@
1
+ export interface EmptyError extends Error {
2
+ }
3
+ export interface EmptyErrorCtor {
4
+ /**
5
+ * @deprecated Internal implementation detail. Do not construct error instances.
6
+ * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
7
+ */
8
+ new (): EmptyError;
9
+ }
10
+ /**
11
+ * An error thrown when an Observable or a sequence was queried but has no
12
+ * elements.
13
+ *
14
+ * @see {@link first}
15
+ * @see {@link last}
16
+ * @see {@link single}
17
+ * @see {@link firstValueFrom}
18
+ * @see {@link lastValueFrom}
19
+ */
20
+ export declare const EmptyError: EmptyErrorCtor;
21
+ //# sourceMappingURL=EmptyError.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Helper functions to schedule and unschedule microtasks.
3
+ */
4
+ export declare const Immediate: {
5
+ setImmediate(cb: () => void): number;
6
+ clearImmediate(handle: number): void;
7
+ };
8
+ /**
9
+ * Used for internal testing purposes only. Do not export from library.
10
+ */
11
+ export declare const TestTools: {
12
+ pending(): number;
13
+ };
14
+ //# sourceMappingURL=Immediate.d.ts.map
@@ -0,0 +1,17 @@
1
+ export interface NotFoundError extends Error {
2
+ }
3
+ export interface NotFoundErrorCtor {
4
+ /**
5
+ * @deprecated Internal implementation detail. Do not construct error instances.
6
+ * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
7
+ */
8
+ new (message: string): NotFoundError;
9
+ }
10
+ /**
11
+ * An error thrown when a value or values are missing from an
12
+ * observable sequence.
13
+ *
14
+ * @see {@link operators/single}
15
+ */
16
+ export declare const NotFoundError: NotFoundErrorCtor;
17
+ //# sourceMappingURL=NotFoundError.d.ts.map
@@ -0,0 +1,20 @@
1
+ export interface ObjectUnsubscribedError extends Error {
2
+ }
3
+ export interface ObjectUnsubscribedErrorCtor {
4
+ /**
5
+ * @deprecated Internal implementation detail. Do not construct error instances.
6
+ * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
7
+ */
8
+ new (): ObjectUnsubscribedError;
9
+ }
10
+ /**
11
+ * An error thrown when an action is invalid because the object has been
12
+ * unsubscribed.
13
+ *
14
+ * @see {@link Subject}
15
+ * @see {@link BehaviorSubject}
16
+ *
17
+ * @class ObjectUnsubscribedError
18
+ */
19
+ export declare const ObjectUnsubscribedError: ObjectUnsubscribedErrorCtor;
20
+ //# sourceMappingURL=ObjectUnsubscribedError.d.ts.map
@@ -0,0 +1,17 @@
1
+ export interface SequenceError extends Error {
2
+ }
3
+ export interface SequenceErrorCtor {
4
+ /**
5
+ * @deprecated Internal implementation detail. Do not construct error instances.
6
+ * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
7
+ */
8
+ new (message: string): SequenceError;
9
+ }
10
+ /**
11
+ * An error thrown when something is wrong with the sequence of
12
+ * values arriving on the observable.
13
+ *
14
+ * @see {@link operators/single}
15
+ */
16
+ export declare const SequenceError: SequenceErrorCtor;
17
+ //# sourceMappingURL=SequenceError.d.ts.map
@@ -0,0 +1,16 @@
1
+ export interface UnsubscriptionError extends Error {
2
+ readonly errors: any[];
3
+ }
4
+ export interface UnsubscriptionErrorCtor {
5
+ /**
6
+ * @deprecated Internal implementation detail. Do not construct error instances.
7
+ * Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
8
+ */
9
+ new (errors: any[]): UnsubscriptionError;
10
+ }
11
+ /**
12
+ * An error thrown when one or more errors have occurred during the
13
+ * `unsubscribe` of a {@link Subscription}.
14
+ */
15
+ export declare const UnsubscriptionError: UnsubscriptionErrorCtor;
16
+ //# sourceMappingURL=UnsubscriptionError.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function applyMixins(derivedCtor: any, baseCtors: any[]): void;
2
+ //# sourceMappingURL=applyMixins.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { SchedulerLike } from '../types';
2
+ export declare function popResultSelector(args: any[]): ((...args: unknown[]) => unknown) | undefined;
3
+ export declare function popScheduler(args: any[]): SchedulerLike | undefined;
4
+ export declare function popNumber(args: any[], defaultValue: number): number;
5
+ //# sourceMappingURL=args.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Used in functions where either a list of arguments, a single array of arguments, or a
3
+ * dictionary of arguments can be returned. Returns an object with an `args` property with
4
+ * the arguments in an array, if it is a dictionary, it will also return the `keys` in another
5
+ * property.
6
+ */
7
+ export declare function argsArgArrayOrObject<T, O extends Record<string, T>>(args: T[] | [O] | [T[]]): {
8
+ args: T[];
9
+ keys: string[] | null;
10
+ };
11
+ //# sourceMappingURL=argsArgArrayOrObject.d.ts.map
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Used in operators and functions that accept either a list of arguments, or an array of arguments
3
+ * as a single argument.
4
+ */
5
+ export declare function argsOrArgArray<T>(args: (T | T[])[]): T[];
6
+ //# sourceMappingURL=argsOrArgArray.d.ts.map
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Removes an item from an array, mutating it.
3
+ * @param arr The array to remove the item from
4
+ * @param item The item to remove
5
+ */
6
+ export declare function arrRemove<T>(arr: T[] | undefined | null, item: T): void;
7
+ //# sourceMappingURL=arrRemove.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Used to create Error subclasses until the community moves away from ES5.
3
+ *
4
+ * This is because compiling from TypeScript down to ES5 has issues with subclassing Errors
5
+ * as well as other built-in types: https://github.com/Microsoft/TypeScript/issues/12123
6
+ *
7
+ * @param createImpl A factory function to create the actual constructor implementation. The returned
8
+ * function should be a named function that calls `_super` internally.
9
+ */
10
+ export declare function createErrorClass<T>(createImpl: (_super: any) => any): T;
11
+ //# sourceMappingURL=createErrorClass.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function createObject(keys: string[], values: any[]): any;
2
+ //# sourceMappingURL=createObject.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Handles dealing with errors for super-gross mode. Creates a context, in which
3
+ * any synchronously thrown errors will be passed to {@link captureError}. Which
4
+ * will record the error such that it will be rethrown after the call back is complete.
5
+ * TODO: Remove in v8
6
+ * @param cb An immediately executed function.
7
+ */
8
+ export declare function errorContext(cb: () => void): void;
9
+ /**
10
+ * Captures errors only in super-gross mode.
11
+ * @param err the error to capture
12
+ */
13
+ export declare function captureError(err: any): void;
14
+ //# sourceMappingURL=errorContext.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { Subscription } from '../Subscription';
2
+ import { SchedulerLike } from '../types';
3
+ export declare function executeSchedule(parentSubscription: Subscription, scheduler: SchedulerLike, work: () => void, delay: number, repeat: true): void;
4
+ export declare function executeSchedule(parentSubscription: Subscription, scheduler: SchedulerLike, work: () => void, delay?: number, repeat?: false): Subscription;
5
+ //# sourceMappingURL=executeSchedule.d.ts.map
@@ -0,0 +1,44 @@
1
+ /**
2
+ * This function takes one parameter and just returns it. Simply put,
3
+ * this is like `<T>(x: T): T => x`.
4
+ *
5
+ * ## Examples
6
+ *
7
+ * This is useful in some cases when using things like `mergeMap`
8
+ *
9
+ * ```ts
10
+ * import { interval, take, map, range, mergeMap, identity } from '../..';
11
+ *
12
+ * const source$ = interval(1000).pipe(take(5));
13
+ *
14
+ * const result$ = source$.pipe(
15
+ * map(i => range(i)),
16
+ * mergeMap(identity) // same as mergeMap(x => x)
17
+ * );
18
+ *
19
+ * result$.subscribe({
20
+ * next: console.log
21
+ * });
22
+ * ```
23
+ *
24
+ * Or when you want to selectively apply an operator
25
+ *
26
+ * ```ts
27
+ * import { interval, take, identity } from '../..';
28
+ *
29
+ * const shouldLimit = () => Math.random() < 0.5;
30
+ *
31
+ * const source$ = interval(1000);
32
+ *
33
+ * const result$ = source$.pipe(shouldLimit() ? take(5) : identity);
34
+ *
35
+ * result$.subscribe({
36
+ * next: console.log
37
+ * });
38
+ * ```
39
+ *
40
+ * @param x Any value that is returned by this function
41
+ * @returns The value passed as the first parameter to this function
42
+ */
43
+ export declare function identity<T>(x: T): T;
44
+ //# sourceMappingURL=identity.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const isArrayLike: <T>(x: any) => x is ArrayLike<T>;
2
+ //# sourceMappingURL=isArrayLike.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function isAsyncIterable<T>(obj: any): obj is AsyncIterable<T>;
2
+ //# sourceMappingURL=isAsyncIterable.d.ts.map