-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove overly strict checks on peer versions (#306)
1) ProjectInfo was verifying that the specified version range in peerDependencies is exactly the same as the version range in regular dependencies. This is not necessary, the only requirement is that the actual concrete dependency version satisfies the peer dependency version (which is already checked in _loadDependencies). 2) Assembler was verifying that the concrete version of a library found in dependencies was the same as that same concrete library found in peerDependencies. But since there's ever only one concrete copy of any dependency, this check can never fail.
- Loading branch information
Showing
2 changed files
with
6 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters