fix(mod_update): try private registry (verdaccio.lossless.digital) first when fetching package versions; fall back to public npm; handle unknown latest versions gracefully in output
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-02-03 - 3.1.3 - fix(mod_update)
|
||||
try private registry (verdaccio.lossless.digital) first when fetching package versions; fall back to public npm; handle unknown latest versions gracefully in output
|
||||
|
||||
- getLatestVersion now attempts a direct API request to https://verdaccio.lossless.digital/<encoded-package> and parses dist-tags.latest
|
||||
- Falls back to npm view when the private registry request fails
|
||||
- Scoped package names are URL-encoded (replaces '/' with '%2f') before querying the private registry
|
||||
- Packages with no resolvable latest version are included with latestVersion set to 'unknown' and displayed as '? Version unknown'
|
||||
- needsUpdate is set to false when latest version is unknown
|
||||
|
||||
## 2026-02-03 - 3.1.2 - fix(scripts)
|
||||
make test script output verbose by using --verbose instead of --web
|
||||
|
||||
|
||||
Reference in New Issue
Block a user