-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix yarn lockfile with unknown resolvers (#345)
The yarn lockfile allows various different resolvers other than the standard one which pulls from npm. Some of these include the filesystem (@workspace), http/s (@http/s), and ssh (@ssh). Instead of complex splitting logic, the parser now makes use of the fact that dependencies inclued at most one `@` at the beginning of their name, thus clearly identifying the resolver as anything past the second `@`. The supported resolvers are now explicitly handled by checking the format of the resolution's resolver, an unrecognized resolver will cause an error. Closes #344.
- Loading branch information
Showing
2 changed files
with
81 additions
and
20 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