denoland / deno_graph

The module graph logic for Deno CLI
https://docs.rs/deno_graph
MIT License
111 stars 39 forks source link

refactor(BREAKING): parse_module - take owned specifier #475

Closed dsherret closed 4 months ago

dsherret commented 4 months ago

The main point of this PR was the refactor for parse_module to take a struct instead of having so many arguments. Then I noticed the specifier is always cloned so it can be taken as owned instead.