fix: support loading `npm:` and `jsr:` specifiers in required ES modules
by dsherret
·
Feb 06, 2026 at 19:39 UTC
·
scan-c4e82ce3892cf2d2
Get this automatically on every PR
Install the Axiomo GitHub App to get Signals as check runs and PR comments on every pull request.
Risk level: Medium (35%)
Support loading npm: and jsr: specifiers in required ES modules
cli/module_loader.rs changes include handling for npm: and jsr: specifiers
Cargo.toml and Cargo.lock version increments
New tests in tests/specs/run/require_esm_npm_jsr/*
Trusted contributor with 1737 merged PRs. maintains 166 public repositories. has 2061 followers. unfamiliar with 6 files being modified.
Review 2 high-priority file(s)
libs/resolver/file_fetcher.rs
+221
221 lines changed; Source code
tests/specs/run/require_esm_npm_jsr/sync.js
+4
New file; Source code
cli/module_loader.rs
+61
61 lines changed; Source code
cli/graph_util.rs
+25
Source code
ext/node/polyfills/01_require.js
+5
Source code
tests/specs/run/require_esm_npm_jsr/deno.json
+5
New file; Configuration
cli/graph_container.rs
+1
Source code
cli/tools/bundle/mod.rs
+1
Source code
cli/tools/pm/deps.rs
+1
Source code
runtime/worker.rs
+2
Source code
+5 more files
67
minutes to review
high
effort level
none
staleness risk
Allocate focused review time
Good evidence, acceptable risk, ready for merge
Why is security_scan_clean missing? Consider adding this check.
Why is coverage_maintained missing? Consider adding this check.
tests/specs/run/require_esm_npm_jsr/sync.js
New file in high-priority area: New file; Source code