Files
nvm/test
Shuyun Yang 13eee46e7d [Fix] nvm_ls_cached: match dots in the version literally, and ignore a trailing dot
The pattern reached `grep` as a regex, so its dots matched any character: `20.1.1` also matched a cached `v20.111.1`, which `nvm install --offline 20.1.1` could then pick as the newest match.
A trailing dot, as in `20.1.`, likewise matched `v20.10.0` but not `v20.1.x`.
A bare `v`, `iojs-`, or `iojs-v` now matches every cached node or io.js version respectively.
2026-10-27 20:08:55 -07:00
..