This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
1
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2024-12-15 11:58:42 -05:00
Code
Issues
Packages
1
Wiki
Activity
765c481cb8
denoland-deno
/
tests
/
specs
/
npm
/
bin_entries_prefer_closer
/
deno.json
4 lines
31 B
JSON
Raw
Normal View
History
Unescape
Escape
fix(cli): Prefer npm bin entries provided by packages closer to the root (#24024) Fixes #24012. In the case of multiple packages providing a binary with a same name, we were basically leaving the results undefined (since we set up things in parallel, and whichever got set up first won). In addition, we were warning about these cases, even though it's a situation that's expected to occur. Instead, in the case of a collision in the binary names, we prefer the binary provided by the package with the least depth in the dependency tree. While I was at it, I also took moved more code to `bin_entries.rs` since it was starting to get a bit cluttered.
2024-05-29 20:45:22 -04:00
{
refactor: remove DENO_FUTURE (#25314)
2024-08-30 17:58:24 -04:00
"nodeModulesDir"
:
"auto"
fix(cli): Prefer npm bin entries provided by packages closer to the root (#24024) Fixes #24012. In the case of multiple packages providing a binary with a same name, we were basically leaving the results undefined (since we set up things in parallel, and whichever got set up first won). In addition, we were warning about these cases, even though it's a situation that's expected to occur. Instead, in the case of a collision in the binary names, we prefer the binary provided by the package with the least depth in the dependency tree. While I was at it, I also took moved more code to `bin_entries.rs` since it was starting to get a bit cluttered.
2024-05-29 20:45:22 -04:00
}
Copy permalink