Semver support for ranged patches?
Open
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 325
- PR merge metrics
- No merged PRs in 30d
Description
I noticed that a warning is being printed when package version has a mismatch.
In my example, I would like to create a patch that will be applied over `^3` version, without having the need to specify it manually.
I guess the actual change should be done here: https://github.com/ds300/patch-package/blob/master/src/applyPatches.ts#L152 , and use semver library to compare the versions and check for match. This way I'll be able to create `my-patch+^3.0.0` and it will be applied over `^3.0.1` as well.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.