Closed derwaldgeist closed 4 years ago
This should be easily accomplished by using an x
at the appropriate position in the version string.
2.x.x
should accept all minor and patch versions following the v2 major release
2.3.x
should accept all patch versions following the v2.3 minor release
I could get this package only to work if the version stated in
package.json
is exactly the same as the version defined viacheckNpmVersions
. However, if I use semver to indicate that any minor update would be fine as well,checkNpmVersion
complains that the versions do not mismatch. It seems as if it won't accept version statements like^2.3.1
, although it doesn't complain if you use them.