ITADN

Incorrect versions comparison

#250ClosedPerdolique 创建于 2026-03-21
P
Perdoliquecommented
### Describe the bug I have a persistent issue with some packages, like below. `taze` always suggests an incorrect version. I suspect it's because of lexicographical comparison. ``` devDependencies ❯ ◉ drizzle-kit ~4d 1.0.0-beta.18-7eb39f0 → 1.0.0-beta.9-e89174b ~2mo ◉ drizzle-orm ~4d 1.0.0-beta.18-7eb39f0 → 1.0.0-beta.9-e89174b ~2mo ◉ drizzle-seed ~4d 1.0.0-beta.18-7eb39f0 → 1.0.0-beta.9-e89174b ~2mo ``` ### Reproduction It's random issue, doesn't work all the time ### System Info ```Shell System: Shell: 5.9 - /usr/bin/zsh Binaries: Node: 24.14.0 pnpm: 10.32.0 ``` ### Used Package Manager pnpm ### Validations - [x] Follow our [Code of Conduct](https://github.com/antfu/.github/blob/main/CODE_OF_CONDUCT.md) - [x] Read the [Contributing Guide](https://github.com/antfu/contribute). - [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. - [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. - [x] The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug. ### Contributions - [ ] I am willing to submit a PR to fix this issue - [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
关闭于 2026-04-03 2 条评论