From 567497ae9f181bf1ba0bddc649fc7d86b6b13dd5 Mon Sep 17 00:00:00 2001 From: Sullivan SENECHAL Date: Wed, 1 Jun 2016 15:24:13 +0200 Subject: [PATCH] Use caret operator for unbound version constraints doc Because the caret is closer to semver than the tilde. --- doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md b/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md index 56d152c82..015ac92da 100644 --- a/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md +++ b/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md @@ -13,7 +13,7 @@ which you can increase in a new release after testing that your package is compatible with the new major version of your dependency. For example instead of using `>=3.4` you should use `~3.4` which allows all -versions up to `3.999` but does not include `4.0` and above. The `~` operator +versions up to `3.999` but does not include `4.0` and above. The `^` operator works very well with libraries following [semantic versioning](http://semver.org). **Note:** As a package maintainer, you can make the life of your users easier