@bleedingdev/modern-js-utils 3.9.0-ultramodern.1 → 3.9.0-ultramodern.11
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.
- package/dist/cjs/cli/require.js +10 -1
- package/dist/cjs/universal/index.js +5 -25
- package/dist/compiled/chokidar/types/index.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +1 -1
- package/dist/compiled/fast-glob/out/types/index.d.ts +1 -1
- package/dist/compiled/inquirer/lib/prompts/base.d.ts +100 -0
- package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +116 -0
- package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +53 -0
- package/dist/compiled/inquirer/lib/prompts/editor.d.ts +101 -0
- package/dist/compiled/inquirer/lib/prompts/expand.d.ts +149 -0
- package/dist/compiled/inquirer/lib/prompts/input.d.ts +82 -0
- package/dist/compiled/inquirer/lib/prompts/list.d.ts +89 -0
- package/dist/compiled/inquirer/lib/prompts/number.d.ts +32 -0
- package/dist/compiled/inquirer/lib/prompts/password.d.ts +82 -0
- package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +111 -0
- package/dist/compiled/inquirer/lib/utils/events.d.ts +72 -0
- package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +23 -0
- package/dist/compiled/inquirer/lib/utils/paginator.d.ts +55 -0
- package/dist/compiled/inquirer/lib/utils/readline.d.ts +56 -0
- package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +90 -0
- package/dist/compiled/inquirer/lib/utils/utils.d.ts +30 -0
- package/dist/compiled/inquirer/rxjs/LICENSE.txt +202 -0
- package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/index.d.ts +173 -0
- package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +13 -0
- package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +13 -0
- package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +175 -0
- package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +121 -0
- package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +49 -0
- package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +53 -0
- package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +54 -0
- package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +72 -0
- package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +92 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +115 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +227 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +65 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +200 -0
- package/dist/compiled/inquirer/rxjs/internal/config.d.ts +73 -0
- package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +42 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +33 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +27 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +51 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +173 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +76 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +159 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +72 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +24 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +45 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +314 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +82 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +21 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +40 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +19 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +115 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +126 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +30 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +50 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +54 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +46 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +43 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +59 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +43 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +87 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +58 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +61 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +59 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +38 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +59 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +51 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +60 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +51 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +47 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +64 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +119 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +38 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +64 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +52 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +50 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +62 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +18 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +68 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +44 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +50 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +63 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +56 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +46 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +54 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +18 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +30 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +19 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +69 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +56 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +29 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +61 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +108 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +38 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +28 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +61 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +43 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +46 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +60 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +43 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +36 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +45 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +62 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +61 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +20 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +45 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +42 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +72 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +78 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +53 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +39 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +50 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +255 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +35 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +33 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +65 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +49 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +49 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +26 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +15 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +30 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +24 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +38 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +13 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +53 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +69 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +16 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +15 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +88 -0
- package/dist/compiled/inquirer/rxjs/internal/types.d.ts +307 -0
- package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +19 -0
- package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +21 -0
- package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +17 -0
- package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +20 -0
- package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +17 -0
- package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +16 -0
- package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +11 -0
- package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +11 -0
- package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +44 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +15 -0
- package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +11 -0
- package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/operators/index.d.ts +114 -0
- package/dist/compiled/inquirer/rxjs/testing/index.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +3 -0
- package/dist/compiled/inquirer/types-license +21 -0
- package/dist/compiled/lodash/index.d.ts +1 -11
- package/dist/compiled/upath/upath.d.ts +2 -2
- package/dist/esm/cli/require.mjs +10 -1
- package/dist/esm/universal/index.mjs +0 -2
- package/dist/esm-node/cli/require.mjs +10 -1
- package/dist/esm-node/universal/index.mjs +0 -2
- package/dist/types/universal/index.d.ts +0 -2
- package/package.json +7 -6
- package/rslib.config.mts +2 -0
- package/dist/cjs/universal/backend-federation-contract/build-artifact.js +0 -185
- package/dist/cjs/universal/backend-federation-contract/constants.js +0 -92
- package/dist/cjs/universal/backend-federation-contract/delivery-unit.js +0 -130
- package/dist/cjs/universal/backend-federation-contract/index.js +0 -137
- package/dist/cjs/universal/backend-federation-contract/metadata.js +0 -133
- package/dist/cjs/universal/backend-federation-contract/types.js +0 -18
- package/dist/cjs/universal/backend-federation-contract/validation-core.js +0 -85
- package/dist/cjs/universal/surface-resolution/env-static-provider.js +0 -318
- package/dist/cjs/universal/surface-resolution/index.js +0 -69
- package/dist/cjs/universal/surface-resolution/surface-ref.js +0 -132
- package/dist/cjs/universal/surface-resolution/types.js +0 -18
- package/dist/cjs/universal/surface-resolution/validation.js +0 -202
- package/dist/esm/universal/backend-federation-contract/build-artifact.mjs +0 -135
- package/dist/esm/universal/backend-federation-contract/constants.mjs +0 -18
- package/dist/esm/universal/backend-federation-contract/delivery-unit.mjs +0 -74
- package/dist/esm/universal/backend-federation-contract/index.mjs +0 -5
- package/dist/esm/universal/backend-federation-contract/metadata.mjs +0 -80
- package/dist/esm/universal/backend-federation-contract/types.mjs +0 -0
- package/dist/esm/universal/backend-federation-contract/validation-core.mjs +0 -29
- package/dist/esm/universal/surface-resolution/env-static-provider.mjs +0 -274
- package/dist/esm/universal/surface-resolution/index.mjs +0 -3
- package/dist/esm/universal/surface-resolution/surface-ref.mjs +0 -88
- package/dist/esm/universal/surface-resolution/types.mjs +0 -0
- package/dist/esm/universal/surface-resolution/validation.mjs +0 -155
- package/dist/esm-node/universal/backend-federation-contract/build-artifact.mjs +0 -136
- package/dist/esm-node/universal/backend-federation-contract/constants.mjs +0 -19
- package/dist/esm-node/universal/backend-federation-contract/delivery-unit.mjs +0 -75
- package/dist/esm-node/universal/backend-federation-contract/index.mjs +0 -6
- package/dist/esm-node/universal/backend-federation-contract/metadata.mjs +0 -81
- package/dist/esm-node/universal/backend-federation-contract/types.mjs +0 -1
- package/dist/esm-node/universal/backend-federation-contract/validation-core.mjs +0 -30
- package/dist/esm-node/universal/surface-resolution/env-static-provider.mjs +0 -275
- package/dist/esm-node/universal/surface-resolution/index.mjs +0 -4
- package/dist/esm-node/universal/surface-resolution/surface-ref.mjs +0 -89
- package/dist/esm-node/universal/surface-resolution/types.mjs +0 -1
- package/dist/esm-node/universal/surface-resolution/validation.mjs +0 -156
- package/dist/types/universal/backend-federation-contract/build-artifact.d.ts +0 -9
- package/dist/types/universal/backend-federation-contract/constants.d.ts +0 -14
- package/dist/types/universal/backend-federation-contract/delivery-unit.d.ts +0 -9
- package/dist/types/universal/backend-federation-contract/index.d.ts +0 -7
- package/dist/types/universal/backend-federation-contract/metadata.d.ts +0 -7
- package/dist/types/universal/backend-federation-contract/types.d.ts +0 -60
- package/dist/types/universal/backend-federation-contract/validation-core.d.ts +0 -8
- package/dist/types/universal/surface-resolution/env-static-provider.d.ts +0 -107
- package/dist/types/universal/surface-resolution/index.d.ts +0 -4
- package/dist/types/universal/surface-resolution/surface-ref.d.ts +0 -72
- package/dist/types/universal/surface-resolution/types.d.ts +0 -102
- package/dist/types/universal/surface-resolution/validation.d.ts +0 -53
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks to see if a value is not only a `Date` object,
|
|
3
|
+
* but a *valid* `Date` object that can be converted to a
|
|
4
|
+
* number. For example, `new Date('blah')` is indeed an
|
|
5
|
+
* `instanceof Date`, however it cannot be converted to a
|
|
6
|
+
* number.
|
|
7
|
+
*/
|
|
8
|
+
export declare function isValidDate(value: any): value is Date;
|
|
9
|
+
//# sourceMappingURL=isDate.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InteropObservable } from '../types';
|
|
2
|
+
/** Identifies an input as being Observable (but not necessary an Rx Observable) */
|
|
3
|
+
export declare function isInteropObservable(input: any): input is InteropObservable<any>;
|
|
4
|
+
//# sourceMappingURL=isInteropObservable.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** prettier */
|
|
2
|
+
import { Observable } from '../Observable';
|
|
3
|
+
/**
|
|
4
|
+
* Tests to see if the object is an RxJS {@link Observable}
|
|
5
|
+
* @param obj the object to test
|
|
6
|
+
*/
|
|
7
|
+
export declare function isObservable(obj: any): obj is Observable<unknown>;
|
|
8
|
+
//# sourceMappingURL=isObservable.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ReadableStreamLike } from '../types';
|
|
2
|
+
export declare function readableStreamLikeToAsyncGenerator<T>(readableStream: ReadableStreamLike<T>): AsyncGenerator<T>;
|
|
3
|
+
export declare function isReadableStreamLike<T>(obj: any): obj is ReadableStreamLike<T>;
|
|
4
|
+
//# sourceMappingURL=isReadableStreamLike.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Observable } from '../Observable';
|
|
2
|
+
import { Subscriber } from '../Subscriber';
|
|
3
|
+
import { OperatorFunction } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Used to determine if an object is an Observable with a lift function.
|
|
6
|
+
*/
|
|
7
|
+
export declare function hasLift(source: any): source is {
|
|
8
|
+
lift: InstanceType<typeof Observable>['lift'];
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Creates an `OperatorFunction`. Used to define operators throughout the library in a concise way.
|
|
12
|
+
* @param init The logic to connect the liftedSource to the subscriber at the moment of subscription.
|
|
13
|
+
*/
|
|
14
|
+
export declare function operate<T, R>(init: (liftedSource: Observable<T>, subscriber: Subscriber<R>) => (() => void) | void): OperatorFunction<T, R>;
|
|
15
|
+
//# sourceMappingURL=lift.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OperatorFunction } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* Used in several -- mostly deprecated -- situations where we need to
|
|
4
|
+
* apply a list of arguments or a single argument to a result selector.
|
|
5
|
+
*/
|
|
6
|
+
export declare function mapOneOrManyArgs<T, R>(fn: ((...values: T[]) => R)): OperatorFunction<T | T[], R>;
|
|
7
|
+
//# sourceMappingURL=mapOneOrManyArgs.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { identity } from './identity';
|
|
2
|
+
import { UnaryFunction } from '../types';
|
|
3
|
+
export declare function pipe(): typeof identity;
|
|
4
|
+
export declare function pipe<T, A>(fn1: UnaryFunction<T, A>): UnaryFunction<T, A>;
|
|
5
|
+
export declare function pipe<T, A, B>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>): UnaryFunction<T, B>;
|
|
6
|
+
export declare function pipe<T, A, B, C>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>): UnaryFunction<T, C>;
|
|
7
|
+
export declare function pipe<T, A, B, C, D>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>): UnaryFunction<T, D>;
|
|
8
|
+
export declare function pipe<T, A, B, C, D, E>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>): UnaryFunction<T, E>;
|
|
9
|
+
export declare function pipe<T, A, B, C, D, E, F>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>): UnaryFunction<T, F>;
|
|
10
|
+
export declare function pipe<T, A, B, C, D, E, F, G>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>): UnaryFunction<T, G>;
|
|
11
|
+
export declare function pipe<T, A, B, C, D, E, F, G, H>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>): UnaryFunction<T, H>;
|
|
12
|
+
export declare function pipe<T, A, B, C, D, E, F, G, H, I>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>, fn9: UnaryFunction<H, I>): UnaryFunction<T, I>;
|
|
13
|
+
export declare function pipe<T, A, B, C, D, E, F, G, H, I>(fn1: UnaryFunction<T, A>, fn2: UnaryFunction<A, B>, fn3: UnaryFunction<B, C>, fn4: UnaryFunction<C, D>, fn5: UnaryFunction<D, E>, fn6: UnaryFunction<E, F>, fn7: UnaryFunction<F, G>, fn8: UnaryFunction<G, H>, fn9: UnaryFunction<H, I>, ...fns: UnaryFunction<any, any>[]): UnaryFunction<T, unknown>;
|
|
14
|
+
//# sourceMappingURL=pipe.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handles an error on another job either with the user-configured {@link onUnhandledError},
|
|
3
|
+
* or by throwing it on that new job so it can be picked up by `window.onerror`, `process.on('error')`, etc.
|
|
4
|
+
*
|
|
5
|
+
* This should be called whenever there is an error that is out-of-band with the subscription
|
|
6
|
+
* or when an error hits a terminal boundary of the subscription and no error handler was provided.
|
|
7
|
+
*
|
|
8
|
+
* @param err the error to report
|
|
9
|
+
*/
|
|
10
|
+
export declare function reportUnhandledError(err: any): void;
|
|
11
|
+
//# sourceMappingURL=reportUnhandledError.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Subscriber } from '../Subscriber';
|
|
2
|
+
/**
|
|
3
|
+
* Subscribes to an ArrayLike with a subscriber
|
|
4
|
+
* @param array The array or array-like to subscribe to
|
|
5
|
+
*/
|
|
6
|
+
export declare const subscribeToArray: <T>(array: ArrayLike<T>) => (subscriber: Subscriber<T>) => void;
|
|
7
|
+
//# sourceMappingURL=subscribeToArray.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates the TypeError to throw if an invalid object is passed to `from` or `scheduled`.
|
|
3
|
+
* @param input The object that was passed.
|
|
4
|
+
*/
|
|
5
|
+
export declare function createInvalidObservableTypeError(input: any): TypeError;
|
|
6
|
+
//# sourceMappingURL=throwUnobservableError.d.ts.map
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export { audit } from '../internal/operators/audit';
|
|
2
|
+
export { auditTime } from '../internal/operators/auditTime';
|
|
3
|
+
export { buffer } from '../internal/operators/buffer';
|
|
4
|
+
export { bufferCount } from '../internal/operators/bufferCount';
|
|
5
|
+
export { bufferTime } from '../internal/operators/bufferTime';
|
|
6
|
+
export { bufferToggle } from '../internal/operators/bufferToggle';
|
|
7
|
+
export { bufferWhen } from '../internal/operators/bufferWhen';
|
|
8
|
+
export { catchError } from '../internal/operators/catchError';
|
|
9
|
+
export { combineAll } from '../internal/operators/combineAll';
|
|
10
|
+
export { combineLatestAll } from '../internal/operators/combineLatestAll';
|
|
11
|
+
export { combineLatest } from '../internal/operators/combineLatest';
|
|
12
|
+
export { combineLatestWith } from '../internal/operators/combineLatestWith';
|
|
13
|
+
export { concat } from '../internal/operators/concat';
|
|
14
|
+
export { concatAll } from '../internal/operators/concatAll';
|
|
15
|
+
export { concatMap } from '../internal/operators/concatMap';
|
|
16
|
+
export { concatMapTo } from '../internal/operators/concatMapTo';
|
|
17
|
+
export { concatWith } from '../internal/operators/concatWith';
|
|
18
|
+
export { connect, ConnectConfig } from '../internal/operators/connect';
|
|
19
|
+
export { count } from '../internal/operators/count';
|
|
20
|
+
export { debounce } from '../internal/operators/debounce';
|
|
21
|
+
export { debounceTime } from '../internal/operators/debounceTime';
|
|
22
|
+
export { defaultIfEmpty } from '../internal/operators/defaultIfEmpty';
|
|
23
|
+
export { delay } from '../internal/operators/delay';
|
|
24
|
+
export { delayWhen } from '../internal/operators/delayWhen';
|
|
25
|
+
export { dematerialize } from '../internal/operators/dematerialize';
|
|
26
|
+
export { distinct } from '../internal/operators/distinct';
|
|
27
|
+
export { distinctUntilChanged } from '../internal/operators/distinctUntilChanged';
|
|
28
|
+
export { distinctUntilKeyChanged } from '../internal/operators/distinctUntilKeyChanged';
|
|
29
|
+
export { elementAt } from '../internal/operators/elementAt';
|
|
30
|
+
export { endWith } from '../internal/operators/endWith';
|
|
31
|
+
export { every } from '../internal/operators/every';
|
|
32
|
+
export { exhaust } from '../internal/operators/exhaust';
|
|
33
|
+
export { exhaustAll } from '../internal/operators/exhaustAll';
|
|
34
|
+
export { exhaustMap } from '../internal/operators/exhaustMap';
|
|
35
|
+
export { expand } from '../internal/operators/expand';
|
|
36
|
+
export { filter } from '../internal/operators/filter';
|
|
37
|
+
export { finalize } from '../internal/operators/finalize';
|
|
38
|
+
export { find } from '../internal/operators/find';
|
|
39
|
+
export { findIndex } from '../internal/operators/findIndex';
|
|
40
|
+
export { first } from '../internal/operators/first';
|
|
41
|
+
export { groupBy, BasicGroupByOptions, GroupByOptionsWithElement } from '../internal/operators/groupBy';
|
|
42
|
+
export { ignoreElements } from '../internal/operators/ignoreElements';
|
|
43
|
+
export { isEmpty } from '../internal/operators/isEmpty';
|
|
44
|
+
export { last } from '../internal/operators/last';
|
|
45
|
+
export { map } from '../internal/operators/map';
|
|
46
|
+
export { mapTo } from '../internal/operators/mapTo';
|
|
47
|
+
export { materialize } from '../internal/operators/materialize';
|
|
48
|
+
export { max } from '../internal/operators/max';
|
|
49
|
+
export { merge } from '../internal/operators/merge';
|
|
50
|
+
export { mergeAll } from '../internal/operators/mergeAll';
|
|
51
|
+
export { flatMap } from '../internal/operators/flatMap';
|
|
52
|
+
export { mergeMap } from '../internal/operators/mergeMap';
|
|
53
|
+
export { mergeMapTo } from '../internal/operators/mergeMapTo';
|
|
54
|
+
export { mergeScan } from '../internal/operators/mergeScan';
|
|
55
|
+
export { mergeWith } from '../internal/operators/mergeWith';
|
|
56
|
+
export { min } from '../internal/operators/min';
|
|
57
|
+
export { multicast } from '../internal/operators/multicast';
|
|
58
|
+
export { observeOn } from '../internal/operators/observeOn';
|
|
59
|
+
export { onErrorResumeNext } from '../internal/operators/onErrorResumeNextWith';
|
|
60
|
+
export { pairwise } from '../internal/operators/pairwise';
|
|
61
|
+
export { partition } from '../internal/operators/partition';
|
|
62
|
+
export { pluck } from '../internal/operators/pluck';
|
|
63
|
+
export { publish } from '../internal/operators/publish';
|
|
64
|
+
export { publishBehavior } from '../internal/operators/publishBehavior';
|
|
65
|
+
export { publishLast } from '../internal/operators/publishLast';
|
|
66
|
+
export { publishReplay } from '../internal/operators/publishReplay';
|
|
67
|
+
export { race } from '../internal/operators/race';
|
|
68
|
+
export { raceWith } from '../internal/operators/raceWith';
|
|
69
|
+
export { reduce } from '../internal/operators/reduce';
|
|
70
|
+
export { repeat, RepeatConfig } from '../internal/operators/repeat';
|
|
71
|
+
export { repeatWhen } from '../internal/operators/repeatWhen';
|
|
72
|
+
export { retry, RetryConfig } from '../internal/operators/retry';
|
|
73
|
+
export { retryWhen } from '../internal/operators/retryWhen';
|
|
74
|
+
export { refCount } from '../internal/operators/refCount';
|
|
75
|
+
export { sample } from '../internal/operators/sample';
|
|
76
|
+
export { sampleTime } from '../internal/operators/sampleTime';
|
|
77
|
+
export { scan } from '../internal/operators/scan';
|
|
78
|
+
export { sequenceEqual } from '../internal/operators/sequenceEqual';
|
|
79
|
+
export { share, ShareConfig } from '../internal/operators/share';
|
|
80
|
+
export { shareReplay, ShareReplayConfig } from '../internal/operators/shareReplay';
|
|
81
|
+
export { single } from '../internal/operators/single';
|
|
82
|
+
export { skip } from '../internal/operators/skip';
|
|
83
|
+
export { skipLast } from '../internal/operators/skipLast';
|
|
84
|
+
export { skipUntil } from '../internal/operators/skipUntil';
|
|
85
|
+
export { skipWhile } from '../internal/operators/skipWhile';
|
|
86
|
+
export { startWith } from '../internal/operators/startWith';
|
|
87
|
+
export { subscribeOn } from '../internal/operators/subscribeOn';
|
|
88
|
+
export { switchAll } from '../internal/operators/switchAll';
|
|
89
|
+
export { switchMap } from '../internal/operators/switchMap';
|
|
90
|
+
export { switchMapTo } from '../internal/operators/switchMapTo';
|
|
91
|
+
export { switchScan } from '../internal/operators/switchScan';
|
|
92
|
+
export { take } from '../internal/operators/take';
|
|
93
|
+
export { takeLast } from '../internal/operators/takeLast';
|
|
94
|
+
export { takeUntil } from '../internal/operators/takeUntil';
|
|
95
|
+
export { takeWhile } from '../internal/operators/takeWhile';
|
|
96
|
+
export { tap, TapObserver } from '../internal/operators/tap';
|
|
97
|
+
export { throttle, ThrottleConfig } from '../internal/operators/throttle';
|
|
98
|
+
export { throttleTime } from '../internal/operators/throttleTime';
|
|
99
|
+
export { throwIfEmpty } from '../internal/operators/throwIfEmpty';
|
|
100
|
+
export { timeInterval } from '../internal/operators/timeInterval';
|
|
101
|
+
export { timeout, TimeoutConfig, TimeoutInfo } from '../internal/operators/timeout';
|
|
102
|
+
export { timeoutWith } from '../internal/operators/timeoutWith';
|
|
103
|
+
export { timestamp } from '../internal/operators/timestamp';
|
|
104
|
+
export { toArray } from '../internal/operators/toArray';
|
|
105
|
+
export { window } from '../internal/operators/window';
|
|
106
|
+
export { windowCount } from '../internal/operators/windowCount';
|
|
107
|
+
export { windowTime } from '../internal/operators/windowTime';
|
|
108
|
+
export { windowToggle } from '../internal/operators/windowToggle';
|
|
109
|
+
export { windowWhen } from '../internal/operators/windowWhen';
|
|
110
|
+
export { withLatestFrom } from '../internal/operators/withLatestFrom';
|
|
111
|
+
export { zip } from '../internal/operators/zip';
|
|
112
|
+
export { zipAll } from '../internal/operators/zipAll';
|
|
113
|
+
export { zipWith } from '../internal/operators/zipWith';
|
|
114
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
|
@@ -33,14 +33,4 @@ declare namespace _ {
|
|
|
33
33
|
interface LoDashStatic {}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
declare global {
|
|
38
|
-
// tslint:disable-next-line:no-empty-interface
|
|
39
|
-
interface Set<T> { }
|
|
40
|
-
// tslint:disable-next-line:no-empty-interface
|
|
41
|
-
interface Map<K, V> { }
|
|
42
|
-
// tslint:disable-next-line:no-empty-interface
|
|
43
|
-
interface WeakSet<T> { }
|
|
44
|
-
// tslint:disable-next-line:no-empty-interface
|
|
45
|
-
interface WeakMap<K extends object, V> { }
|
|
46
|
-
}
|
|
36
|
+
|
|
@@ -207,7 +207,7 @@ declare namespace upath {
|
|
|
207
207
|
*/
|
|
208
208
|
export function format(pathObject: ParsedPath): string;
|
|
209
209
|
|
|
210
|
-
export
|
|
210
|
+
export namespace posix {
|
|
211
211
|
export function normalize(p: string): string;
|
|
212
212
|
export function join(...paths: any[]): string;
|
|
213
213
|
export function resolve(...pathSegments: any[]): string;
|
|
@@ -222,7 +222,7 @@ declare namespace upath {
|
|
|
222
222
|
export function format(pP: ParsedPath): string;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
export
|
|
225
|
+
export namespace win32 {
|
|
226
226
|
export function normalize(p: string): string;
|
|
227
227
|
export function join(...paths: any[]): string;
|
|
228
228
|
export function resolve(...pathSegments: any[]): string;
|
package/dist/esm/cli/require.mjs
CHANGED
|
@@ -14,7 +14,16 @@ async function importPath(path) {
|
|
|
14
14
|
async function compatibleRequireESM(path, interop = true) {
|
|
15
15
|
if (path.endsWith('.json')) return JSON.parse(await readFile(path, 'utf8'));
|
|
16
16
|
const requiredModule = await importPath(path);
|
|
17
|
-
|
|
17
|
+
if (!interop || !Object.hasOwn(requiredModule, 'default')) return requiredModule;
|
|
18
|
+
let value = requiredModule.default;
|
|
19
|
+
if (requiredModule['module.exports'] === value) {
|
|
20
|
+
const seen = new Set();
|
|
21
|
+
while(value && 'object' == typeof value && true === value.__esModule && Object.hasOwn(value, 'default') && !seen.has(value)){
|
|
22
|
+
seen.add(value);
|
|
23
|
+
value = value.default;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return value;
|
|
18
27
|
}
|
|
19
28
|
async function compatibleRequire(path, interop = true) {
|
|
20
29
|
return await compatibleRequireESM(path, interop);
|
|
@@ -15,7 +15,16 @@ async function importPath(path) {
|
|
|
15
15
|
async function compatibleRequireESM(path, interop = true) {
|
|
16
16
|
if (path.endsWith('.json')) return JSON.parse(await readFile(path, 'utf8'));
|
|
17
17
|
const requiredModule = await importPath(path);
|
|
18
|
-
|
|
18
|
+
if (!interop || !Object.hasOwn(requiredModule, 'default')) return requiredModule;
|
|
19
|
+
let value = requiredModule.default;
|
|
20
|
+
if (requiredModule['module.exports'] === value) {
|
|
21
|
+
const seen = new Set();
|
|
22
|
+
while(value && 'object' == typeof value && true === value.__esModule && Object.hasOwn(value, 'default') && !seen.has(value)){
|
|
23
|
+
seen.add(value);
|
|
24
|
+
value = value.default;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return value;
|
|
19
28
|
}
|
|
20
29
|
async function compatibleRequire(path, interop = true) {
|
|
21
30
|
return await compatibleRequireESM(path, interop);
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"modern",
|
|
18
18
|
"modern.js"
|
|
19
19
|
],
|
|
20
|
-
"version": "3.9.0-ultramodern.
|
|
20
|
+
"version": "3.9.0-ultramodern.11",
|
|
21
21
|
"types": "./dist/types/index.d.ts",
|
|
22
22
|
"main": "./dist/cjs/index.js",
|
|
23
23
|
"module": "./dist/esm/index.mjs",
|
|
@@ -180,19 +180,20 @@
|
|
|
180
180
|
},
|
|
181
181
|
"dependencies": {
|
|
182
182
|
"@swc/helpers": "^0.5.23",
|
|
183
|
-
"caniuse-lite": "^1.0.
|
|
183
|
+
"caniuse-lite": "^1.0.30001810",
|
|
184
184
|
"import-meta-resolve": "^4.2.0",
|
|
185
185
|
"lodash": "^4.18.1",
|
|
186
186
|
"lodash-es": "^4.18.1",
|
|
187
|
-
"rslog": "^2.
|
|
187
|
+
"rslog": "^2.3.0"
|
|
188
188
|
},
|
|
189
189
|
"devDependencies": {
|
|
190
|
-
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.0-ultramodern.
|
|
190
|
+
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.0-ultramodern.11",
|
|
191
191
|
"@rslib/core": "1.0.0",
|
|
192
192
|
"@scripts/rstest-config": "2.66.0",
|
|
193
|
-
"@types/node": "^26.
|
|
193
|
+
"@types/node": "^26.4.1",
|
|
194
194
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
195
|
-
"happy-dom": "^20.
|
|
195
|
+
"happy-dom": "^20.14.0",
|
|
196
|
+
"rxjs": "7.8.2"
|
|
196
197
|
},
|
|
197
198
|
"peerDependencies": {
|
|
198
199
|
"react": "^19.2.8",
|
package/rslib.config.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { rslibConfig } from '@modern-js/rslib';
|
|
2
2
|
import { defineConfig, type RslibConfig, type Rspack } from '@rslib/core';
|
|
3
|
+
import { publicDeclarationsPlugin } from '../../../scripts/prebundle/ultramodern/public-declarations.mjs';
|
|
3
4
|
|
|
4
5
|
const dependencies = [
|
|
5
6
|
// zero dependency
|
|
@@ -159,5 +160,6 @@ const lib: RslibConfig['lib'] = rslibConfig.lib?.map(config => {
|
|
|
159
160
|
|
|
160
161
|
export default defineConfig({
|
|
161
162
|
...rslibConfig,
|
|
163
|
+
plugins: [...(rslibConfig.plugins ?? []), publicDeclarationsPlugin('utils')],
|
|
162
164
|
lib,
|
|
163
165
|
});
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1, getters, values)=>{
|
|
5
|
-
var define = (defs, kind)=>{
|
|
6
|
-
for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
[kind]: defs[key]
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
define(getters, "get");
|
|
12
|
-
define(values, "value");
|
|
13
|
-
};
|
|
14
|
-
})();
|
|
15
|
-
(()=>{
|
|
16
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
17
|
-
})();
|
|
18
|
-
(()=>{
|
|
19
|
-
__webpack_require__.r = (exports1)=>{
|
|
20
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
21
|
-
value: 'Module'
|
|
22
|
-
});
|
|
23
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
24
|
-
value: true
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
})();
|
|
28
|
-
var __webpack_exports__ = {};
|
|
29
|
-
__webpack_require__.r(__webpack_exports__);
|
|
30
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
31
|
-
createUltramodernBuildArtifact: ()=>createUltramodernBuildArtifact,
|
|
32
|
-
isUltramodernBuildArtifact: ()=>isUltramodernBuildArtifact,
|
|
33
|
-
stampUltramodernBuildArtifactIdentity: ()=>stampUltramodernBuildArtifactIdentity,
|
|
34
|
-
stampUltramodernBuildArtifactSourceRevision: ()=>stampUltramodernBuildArtifactSourceRevision,
|
|
35
|
-
validateUltramodernBuildArtifact: ()=>validateUltramodernBuildArtifact
|
|
36
|
-
});
|
|
37
|
-
const external_constants_js_namespaceObject = require("./constants.js");
|
|
38
|
-
const external_delivery_unit_js_namespaceObject = require("./delivery-unit.js");
|
|
39
|
-
const external_validation_core_js_namespaceObject = require("./validation-core.js");
|
|
40
|
-
const createUltramodernBuildArtifact = (record)=>{
|
|
41
|
-
const deliveryUnit = {
|
|
42
|
-
appId: record.appId,
|
|
43
|
-
build: record.buildMarker,
|
|
44
|
-
buildMarker: record.buildMarker,
|
|
45
|
-
deployProfile: record.deployProfile,
|
|
46
|
-
kind: record.kind,
|
|
47
|
-
packageName: record.packageName,
|
|
48
|
-
schemaVersion: record.schemaVersion,
|
|
49
|
-
sourceRevision: record.sourceRevision,
|
|
50
|
-
unitId: record.unitId,
|
|
51
|
-
version: record.version
|
|
52
|
-
};
|
|
53
|
-
const api = {
|
|
54
|
-
appId: deliveryUnit.appId,
|
|
55
|
-
build: deliveryUnit.build,
|
|
56
|
-
buildMarker: deliveryUnit.buildMarker,
|
|
57
|
-
deployProfile: deliveryUnit.deployProfile,
|
|
58
|
-
kind: deliveryUnit.kind,
|
|
59
|
-
packageName: deliveryUnit.packageName,
|
|
60
|
-
schemaVersion: deliveryUnit.schemaVersion,
|
|
61
|
-
sourceRevision: deliveryUnit.sourceRevision,
|
|
62
|
-
surface: 'api',
|
|
63
|
-
unitId: deliveryUnit.unitId,
|
|
64
|
-
version: deliveryUnit.version
|
|
65
|
-
};
|
|
66
|
-
const ui = {
|
|
67
|
-
appId: deliveryUnit.appId,
|
|
68
|
-
build: deliveryUnit.build,
|
|
69
|
-
buildMarker: deliveryUnit.buildMarker,
|
|
70
|
-
deployProfile: deliveryUnit.deployProfile,
|
|
71
|
-
kind: deliveryUnit.kind,
|
|
72
|
-
packageName: deliveryUnit.packageName,
|
|
73
|
-
schemaVersion: deliveryUnit.schemaVersion,
|
|
74
|
-
sourceRevision: deliveryUnit.sourceRevision,
|
|
75
|
-
surface: 'ui',
|
|
76
|
-
unitId: deliveryUnit.unitId,
|
|
77
|
-
version: deliveryUnit.version
|
|
78
|
-
};
|
|
79
|
-
return {
|
|
80
|
-
deliveryUnit,
|
|
81
|
-
kind: 'ultramodern-build-artifact',
|
|
82
|
-
schemaVersion: external_constants_js_namespaceObject.DELIVERY_UNIT_SCHEMA_VERSION,
|
|
83
|
-
surfaces: {
|
|
84
|
-
api,
|
|
85
|
-
ui
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
const validateUltramodernBuildArtifact = (value, path = 'artifact')=>{
|
|
90
|
-
const errors = [];
|
|
91
|
-
if (!(0, external_validation_core_js_namespaceObject.isRecord)(value)) {
|
|
92
|
-
(0, external_validation_core_js_namespaceObject.addError)(errors, path, 'must be an object.');
|
|
93
|
-
return (0, external_validation_core_js_namespaceObject.validationResult)(errors);
|
|
94
|
-
}
|
|
95
|
-
if (value.schemaVersion !== external_constants_js_namespaceObject.DELIVERY_UNIT_SCHEMA_VERSION) (0, external_validation_core_js_namespaceObject.addError)(errors, `${path}.schemaVersion`, `must be ${external_constants_js_namespaceObject.DELIVERY_UNIT_SCHEMA_VERSION}.`);
|
|
96
|
-
if ('ultramodern-build-artifact' !== value.kind) (0, external_validation_core_js_namespaceObject.addError)(errors, `${path}.kind`, 'must be "ultramodern-build-artifact".');
|
|
97
|
-
const deliveryUnit = value.deliveryUnit;
|
|
98
|
-
errors.push(...(0, external_delivery_unit_js_namespaceObject.validateDeliveryUnitRecord)(deliveryUnit, {
|
|
99
|
-
path: `${path}.deliveryUnit`,
|
|
100
|
-
allowBuildAlias: true
|
|
101
|
-
}).errors);
|
|
102
|
-
if ((0, external_validation_core_js_namespaceObject.isRecord)(deliveryUnit)) {
|
|
103
|
-
const build = (0, external_validation_core_js_namespaceObject.nonEmptyString)(deliveryUnit.build);
|
|
104
|
-
const buildMarker = (0, external_validation_core_js_namespaceObject.nonEmptyString)(deliveryUnit.buildMarker);
|
|
105
|
-
if (build) {
|
|
106
|
-
if (buildMarker && build !== buildMarker) (0, external_validation_core_js_namespaceObject.addError)(errors, `${path}.deliveryUnit.build`, 'must match deliveryUnit.buildMarker.');
|
|
107
|
-
} else (0, external_validation_core_js_namespaceObject.addError)(errors, `${path}.deliveryUnit.build`, 'must be a non-empty string.');
|
|
108
|
-
}
|
|
109
|
-
const surfaces = (0, external_validation_core_js_namespaceObject.recordField)(value, 'surfaces');
|
|
110
|
-
if (!surfaces) {
|
|
111
|
-
(0, external_validation_core_js_namespaceObject.addError)(errors, `${path}.surfaces`, 'must be an object.');
|
|
112
|
-
return (0, external_validation_core_js_namespaceObject.validationResult)(errors);
|
|
113
|
-
}
|
|
114
|
-
for (const surface of [
|
|
115
|
-
'ui',
|
|
116
|
-
'api'
|
|
117
|
-
]){
|
|
118
|
-
const marker = surfaces[surface];
|
|
119
|
-
const markerPath = `${path}.surfaces.${surface}`;
|
|
120
|
-
errors.push(...(0, external_delivery_unit_js_namespaceObject.validateDeliveryUnitRecord)(marker, {
|
|
121
|
-
path: markerPath,
|
|
122
|
-
allowBuildAlias: true
|
|
123
|
-
}).errors);
|
|
124
|
-
if (!(0, external_validation_core_js_namespaceObject.isRecord)(marker)) continue;
|
|
125
|
-
const markerBuild = (0, external_validation_core_js_namespaceObject.nonEmptyString)(marker.build);
|
|
126
|
-
const markerBuildMarker = (0, external_validation_core_js_namespaceObject.nonEmptyString)(marker.buildMarker);
|
|
127
|
-
if (markerBuild) {
|
|
128
|
-
if (markerBuildMarker && markerBuild !== markerBuildMarker) (0, external_validation_core_js_namespaceObject.addError)(errors, `${markerPath}.build`, 'must match buildMarker.');
|
|
129
|
-
} else (0, external_validation_core_js_namespaceObject.addError)(errors, `${markerPath}.build`, 'must be non-empty string.');
|
|
130
|
-
if (marker.surface !== surface) (0, external_validation_core_js_namespaceObject.addError)(errors, `${markerPath}.surface`, `must be "${surface}".`);
|
|
131
|
-
for (const field of external_constants_js_namespaceObject.DELIVERY_UNIT_IDENTITY_FIELDS){
|
|
132
|
-
const deliveryUnitValue = (0, external_delivery_unit_js_namespaceObject.deliveryUnitIdentityFieldValue)(deliveryUnit, field, {
|
|
133
|
-
allowBuildAlias: true
|
|
134
|
-
});
|
|
135
|
-
const markerValue = (0, external_delivery_unit_js_namespaceObject.deliveryUnitIdentityFieldValue)(marker, field, {
|
|
136
|
-
allowBuildAlias: true
|
|
137
|
-
});
|
|
138
|
-
if (void 0 !== deliveryUnitValue && void 0 !== markerValue && deliveryUnitValue !== markerValue) (0, external_validation_core_js_namespaceObject.addError)(errors, `${markerPath}.${field}`, `must match ${path}.deliveryUnit.${field}.`);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
return (0, external_validation_core_js_namespaceObject.validationResult)(errors);
|
|
142
|
-
};
|
|
143
|
-
const isUltramodernBuildArtifact = (value)=>validateUltramodernBuildArtifact(value).ok;
|
|
144
|
-
const stampUltramodernBuildArtifactIdentity = (artifact, identity)=>({
|
|
145
|
-
...artifact,
|
|
146
|
-
deliveryUnit: {
|
|
147
|
-
...artifact.deliveryUnit,
|
|
148
|
-
build: identity.buildMarker,
|
|
149
|
-
buildMarker: identity.buildMarker,
|
|
150
|
-
sourceRevision: identity.sourceRevision
|
|
151
|
-
},
|
|
152
|
-
surfaces: {
|
|
153
|
-
ui: {
|
|
154
|
-
...artifact.surfaces.ui,
|
|
155
|
-
build: identity.buildMarker,
|
|
156
|
-
buildMarker: identity.buildMarker,
|
|
157
|
-
sourceRevision: identity.sourceRevision
|
|
158
|
-
},
|
|
159
|
-
api: {
|
|
160
|
-
...artifact.surfaces.api,
|
|
161
|
-
build: identity.buildMarker,
|
|
162
|
-
buildMarker: identity.buildMarker,
|
|
163
|
-
sourceRevision: identity.sourceRevision
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
const stampUltramodernBuildArtifactSourceRevision = (artifact, sourceRevision)=>stampUltramodernBuildArtifactIdentity(artifact, {
|
|
168
|
-
buildMarker: artifact.deliveryUnit.buildMarker,
|
|
169
|
-
sourceRevision
|
|
170
|
-
});
|
|
171
|
-
exports.createUltramodernBuildArtifact = __webpack_exports__.createUltramodernBuildArtifact;
|
|
172
|
-
exports.isUltramodernBuildArtifact = __webpack_exports__.isUltramodernBuildArtifact;
|
|
173
|
-
exports.stampUltramodernBuildArtifactIdentity = __webpack_exports__.stampUltramodernBuildArtifactIdentity;
|
|
174
|
-
exports.stampUltramodernBuildArtifactSourceRevision = __webpack_exports__.stampUltramodernBuildArtifactSourceRevision;
|
|
175
|
-
exports.validateUltramodernBuildArtifact = __webpack_exports__.validateUltramodernBuildArtifact;
|
|
176
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
177
|
-
"createUltramodernBuildArtifact",
|
|
178
|
-
"isUltramodernBuildArtifact",
|
|
179
|
-
"stampUltramodernBuildArtifactIdentity",
|
|
180
|
-
"stampUltramodernBuildArtifactSourceRevision",
|
|
181
|
-
"validateUltramodernBuildArtifact"
|
|
182
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
183
|
-
Object.defineProperty(exports, '__esModule', {
|
|
184
|
-
value: true
|
|
185
|
-
});
|