hayd / deno-udd

Update Deno Dependencies - update dependency urls to their latest published versions
MIT License
329 stars 18 forks source link

use deno info once it can output json #8

Open hayd opened 4 years ago

hayd commented 4 years ago

Atm udd uses regex to get the urls which is hacky.

note: importmaps will have to be handled differently (but trivially).

David-Else commented 4 years ago

It is done and released in deno 1.2 :) https://github.com/denoland/deno/pull/6372

hayd commented 3 years ago

I guess the logic I was thinking would be:

  1. get the set of specifiers and redirects from deno info
  2. iterate through this to replace the urls

This seems ok, but OTOH the current way is working :)

masx200 commented 1 year ago

Why has no one come to solve this problem in the past three years?

KnorpelSenf commented 1 year ago

I'm sure @hayd would be happy to accept your contribution :)