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

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 (361) 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/universal/index.d.ts +0 -2
  311. package/package.json +7 -6
  312. package/rslib.config.mts +2 -0
  313. package/dist/cjs/universal/backend-federation-contract/build-artifact.js +0 -185
  314. package/dist/cjs/universal/backend-federation-contract/constants.js +0 -92
  315. package/dist/cjs/universal/backend-federation-contract/delivery-unit.js +0 -130
  316. package/dist/cjs/universal/backend-federation-contract/index.js +0 -137
  317. package/dist/cjs/universal/backend-federation-contract/metadata.js +0 -133
  318. package/dist/cjs/universal/backend-federation-contract/types.js +0 -18
  319. package/dist/cjs/universal/backend-federation-contract/validation-core.js +0 -85
  320. package/dist/cjs/universal/surface-resolution/env-static-provider.js +0 -318
  321. package/dist/cjs/universal/surface-resolution/index.js +0 -69
  322. package/dist/cjs/universal/surface-resolution/surface-ref.js +0 -132
  323. package/dist/cjs/universal/surface-resolution/types.js +0 -18
  324. package/dist/cjs/universal/surface-resolution/validation.js +0 -202
  325. package/dist/esm/rslib-runtime~1.mjs +0 -12
  326. package/dist/esm/universal/backend-federation-contract/build-artifact.mjs +0 -135
  327. package/dist/esm/universal/backend-federation-contract/constants.mjs +0 -18
  328. package/dist/esm/universal/backend-federation-contract/delivery-unit.mjs +0 -74
  329. package/dist/esm/universal/backend-federation-contract/index.mjs +0 -5
  330. package/dist/esm/universal/backend-federation-contract/metadata.mjs +0 -80
  331. package/dist/esm/universal/backend-federation-contract/types.mjs +0 -0
  332. package/dist/esm/universal/backend-federation-contract/validation-core.mjs +0 -29
  333. package/dist/esm/universal/surface-resolution/env-static-provider.mjs +0 -274
  334. package/dist/esm/universal/surface-resolution/index.mjs +0 -3
  335. package/dist/esm/universal/surface-resolution/surface-ref.mjs +0 -88
  336. package/dist/esm/universal/surface-resolution/types.mjs +0 -0
  337. package/dist/esm/universal/surface-resolution/validation.mjs +0 -155
  338. package/dist/esm-node/universal/backend-federation-contract/build-artifact.mjs +0 -136
  339. package/dist/esm-node/universal/backend-federation-contract/constants.mjs +0 -19
  340. package/dist/esm-node/universal/backend-federation-contract/delivery-unit.mjs +0 -75
  341. package/dist/esm-node/universal/backend-federation-contract/index.mjs +0 -6
  342. package/dist/esm-node/universal/backend-federation-contract/metadata.mjs +0 -81
  343. package/dist/esm-node/universal/backend-federation-contract/types.mjs +0 -1
  344. package/dist/esm-node/universal/backend-federation-contract/validation-core.mjs +0 -30
  345. package/dist/esm-node/universal/surface-resolution/env-static-provider.mjs +0 -275
  346. package/dist/esm-node/universal/surface-resolution/index.mjs +0 -4
  347. package/dist/esm-node/universal/surface-resolution/surface-ref.mjs +0 -89
  348. package/dist/esm-node/universal/surface-resolution/types.mjs +0 -1
  349. package/dist/esm-node/universal/surface-resolution/validation.mjs +0 -156
  350. package/dist/types/universal/backend-federation-contract/build-artifact.d.ts +0 -9
  351. package/dist/types/universal/backend-federation-contract/constants.d.ts +0 -14
  352. package/dist/types/universal/backend-federation-contract/delivery-unit.d.ts +0 -9
  353. package/dist/types/universal/backend-federation-contract/index.d.ts +0 -7
  354. package/dist/types/universal/backend-federation-contract/metadata.d.ts +0 -7
  355. package/dist/types/universal/backend-federation-contract/types.d.ts +0 -60
  356. package/dist/types/universal/backend-federation-contract/validation-core.d.ts +0 -8
  357. package/dist/types/universal/surface-resolution/env-static-provider.d.ts +0 -107
  358. package/dist/types/universal/surface-resolution/index.d.ts +0 -4
  359. package/dist/types/universal/surface-resolution/surface-ref.d.ts +0 -72
  360. package/dist/types/universal/surface-resolution/types.d.ts +0 -102
  361. package/dist/types/universal/surface-resolution/validation.d.ts +0 -53
@@ -0,0 +1,173 @@
1
+ /// <reference path="operators/index.d.ts" />
2
+ /// <reference path="testing/index.d.ts" />
3
+ export { Observable } from './internal/Observable';
4
+ export { ConnectableObservable } from './internal/observable/ConnectableObservable';
5
+ export { GroupedObservable } from './internal/operators/groupBy';
6
+ export { Operator } from './internal/Operator';
7
+ export { observable } from './internal/symbol/observable';
8
+ export { animationFrames } from './internal/observable/dom/animationFrames';
9
+ export { Subject } from './internal/Subject';
10
+ export { BehaviorSubject } from './internal/BehaviorSubject';
11
+ export { ReplaySubject } from './internal/ReplaySubject';
12
+ export { AsyncSubject } from './internal/AsyncSubject';
13
+ export { asap, asapScheduler } from './internal/scheduler/asap';
14
+ export { async, asyncScheduler } from './internal/scheduler/async';
15
+ export { queue, queueScheduler } from './internal/scheduler/queue';
16
+ export { animationFrame, animationFrameScheduler } from './internal/scheduler/animationFrame';
17
+ export { VirtualTimeScheduler, VirtualAction } from './internal/scheduler/VirtualTimeScheduler';
18
+ export { Scheduler } from './internal/Scheduler';
19
+ export { Subscription } from './internal/Subscription';
20
+ export { Subscriber } from './internal/Subscriber';
21
+ export { Notification, NotificationKind } from './internal/Notification';
22
+ export { pipe } from './internal/util/pipe';
23
+ export { noop } from './internal/util/noop';
24
+ export { identity } from './internal/util/identity';
25
+ export { isObservable } from './internal/util/isObservable';
26
+ export { lastValueFrom } from './internal/lastValueFrom';
27
+ export { firstValueFrom } from './internal/firstValueFrom';
28
+ export { ArgumentOutOfRangeError } from './internal/util/ArgumentOutOfRangeError';
29
+ export { EmptyError } from './internal/util/EmptyError';
30
+ export { NotFoundError } from './internal/util/NotFoundError';
31
+ export { ObjectUnsubscribedError } from './internal/util/ObjectUnsubscribedError';
32
+ export { SequenceError } from './internal/util/SequenceError';
33
+ export { TimeoutError } from './internal/operators/timeout';
34
+ export { UnsubscriptionError } from './internal/util/UnsubscriptionError';
35
+ export { bindCallback } from './internal/observable/bindCallback';
36
+ export { bindNodeCallback } from './internal/observable/bindNodeCallback';
37
+ export { combineLatest } from './internal/observable/combineLatest';
38
+ export { concat } from './internal/observable/concat';
39
+ export { connectable } from './internal/observable/connectable';
40
+ export { defer } from './internal/observable/defer';
41
+ export { empty } from './internal/observable/empty';
42
+ export { forkJoin } from './internal/observable/forkJoin';
43
+ export { from } from './internal/observable/from';
44
+ export { fromEvent } from './internal/observable/fromEvent';
45
+ export { fromEventPattern } from './internal/observable/fromEventPattern';
46
+ export { generate } from './internal/observable/generate';
47
+ export { iif } from './internal/observable/iif';
48
+ export { interval } from './internal/observable/interval';
49
+ export { merge } from './internal/observable/merge';
50
+ export { never } from './internal/observable/never';
51
+ export { of } from './internal/observable/of';
52
+ export { onErrorResumeNext } from './internal/observable/onErrorResumeNext';
53
+ export { pairs } from './internal/observable/pairs';
54
+ export { partition } from './internal/observable/partition';
55
+ export { race } from './internal/observable/race';
56
+ export { range } from './internal/observable/range';
57
+ export { throwError } from './internal/observable/throwError';
58
+ export { timer } from './internal/observable/timer';
59
+ export { using } from './internal/observable/using';
60
+ export { zip } from './internal/observable/zip';
61
+ export { scheduled } from './internal/scheduled/scheduled';
62
+ export { EMPTY } from './internal/observable/empty';
63
+ export { NEVER } from './internal/observable/never';
64
+ export * from './internal/types';
65
+ export { config, GlobalConfig } from './internal/config';
66
+ export { audit } from './internal/operators/audit';
67
+ export { auditTime } from './internal/operators/auditTime';
68
+ export { buffer } from './internal/operators/buffer';
69
+ export { bufferCount } from './internal/operators/bufferCount';
70
+ export { bufferTime } from './internal/operators/bufferTime';
71
+ export { bufferToggle } from './internal/operators/bufferToggle';
72
+ export { bufferWhen } from './internal/operators/bufferWhen';
73
+ export { catchError } from './internal/operators/catchError';
74
+ export { combineAll } from './internal/operators/combineAll';
75
+ export { combineLatestAll } from './internal/operators/combineLatestAll';
76
+ export { combineLatestWith } from './internal/operators/combineLatestWith';
77
+ export { concatAll } from './internal/operators/concatAll';
78
+ export { concatMap } from './internal/operators/concatMap';
79
+ export { concatMapTo } from './internal/operators/concatMapTo';
80
+ export { concatWith } from './internal/operators/concatWith';
81
+ export { connect, ConnectConfig } from './internal/operators/connect';
82
+ export { count } from './internal/operators/count';
83
+ export { debounce } from './internal/operators/debounce';
84
+ export { debounceTime } from './internal/operators/debounceTime';
85
+ export { defaultIfEmpty } from './internal/operators/defaultIfEmpty';
86
+ export { delay } from './internal/operators/delay';
87
+ export { delayWhen } from './internal/operators/delayWhen';
88
+ export { dematerialize } from './internal/operators/dematerialize';
89
+ export { distinct } from './internal/operators/distinct';
90
+ export { distinctUntilChanged } from './internal/operators/distinctUntilChanged';
91
+ export { distinctUntilKeyChanged } from './internal/operators/distinctUntilKeyChanged';
92
+ export { elementAt } from './internal/operators/elementAt';
93
+ export { endWith } from './internal/operators/endWith';
94
+ export { every } from './internal/operators/every';
95
+ export { exhaust } from './internal/operators/exhaust';
96
+ export { exhaustAll } from './internal/operators/exhaustAll';
97
+ export { exhaustMap } from './internal/operators/exhaustMap';
98
+ export { expand } from './internal/operators/expand';
99
+ export { filter } from './internal/operators/filter';
100
+ export { finalize } from './internal/operators/finalize';
101
+ export { find } from './internal/operators/find';
102
+ export { findIndex } from './internal/operators/findIndex';
103
+ export { first } from './internal/operators/first';
104
+ export { groupBy, BasicGroupByOptions, GroupByOptionsWithElement } from './internal/operators/groupBy';
105
+ export { ignoreElements } from './internal/operators/ignoreElements';
106
+ export { isEmpty } from './internal/operators/isEmpty';
107
+ export { last } from './internal/operators/last';
108
+ export { map } from './internal/operators/map';
109
+ export { mapTo } from './internal/operators/mapTo';
110
+ export { materialize } from './internal/operators/materialize';
111
+ export { max } from './internal/operators/max';
112
+ export { mergeAll } from './internal/operators/mergeAll';
113
+ export { flatMap } from './internal/operators/flatMap';
114
+ export { mergeMap } from './internal/operators/mergeMap';
115
+ export { mergeMapTo } from './internal/operators/mergeMapTo';
116
+ export { mergeScan } from './internal/operators/mergeScan';
117
+ export { mergeWith } from './internal/operators/mergeWith';
118
+ export { min } from './internal/operators/min';
119
+ export { multicast } from './internal/operators/multicast';
120
+ export { observeOn } from './internal/operators/observeOn';
121
+ export { onErrorResumeNextWith } from './internal/operators/onErrorResumeNextWith';
122
+ export { pairwise } from './internal/operators/pairwise';
123
+ export { pluck } from './internal/operators/pluck';
124
+ export { publish } from './internal/operators/publish';
125
+ export { publishBehavior } from './internal/operators/publishBehavior';
126
+ export { publishLast } from './internal/operators/publishLast';
127
+ export { publishReplay } from './internal/operators/publishReplay';
128
+ export { raceWith } from './internal/operators/raceWith';
129
+ export { reduce } from './internal/operators/reduce';
130
+ export { repeat, RepeatConfig } from './internal/operators/repeat';
131
+ export { repeatWhen } from './internal/operators/repeatWhen';
132
+ export { retry, RetryConfig } from './internal/operators/retry';
133
+ export { retryWhen } from './internal/operators/retryWhen';
134
+ export { refCount } from './internal/operators/refCount';
135
+ export { sample } from './internal/operators/sample';
136
+ export { sampleTime } from './internal/operators/sampleTime';
137
+ export { scan } from './internal/operators/scan';
138
+ export { sequenceEqual } from './internal/operators/sequenceEqual';
139
+ export { share, ShareConfig } from './internal/operators/share';
140
+ export { shareReplay, ShareReplayConfig } from './internal/operators/shareReplay';
141
+ export { single } from './internal/operators/single';
142
+ export { skip } from './internal/operators/skip';
143
+ export { skipLast } from './internal/operators/skipLast';
144
+ export { skipUntil } from './internal/operators/skipUntil';
145
+ export { skipWhile } from './internal/operators/skipWhile';
146
+ export { startWith } from './internal/operators/startWith';
147
+ export { subscribeOn } from './internal/operators/subscribeOn';
148
+ export { switchAll } from './internal/operators/switchAll';
149
+ export { switchMap } from './internal/operators/switchMap';
150
+ export { switchMapTo } from './internal/operators/switchMapTo';
151
+ export { switchScan } from './internal/operators/switchScan';
152
+ export { take } from './internal/operators/take';
153
+ export { takeLast } from './internal/operators/takeLast';
154
+ export { takeUntil } from './internal/operators/takeUntil';
155
+ export { takeWhile } from './internal/operators/takeWhile';
156
+ export { tap, TapObserver } from './internal/operators/tap';
157
+ export { throttle, ThrottleConfig } from './internal/operators/throttle';
158
+ export { throttleTime } from './internal/operators/throttleTime';
159
+ export { throwIfEmpty } from './internal/operators/throwIfEmpty';
160
+ export { timeInterval } from './internal/operators/timeInterval';
161
+ export { timeout, TimeoutConfig, TimeoutInfo } from './internal/operators/timeout';
162
+ export { timeoutWith } from './internal/operators/timeoutWith';
163
+ export { timestamp } from './internal/operators/timestamp';
164
+ export { toArray } from './internal/operators/toArray';
165
+ export { window } from './internal/operators/window';
166
+ export { windowCount } from './internal/operators/windowCount';
167
+ export { windowTime } from './internal/operators/windowTime';
168
+ export { windowToggle } from './internal/operators/windowToggle';
169
+ export { windowWhen } from './internal/operators/windowWhen';
170
+ export { withLatestFrom } from './internal/operators/withLatestFrom';
171
+ export { zipAll } from './internal/operators/zipAll';
172
+ export { zipWith } from './internal/operators/zipWith';
173
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ declare const anyCatcherSymbol: unique symbol;
2
+ /**
3
+ * This is just a type that we're using to identify `any` being passed to
4
+ * function overloads. This is used because of situations like {@link forkJoin},
5
+ * where it could return an `Observable<T[]>` or an `Observable<{ [key: K]: T }>`,
6
+ * so `forkJoin(any)` would mean we need to return `Observable<unknown>`.
7
+ */
8
+ export declare type AnyCatcher = typeof anyCatcherSymbol;
9
+ export {};
10
+ //# sourceMappingURL=AnyCatcher.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Subject } from './Subject';
2
+ /**
3
+ * A variant of Subject that only emits a value when it completes. It will emit
4
+ * its latest value to all its observers on completion.
5
+ */
6
+ export declare class AsyncSubject<T> extends Subject<T> {
7
+ private _value;
8
+ private _hasValue;
9
+ private _isComplete;
10
+ next(value: T): void;
11
+ complete(): void;
12
+ }
13
+ //# sourceMappingURL=AsyncSubject.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Subject } from './Subject';
2
+ /**
3
+ * A variant of Subject that requires an initial value and emits its current
4
+ * value whenever it is subscribed to.
5
+ */
6
+ export declare class BehaviorSubject<T> extends Subject<T> {
7
+ private _value;
8
+ constructor(_value: T);
9
+ get value(): T;
10
+ getValue(): T;
11
+ next(value: T): void;
12
+ }
13
+ //# sourceMappingURL=BehaviorSubject.d.ts.map
@@ -0,0 +1,175 @@
1
+ import { PartialObserver, ObservableNotification, CompleteNotification, NextNotification, ErrorNotification } from './types';
2
+ import { Observable } from './Observable';
3
+ /**
4
+ * @deprecated Use a string literal instead. `NotificationKind` will be replaced with a type alias in v8.
5
+ * It will not be replaced with a const enum as those are not compatible with isolated modules.
6
+ */
7
+ export declare enum NotificationKind {
8
+ NEXT = "N",
9
+ ERROR = "E",
10
+ COMPLETE = "C"
11
+ }
12
+ /**
13
+ * Represents a push-based event or value that an {@link Observable} can emit.
14
+ * This class is particularly useful for operators that manage notifications,
15
+ * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and
16
+ * others. Besides wrapping the actual delivered value, it also annotates it
17
+ * with metadata of, for instance, what type of push message it is (`next`,
18
+ * `error`, or `complete`).
19
+ *
20
+ * @see {@link materialize}
21
+ * @see {@link dematerialize}
22
+ * @see {@link observeOn}
23
+ * @deprecated It is NOT recommended to create instances of `Notification` directly.
24
+ * Rather, try to create POJOs matching the signature outlined in {@link ObservableNotification}.
25
+ * For example: `{ kind: 'N', value: 1 }`, `{ kind: 'E', error: new Error('bad') }`, or `{ kind: 'C' }`.
26
+ * Will be removed in v8.
27
+ */
28
+ export declare class Notification<T> {
29
+ readonly kind: 'N' | 'E' | 'C';
30
+ readonly value?: T | undefined;
31
+ readonly error?: any;
32
+ /**
33
+ * A value signifying that the notification will "next" if observed. In truth,
34
+ * This is really synonymous with just checking `kind === "N"`.
35
+ * @deprecated Will be removed in v8. Instead, just check to see if the value of `kind` is `"N"`.
36
+ */
37
+ readonly hasValue: boolean;
38
+ /**
39
+ * Creates a "Next" notification object.
40
+ * @param kind Always `'N'`
41
+ * @param value The value to notify with if observed.
42
+ * @deprecated Internal implementation detail. Use {@link Notification#createNext createNext} instead.
43
+ */
44
+ constructor(kind: 'N', value?: T);
45
+ /**
46
+ * Creates an "Error" notification object.
47
+ * @param kind Always `'E'`
48
+ * @param value Always `undefined`
49
+ * @param error The error to notify with if observed.
50
+ * @deprecated Internal implementation detail. Use {@link Notification#createError createError} instead.
51
+ */
52
+ constructor(kind: 'E', value: undefined, error: any);
53
+ /**
54
+ * Creates a "completion" notification object.
55
+ * @param kind Always `'C'`
56
+ * @deprecated Internal implementation detail. Use {@link Notification#createComplete createComplete} instead.
57
+ */
58
+ constructor(kind: 'C');
59
+ /**
60
+ * Executes the appropriate handler on a passed `observer` given the `kind` of notification.
61
+ * If the handler is missing it will do nothing. Even if the notification is an error, if
62
+ * there is no error handler on the observer, an error will not be thrown, it will noop.
63
+ * @param observer The observer to notify.
64
+ */
65
+ observe(observer: PartialObserver<T>): void;
66
+ /**
67
+ * Executes a notification on the appropriate handler from a list provided.
68
+ * If a handler is missing for the kind of notification, nothing is called
69
+ * and no error is thrown, it will be a noop.
70
+ * @param next A next handler
71
+ * @param error An error handler
72
+ * @param complete A complete handler
73
+ * @deprecated Replaced with {@link Notification#observe observe}. Will be removed in v8.
74
+ */
75
+ do(next: (value: T) => void, error: (err: any) => void, complete: () => void): void;
76
+ /**
77
+ * Executes a notification on the appropriate handler from a list provided.
78
+ * If a handler is missing for the kind of notification, nothing is called
79
+ * and no error is thrown, it will be a noop.
80
+ * @param next A next handler
81
+ * @param error An error handler
82
+ * @deprecated Replaced with {@link Notification#observe observe}. Will be removed in v8.
83
+ */
84
+ do(next: (value: T) => void, error: (err: any) => void): void;
85
+ /**
86
+ * Executes the next handler if the Notification is of `kind` `"N"`. Otherwise
87
+ * this will not error, and it will be a noop.
88
+ * @param next The next handler
89
+ * @deprecated Replaced with {@link Notification#observe observe}. Will be removed in v8.
90
+ */
91
+ do(next: (value: T) => void): void;
92
+ /**
93
+ * Executes a notification on the appropriate handler from a list provided.
94
+ * If a handler is missing for the kind of notification, nothing is called
95
+ * and no error is thrown, it will be a noop.
96
+ * @param next A next handler
97
+ * @param error An error handler
98
+ * @param complete A complete handler
99
+ * @deprecated Replaced with {@link Notification#observe observe}. Will be removed in v8.
100
+ */
101
+ accept(next: (value: T) => void, error: (err: any) => void, complete: () => void): void;
102
+ /**
103
+ * Executes a notification on the appropriate handler from a list provided.
104
+ * If a handler is missing for the kind of notification, nothing is called
105
+ * and no error is thrown, it will be a noop.
106
+ * @param next A next handler
107
+ * @param error An error handler
108
+ * @deprecated Replaced with {@link Notification#observe observe}. Will be removed in v8.
109
+ */
110
+ accept(next: (value: T) => void, error: (err: any) => void): void;
111
+ /**
112
+ * Executes the next handler if the Notification is of `kind` `"N"`. Otherwise
113
+ * this will not error, and it will be a noop.
114
+ * @param next The next handler
115
+ * @deprecated Replaced with {@link Notification#observe observe}. Will be removed in v8.
116
+ */
117
+ accept(next: (value: T) => void): void;
118
+ /**
119
+ * Executes the appropriate handler on a passed `observer` given the `kind` of notification.
120
+ * If the handler is missing it will do nothing. Even if the notification is an error, if
121
+ * there is no error handler on the observer, an error will not be thrown, it will noop.
122
+ * @param observer The observer to notify.
123
+ * @deprecated Replaced with {@link Notification#observe observe}. Will be removed in v8.
124
+ */
125
+ accept(observer: PartialObserver<T>): void;
126
+ /**
127
+ * Returns a simple Observable that just delivers the notification represented
128
+ * by this Notification instance.
129
+ *
130
+ * @deprecated Will be removed in v8. To convert a `Notification` to an {@link Observable},
131
+ * use {@link of} and {@link dematerialize}: `of(notification).pipe(dematerialize())`.
132
+ */
133
+ toObservable(): Observable<T>;
134
+ private static completeNotification;
135
+ /**
136
+ * A shortcut to create a Notification instance of the type `next` from a
137
+ * given value.
138
+ * @param value The `next` value.
139
+ * @return The "next" Notification representing the argument.
140
+ * @deprecated It is NOT recommended to create instances of `Notification` directly.
141
+ * Rather, try to create POJOs matching the signature outlined in {@link ObservableNotification}.
142
+ * For example: `{ kind: 'N', value: 1 }`, `{ kind: 'E', error: new Error('bad') }`, or `{ kind: 'C' }`.
143
+ * Will be removed in v8.
144
+ */
145
+ static createNext<T>(value: T): Notification<T> & NextNotification<T>;
146
+ /**
147
+ * A shortcut to create a Notification instance of the type `error` from a
148
+ * given error.
149
+ * @param err The `error` error.
150
+ * @return The "error" Notification representing the argument.
151
+ * @deprecated It is NOT recommended to create instances of `Notification` directly.
152
+ * Rather, try to create POJOs matching the signature outlined in {@link ObservableNotification}.
153
+ * For example: `{ kind: 'N', value: 1 }`, `{ kind: 'E', error: new Error('bad') }`, or `{ kind: 'C' }`.
154
+ * Will be removed in v8.
155
+ */
156
+ static createError(err?: any): Notification<never> & ErrorNotification;
157
+ /**
158
+ * A shortcut to create a Notification instance of the type `complete`.
159
+ * @return The valueless "complete" Notification.
160
+ * @deprecated It is NOT recommended to create instances of `Notification` directly.
161
+ * Rather, try to create POJOs matching the signature outlined in {@link ObservableNotification}.
162
+ * For example: `{ kind: 'N', value: 1 }`, `{ kind: 'E', error: new Error('bad') }`, or `{ kind: 'C' }`.
163
+ * Will be removed in v8.
164
+ */
165
+ static createComplete(): Notification<never> & CompleteNotification;
166
+ }
167
+ /**
168
+ * Executes the appropriate handler on a passed `observer` given the `kind` of notification.
169
+ * If the handler is missing it will do nothing. Even if the notification is an error, if
170
+ * there is no error handler on the observer, an error will not be thrown, it will noop.
171
+ * @param notification The notification object to observe.
172
+ * @param observer The observer to notify.
173
+ */
174
+ export declare function observeNotification<T>(notification: ObservableNotification<T>, observer: PartialObserver<T>): void;
175
+ //# sourceMappingURL=Notification.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=NotificationFactories.d.ts.map
@@ -0,0 +1,121 @@
1
+ import { Operator } from './Operator';
2
+ import { Subscriber } from './Subscriber';
3
+ import { Subscription } from './Subscription';
4
+ import { TeardownLogic, OperatorFunction, Subscribable, Observer } from './types';
5
+ /**
6
+ * A representation of any set of values over any amount of time. This is the most basic building block
7
+ * of RxJS.
8
+ */
9
+ export declare class Observable<T> implements Subscribable<T> {
10
+ /**
11
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
12
+ */
13
+ source: Observable<any> | undefined;
14
+ /**
15
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
16
+ */
17
+ operator: Operator<any, T> | undefined;
18
+ /**
19
+ * @param subscribe The function that is called when the Observable is
20
+ * initially subscribed to. This function is given a Subscriber, to which new values
21
+ * can be `next`ed, or an `error` method can be called to raise an error, or
22
+ * `complete` can be called to notify of a successful completion.
23
+ */
24
+ constructor(subscribe?: (this: Observable<T>, subscriber: Subscriber<T>) => TeardownLogic);
25
+ /**
26
+ * Creates a new Observable by calling the Observable constructor
27
+ * @param subscribe the subscriber function to be passed to the Observable constructor
28
+ * @return A new observable.
29
+ * @deprecated Use `new Observable()` instead. Will be removed in v8.
30
+ */
31
+ static create: (...args: any[]) => any;
32
+ /**
33
+ * Creates a new Observable, with this Observable instance as the source, and the passed
34
+ * operator defined as the new observable's operator.
35
+ * @param operator the operator defining the operation to take on the observable
36
+ * @return A new observable with the Operator applied.
37
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
38
+ * If you have implemented an operator using `lift`, it is recommended that you create an
39
+ * operator by simply returning `new Observable()` directly. See "Creating new operators from
40
+ * scratch" section here: https://rxjs.dev/guide/operators
41
+ */
42
+ lift<R>(operator?: Operator<T, R>): Observable<R>;
43
+ subscribe(observerOrNext?: Partial<Observer<T>> | ((value: T) => void)): Subscription;
44
+ /** @deprecated Instead of passing separate callback arguments, use an observer argument. Signatures taking separate callback arguments will be removed in v8. Details: https://rxjs.dev/deprecations/subscribe-arguments */
45
+ subscribe(next?: ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): Subscription;
46
+ /**
47
+ * Used as a NON-CANCELLABLE means of subscribing to an observable, for use with
48
+ * APIs that expect promises, like `async/await`. You cannot unsubscribe from this.
49
+ *
50
+ * **WARNING**: Only use this with observables you *know* will complete. If the source
51
+ * observable does not complete, you will end up with a promise that is hung up, and
52
+ * potentially all of the state of an async function hanging out in memory. To avoid
53
+ * this situation, look into adding something like {@link timeout}, {@link take},
54
+ * {@link takeWhile}, or {@link takeUntil} amongst others.
55
+ *
56
+ * #### Example
57
+ *
58
+ * ```ts
59
+ * import { interval, take } from '..';
60
+ *
61
+ * const source$ = interval(1000).pipe(take(4));
62
+ *
63
+ * async function getTotal() {
64
+ * let total = 0;
65
+ *
66
+ * await source$.forEach(value => {
67
+ * total += value;
68
+ * console.log('observable -> ' + value);
69
+ * });
70
+ *
71
+ * return total;
72
+ * }
73
+ *
74
+ * getTotal().then(
75
+ * total => console.log('Total: ' + total)
76
+ * );
77
+ *
78
+ * // Expected:
79
+ * // 'observable -> 0'
80
+ * // 'observable -> 1'
81
+ * // 'observable -> 2'
82
+ * // 'observable -> 3'
83
+ * // 'Total: 6'
84
+ * ```
85
+ *
86
+ * @param next A handler for each value emitted by the observable.
87
+ * @return A promise that either resolves on observable completion or
88
+ * rejects with the handled error.
89
+ */
90
+ forEach(next: (value: T) => void): Promise<void>;
91
+ /**
92
+ * @param next a handler for each value emitted by the observable
93
+ * @param promiseCtor a constructor function used to instantiate the Promise
94
+ * @return a promise that either resolves on observable completion or
95
+ * rejects with the handled error
96
+ * @deprecated Passing a Promise constructor will no longer be available
97
+ * in upcoming versions of RxJS. This is because it adds weight to the library, for very
98
+ * little benefit. If you need this functionality, it is recommended that you either
99
+ * polyfill Promise, or you create an adapter to convert the returned native promise
100
+ * to whatever promise implementation you wanted. Will be removed in v8.
101
+ */
102
+ forEach(next: (value: T) => void, promiseCtor: PromiseConstructorLike): Promise<void>;
103
+ pipe(): Observable<T>;
104
+ pipe<A>(op1: OperatorFunction<T, A>): Observable<A>;
105
+ pipe<A, B>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>): Observable<B>;
106
+ pipe<A, B, C>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>): Observable<C>;
107
+ pipe<A, B, C, D>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>): Observable<D>;
108
+ pipe<A, B, C, D, E>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>): Observable<E>;
109
+ pipe<A, B, C, D, E, F>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>): Observable<F>;
110
+ pipe<A, B, C, D, E, F, G>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>): Observable<G>;
111
+ pipe<A, B, C, D, E, F, G, H>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>): Observable<H>;
112
+ pipe<A, B, C, D, E, F, G, H, I>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>, op9: OperatorFunction<H, I>): Observable<I>;
113
+ pipe<A, B, C, D, E, F, G, H, I>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>, op9: OperatorFunction<H, I>, ...operations: OperatorFunction<any, any>[]): Observable<unknown>;
114
+ /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */
115
+ toPromise(): Promise<T | undefined>;
116
+ /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */
117
+ toPromise(PromiseCtor: typeof Promise): Promise<T | undefined>;
118
+ /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */
119
+ toPromise(PromiseCtor: PromiseConstructorLike): Promise<T | undefined>;
120
+ }
121
+ //# sourceMappingURL=Observable.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Subscriber } from './Subscriber';
2
+ import { TeardownLogic } from './types';
3
+ /***
4
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
5
+ */
6
+ export interface Operator<T, R> {
7
+ call(subscriber: Subscriber<R>, source: any): TeardownLogic;
8
+ }
9
+ //# sourceMappingURL=Operator.d.ts.map
@@ -0,0 +1,49 @@
1
+ import { Subject } from './Subject';
2
+ import { TimestampProvider } from './types';
3
+ /**
4
+ * A variant of {@link Subject} that "replays" old values to new subscribers by emitting them when they first subscribe.
5
+ *
6
+ * `ReplaySubject` has an internal buffer that will store a specified number of values that it has observed. Like `Subject`,
7
+ * `ReplaySubject` "observes" values by having them passed to its `next` method. When it observes a value, it will store that
8
+ * value for a time determined by the configuration of the `ReplaySubject`, as passed to its constructor.
9
+ *
10
+ * When a new subscriber subscribes to the `ReplaySubject` instance, it will synchronously emit all values in its buffer in
11
+ * a First-In-First-Out (FIFO) manner. The `ReplaySubject` will also complete, if it has observed completion; and it will
12
+ * error if it has observed an error.
13
+ *
14
+ * There are two main configuration items to be concerned with:
15
+ *
16
+ * 1. `bufferSize` - This will determine how many items are stored in the buffer, defaults to infinite.
17
+ * 2. `windowTime` - The amount of time to hold a value in the buffer before removing it from the buffer.
18
+ *
19
+ * Both configurations may exist simultaneously. So if you would like to buffer a maximum of 3 values, as long as the values
20
+ * are less than 2 seconds old, you could do so with a `new ReplaySubject(3, 2000)`.
21
+ *
22
+ * ### Differences with BehaviorSubject
23
+ *
24
+ * `BehaviorSubject` is similar to `new ReplaySubject(1)`, with a couple of exceptions:
25
+ *
26
+ * 1. `BehaviorSubject` comes "primed" with a single value upon construction.
27
+ * 2. `ReplaySubject` will replay values, even after observing an error, where `BehaviorSubject` will not.
28
+ *
29
+ * @see {@link Subject}
30
+ * @see {@link BehaviorSubject}
31
+ * @see {@link shareReplay}
32
+ */
33
+ export declare class ReplaySubject<T> extends Subject<T> {
34
+ private _bufferSize;
35
+ private _windowTime;
36
+ private _timestampProvider;
37
+ private _buffer;
38
+ private _infiniteTimeWindow;
39
+ /**
40
+ * @param _bufferSize The size of the buffer to replay on subscription
41
+ * @param _windowTime The amount of time the buffered items will stay buffered
42
+ * @param _timestampProvider An object with a `now()` method that provides the current timestamp. This is used to
43
+ * calculate the amount of time something has been buffered.
44
+ */
45
+ constructor(_bufferSize?: number, _windowTime?: number, _timestampProvider?: TimestampProvider);
46
+ next(value: T): void;
47
+ private _trimBuffer;
48
+ }
49
+ //# sourceMappingURL=ReplaySubject.d.ts.map
@@ -0,0 +1,53 @@
1
+ import { Action } from './scheduler/Action';
2
+ import { Subscription } from './Subscription';
3
+ import { SchedulerLike, SchedulerAction } from './types';
4
+ /**
5
+ * An execution context and a data structure to order tasks and schedule their
6
+ * execution. Provides a notion of (potentially virtual) time, through the
7
+ * `now()` getter method.
8
+ *
9
+ * Each unit of work in a Scheduler is called an `Action`.
10
+ *
11
+ * ```ts
12
+ * class Scheduler {
13
+ * now(): number;
14
+ * schedule(work, delay?, state?): Subscription;
15
+ * }
16
+ * ```
17
+ *
18
+ * @deprecated Scheduler is an internal implementation detail of RxJS, and
19
+ * should not be used directly. Rather, create your own class and implement
20
+ * {@link SchedulerLike}. Will be made internal in v8.
21
+ */
22
+ export declare class Scheduler implements SchedulerLike {
23
+ private schedulerActionCtor;
24
+ static now: () => number;
25
+ constructor(schedulerActionCtor: typeof Action, now?: () => number);
26
+ /**
27
+ * A getter method that returns a number representing the current time
28
+ * (at the time this function was called) according to the scheduler's own
29
+ * internal clock.
30
+ * @return A number that represents the current time. May or may not
31
+ * have a relation to wall-clock time. May or may not refer to a time unit
32
+ * (e.g. milliseconds).
33
+ */
34
+ now: () => number;
35
+ /**
36
+ * Schedules a function, `work`, for execution. May happen at some point in
37
+ * the future, according to the `delay` parameter, if specified. May be passed
38
+ * some context object, `state`, which will be passed to the `work` function.
39
+ *
40
+ * The given arguments will be processed an stored as an Action object in a
41
+ * queue of actions.
42
+ *
43
+ * @param work A function representing a task, or some unit of work to be
44
+ * executed by the Scheduler.
45
+ * @param delay Time to wait before executing the work, where the time unit is
46
+ * implicit and defined by the Scheduler itself.
47
+ * @param state Some contextual data that the `work` function uses when called
48
+ * by the Scheduler.
49
+ * @return A subscription in order to be able to unsubscribe the scheduled work.
50
+ */
51
+ schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay?: number, state?: T): Subscription;
52
+ }
53
+ //# sourceMappingURL=Scheduler.d.ts.map