mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 23:11:31 +00:00
a79cddc4b9
* fix(versioning/hex): handle Elixir == pin prefix in isSingleVersion Hex versioning inherited npm's isSingleVersion which only strips a single = prefix. Elixir uses == for pinning, so "== 1.7.16" was not recognized as a pinned version, causing duplicate pin PRs on every update. Add isSingleVersion override that handles the double == prefix and add getPinnedValue to emit the correct == prefix when pinning. * fix: use non-null assertion instead of optional chaining in test
Hex versioning syntax is used for Elixir, Erlang and Gleam hex dependencies. It is based on Semantic Versioning 2.0 and supports a subset of npm's range syntax.