Last 12 weeks · 2 commits
2 of 6 standards met
My implementation of multiple import maps in deno (https://github.com/denoland/deno/pull/30754) iterates over import maps to find matches. It is, however, unable to detect if has returned an entry, that should be tried from next import map. This change allows to only return remapped paths. This PR also implements import map merging as described by spec: https://html.spec.whatwg.org/multipage/webappapis.html#merge-existing-and-new-import-maps I can split those changes if that would be better for review purposes Ref: https://github.com/denoland/deno/pull/30754#issuecomment-3305359983
Repository: denoland/import_map. Description: An implementation of WICG Import Maps specification Stars: 35, Forks: 14. Primary language: Rust. Languages: Rust (94.9%), TypeScript (5.1%). License: MIT. Topics: importmaps. Latest release: v0.25.0 (1mo ago). Open PRs: 1, open issues: 9. Last activity: 1mo ago. Community health: 37%. Top contributors: dsherret, bartlomieju, denobot, kitsonk, crowlKats, nayeemrmn, andreubotella, arunsathiya, UltiRequiem, mrkldshv and others.
Reproduce: Deno v1.23.3 import_map.json: Deno then reports back with: Package address targets must end with "/". I couldn't find a current code snippet, but for version 1.9.1 I found this check, which doesn't account for esm.sh alias feature, because it just checks the last character of the value string. If you have any further questions, please let me know