hayd / deno-udd

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

fix: npm registry with deno update syntax #107

Closed levibostian closed 1 year ago

levibostian commented 1 year ago

Fixes: https://github.com/hayd/deno-udd/issues/96

udd takes a npm import npm:ical-generator@^4.0.0 and converts that to npm:ical-generator@4.0.0#^ from this line of code

The npm regex gives you the version string of 4.0.0#^ which SemVer() fails at.

This PR fixes the problem by getting the version from npm:ical-generator@4.0.0#^ to return 4.0.0 instead of 4.0.0#^.

levibostian commented 1 year ago

Huh. I guess github will not let you reopen a PR once the branch has been force pushed.

I had to keep this closed and open a new one. https://github.com/hayd/deno-udd/pull/109