denoland / fresh

The next-gen web framework.
https://fresh.deno.dev
MIT License
12.17k stars 623 forks source link

upgrade downgrades preact and preact/signals dependencies #2319

Closed king8fisher closed 7 months ago

king8fisher commented 7 months ago

I'm currently having these dependencies in my project:

"preact": "https://esm.sh/preact@10.19.4",
"preact/": "https://esm.sh/preact@10.19.4/",
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",

and when I'm attempting to upgrade fresh via deno run -A -r https://fresh.deno.dev/update ., the updater attempts to downgrade "preact" to 10.19.2, signals to 1.2.1 and signals-core to 1.5.0.

Not really a bug but might be addressed somehow some day by comparing version numbers, skipping updates, or possibly, notifying that this is a necessary change.