feat(core): upgrade rxjs to 6.0.0-alpha.4 (#22573)

PR Close #22573
This commit is contained in:
Igor Minar
2018-02-27 17:06:06 -05:00
parent c445314239
commit b43f8bc7d3
270 changed files with 10104 additions and 1860 deletions

View File

@ -28,157 +28,9 @@ WELL_KNOWN_GLOBALS = {
"@angular/platform-browser": "ng.platformBrowser",
"@angular/platform-browser/testing": "ng.platformBrowser.testing",
"@angular/platform-browser-dynamic": "ng.platformBrowserDynamic",
"rxjs": "rxjs",
"rxjs/operators": "rxjs.operators",
}
WELL_KNOWN_GLOBALS.update({"rxjs/%s" % s: "Rx" for s in [
"BehaviorSubject",
"ConnectableObservable",
"Observable",
"Observer",
"ReplaySubject",
"Scheduler",
"Subject",
"Subscriber",
"Subscription",
"util/EmptyError",
]})
WELL_KNOWN_GLOBALS.update({"rxjs/observable/%s" % s: "Rx.Observable" for s in [
"combineLatest",
"concat",
"defer",
"empty",
"forkJoin",
"from",
"fromEvent",
"fromEventPattern",
"fromPromise",
"merge",
"never",
"of",
"throw",
]})
WELL_KNOWN_GLOBALS.update({"rxjs/operator/%s" % s: "Rx.Observable.prototype" for s in [
"catch",
"concatAll",
"concatMap",
"do",
"every",
"first",
"filter",
"last",
"map",
"mergeAll",
"mergeMap",
"publish",
"reduce",
"share",
"startWith",
"switchMap",
"take",
"toPromise",
]})
WELL_KNOWN_GLOBALS.update({"rxjs/operators/%s" % s: "Rx.operators" for s in [
"audit",
"auditTime",
"bufferCount",
"buffer",
"bufferTime",
"bufferToggle",
"bufferWhen",
"catchError",
"combineAll",
"combineLatest",
"concatAll",
"concat",
"concatMap",
"concatMapTo",
"count",
"debounce",
"debounceTime",
"defaultIfEmpty",
"delay",
"delayWhen",
"dematerialize",
"distinct",
"distinctUntilChanged",
"distinctUntilKeyChanged",
"elementAt",
"every",
"exhaust",
"exhaustMap",
"expand",
"filter",
"finalize",
"findIndex",
"find",
"first",
"groupBy",
"ignoreElements",
"isEmpty",
"last",
"map",
"mapTo",
"materialize",
"max",
"mergeAll",
"merge",
"mergeMap",
"mergeMapTo",
"mergeScan",
"min",
"multicast",
"observeOn",
"onErrorResumeNext",
"pairwise",
"partition",
"pluck",
"publishBehavior",
"publish",
"publishLast",
"publishReplay",
"race",
"reduce",
"refCount",
"repeat",
"repeatWhen",
"retry",
"retryWhen",
"sample",
"sampleTime",
"scan",
"sequenceEqual",
"share",
"shareReplay",
"single",
"skip",
"skipLast",
"skipUntil",
"skipWhile",
"startWith",
"subscribeOn",
"switchAll",
"switchMap",
"switchMapTo",
"take",
"takeLast",
"takeUntil",
"takeWhile",
"tap",
"throttle",
"throttleTime",
"timeInterval",
"timeout",
"timeoutWith",
"timestamp",
"toArray",
"windowCount",
"window",
"windowTime",
"windowToggle",
"windowWhen",
"withLatestFrom",
"zipAll",
"zip",
]})
def _rollup(ctx, rollup_config, entry_point, inputs, js_output, format = "es"):