refactor: update to tslib 2.0 and move to direct dependencies (#37198)
Tslib version is bound to the TypeScript version used to compile the library. Thus, we shouldn't list `tslib` as a `peerDependencies`. This is because, a user can install libraries which have been compiled with older versions of TypeScript and thus require multiple `tslib` versions to be installed. Reference: TOOL-1374 and TOOL-1375 Closes: #37188 PR Close #37198
This commit is contained in:

committed by
Kara Erickson

parent
8f1d0c317e
commit
772c5b8f64
@ -22,11 +22,11 @@
|
||||
"semver": "^6.3.0",
|
||||
"source-map": "^0.6.1",
|
||||
"sourcemap-codec": "^1.4.8",
|
||||
"tslib": "^2.0.0",
|
||||
"yargs": "15.3.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/compiler": "0.0.0-PLACEHOLDER",
|
||||
"tslib": "^1.10.0",
|
||||
"typescript": ">=3.9 <4.0"
|
||||
},
|
||||
"engines": {
|
||||
|
Reference in New Issue
Block a user