deno-udd icon indicating copy to clipboard operation
deno-udd copied to clipboard

use deno info once it can output json

Open hayd opened this issue 5 years ago • 4 comments
trafficstars

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

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

hayd avatar Apr 20 '20 06:04 hayd

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

David-Else avatar Jul 13 '20 19:07 David-Else

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 :)

hayd avatar Nov 03 '21 04:11 hayd

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

masx200 avatar May 28 '23 01:05 masx200

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

KnorpelSenf avatar May 28 '23 06:05 KnorpelSenf