1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-18 13:22:55 -05:00
denoland-deno/tests
Nathan Whitaker 9d7174e434
fix(outdated): ensure "Latest" version is greater than "Update" version (#27390)
Fixes #27038.

Previously, for NPM packages the latest version was the version with the
"latest" tag. For JSR packages, the latest version was the greatest
version that matched a `*` version requirement. Unfortunately, that
doesn't work well with pre-release versions.

This PR changes it so that the latest version is always > the currently
requested version.
For NPM: if "latest" tag > current then "latest" tag; otherwise the
greatest version that is >= current
For JSR: greatest version >= current

This is the most reasonable behavior I could come up with. For example,

```
versions:
2.0.0-beta.2
2.0.0-beta.1
1.0.0 => "latest" tag

with a version req `^2.0.0-beta.1`

previously:
"Update" column => 2.0.0-beta.2
"Latest" column => 1.0.0

now:
"Update" column => 2.0.0-beta.2
"Latest" column => 2.0.0-beta.2
```
2024-12-17 23:56:03 +00:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi fix(ext/ffi): return u64/i64 as bigints from nonblocking ffi calls (#26486) 2024-10-24 09:41:38 +05:30
integration fix(lsp): include "node:" prefix for node builtin auto-imports (#27404) 2024-12-17 18:55:17 +00:00
napi chore: upgrade to rust 1.82 and LLVM 19 (#26615) 2024-11-01 16:13:02 +05:30
node_compat fix(ext/node): support createConnection option in node:http.request() (#25470) 2024-12-13 01:44:42 +01:00
registry fix(outdated): ensure "Latest" version is greater than "Update" version (#27390) 2024-12-17 23:56:03 +00:00
specs fix(outdated): ensure "Latest" version is greater than "Update" version (#27390) 2024-12-17 23:56:03 +00:00
testdata fix(compile): display embedded file sizes and total (#27360) 2024-12-16 09:37:39 -05:00
unit refactor(ext/fs): align error messages (#25414) 2024-11-28 18:47:07 +00:00
unit_node feat(ext/web): add [[ErrorData]] slot to DOMException (#27342) 2024-12-13 13:22:29 +01:00
util fix(outdated): ensure "Latest" version is greater than "Update" version (#27390) 2024-12-17 23:56:03 +00:00
wpt feat(ext/web): add [[ErrorData]] slot to DOMException (#27342) 2024-12-13 13:22:29 +01:00
Cargo.toml chore: update hickory dns crates (#27137) 2024-12-05 14:11:35 +00:00
lib.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests