@bleedingdev/modern-js-utils 3.9.0-ultramodern.2 → 3.9.0-ultramodern.3
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/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-node/cli/require.mjs +10 -1
- package/package.json +4 -3
- package/rslib.config.mts +2 -0
|
@@ -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.3",
|
|
21
21
|
"types": "./dist/types/index.d.ts",
|
|
22
22
|
"main": "./dist/cjs/index.js",
|
|
23
23
|
"module": "./dist/esm/index.mjs",
|
|
@@ -187,12 +187,13 @@
|
|
|
187
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.3",
|
|
191
191
|
"@rslib/core": "1.0.0",
|
|
192
192
|
"@scripts/rstest-config": "2.66.0",
|
|
193
193
|
"@types/node": "^26.4.1",
|
|
194
194
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
195
|
-
"happy-dom": "^20.14.0"
|
|
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
|
});
|