mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(compiler-cli): update peerDependencies to require rxjs ^7.4.0 (#43748)
RxJS 7 versions prior to 7.4.0 export ES5 code, whereas Angular applications using RxJS 6 today use ES2015. This was fixed in RxJS 7.4.0 which exposes ES2015 entrypoints as well. This commit updates Angular's peer dependencies to require the newer RxJS. PR Close #43748
This commit is contained in:
committed by
Dylan Hunn
parent
f1de27cd73
commit
48aa0039ea
@@ -432,7 +432,7 @@ jobs:
|
||||
test_aio_local:
|
||||
executor: default-executor
|
||||
environment:
|
||||
RXJS_VERSION_7: '7.3.1'
|
||||
RXJS_VERSION_7: '7.4.0'
|
||||
steps:
|
||||
- custom_attach_workspace
|
||||
- init_environment
|
||||
@@ -477,7 +477,7 @@ jobs:
|
||||
resource_class: xlarge
|
||||
parallelism: 5
|
||||
environment:
|
||||
RXJS_VERSION_7: '7.3.1'
|
||||
RXJS_VERSION_7: '7.4.0'
|
||||
steps:
|
||||
- custom_attach_workspace
|
||||
- init_environment
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@
|
||||
"@angular/router": "13.0.0-next.9",
|
||||
"@angular/service-worker": "13.0.0-next.9",
|
||||
"@webcomponents/custom-elements": "1.5.0",
|
||||
"rxjs": "~7.3.0",
|
||||
"rxjs": "~7.4.0",
|
||||
"safevalues": "^0.1.8",
|
||||
"tslib": "^2.3.0",
|
||||
"zone.js": "~0.11.4"
|
||||
|
||||
+4
-4
@@ -10280,10 +10280,10 @@ rxjs@^7.2.0:
|
||||
dependencies:
|
||||
tslib "~2.1.0"
|
||||
|
||||
rxjs@~7.3.0:
|
||||
version "7.3.1"
|
||||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.3.1.tgz#cc375521f9e238b474fe552b0b9fd1be33d08099"
|
||||
integrity sha512-vNenx7gqjPyeKpRnM6S5Ksm/oFTRijWWzYlRON04KaehZ3YjDwEmVjGUGo0TKWVjeNXOujVRlh0K1drUbcdPkw==
|
||||
rxjs@~7.4.0:
|
||||
version "7.4.0"
|
||||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.4.0.tgz#a12a44d7eebf016f5ff2441b87f28c9a51cebc68"
|
||||
integrity sha512-7SQDi7xeTMCJpqViXh8gL/lebcwlp3d831F05+9B44A4B0WfsEwUQHR64gsH1kvJ+Ep/J9K2+n1hVl1CsGN23w==
|
||||
dependencies:
|
||||
tslib "~2.1.0"
|
||||
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"@angular/service-worker": "file:../../dist/packages-dist/service-worker",
|
||||
"@angular/upgrade": "file:../../dist/packages-dist/upgrade",
|
||||
"@types/jasmine": "file:../../node_modules/@types/jasmine",
|
||||
"rxjs": "^7.3.0",
|
||||
"rxjs": "^7.4.0",
|
||||
"typescript": "file:../../node_modules/typescript",
|
||||
"zone.js": "file:../../dist/zone.js-dist/archive/zone.js.tgz"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "tsc"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/core": "0.0.0-PLACEHOLDER",
|
||||
"rxjs": "^6.5.3 || ^7.0.0"
|
||||
"rxjs": "^6.5.3 || ^7.4.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -35,4 +35,4 @@
|
||||
"**/global/*.js",
|
||||
"**/closure-locale.*"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"rxjs": "^6.5.3 || ^7.0.0",
|
||||
"rxjs": "^6.5.3 || ^7.4.0",
|
||||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"repository": {
|
||||
@@ -29,4 +29,4 @@
|
||||
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
|
||||
},
|
||||
"sideEffects": false
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
"peerDependencies": {
|
||||
"@angular/core": "0.0.0-PLACEHOLDER",
|
||||
"@angular/platform-browser": "0.0.0-PLACEHOLDER",
|
||||
"rxjs": "^6.5.3 || ^7.0.0"
|
||||
"rxjs": "^6.5.3 || ^7.4.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -25,4 +25,4 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"schematics": "./schematics/collection.json"
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
"@angular/core": "0.0.0-PLACEHOLDER",
|
||||
"@angular/common": "0.0.0-PLACEHOLDER",
|
||||
"@angular/platform-browser": "0.0.0-PLACEHOLDER",
|
||||
"rxjs": "^6.5.3 || ^7.0.0"
|
||||
"rxjs": "^6.5.3 || ^7.4.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -25,4 +25,4 @@
|
||||
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
|
||||
},
|
||||
"sideEffects": false
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
"peerDependencies": {
|
||||
"@angular/core": "^12.0.0",
|
||||
"@angular/common": "^12.0.0",
|
||||
"rxjs": "^6.5.3 || ^7.0.0"
|
||||
"rxjs": "^6.5.3 || ^7.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
@@ -19,6 +19,6 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"publishConfig": {
|
||||
"registry":"https://wombat-dressing-room.appspot.com"
|
||||
"registry": "https://wombat-dressing-room.appspot.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27,10 +27,10 @@
|
||||
"@angular/core": "0.0.0-PLACEHOLDER",
|
||||
"@angular/common": "0.0.0-PLACEHOLDER",
|
||||
"@angular/platform-browser": "0.0.0-PLACEHOLDER",
|
||||
"rxjs": "^6.5.3 || ^7.0.0"
|
||||
"rxjs": "^6.5.3 || ^7.4.0"
|
||||
},
|
||||
"ng-update": {
|
||||
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
|
||||
},
|
||||
"sideEffects": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user