Slackbot
07/20/2022, 10:50 AMmelix
07/20/2022, 10:51 AMRené
07/20/2022, 10:52 AMmelix
07/20/2022, 10:52 AM[versions]
my-lib = { require = "[1.0, 2.0[", prefer = "1.5" }
René
07/20/2022, 10:52 AMmelix
07/20/2022, 10:52 AMrequiredVersion
, not preferredVersion
melix
07/20/2022, 10:52 AMRené
07/20/2022, 10:53 AMgrossws
07/20/2022, 11:30 AMMutableVersionConstraint
clears required version when the strict one is set and vice versa with preferred complimenting either of them. Not sure in which oredr the catalog parser calls these methods on the mutable constraint when parsing toml though.
Standard notation parser parses plain version (or range) as required version and support !!
token to parse as strict version instead.