build: update to rxjs@6.0.0-beta.4 (#23084)

PR Close #23084
This commit is contained in:
Igor Minar 2018-03-29 22:42:47 -07:00
parent a5f0939eae
commit 6f7d14064c
12 changed files with 351 additions and 116 deletions

View File

@ -29,7 +29,7 @@
"dependencies": { "dependencies": {
"core-js": "^2.4.1", "core-js": "^2.4.1",
"reflect-metadata": "^0.1.3", "reflect-metadata": "^0.1.3",
"rxjs": "6.0.0-beta.0", "rxjs": "6.0.0-beta.4",
"tslib": "^1.7.1", "tslib": "^1.7.1",
"zone.js": "^0.8.12" "zone.js": "^0.8.12"
}, },

View File

@ -8,7 +8,7 @@
"dependencies": { "dependencies": {
"@angular/core": "^2.0.0-rc.7", "@angular/core": "^2.0.0-rc.7",
"reflect-metadata": "^0.1.2", "reflect-metadata": "^0.1.2",
"rxjs": "^5.6.0-forward-compat.0 || ^6.0.0-beta.0", "rxjs": "^6.0.0-beta.4",
"jpm": "1.1.4", "jpm": "1.1.4",
"firefox-profile": "0.4.0", "firefox-profile": "0.4.0",
"selenium-webdriver": "^2.53.3" "selenium-webdriver": "^2.53.3"

View File

@ -17,7 +17,7 @@
}, },
"locales": "locales", "locales": "locales",
"peerDependencies": { "peerDependencies": {
"rxjs": "^5.6.0-forward-compat.0 || ^6.0.0-beta.0", "rxjs": "^6.0.0-beta.4",
"@angular/core": "0.0.0-PLACEHOLDER" "@angular/core": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {

View File

@ -16,7 +16,7 @@
"tslib": "^1.9.0" "tslib": "^1.9.0"
}, },
"peerDependencies": { "peerDependencies": {
"rxjs": "^5.6.0-forward-compat.0 || ^6.0.0-beta.0", "rxjs": "^6.0.0-beta.4",
"zone.js": "^0.8.4" "zone.js": "^0.8.4"
}, },
"repository": { "repository": {

View File

@ -1,28 +1,43 @@
[ [
{ {
"name": "Action" "name": "AnonymousSubject"
}, },
{ {
"name": "AnimationFrameAction" "name": "ArgumentOutOfRangeError"
},
{
"name": "AsapAction"
},
{
"name": "AsyncAction"
},
{
"name": "AsyncScheduler"
}, },
{ {
"name": "CLEAN_PROMISE" "name": "CLEAN_PROMISE"
}, },
{
"name": "ConnectableSubscriber"
},
{
"name": "Context"
},
{
"name": "CountedSubject"
},
{
"name": "DelayMessage"
},
{
"name": "EMPTY$1"
},
{ {
"name": "EMPTY$2" "name": "EMPTY$2"
}, },
{ {
"name": "EMPTY_RENDERER_TYPE_ID" "name": "EMPTY_RENDERER_TYPE_ID"
}, },
{
"name": "EmptyError"
},
{
"name": "GroupDurationSubscriber"
},
{
"name": "GroupedObservable"
},
{ {
"name": "HelloWorld" "name": "HelloWorld"
}, },
@ -30,7 +45,10 @@
"name": "INeedToExistEvenThoughIAmNotNeeded" "name": "INeedToExistEvenThoughIAmNotNeeded"
}, },
{ {
"name": "Immediate" "name": "InnerRefCountSubscription"
},
{
"name": "InnerSubscriber"
}, },
{ {
"name": "NG_HOST_SYMBOL" "name": "NG_HOST_SYMBOL"
@ -38,20 +56,62 @@
{ {
"name": "NG_PROJECT_AS_ATTR_NAME" "name": "NG_PROJECT_AS_ATTR_NAME"
}, },
{
"name": "NONE"
},
{
"name": "Notification"
},
{
"name": "ObjectUnsubscribedError"
},
{ {
"name": "Observable" "name": "Observable"
}, },
{
"name": "ObserveOnMessage"
},
{
"name": "ObserveOnSubscriber"
},
{
"name": "OuterSubscriber"
},
{ {
"name": "QueueAction" "name": "QueueAction"
}, },
{ {
"name": "ROOT_DIRECTIVE_INDICES" "name": "ROOT_DIRECTIVE_INDICES"
}, },
{
"name": "RefCountOperator$1"
},
{
"name": "RefCountSubscriber$1"
},
{
"name": "ReplayEvent"
},
{ {
"name": "SafeSubscriber" "name": "SafeSubscriber"
}, },
{ {
"name": "Scheduler" "name": "SequenceEqualCompareToSubscriber"
},
{
"name": "StaticArrayIterator"
},
{
"name": "StaticIterator"
},
{
"name": "Subject"
},
{
"name": "SubjectSubscriber"
},
{
"name": "SubjectSubscription"
}, },
{ {
"name": "Subscriber" "name": "Subscriber"
@ -59,6 +119,12 @@
{ {
"name": "Subscription" "name": "Subscription"
}, },
{
"name": "SubscriptionDelaySubscriber"
},
{
"name": "TimeInterval"
},
{ {
"name": "UNDEFINED_RENDERER_TYPE_ID" "name": "UNDEFINED_RENDERER_TYPE_ID"
}, },
@ -66,37 +132,10 @@
"name": "UnsubscriptionError" "name": "UnsubscriptionError"
}, },
{ {
"name": "__extends$1" "name": "ZipBufferIterator"
}, },
{ {
"name": "__extends$10" "name": "__extends"
},
{
"name": "__extends$11"
},
{
"name": "__extends$12"
},
{
"name": "__extends$13"
},
{
"name": "__extends$14"
},
{
"name": "__extends$17"
},
{
"name": "__extends$18"
},
{
"name": "__extends$19"
},
{
"name": "__extends$2"
},
{
"name": "__extends$20"
}, },
{ {
"name": "_enable_super_gross_mode_that_will_cause_bad_things" "name": "_enable_super_gross_mode_that_will_cause_bad_things"
@ -152,12 +191,48 @@
{ {
"name": "detectChangesInternal" "name": "detectChangesInternal"
}, },
{
"name": "dispatch"
},
{
"name": "dispatchBufferClose"
},
{
"name": "dispatchBufferCreation"
},
{
"name": "dispatchBufferTimeSpanOnly"
},
{
"name": "dispatchNext$2"
},
{
"name": "dispatchNext$3"
},
{
"name": "dispatchNotification"
},
{
"name": "dispatchWindowClose"
},
{
"name": "dispatchWindowCreation"
},
{
"name": "dispatchWindowTimeSpanOnly"
},
{ {
"name": "domRendererFactory3" "name": "domRendererFactory3"
}, },
{ {
"name": "empty" "name": "empty"
}, },
{
"name": "empty$1"
},
{
"name": "emptyScheduled"
},
{ {
"name": "enterView" "name": "enterView"
}, },
@ -173,12 +248,18 @@
{ {
"name": "executeInitHooks" "name": "executeInitHooks"
}, },
{
"name": "extendStatics"
},
{ {
"name": "firstTemplatePass" "name": "firstTemplatePass"
}, },
{ {
"name": "flattenUnsubscriptionErrors" "name": "flattenUnsubscriptionErrors"
}, },
{
"name": "fromArray"
},
{ {
"name": "getDirectiveInstance" "name": "getDirectiveInstance"
}, },
@ -206,6 +287,9 @@
{ {
"name": "isArray" "name": "isArray"
}, },
{
"name": "isArrayLike"
},
{ {
"name": "isFunction" "name": "isFunction"
}, },
@ -215,24 +299,42 @@
{ {
"name": "isProceduralRenderer" "name": "isProceduralRenderer"
}, },
{
"name": "isPromise"
},
{
"name": "isScheduler"
},
{
"name": "isTrustedSubscriber"
},
{
"name": "iterator"
},
{ {
"name": "leaveView" "name": "leaveView"
}, },
{ {
"name": "locateHostElement" "name": "locateHostElement"
}, },
{
"name": "nextHandle"
},
{ {
"name": "noop" "name": "noop"
}, },
{ {
"name": "observable" "name": "observable"
}, },
{
"name": "of"
},
{ {
"name": "pipeFromArray" "name": "pipeFromArray"
}, },
{
"name": "queue"
},
{
"name": "refCount"
},
{ {
"name": "refreshChildComponents" "name": "refreshChildComponents"
}, },
@ -255,10 +357,10 @@
"name": "resolveRendererType2" "name": "resolveRendererType2"
}, },
{ {
"name": "runIfPresent" "name": "rxSubscriber"
}, },
{ {
"name": "rxSubscriber" "name": "scalar"
}, },
{ {
"name": "setHostBindings" "name": "setHostBindings"
@ -270,11 +372,29 @@
"name": "stringify$1" "name": "stringify$1"
}, },
{ {
"name": "tasksByHandle" "name": "subscribeTo"
},
{
"name": "subscribeToArray"
},
{
"name": "subscribeToIterable"
},
{
"name": "subscribeToObservable"
},
{
"name": "subscribeToPromise"
},
{
"name": "subscribeToResult"
}, },
{ {
"name": "text" "name": "text"
}, },
{
"name": "throwError"
},
{ {
"name": "toSubscriber" "name": "toSubscriber"
}, },

View File

@ -3,34 +3,46 @@
"name": "APP_ROOT" "name": "APP_ROOT"
}, },
{ {
"name": "Action" "name": "AnonymousSubject"
}, },
{ {
"name": "AnimationFrameAction" "name": "ArgumentOutOfRangeError"
},
{
"name": "AsapAction"
},
{
"name": "AsyncAction"
},
{
"name": "AsyncScheduler"
}, },
{ {
"name": "CIRCULAR$1" "name": "CIRCULAR$1"
}, },
{
"name": "ConnectableSubscriber"
},
{
"name": "Context"
},
{
"name": "CountedSubject"
},
{
"name": "DelayMessage"
},
{
"name": "EMPTY$1"
},
{ {
"name": "EMPTY_ARRAY$1" "name": "EMPTY_ARRAY$1"
}, },
{
"name": "EmptyError"
},
{ {
"name": "GET_PROPERTY_NAME$1" "name": "GET_PROPERTY_NAME$1"
}, },
{ {
"name": "INJECTOR$1" "name": "GroupDurationSubscriber"
}, },
{ {
"name": "Immediate" "name": "GroupedObservable"
},
{
"name": "INJECTOR$1"
}, },
{ {
"name": "Inject" "name": "Inject"
@ -38,21 +50,45 @@
{ {
"name": "InjectionToken" "name": "InjectionToken"
}, },
{
"name": "InnerRefCountSubscription"
},
{
"name": "InnerSubscriber"
},
{
"name": "NONE"
},
{ {
"name": "NOT_YET" "name": "NOT_YET"
}, },
{ {
"name": "NULL_INJECTOR$1" "name": "NULL_INJECTOR$1"
}, },
{
"name": "Notification"
},
{ {
"name": "NullInjector" "name": "NullInjector"
}, },
{
"name": "ObjectUnsubscribedError"
},
{ {
"name": "Observable" "name": "Observable"
}, },
{
"name": "ObserveOnMessage"
},
{
"name": "ObserveOnSubscriber"
},
{ {
"name": "Optional" "name": "Optional"
}, },
{
"name": "OuterSubscriber"
},
{ {
"name": "PARAMETERS" "name": "PARAMETERS"
}, },
@ -63,10 +99,16 @@
"name": "R3Injector" "name": "R3Injector"
}, },
{ {
"name": "SafeSubscriber" "name": "RefCountOperator$1"
}, },
{ {
"name": "Scheduler" "name": "RefCountSubscriber$1"
},
{
"name": "ReplayEvent"
},
{
"name": "SafeSubscriber"
}, },
{ {
"name": "ScopedService" "name": "ScopedService"
@ -74,59 +116,56 @@
{ {
"name": "Self" "name": "Self"
}, },
{
"name": "SequenceEqualCompareToSubscriber"
},
{ {
"name": "SkipSelf" "name": "SkipSelf"
}, },
{
"name": "StaticArrayIterator"
},
{
"name": "StaticIterator"
},
{
"name": "Subject"
},
{
"name": "SubjectSubscriber"
},
{
"name": "SubjectSubscription"
},
{ {
"name": "Subscriber" "name": "Subscriber"
}, },
{ {
"name": "Subscription" "name": "Subscription"
}, },
{
"name": "SubscriptionDelaySubscriber"
},
{ {
"name": "THROW_IF_NOT_FOUND" "name": "THROW_IF_NOT_FOUND"
}, },
{
"name": "TimeInterval"
},
{ {
"name": "USE_VALUE$1" "name": "USE_VALUE$1"
}, },
{ {
"name": "UnsubscriptionError" "name": "UnsubscriptionError"
}, },
{
"name": "ZipBufferIterator"
},
{ {
"name": "_THROW_IF_NOT_FOUND" "name": "_THROW_IF_NOT_FOUND"
}, },
{ {
"name": "__extends$1" "name": "__extends"
},
{
"name": "__extends$10"
},
{
"name": "__extends$11"
},
{
"name": "__extends$12"
},
{
"name": "__extends$13"
},
{
"name": "__extends$14"
},
{
"name": "__extends$17"
},
{
"name": "__extends$18"
},
{
"name": "__extends$19"
},
{
"name": "__extends$2"
},
{
"name": "__extends$20"
}, },
{ {
"name": "__read" "name": "__read"
@ -158,18 +197,60 @@
{ {
"name": "defineInjector" "name": "defineInjector"
}, },
{
"name": "dispatch"
},
{
"name": "dispatchBufferClose"
},
{
"name": "dispatchBufferCreation"
},
{
"name": "dispatchBufferTimeSpanOnly"
},
{
"name": "dispatchNext$2"
},
{
"name": "dispatchNext$3"
},
{
"name": "dispatchNotification"
},
{
"name": "dispatchWindowClose"
},
{
"name": "dispatchWindowCreation"
},
{
"name": "dispatchWindowTimeSpanOnly"
},
{ {
"name": "empty" "name": "empty"
}, },
{
"name": "empty$1"
},
{
"name": "emptyScheduled"
},
{ {
"name": "errorObject" "name": "errorObject"
}, },
{
"name": "extendStatics"
},
{ {
"name": "flattenUnsubscriptionErrors" "name": "flattenUnsubscriptionErrors"
}, },
{ {
"name": "forwardRef" "name": "forwardRef"
}, },
{
"name": "fromArray"
},
{ {
"name": "getClosureSafeProperty$1" "name": "getClosureSafeProperty$1"
}, },
@ -203,6 +284,9 @@
{ {
"name": "isArray" "name": "isArray"
}, },
{
"name": "isArrayLike"
},
{ {
"name": "isExistingProvider" "name": "isExistingProvider"
}, },
@ -215,12 +299,24 @@
{ {
"name": "isObject" "name": "isObject"
}, },
{
"name": "isPromise"
},
{
"name": "isScheduler"
},
{
"name": "isTrustedSubscriber"
},
{ {
"name": "isTypeProvider" "name": "isTypeProvider"
}, },
{ {
"name": "isValueProvider" "name": "isValueProvider"
}, },
{
"name": "iterator"
},
{ {
"name": "makeMetadataCtor" "name": "makeMetadataCtor"
}, },
@ -230,29 +326,35 @@
{ {
"name": "makeRecord" "name": "makeRecord"
}, },
{
"name": "nextHandle"
},
{ {
"name": "noop" "name": "noop"
}, },
{ {
"name": "observable" "name": "observable"
}, },
{
"name": "of"
},
{ {
"name": "pipeFromArray" "name": "pipeFromArray"
}, },
{ {
"name": "providerToRecord" "name": "providerToRecord"
}, },
{
"name": "queue"
},
{
"name": "refCount"
},
{ {
"name": "resolveForwardRef" "name": "resolveForwardRef"
}, },
{ {
"name": "runIfPresent" "name": "rxSubscriber"
}, },
{ {
"name": "rxSubscriber" "name": "scalar"
}, },
{ {
"name": "setCurrentInjector" "name": "setCurrentInjector"
@ -261,7 +363,25 @@
"name": "stringify" "name": "stringify"
}, },
{ {
"name": "tasksByHandle" "name": "subscribeTo"
},
{
"name": "subscribeToArray"
},
{
"name": "subscribeToIterable"
},
{
"name": "subscribeToObservable"
},
{
"name": "subscribeToPromise"
},
{
"name": "subscribeToResult"
},
{
"name": "throwError"
}, },
{ {
"name": "toSubscriber" "name": "toSubscriber"

View File

@ -18,7 +18,7 @@
"peerDependencies": { "peerDependencies": {
"@angular/core": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "0.0.0-PLACEHOLDER", "@angular/platform-browser": "0.0.0-PLACEHOLDER",
"rxjs": "^5.6.0-forward-compat.0 || ^6.0.0-beta.0" "rxjs": "^6.0.0-beta.4"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -16,7 +16,7 @@
"tslib": "^1.9.0" "tslib": "^1.9.0"
}, },
"peerDependencies": { "peerDependencies": {
"rxjs": "^5.6.0-forward-compat.0 || ^6.0.0-beta.0", "rxjs": "^6.0.0-beta.4",
"@angular/core": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "0.0.0-PLACEHOLDER", "@angular/common": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "0.0.0-PLACEHOLDER" "@angular/platform-browser": "0.0.0-PLACEHOLDER"

View File

@ -16,7 +16,7 @@
"tslib": "^1.9.0" "tslib": "^1.9.0"
}, },
"peerDependencies": { "peerDependencies": {
"rxjs": "^5.6.0-forward-compat.0 || ^6.0.0-beta.0", "rxjs": "^6.0.0-beta.4",
"@angular/core": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "0.0.0-PLACEHOLDER" "@angular/platform-browser": "0.0.0-PLACEHOLDER"
}, },

View File

@ -31,7 +31,7 @@
"@angular/core": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "0.0.0-PLACEHOLDER", "@angular/common": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "0.0.0-PLACEHOLDER", "@angular/platform-browser": "0.0.0-PLACEHOLDER",
"rxjs": "^5.6.0-forward-compat.0 || ^6.0.0-beta.0" "rxjs": "^6.0.0-beta.4"
}, },
"ng-update": { "ng-update": {
"packageGroup": "NG_UPDATE_PACKAGE_GROUP" "packageGroup": "NG_UPDATE_PACKAGE_GROUP"

View File

@ -27,9 +27,4 @@ sed('-i', '(\'response\' in xhr)', '(\'response\' in (xhr as any))',
'node_modules/rxjs/src/observable/dom/AjaxObservable.ts'); 'node_modules/rxjs/src/observable/dom/AjaxObservable.ts');
*/ */
// fixes rxjs bazel build: https://github.com/ReactiveX/rxjs/pull/3454
sed('-i', /^ srcs = glob.*/,
'srcs = glob(["*.ts", "**/*.ts"], exclude = ["internal/Rx.ts", "internal-compatibility/**", "internal/patching/**", "umd.ts"]),',
'node_modules/rxjs/src/BUILD.bazel');
log('===== finished running the postinstall-patches.js script ====='); log('===== finished running the postinstall-patches.js script =====');

View File

@ -5083,9 +5083,9 @@ rollup@0.47.4:
version "0.47.4" version "0.47.4"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.47.4.tgz#e3a55de83a78221d232ce29619a8d68189ae845e" resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.47.4.tgz#e3a55de83a78221d232ce29619a8d68189ae845e"
rxjs@6.0.0-beta.0: rxjs@6.0.0-beta.4:
version "6.0.0-beta.0" version "6.0.0-beta.4"
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.0.0-beta.0.tgz#cf241936be39d8279ed0b2be4bf417777301f65a" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.0.0-beta.4.tgz#6506fde30f0f0ca1c94eb948629ac4aa73c0b0c8"
dependencies: dependencies:
tslib "^1.9.0" tslib "^1.9.0"