Changelog

denoland/deno · · 5 commits

Deno fixes npm resolution and CI stability

Two npm resolver fixes plus CI/test hardening: better peer package IDs, bare npm prerelease fallback, and less flaky runners.

Bare npm: specifiers now fall back when latest is too new (bartlomieju4de6697) The npm resolver now retries bare package requests against the newest version allowed by the dependency date when the latest dist-tag is too new, instead of failing outright. This restores resolution for packages that only publish prereleases and keeps explicit version/range requests unchanged.

Peer package IDs are flattened when a resolution is unambiguous (bartlomiejuf01fe6f) Package ID generation now avoids recursively expanding peers that only resolve one way in the graph, preventing peer trees from exploding into long, duplicated IDs. That makes npm package IDs more stable and much less likely to grow exponentially in deep peer graphs.

Other misc changes

  • CI: cap node_compat and sysroot setup steps with timeouts; disable fail-fast on node_compat shards; hash shard assignment to avoid runner starvation (bartlomieju6e0621c, bartlomiejud63aa22)
  • Test expectation tweak for import redirect size output (bartlomieju72eb21f)