問題文
A configuration depends on a third-party registry module. The team wants to pick up bug fixes automatically but never a change that could break their usage. Which version constraint expresses this, assuming the module follows semantic versioning?
選択肢
- A constraint that allows any version greater than or equal to the current one, since bug fixes always have a higher version number.
- A constraint that pins one exact version, and then update it by hand whenever the module publishes a patch release, which is the only way to guarantee that no unexpected change enters the configuration.
- A constraint written against the pre-release suffix, so that only tested builds within the same series are selected.
- A constraint with the operator that lets only the right-most component increment, written against a specific patch level such as 2.3.1.