lambda-live-debugger 1.7.0 → 1.7.1
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/extension/extension.zip +0 -0
- package/dist/frameworks/cdkFramework.mjs +13 -1
- package/node_modules/@inquirer/checkbox/package.json +7 -7
- package/node_modules/@inquirer/confirm/package.json +6 -6
- package/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.js +8 -5
- package/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.d.ts +1 -1
- package/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.js +1 -2
- package/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js +8 -5
- package/node_modules/@inquirer/core/dist/esm/lib/screen-manager.d.ts +1 -1
- package/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js +1 -2
- package/node_modules/@inquirer/core/package.json +7 -7
- package/node_modules/@inquirer/editor/package.json +6 -6
- package/node_modules/@inquirer/expand/package.json +6 -6
- package/node_modules/@inquirer/figures/package.json +3 -3
- package/node_modules/@inquirer/input/package.json +6 -6
- package/node_modules/@inquirer/number/package.json +6 -6
- package/node_modules/@inquirer/password/package.json +6 -6
- package/node_modules/@inquirer/prompts/package.json +14 -14
- package/node_modules/@inquirer/rawlist/package.json +6 -6
- package/node_modules/@inquirer/search/package.json +7 -7
- package/node_modules/@inquirer/select/package.json +7 -7
- package/node_modules/@inquirer/type/package.json +3 -3
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/constants.d.ts +14 -12
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/inquirer/dist/commonjs/index.d.ts +1 -1
- package/node_modules/inquirer/dist/esm/index.d.ts +1 -1
- package/node_modules/inquirer/dist/esm/index.js +1 -1
- package/node_modules/inquirer/package.json +7 -7
- package/node_modules/rxjs/CHANGELOG.md +8 -0
- package/node_modules/rxjs/dist/bundles/rxjs.umd.js +17 -10
- package/node_modules/rxjs/dist/bundles/rxjs.umd.js.map +1 -1
- package/node_modules/rxjs/dist/bundles/rxjs.umd.min.js +131 -131
- package/node_modules/rxjs/dist/bundles/rxjs.umd.min.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/AsyncSubject.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/BehaviorSubject.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/Notification.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/Observable.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/Scheduler.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/Subject.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/Subscriber.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/Subscription.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/ajax/errors.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/bindCallback.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/bindNodeCallback.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/defer.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/dom/webSocket.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/forkJoin.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/fromEventPattern.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/generate.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/interval.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/merge.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/onErrorResumeNext.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/pairs.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/range.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/using.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/observable/zip.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/bufferTime.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/catchError.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/concatMap.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/debounceTime.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilKeyChanged.js +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilKeyChanged.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/exhaustMap.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/expand.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/find.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/findIndex.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/first.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/last.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/map.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/max.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/merge.js +0 -2
- package/node_modules/rxjs/dist/cjs/internal/operators/merge.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/mergeScan.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/min.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/partition.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/reduce.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/retry.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/single.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/takeUntil.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/timeout.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/windowCount.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/windowToggle.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/windowWhen.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/scheduler/Action.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameAction.js +1 -1
- package/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameAction.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameScheduler.js +8 -2
- package/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/scheduler/VirtualTimeScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/testing/TestScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/util/ArgumentOutOfRangeError.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js +7 -5
- package/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/util/NotFoundError.js.map +1 -1
- package/node_modules/rxjs/dist/cjs/internal/util/SequenceError.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/AsyncSubject.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/BehaviorSubject.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/Notification.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/Observable.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/Scheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/Subject.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/Subscriber.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/Subscription.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/ajax/errors.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/bindCallback.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/bindNodeCallback.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/combineLatest.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/defer.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/dom/webSocket.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/forkJoin.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/fromEvent.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/fromEventPattern.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/generate.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/interval.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/merge.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/onErrorResumeNext.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/pairs.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/range.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/using.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/observable/zip.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/bufferTime.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/catchError.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/concatMap.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/debounceTime.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/distinctUntilKeyChanged.js +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/distinctUntilKeyChanged.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/exhaustMap.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/expand.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/find.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/findIndex.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/first.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/last.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/map.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/max.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/merge.js +0 -2
- package/node_modules/rxjs/dist/esm/internal/operators/merge.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/mergeMap.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/mergeScan.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/min.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/partition.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/reduce.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/retry.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/single.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/switchMap.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/takeUntil.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/timeout.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/windowCount.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/windowToggle.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/windowWhen.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/operators/withLatestFrom.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/scheduler/Action.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameAction.js +1 -1
- package/node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameAction.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js +8 -2
- package/node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/scheduler/VirtualTimeScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/testing/TestScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/util/ArgumentOutOfRangeError.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/util/EmptyError.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/util/NotFoundError.js.map +1 -1
- package/node_modules/rxjs/dist/esm/internal/util/SequenceError.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/AsyncSubject.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/Notification.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/Scheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/Subject.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/ajax/errors.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/bindCallback.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/bindNodeCallback.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/combineLatest.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/defer.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/dom/webSocket.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/forkJoin.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/fromEventPattern.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/generate.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/interval.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/merge.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/onErrorResumeNext.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/pairs.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/range.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/using.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/observable/zip.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/bufferTime.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/catchError.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/concatMap.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/debounceTime.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/exhaustMap.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/expand.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/find.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/findIndex.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/first.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/last.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/map.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/max.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/merge.js +0 -2
- package/node_modules/rxjs/dist/esm5/internal/operators/merge.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/mergeScan.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/min.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/partition.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/reduce.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/retry.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/single.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/switchMap.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/takeUntil.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/timeout.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/windowCount.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/windowToggle.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/windowWhen.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/operators/withLatestFrom.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/scheduler/AnimationFrameAction.js +1 -1
- package/node_modules/rxjs/dist/esm5/internal/scheduler/AnimationFrameAction.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/scheduler/AnimationFrameScheduler.js +8 -2
- package/node_modules/rxjs/dist/esm5/internal/scheduler/AnimationFrameScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/scheduler/VirtualTimeScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/testing/TestScheduler.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/util/ArgumentOutOfRangeError.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/util/EmptyError.js +7 -5
- package/node_modules/rxjs/dist/esm5/internal/util/EmptyError.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/util/NotFoundError.js.map +1 -1
- package/node_modules/rxjs/dist/esm5/internal/util/SequenceError.js.map +1 -1
- package/node_modules/rxjs/dist/types/internal/AsyncSubject.d.ts +0 -2
- package/node_modules/rxjs/dist/types/internal/AsyncSubject.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/BehaviorSubject.d.ts +0 -2
- package/node_modules/rxjs/dist/types/internal/BehaviorSubject.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/Notification.d.ts +5 -10
- package/node_modules/rxjs/dist/types/internal/Notification.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/Observable.d.ts +7 -14
- package/node_modules/rxjs/dist/types/internal/Observable.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/ReplaySubject.d.ts +3 -3
- package/node_modules/rxjs/dist/types/internal/Scheduler.d.ts +8 -10
- package/node_modules/rxjs/dist/types/internal/Scheduler.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/Subject.d.ts +1 -5
- package/node_modules/rxjs/dist/types/internal/Subject.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/Subscriber.d.ts +3 -9
- package/node_modules/rxjs/dist/types/internal/Subscriber.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/Subscription.d.ts +0 -4
- package/node_modules/rxjs/dist/types/internal/Subscription.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/ajax/errors.d.ts +0 -4
- package/node_modules/rxjs/dist/types/internal/ajax/errors.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/observable/combineLatest.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/observable/defer.d.ts +5 -6
- package/node_modules/rxjs/dist/types/internal/observable/defer.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/observable/dom/webSocket.d.ts +2 -3
- package/node_modules/rxjs/dist/types/internal/observable/dom/webSocket.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/observable/generate.d.ts +21 -18
- package/node_modules/rxjs/dist/types/internal/observable/generate.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/observable/interval.d.ts +5 -6
- package/node_modules/rxjs/dist/types/internal/observable/interval.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/observable/onErrorResumeNext.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/observable/using.d.ts +3 -5
- package/node_modules/rxjs/dist/types/internal/observable/using.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/auditTime.d.ts +5 -5
- package/node_modules/rxjs/dist/types/internal/operators/bufferCount.d.ts +2 -2
- package/node_modules/rxjs/dist/types/internal/operators/bufferTime.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/bufferWhen.d.ts +2 -2
- package/node_modules/rxjs/dist/types/internal/operators/catchError.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/debounceTime.d.ts +5 -6
- package/node_modules/rxjs/dist/types/internal/operators/debounceTime.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/delay.d.ts +4 -4
- package/node_modules/rxjs/dist/types/internal/operators/distinctUntilKeyChanged.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/elementAt.d.ts +4 -4
- package/node_modules/rxjs/dist/types/internal/operators/finalize.d.ts +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/find.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/max.d.ts +5 -4
- package/node_modules/rxjs/dist/types/internal/operators/max.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/merge.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/mergeAll.d.ts +2 -2
- package/node_modules/rxjs/dist/types/internal/operators/mergeScan.d.ts +3 -4
- package/node_modules/rxjs/dist/types/internal/operators/mergeScan.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/min.d.ts +5 -4
- package/node_modules/rxjs/dist/types/internal/operators/min.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/partition.d.ts +8 -9
- package/node_modules/rxjs/dist/types/internal/operators/partition.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/repeat.d.ts +2 -2
- package/node_modules/rxjs/dist/types/internal/operators/repeatWhen.d.ts +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/retryWhen.d.ts +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/sampleTime.d.ts +4 -4
- package/node_modules/rxjs/dist/types/internal/operators/skip.d.ts +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/takeUntil.d.ts +2 -3
- package/node_modules/rxjs/dist/types/internal/operators/takeUntil.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/timeInterval.d.ts +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/timeout.d.ts +0 -2
- package/node_modules/rxjs/dist/types/internal/operators/timeout.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/windowCount.d.ts +5 -6
- package/node_modules/rxjs/dist/types/internal/operators/windowCount.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/windowToggle.d.ts +4 -6
- package/node_modules/rxjs/dist/types/internal/operators/windowToggle.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/operators/windowWhen.d.ts +4 -3
- package/node_modules/rxjs/dist/types/internal/operators/windowWhen.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/scheduler/Action.d.ts +5 -7
- package/node_modules/rxjs/dist/types/internal/scheduler/Action.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/scheduler/AnimationFrameScheduler.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/scheduler/AsyncAction.d.ts +0 -1
- package/node_modules/rxjs/dist/types/internal/scheduler/AsyncAction.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/scheduler/AsyncScheduler.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/scheduler/VirtualTimeScheduler.d.ts +0 -1
- package/node_modules/rxjs/dist/types/internal/scheduler/VirtualTimeScheduler.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/testing/TestScheduler.d.ts +0 -3
- package/node_modules/rxjs/dist/types/internal/testing/TestScheduler.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/types.d.ts +6 -0
- package/node_modules/rxjs/dist/types/internal/types.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/util/ArgumentOutOfRangeError.d.ts +0 -2
- package/node_modules/rxjs/dist/types/internal/util/ArgumentOutOfRangeError.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/util/EmptyError.d.ts +0 -2
- package/node_modules/rxjs/dist/types/internal/util/EmptyError.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/util/NotFoundError.d.ts +0 -2
- package/node_modules/rxjs/dist/types/internal/util/NotFoundError.d.ts.map +1 -1
- package/node_modules/rxjs/dist/types/internal/util/SequenceError.d.ts +0 -2
- package/node_modules/rxjs/dist/types/internal/util/SequenceError.d.ts.map +1 -1
- package/node_modules/rxjs/package.json +1 -1
- package/node_modules/rxjs/src/internal/AsyncSubject.ts +0 -2
- package/node_modules/rxjs/src/internal/BehaviorSubject.ts +0 -2
- package/node_modules/rxjs/src/internal/Notification.ts +5 -10
- package/node_modules/rxjs/src/internal/Observable.ts +16 -27
- package/node_modules/rxjs/src/internal/ReplaySubject.ts +3 -3
- package/node_modules/rxjs/src/internal/Scheduler.ts +8 -10
- package/node_modules/rxjs/src/internal/Subject.ts +1 -5
- package/node_modules/rxjs/src/internal/Subscriber.ts +6 -12
- package/node_modules/rxjs/src/internal/Subscription.ts +0 -4
- package/node_modules/rxjs/src/internal/ajax/errors.ts +0 -4
- package/node_modules/rxjs/src/internal/observable/bindCallback.ts +13 -9
- package/node_modules/rxjs/src/internal/observable/bindNodeCallback.ts +12 -9
- package/node_modules/rxjs/src/internal/observable/combineLatest.ts +5 -9
- package/node_modules/rxjs/src/internal/observable/concat.ts +1 -1
- package/node_modules/rxjs/src/internal/observable/defer.ts +5 -6
- package/node_modules/rxjs/src/internal/observable/dom/webSocket.ts +2 -3
- package/node_modules/rxjs/src/internal/observable/forkJoin.ts +3 -5
- package/node_modules/rxjs/src/internal/observable/from.ts +3 -3
- package/node_modules/rxjs/src/internal/observable/fromEvent.ts +9 -6
- package/node_modules/rxjs/src/internal/observable/fromEventPattern.ts +9 -12
- package/node_modules/rxjs/src/internal/observable/generate.ts +21 -18
- package/node_modules/rxjs/src/internal/observable/interval.ts +5 -6
- package/node_modules/rxjs/src/internal/observable/merge.ts +5 -7
- package/node_modules/rxjs/src/internal/observable/of.ts +3 -3
- package/node_modules/rxjs/src/internal/observable/onErrorResumeNext.ts +2 -5
- package/node_modules/rxjs/src/internal/observable/pairs.ts +4 -6
- package/node_modules/rxjs/src/internal/observable/partition.ts +11 -11
- package/node_modules/rxjs/src/internal/observable/race.ts +2 -2
- package/node_modules/rxjs/src/internal/observable/range.ts +5 -6
- package/node_modules/rxjs/src/internal/observable/using.ts +3 -5
- package/node_modules/rxjs/src/internal/observable/zip.ts +4 -2
- package/node_modules/rxjs/src/internal/operators/auditTime.ts +5 -5
- package/node_modules/rxjs/src/internal/operators/bufferCount.ts +2 -2
- package/node_modules/rxjs/src/internal/operators/bufferTime.ts +5 -8
- package/node_modules/rxjs/src/internal/operators/bufferWhen.ts +2 -2
- package/node_modules/rxjs/src/internal/operators/catchError.ts +3 -5
- package/node_modules/rxjs/src/internal/operators/concatMap.ts +2 -3
- package/node_modules/rxjs/src/internal/operators/concatMapTo.ts +2 -2
- package/node_modules/rxjs/src/internal/operators/debounceTime.ts +5 -6
- package/node_modules/rxjs/src/internal/operators/delay.ts +4 -4
- package/node_modules/rxjs/src/internal/operators/distinctUntilKeyChanged.ts +15 -11
- package/node_modules/rxjs/src/internal/operators/elementAt.ts +4 -4
- package/node_modules/rxjs/src/internal/operators/every.ts +2 -2
- package/node_modules/rxjs/src/internal/operators/exhaustMap.ts +2 -3
- package/node_modules/rxjs/src/internal/operators/expand.ts +5 -6
- package/node_modules/rxjs/src/internal/operators/finalize.ts +1 -1
- package/node_modules/rxjs/src/internal/operators/find.ts +3 -4
- package/node_modules/rxjs/src/internal/operators/findIndex.ts +3 -4
- package/node_modules/rxjs/src/internal/operators/first.ts +9 -8
- package/node_modules/rxjs/src/internal/operators/last.ts +11 -10
- package/node_modules/rxjs/src/internal/operators/map.ts +4 -5
- package/node_modules/rxjs/src/internal/operators/max.ts +5 -4
- package/node_modules/rxjs/src/internal/operators/merge.ts +0 -2
- package/node_modules/rxjs/src/internal/operators/mergeAll.ts +2 -2
- package/node_modules/rxjs/src/internal/operators/mergeMap.ts +3 -5
- package/node_modules/rxjs/src/internal/operators/mergeMapTo.ts +4 -4
- package/node_modules/rxjs/src/internal/operators/mergeScan.ts +3 -4
- package/node_modules/rxjs/src/internal/operators/min.ts +5 -4
- package/node_modules/rxjs/src/internal/operators/onErrorResumeNextWith.ts +1 -1
- package/node_modules/rxjs/src/internal/operators/partition.ts +8 -9
- package/node_modules/rxjs/src/internal/operators/publish.ts +1 -1
- package/node_modules/rxjs/src/internal/operators/reduce.ts +2 -3
- package/node_modules/rxjs/src/internal/operators/repeat.ts +2 -2
- package/node_modules/rxjs/src/internal/operators/repeatWhen.ts +1 -1
- package/node_modules/rxjs/src/internal/operators/retry.ts +2 -1
- package/node_modules/rxjs/src/internal/operators/retryWhen.ts +1 -1
- package/node_modules/rxjs/src/internal/operators/sampleTime.ts +4 -4
- package/node_modules/rxjs/src/internal/operators/single.ts +13 -9
- package/node_modules/rxjs/src/internal/operators/skip.ts +1 -1
- package/node_modules/rxjs/src/internal/operators/skipWhile.ts +1 -1
- package/node_modules/rxjs/src/internal/operators/switchMap.ts +2 -3
- package/node_modules/rxjs/src/internal/operators/switchMapTo.ts +2 -2
- package/node_modules/rxjs/src/internal/operators/takeUntil.ts +2 -3
- package/node_modules/rxjs/src/internal/operators/takeWhile.ts +5 -5
- package/node_modules/rxjs/src/internal/operators/timeInterval.ts +1 -1
- package/node_modules/rxjs/src/internal/operators/timeout.ts +0 -2
- package/node_modules/rxjs/src/internal/operators/windowCount.ts +5 -6
- package/node_modules/rxjs/src/internal/operators/windowToggle.ts +4 -6
- package/node_modules/rxjs/src/internal/operators/windowWhen.ts +4 -3
- package/node_modules/rxjs/src/internal/operators/withLatestFrom.ts +8 -7
- package/node_modules/rxjs/src/internal/scheduler/Action.ts +5 -7
- package/node_modules/rxjs/src/internal/scheduler/AnimationFrameAction.ts +1 -1
- package/node_modules/rxjs/src/internal/scheduler/AnimationFrameScheduler.ts +7 -2
- package/node_modules/rxjs/src/internal/scheduler/AsyncAction.ts +0 -1
- package/node_modules/rxjs/src/internal/scheduler/AsyncScheduler.ts +0 -2
- package/node_modules/rxjs/src/internal/scheduler/VirtualTimeScheduler.ts +0 -1
- package/node_modules/rxjs/src/internal/testing/TestScheduler.ts +0 -3
- package/node_modules/rxjs/src/internal/types.ts +6 -0
- package/node_modules/rxjs/src/internal/util/ArgumentOutOfRangeError.ts +0 -2
- package/node_modules/rxjs/src/internal/util/EmptyError.ts +8 -7
- package/node_modules/rxjs/src/internal/util/NotFoundError.ts +0 -2
- package/node_modules/rxjs/src/internal/util/SequenceError.ts +0 -2
- package/package.json +11 -11
|
@@ -68,9 +68,8 @@ export function concatMap<T, R, O extends ObservableInput<any>>(
|
|
|
68
68
|
* @see {@link mergeMap}
|
|
69
69
|
* @see {@link switchMap}
|
|
70
70
|
*
|
|
71
|
-
* @param
|
|
72
|
-
*
|
|
73
|
-
* Observable.
|
|
71
|
+
* @param project A function that, when applied to an item emitted by the source
|
|
72
|
+
* Observable, returns an Observable.
|
|
74
73
|
* @return A function that returns an Observable that emits the result of
|
|
75
74
|
* applying the projection function (and the optional deprecated
|
|
76
75
|
* `resultSelector`) to each item emitted by the source Observable and taking
|
|
@@ -64,8 +64,8 @@ export function concatMapTo<T, R, O extends ObservableInput<unknown>>(
|
|
|
64
64
|
* @see {@link mergeMapTo}
|
|
65
65
|
* @see {@link switchMapTo}
|
|
66
66
|
*
|
|
67
|
-
* @param
|
|
68
|
-
*
|
|
67
|
+
* @param innerObservable An `ObservableInput` to replace each value from the
|
|
68
|
+
* source Observable.
|
|
69
69
|
* @return A function that returns an Observable of values merged together by
|
|
70
70
|
* joining the passed Observable with itself, one after the other, for each
|
|
71
71
|
* value emitted from the source.
|
|
@@ -51,12 +51,11 @@ import { createOperatorSubscriber } from './OperatorSubscriber';
|
|
|
51
51
|
* @see {@link throttle}
|
|
52
52
|
* @see {@link throttleTime}
|
|
53
53
|
*
|
|
54
|
-
* @param
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* managing the timers that handle the timeout for each value.
|
|
54
|
+
* @param dueTime The timeout duration in milliseconds (or the time unit determined
|
|
55
|
+
* internally by the optional `scheduler`) for the window of time required to wait
|
|
56
|
+
* for emission silence before emitting the most recent source value.
|
|
57
|
+
* @param scheduler The {@link SchedulerLike} to use for managing the timers that
|
|
58
|
+
* handle the timeout for each value.
|
|
60
59
|
* @return A function that returns an Observable that delays the emissions of
|
|
61
60
|
* the source Observable by the specified `dueTime`, and may drop some values
|
|
62
61
|
* if they occur too frequently.
|
|
@@ -52,10 +52,10 @@ import { timer } from '../observable/timer';
|
|
|
52
52
|
* @see {@link audit}
|
|
53
53
|
* @see {@link auditTime}
|
|
54
54
|
*
|
|
55
|
-
* @param
|
|
56
|
-
*
|
|
57
|
-
* @param
|
|
58
|
-
*
|
|
55
|
+
* @param due The delay duration in milliseconds (a `number`) or a `Date` until
|
|
56
|
+
* which the emission of the source items is delayed.
|
|
57
|
+
* @param scheduler The {@link SchedulerLike} to use for managing the timers
|
|
58
|
+
* that handle the time-shift for each item.
|
|
59
59
|
* @return A function that returns an Observable that delays the emissions of
|
|
60
60
|
* the source Observable by the specified timeout or Date.
|
|
61
61
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { distinctUntilChanged } from './distinctUntilChanged';
|
|
2
2
|
import { MonoTypeOperatorFunction } from '../types';
|
|
3
3
|
|
|
4
|
-
/* tslint:disable:max-line-length */
|
|
5
4
|
export function distinctUntilKeyChanged<T>(key: keyof T): MonoTypeOperatorFunction<T>;
|
|
6
5
|
export function distinctUntilKeyChanged<T, K extends keyof T>(key: K, compare: (x: T[K], y: T[K]) => boolean): MonoTypeOperatorFunction<T>;
|
|
7
|
-
/* tslint:enable:max-line-length */
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
|
-
* Returns an Observable that emits all items emitted by the source Observable that
|
|
11
|
-
*
|
|
8
|
+
* Returns an Observable that emits all items emitted by the source Observable that
|
|
9
|
+
* are distinct by comparison from the previous item, using a property accessed by
|
|
10
|
+
* using the key provided to check if the two items are distinct.
|
|
12
11
|
*
|
|
13
|
-
* If a comparator function is provided, then it will be called for each item to
|
|
12
|
+
* If a comparator function is provided, then it will be called for each item to
|
|
13
|
+
* test for whether that value should be emitted or not.
|
|
14
14
|
*
|
|
15
15
|
* If a comparator function is not provided, an equality check is used by default.
|
|
16
16
|
*
|
|
@@ -61,11 +61,15 @@ export function distinctUntilKeyChanged<T, K extends keyof T>(key: K, compare: (
|
|
|
61
61
|
* @see {@link distinct}
|
|
62
62
|
* @see {@link distinctUntilChanged}
|
|
63
63
|
*
|
|
64
|
-
* @param
|
|
65
|
-
* @param
|
|
66
|
-
*
|
|
67
|
-
*
|
|
64
|
+
* @param key String key for object property lookup on each item.
|
|
65
|
+
* @param compare Optional comparison function called to test if an item is distinct
|
|
66
|
+
* from the previous item in the source.
|
|
67
|
+
* @return A function that returns an Observable that emits items from the source
|
|
68
|
+
* Observable with distinct values based on the key specified.
|
|
68
69
|
*/
|
|
69
|
-
export function distinctUntilKeyChanged<T, K extends keyof T>(
|
|
70
|
-
|
|
70
|
+
export function distinctUntilKeyChanged<T, K extends keyof T>(
|
|
71
|
+
key: K,
|
|
72
|
+
compare?: (x: T[K], y: T[K]) => boolean
|
|
73
|
+
): MonoTypeOperatorFunction<T> {
|
|
74
|
+
return distinctUntilChanged((x: T, y: T) => (compare ? compare(x[key], y[key]) : x[key] === y[key]));
|
|
71
75
|
}
|
|
@@ -44,12 +44,12 @@ import { take } from './take';
|
|
|
44
44
|
* @see {@link take}
|
|
45
45
|
*
|
|
46
46
|
* @throws {ArgumentOutOfRangeError} When using `elementAt(i)`, it delivers an
|
|
47
|
-
* ArgumentOutOfRangeError to the Observer's `error` callback if `i < 0` or the
|
|
47
|
+
* `ArgumentOutOfRangeError` to the Observer's `error` callback if `i < 0` or the
|
|
48
48
|
* Observable has completed before emitting the i-th `next` notification.
|
|
49
49
|
*
|
|
50
|
-
* @param
|
|
51
|
-
*
|
|
52
|
-
* @param
|
|
50
|
+
* @param index Is the number `i` for the i-th source emission that has happened
|
|
51
|
+
* since the subscription, starting from the number `0`.
|
|
52
|
+
* @param defaultValue The default value returned for missing indices.
|
|
53
53
|
* @return A function that returns an Observable that emits a single item, if
|
|
54
54
|
* it is found. Otherwise, it will emit the default value if given. If not, it
|
|
55
55
|
* emits an error.
|
|
@@ -36,8 +36,8 @@ export function every<T>(predicate: (value: T, index: number, source: Observable
|
|
|
36
36
|
* .subscribe(x => console.log(x)); // -> false
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
|
-
* @param
|
|
40
|
-
* @param
|
|
39
|
+
* @param predicate A function for determining if an item meets a specified condition.
|
|
40
|
+
* @param thisArg Optional object to use for `this` in the callback.
|
|
41
41
|
* @return A function that returns an Observable of booleans that determines if
|
|
42
42
|
* all items of the source Observable meet the condition specified.
|
|
43
43
|
*/
|
|
@@ -59,9 +59,8 @@ export function exhaustMap<T, I, R>(
|
|
|
59
59
|
* @see {@link mergeMap}
|
|
60
60
|
* @see {@link switchMap}
|
|
61
61
|
*
|
|
62
|
-
* @param
|
|
63
|
-
*
|
|
64
|
-
* Observable.
|
|
62
|
+
* @param project A function that, when applied to an item emitted by the source
|
|
63
|
+
* Observable, returns an Observable.
|
|
65
64
|
* @return A function that returns an Observable containing projected
|
|
66
65
|
* Observables of each item of the source, ignoring projected Observables that
|
|
67
66
|
* start before their preceding Observable has completed.
|
|
@@ -59,12 +59,11 @@ export function expand<T, O extends ObservableInput<unknown>>(
|
|
|
59
59
|
* @see {@link mergeMap}
|
|
60
60
|
* @see {@link mergeScan}
|
|
61
61
|
*
|
|
62
|
-
* @param
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* @param {SchedulerLike} [scheduler=null] The {@link SchedulerLike} to use for subscribing to
|
|
62
|
+
* @param project A function that, when applied to an item emitted by the source
|
|
63
|
+
* or the output Observable, returns an Observable.
|
|
64
|
+
* @param concurrent Maximum number of input Observables being subscribed to
|
|
65
|
+
* concurrently.
|
|
66
|
+
* @param scheduler The {@link SchedulerLike} to use for subscribing to
|
|
68
67
|
* each projected inner Observable.
|
|
69
68
|
* @return A function that returns an Observable that emits the source values
|
|
70
69
|
* and also result of applying the projection function to each value emitted on
|
|
@@ -58,7 +58,7 @@ import { operate } from '../util/lift';
|
|
|
58
58
|
* // '[finalize] Called'
|
|
59
59
|
* ```
|
|
60
60
|
*
|
|
61
|
-
* @param
|
|
61
|
+
* @param callback Function to be called when source terminates.
|
|
62
62
|
* @return A function that returns an Observable that mirrors the source, but
|
|
63
63
|
* will call the specified function on termination.
|
|
64
64
|
*/
|
|
@@ -55,10 +55,9 @@ export function find<T>(predicate: (value: T, index: number, source: Observable<
|
|
|
55
55
|
* @see {@link findIndex}
|
|
56
56
|
* @see {@link take}
|
|
57
57
|
*
|
|
58
|
-
* @param
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* in the `predicate` function.
|
|
58
|
+
* @param predicate A function called with each item to test for condition matching.
|
|
59
|
+
* @param thisArg An optional argument to determine the value of `this` in the
|
|
60
|
+
* `predicate` function.
|
|
62
61
|
* @return A function that returns an Observable that emits the first item that
|
|
63
62
|
* matches the condition.
|
|
64
63
|
*/
|
|
@@ -49,10 +49,9 @@ export function findIndex<T>(predicate: (value: T, index: number, source: Observ
|
|
|
49
49
|
* @see {@link first}
|
|
50
50
|
* @see {@link take}
|
|
51
51
|
*
|
|
52
|
-
* @param
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* in the `predicate` function.
|
|
52
|
+
* @param predicate A function called with each item to test for condition matching.
|
|
53
|
+
* @param thisArg An optional argument to determine the value of `this` in the
|
|
54
|
+
* `predicate` function.
|
|
56
55
|
* @return A function that returns an Observable that emits the index of the
|
|
57
56
|
* first item that matches the condition.
|
|
58
57
|
*/
|
|
@@ -34,8 +34,8 @@ export function first<T, D = T>(
|
|
|
34
34
|
*
|
|
35
35
|
* If called with no arguments, `first` emits the first value of the source
|
|
36
36
|
* Observable, then completes. If called with a `predicate` function, `first`
|
|
37
|
-
* emits the first value of the source that matches the specified condition.
|
|
38
|
-
* `defaultValue` was not provided and a matching element is not found.
|
|
37
|
+
* emits the first value of the source that matches the specified condition. Emits an error
|
|
38
|
+
* notification if `defaultValue` was not provided and a matching element is not found.
|
|
39
39
|
*
|
|
40
40
|
* ## Examples
|
|
41
41
|
*
|
|
@@ -66,15 +66,16 @@ export function first<T, D = T>(
|
|
|
66
66
|
* @see {@link filter}
|
|
67
67
|
* @see {@link find}
|
|
68
68
|
* @see {@link take}
|
|
69
|
+
* @see {@link last}
|
|
69
70
|
*
|
|
70
|
-
* @throws {EmptyError} Delivers an EmptyError to the Observer's `error`
|
|
71
|
+
* @throws {EmptyError} Delivers an `EmptyError` to the Observer's `error`
|
|
71
72
|
* callback if the Observable completes before any `next` notification was sent.
|
|
72
|
-
* This is how `first()` is different from
|
|
73
|
+
* This is how `first()` is different from `take(1)` which completes instead.
|
|
73
74
|
*
|
|
74
|
-
* @param
|
|
75
|
-
*
|
|
76
|
-
* @param
|
|
77
|
-
*
|
|
75
|
+
* @param predicate An optional function called with each item to test for condition
|
|
76
|
+
* matching.
|
|
77
|
+
* @param defaultValue The default value emitted in case no valid value was found on
|
|
78
|
+
* the source.
|
|
78
79
|
* @return A function that returns an Observable that emits the first item that
|
|
79
80
|
* matches the condition.
|
|
80
81
|
*/
|
|
@@ -27,9 +27,9 @@ export function last<T, D = T>(
|
|
|
27
27
|
*
|
|
28
28
|
* 
|
|
29
29
|
*
|
|
30
|
-
* It will
|
|
31
|
-
* returns the last value or if a predicate is provided last value that matches the
|
|
32
|
-
* given default value if no notification is emitted or matches the predicate.
|
|
30
|
+
* It will emit an error notification if the source completes without notification or one that matches
|
|
31
|
+
* the predicate. It returns the last value or if a predicate is provided last value that matches the
|
|
32
|
+
* predicate. It returns the given default value if no notification is emitted or matches the predicate.
|
|
33
33
|
*
|
|
34
34
|
* ## Examples
|
|
35
35
|
*
|
|
@@ -65,16 +65,17 @@ export function last<T, D = T>(
|
|
|
65
65
|
* @see {@link skipUntil}
|
|
66
66
|
* @see {@link skipLast}
|
|
67
67
|
* @see {@link skipWhile}
|
|
68
|
+
* @see {@link first}
|
|
68
69
|
*
|
|
69
|
-
* @throws {EmptyError} Delivers an EmptyError to the Observer's `error`
|
|
70
|
+
* @throws {EmptyError} Delivers an `EmptyError` to the Observer's `error`
|
|
70
71
|
* callback if the Observable completes before any `next` notification was sent.
|
|
71
|
-
*
|
|
72
|
-
* @param
|
|
73
|
-
*
|
|
72
|
+
*
|
|
73
|
+
* @param predicate The condition any source emitted item has to satisfy.
|
|
74
|
+
* @param defaultValue An optional default value to provide if last `predicate`
|
|
75
|
+
* isn't met or no values were emitted.
|
|
74
76
|
* @return A function that returns an Observable that emits only the last item
|
|
75
|
-
* satisfying the given condition from the source, or
|
|
76
|
-
* if no such items are emitted.
|
|
77
|
-
* @throws - Throws if no items that match the predicate are emitted by the source Observable.
|
|
77
|
+
* satisfying the given condition from the source, or an error notification
|
|
78
|
+
* with an `EmptyError` object if no such items are emitted.
|
|
78
79
|
*/
|
|
79
80
|
export function last<T, D>(
|
|
80
81
|
predicate?: ((value: T, index: number, source: Observable<T>) => boolean) | null,
|
|
@@ -36,11 +36,10 @@ export function map<T, R, A>(project: (this: A, value: T, index: number) => R, t
|
|
|
36
36
|
* @see {@link mapTo}
|
|
37
37
|
* @see {@link pluck}
|
|
38
38
|
*
|
|
39
|
-
* @param
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* @param {any} [thisArg] An optional argument to define what `this` is in the
|
|
39
|
+
* @param project The function to apply to each `value` emitted by the source
|
|
40
|
+
* Observable. The `index` parameter is the number `i` for the i-th emission
|
|
41
|
+
* that has happened since the subscription, starting from the number `0`.
|
|
42
|
+
* @param thisArg An optional argument to define what `this` is in the
|
|
44
43
|
* `project` function.
|
|
45
44
|
* @return A function that returns an Observable that emits the values from the
|
|
46
45
|
* source Observable transformed by the given `project` function.
|
|
@@ -3,8 +3,9 @@ import { MonoTypeOperatorFunction } from '../types';
|
|
|
3
3
|
import { isFunction } from '../util/isFunction';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* The
|
|
7
|
-
*
|
|
6
|
+
* The `max` operator operates on an Observable that emits numbers (or items that
|
|
7
|
+
* can be compared with a provided function), and when source Observable completes
|
|
8
|
+
* it emits a single item: the item with the largest value.
|
|
8
9
|
*
|
|
9
10
|
* 
|
|
10
11
|
*
|
|
@@ -43,8 +44,8 @@ import { isFunction } from '../util/isFunction';
|
|
|
43
44
|
*
|
|
44
45
|
* @see {@link min}
|
|
45
46
|
*
|
|
46
|
-
* @param
|
|
47
|
-
* value of two items.
|
|
47
|
+
* @param comparer Optional comparer function that it will use instead of its
|
|
48
|
+
* default to compare the value of two items.
|
|
48
49
|
* @return A function that returns an Observable that emits item with the
|
|
49
50
|
* largest value.
|
|
50
51
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ObservableInput, ObservableInputTuple, OperatorFunction, SchedulerLike } from '../types';
|
|
2
2
|
import { operate } from '../util/lift';
|
|
3
|
-
import { argsOrArgArray } from '../util/argsOrArgArray';
|
|
4
3
|
import { mergeAll } from './mergeAll';
|
|
5
4
|
import { popNumber, popScheduler } from '../util/args';
|
|
6
5
|
import { from } from '../observable/from';
|
|
@@ -23,7 +22,6 @@ export function merge<T, A extends readonly unknown[]>(
|
|
|
23
22
|
export function merge<T>(...args: unknown[]): OperatorFunction<T, unknown> {
|
|
24
23
|
const scheduler = popScheduler(args);
|
|
25
24
|
const concurrent = popNumber(args, Infinity);
|
|
26
|
-
args = argsOrArgArray(args);
|
|
27
25
|
|
|
28
26
|
return operate((source, subscriber) => {
|
|
29
27
|
mergeAll(concurrent)(from([source, ...(args as ObservableInput<T>[])], scheduler)).subscribe(subscriber);
|
|
@@ -56,8 +56,8 @@ import { OperatorFunction, ObservableInput, ObservedValueOf } from '../types';
|
|
|
56
56
|
* @see {@link switchMap}
|
|
57
57
|
* @see {@link zipAll}
|
|
58
58
|
*
|
|
59
|
-
* @param
|
|
60
|
-
*
|
|
59
|
+
* @param concurrent Maximum number of inner Observables being subscribed to
|
|
60
|
+
* concurrently.
|
|
61
61
|
* @return A function that returns an Observable that emits values coming from
|
|
62
62
|
* all the inner Observables emitted by the source Observable.
|
|
63
63
|
*/
|
|
@@ -70,11 +70,9 @@ export function mergeMap<T, R, O extends ObservableInput<any>>(
|
|
|
70
70
|
* @see {@link mergeScan}
|
|
71
71
|
* @see {@link switchMap}
|
|
72
72
|
*
|
|
73
|
-
* @param
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @param {number} [concurrent=Infinity] Maximum number of input
|
|
77
|
-
* Observables being subscribed to concurrently.
|
|
73
|
+
* @param project A function that, when applied to an item emitted by the source
|
|
74
|
+
* Observable, returns an Observable.
|
|
75
|
+
* @param concurrent Maximum number of `ObservableInput`s being subscribed to concurrently.
|
|
78
76
|
* @return A function that returns an Observable that emits the result of
|
|
79
77
|
* applying the projection function (and the optional deprecated
|
|
80
78
|
* `resultSelector`) to each item emitted by the source Observable and merging
|
|
@@ -51,10 +51,10 @@ export function mergeMapTo<T, R, O extends ObservableInput<unknown>>(
|
|
|
51
51
|
* @see {@link mergeScan}
|
|
52
52
|
* @see {@link switchMapTo}
|
|
53
53
|
*
|
|
54
|
-
* @param
|
|
55
|
-
*
|
|
56
|
-
* @param
|
|
57
|
-
*
|
|
54
|
+
* @param innerObservable An `ObservableInput` to replace each value from the
|
|
55
|
+
* source Observable.
|
|
56
|
+
* @param concurrent Maximum number of input Observables being subscribed to
|
|
57
|
+
* concurrently.
|
|
58
58
|
* @return A function that returns an Observable that emits items from the
|
|
59
59
|
* given `innerObservable`.
|
|
60
60
|
* @deprecated Will be removed in v9. Use {@link mergeMap} instead: `mergeMap(() => result)`
|
|
@@ -61,11 +61,10 @@ import { mergeInternals } from './mergeInternals';
|
|
|
61
61
|
* @see {@link scan}
|
|
62
62
|
* @see {@link switchScan}
|
|
63
63
|
*
|
|
64
|
-
* @param
|
|
65
|
-
* The accumulator function called on each source value.
|
|
64
|
+
* @param accumulator The accumulator function called on each source value.
|
|
66
65
|
* @param seed The initial accumulation value.
|
|
67
|
-
* @param
|
|
68
|
-
*
|
|
66
|
+
* @param concurrent Maximum number of input Observables being subscribed to
|
|
67
|
+
* concurrently.
|
|
69
68
|
* @return A function that returns an Observable of the accumulated values.
|
|
70
69
|
*/
|
|
71
70
|
export function mergeScan<T, R>(
|
|
@@ -3,8 +3,9 @@ import { MonoTypeOperatorFunction } from '../types';
|
|
|
3
3
|
import { isFunction } from '../util/isFunction';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* The
|
|
7
|
-
*
|
|
6
|
+
* The `min` operator operates on an Observable that emits numbers (or items that
|
|
7
|
+
* can be compared with a provided function), and when source Observable completes
|
|
8
|
+
* it emits a single item: the item with the smallest value.
|
|
8
9
|
*
|
|
9
10
|
* 
|
|
10
11
|
*
|
|
@@ -43,8 +44,8 @@ import { isFunction } from '../util/isFunction';
|
|
|
43
44
|
*
|
|
44
45
|
* @see {@link max}
|
|
45
46
|
*
|
|
46
|
-
* @param
|
|
47
|
-
* value of two items.
|
|
47
|
+
* @param comparer Optional comparer function that it will use instead of its
|
|
48
|
+
* default to compare the value of two items.
|
|
48
49
|
* @return A function that returns an Observable that emits item with the
|
|
49
50
|
* smallest value.
|
|
50
51
|
*/
|
|
@@ -76,7 +76,7 @@ export function onErrorResumeNextWith<T, A extends readonly unknown[]>(
|
|
|
76
76
|
* @see {@link concat}
|
|
77
77
|
* @see {@link catchError}
|
|
78
78
|
*
|
|
79
|
-
* @param
|
|
79
|
+
* @param sources `ObservableInput`s passed either directly or as an array.
|
|
80
80
|
* @return A function that returns an Observable that emits values from source
|
|
81
81
|
* Observable, but - if it errors - subscribes to the next passed Observable
|
|
82
82
|
* and so on, until it completes or runs out of Observables.
|
|
@@ -41,18 +41,17 @@ import { UnaryFunction } from '../types';
|
|
|
41
41
|
*
|
|
42
42
|
* @see {@link filter}
|
|
43
43
|
*
|
|
44
|
-
* @param
|
|
45
|
-
*
|
|
46
|
-
* the value is emitted on the
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* in the `predicate` function.
|
|
44
|
+
* @param predicate A function that evaluates each value emitted by the source
|
|
45
|
+
* Observable. If it returns `true`, the value is emitted on the first Observable
|
|
46
|
+
* in the returned array, if `false` the value is emitted on the second Observable
|
|
47
|
+
* in the array. The `index` parameter is the number `i` for the i-th source
|
|
48
|
+
* emission that has happened since the subscription, starting from the number `0`.
|
|
49
|
+
* @param thisArg An optional argument to determine the value of `this` in the
|
|
50
|
+
* `predicate` function.
|
|
52
51
|
* @return A function that returns an array with two Observables: one with
|
|
53
52
|
* values that passed the predicate, and another with values that did not pass
|
|
54
53
|
* the predicate.
|
|
55
|
-
* @deprecated Replaced with the
|
|
54
|
+
* @deprecated Replaced with the {@link partition} static creation function. Will be removed in v8.
|
|
56
55
|
*/
|
|
57
56
|
export function partition<T>(
|
|
58
57
|
predicate: (value: T, index: number) => boolean,
|
|
@@ -78,7 +78,7 @@ export function publish<T, O extends ObservableInput<any>>(selector: (shared: Ob
|
|
|
78
78
|
* @see {@link publishReplay}
|
|
79
79
|
* @see {@link publishBehavior}
|
|
80
80
|
*
|
|
81
|
-
* @param
|
|
81
|
+
* @param selector Optional selector function which can use the multicasted source sequence as many times
|
|
82
82
|
* as needed, without causing multiple subscriptions to the source sequence.
|
|
83
83
|
* Subscribers to the given source will receive all notifications of the source from the time of the subscription on.
|
|
84
84
|
* @return A function that returns a ConnectableObservable that upon connection
|
|
@@ -51,9 +51,8 @@ export function reduce<V, A, S = A>(accumulator: (acc: A | S, value: V, index: n
|
|
|
51
51
|
* @see {@link mergeScan}
|
|
52
52
|
* @see {@link scan}
|
|
53
53
|
*
|
|
54
|
-
* @param
|
|
55
|
-
*
|
|
56
|
-
* @param {A} [seed] The initial accumulation value.
|
|
54
|
+
* @param accumulator The accumulator function called on each source value.
|
|
55
|
+
* @param seed The initial accumulation value.
|
|
57
56
|
* @return A function that returns an Observable that emits a single value that
|
|
58
57
|
* is the result of accumulating the values emitted by the source Observable.
|
|
59
58
|
*/
|
|
@@ -110,8 +110,8 @@ export interface RepeatConfig {
|
|
|
110
110
|
* @see {@link repeatWhen}
|
|
111
111
|
* @see {@link retry}
|
|
112
112
|
*
|
|
113
|
-
* @param
|
|
114
|
-
* an empty Observable.
|
|
113
|
+
* @param countOrConfig Either the number of times the source Observable items are repeated
|
|
114
|
+
* (a count of 0 will yield an empty Observable) or a {@link RepeatConfig} object.
|
|
115
115
|
*/
|
|
116
116
|
export function repeat<T>(countOrConfig?: number | RepeatConfig): MonoTypeOperatorFunction<T> {
|
|
117
117
|
let count = Infinity;
|
|
@@ -36,7 +36,7 @@ import { createOperatorSubscriber } from './OperatorSubscriber';
|
|
|
36
36
|
*
|
|
37
37
|
* @param notifier Function that receives an Observable of notifications with
|
|
38
38
|
* which a user can `complete` or `error`, aborting the repetition.
|
|
39
|
-
* @return A function that returns an
|
|
39
|
+
* @return A function that returns an Observable that mirrors the source
|
|
40
40
|
* Observable with the exception of a `complete`.
|
|
41
41
|
* @deprecated Will be removed in v9 or v10. Use {@link repeat}'s {@link RepeatConfig#delay delay} option instead.
|
|
42
42
|
* Instead of `repeatWhen(() => notify$)`, use: `repeat({ delay: () => notify$ })`.
|
|
@@ -76,7 +76,8 @@ export function retry<T>(config: RetryConfig): MonoTypeOperatorFunction<T>;
|
|
|
76
76
|
*
|
|
77
77
|
* @see {@link retryWhen}
|
|
78
78
|
*
|
|
79
|
-
* @param configOrCount
|
|
79
|
+
* @param configOrCount Either number of retry attempts before failing or a
|
|
80
|
+
* {@link RetryConfig} object.
|
|
80
81
|
* @return A function that returns an Observable that will resubscribe to the
|
|
81
82
|
* source stream when the source stream errors, at most `count` times.
|
|
82
83
|
*/
|
|
@@ -58,7 +58,7 @@ import { createOperatorSubscriber } from './OperatorSubscriber';
|
|
|
58
58
|
*
|
|
59
59
|
* @param notifier Function that receives an Observable of notifications with which a
|
|
60
60
|
* user can `complete` or `error`, aborting the retry.
|
|
61
|
-
* @return A function that returns an
|
|
61
|
+
* @return A function that returns an Observable that mirrors the source
|
|
62
62
|
* Observable with the exception of an `error`.
|
|
63
63
|
* @deprecated Will be removed in v9 or v10, use {@link retry}'s `delay` option instead.
|
|
64
64
|
* Will be removed in v9 or v10. Use {@link retry}'s {@link RetryConfig#delay delay} option instead.
|
|
@@ -38,10 +38,10 @@ import { interval } from '../observable/interval';
|
|
|
38
38
|
* @see {@link sample}
|
|
39
39
|
* @see {@link throttleTime}
|
|
40
40
|
*
|
|
41
|
-
* @param
|
|
42
|
-
*
|
|
43
|
-
* @param
|
|
44
|
-
*
|
|
41
|
+
* @param period The sampling period expressed in milliseconds or the time unit
|
|
42
|
+
* determined internally by the optional `scheduler`.
|
|
43
|
+
* @param scheduler The {@link SchedulerLike} to use for managing the timers
|
|
44
|
+
* that handle the sampling.
|
|
45
45
|
* @return A function that returns an Observable that emits the results of
|
|
46
46
|
* sampling the values emitted by the source Observable at the specified time
|
|
47
47
|
* interval.
|
|
@@ -16,15 +16,15 @@ export function single<T>(predicate?: (value: T, index: number, source: Observab
|
|
|
16
16
|
* predicate is provided, then it will assert that the observable
|
|
17
17
|
* only emits one value.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* {@link EmptyError}.
|
|
19
|
+
* If the source Observable did not emit `next` before completion, it
|
|
20
|
+
* will emit an {@link EmptyError} to the Observer's `error` callback.
|
|
21
21
|
*
|
|
22
22
|
* In the event that two values are found that match the predicate,
|
|
23
23
|
* or when there are two values emitted and no predicate, it will
|
|
24
|
-
*
|
|
24
|
+
* emit a {@link SequenceError} to the Observer's `error` callback.
|
|
25
25
|
*
|
|
26
26
|
* In the event that no values match the predicate, if one is provided,
|
|
27
|
-
* it will
|
|
27
|
+
* it will emit a {@link NotFoundError} to the Observer's `error` callback.
|
|
28
28
|
*
|
|
29
29
|
* ## Example
|
|
30
30
|
*
|
|
@@ -77,12 +77,16 @@ export function single<T>(predicate?: (value: T, index: number, source: Observab
|
|
|
77
77
|
* @see {@link findIndex}
|
|
78
78
|
* @see {@link elementAt}
|
|
79
79
|
*
|
|
80
|
-
* @throws {NotFoundError} Delivers
|
|
80
|
+
* @throws {NotFoundError} Delivers a `NotFoundError` to the Observer's `error`
|
|
81
81
|
* callback if the Observable completes before any `next` notification was sent.
|
|
82
|
-
* @throws {SequenceError} Delivers a SequenceError if more than one value is
|
|
83
|
-
* provided predicate. If no predicate is provided,
|
|
84
|
-
* than one value comes from the source
|
|
85
|
-
* @
|
|
82
|
+
* @throws {SequenceError} Delivers a `SequenceError` if more than one value is
|
|
83
|
+
* emitted that matches the provided predicate. If no predicate is provided, it
|
|
84
|
+
* will deliver a `SequenceError` if more than one value comes from the source.
|
|
85
|
+
* @throws {EmptyError} Delivers an `EmptyError` if no values were `next`ed prior
|
|
86
|
+
* to completion.
|
|
87
|
+
*
|
|
88
|
+
* @param predicate A predicate function to evaluate items emitted by the source
|
|
89
|
+
* Observable.
|
|
86
90
|
* @return A function that returns an Observable that emits the single item
|
|
87
91
|
* emitted by the source Observable that matches the predicate.
|
|
88
92
|
*/
|
|
@@ -30,7 +30,7 @@ import { filter } from './filter';
|
|
|
30
30
|
* @see {@link skipUntil}
|
|
31
31
|
* @see {@link skipLast}
|
|
32
32
|
*
|
|
33
|
-
* @param
|
|
33
|
+
* @param count The number of times, items emitted by source Observable should be skipped.
|
|
34
34
|
* @return A function that returns an Observable that skips the first `count`
|
|
35
35
|
* values emitted by the source Observable.
|
|
36
36
|
*/
|
|
@@ -45,7 +45,7 @@ export function skipWhile<T>(predicate: (value: T, index: number) => boolean): M
|
|
|
45
45
|
* @see {@link skipUntil}
|
|
46
46
|
* @see {@link skipLast}
|
|
47
47
|
*
|
|
48
|
-
* @param
|
|
48
|
+
* @param predicate A function to test each item emitted from the source Observable.
|
|
49
49
|
* @return A function that returns an Observable that begins emitting items
|
|
50
50
|
* emitted by the source Observable when the specified predicate becomes false.
|
|
51
51
|
*/
|