antfu-collective / taze

🥦 A modern cli tool that keeps your deps fresh
MIT License
2.83k stars 86 forks source link

can't find upgarde of some package #71

Open tjx666 opened 1 year ago

tjx666 commented 1 year ago

Describe the bug

for example package: @yutengjing/tsconfig-node. There is already version: v0.0.3, but taze can't find the upgarde.

Reproduction

https://stackblitz.com/edit/node-cyyrfx?file=package.json

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
Binaries:
    Node: 16.20.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
    pnpm: 8.6.3 - /usr/local/bin/pnpm

Used Package Manager

pnpm

Validations

jaw52 commented 1 year ago

pic I used your demo and taze found a new version of the dependency package

tjx666 commented 1 year ago

@jaw52 you can test online: https://stackblitz.com/edit/node-cyyrfx?file=package.json

image
rubiin commented 1 year ago

+1

jaw52 commented 1 year ago

This is probably not because of taze.

The reason can be seen here https://github.com/npm/node-semver/issues/281

jaw52 commented 1 year ago

@antfu Hi~,This issue is due to the design of node-semver. Maybe it can be closed https://github.com/npm/node-semver/issues/281

jaw52 commented 1 year ago

@antfu Hi~,This issue is due to the design of node-semver. Maybe it can be closed npm/node-semver#281

Or does this require support for the default upgrade to ^0.0.x?