deno
d4cdff6d - test(specs): cover npm: scope version override reaching CJS require

Commit
168 days ago
test(specs): cover npm: scope version override reaching CJS require A transitive npm: scope override is seeded into the npm resolution snapshot, so it also takes effect for a CommonJS `require()` within the scoped package (which resolves via node resolution, not the import-map-aware resolver). Adds a spec test demonstrating this for both managed and --node-modules-dir=auto modes, and corrects the config schema note about the CommonJS behavior accordingly. Co-Authored-By: Divy Srivastava <me@littledivy.com>
Author
Committer
Parents
Loading