swc-project / swc-node

Faster ts-node without typecheck
MIT License
1.72k stars 71 forks source link

url now returns the href of a url object #698

Closed JipSterk closed 1 year ago

JipSterk commented 1 year ago

like #696 states the url returned should return something like: new URL(url).href here is some sample code from the official nodejs docs.

note that this pr doesn't include any tests if these a wanted/needed i would happy to provide them.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.