1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
denoland-deno/tests/registry/jsr/@denotest
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
..
add feat: subcommand to view and update outdated dependencies (#26942) 2024-11-20 15:22:15 -08:00
bad-manifest-checksum chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
deps chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
different-deps-per-export feat(vendor): support modifying remote files in vendor folder without checksum errors (#23979) 2024-05-28 14:58:43 -04:00
has-only-pre-release fix(outdated): ensure "Latest" version is greater than "Update" version (#27390) 2024-12-17 23:56:03 +00:00
has-pre-release fix(outdated): ensure "Latest" version is greater than "Update" version (#27390) 2024-12-17 23:56:03 +00:00
import-https-url chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
jsx-with-no-pragmas chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
jsx-with-pragmas chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
module-graph chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
module-graph2 chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
multiple-exports fix(install): use locked version of jsr package when fetching exports (#27237) 2024-12-05 18:55:35 +00:00
no-module-graph chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
npm-add fix(byonm): resolve npm deps of jsr deps (#25399) 2024-09-04 14:00:44 +00:00
subset-type-graph chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
subset-type-graph-invalid chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00
subtract feat: subcommand to view and update outdated dependencies (#26942) 2024-11-20 15:22:15 -08:00
type-only-import fix(install): cache type only module deps in deno install (#26497) 2024-10-23 15:01:45 -07:00
types-file fix(lsp): apply import fix to missing declaration code action (#23924) 2024-05-21 21:15:16 +01:00
unstable fix(add): better error message when adding package that only has pre-release versions (#26724) 2024-11-05 02:45:00 +00:00
worker chore(test): move npm registries to separate servers and to the tests/registry folder (#23717) 2024-05-07 01:06:01 +00:00