Support for NPM type version strings in PowerShell module manifest
packages.json in NPM (NodeJS in general) supports prefixes in the version string to specify a minimum required with minor and minor/patch versions being a variable. For example,
The tilde matches the most recent minor version (the middle number). ~1.2.3 will match all 1.2.x versions but won't match 1.3.0.
The caret provides better flexibility. It will refer to the most recent major version (the first number). ^1.2.3 will match any 1.x.x release including 1.3.0, but will hold off on 2.0.0.
Also, an asterisk (*) indicates that the latest version of the module is needed.
Implementing this type of version specification in PowerShell module manifest will help enable flexibility with regards to downloading required modules.
Ravikanth Chaganti commented
Overall, the ask is to support at least a subset of what node-semver is proposing or supports today. https://github.com/npm/node-semver