1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/ext
Nathan Whitaker 6d44952d4d
fix(ext/node): resolve exports even if parent module filename isn't present (#26553)
Fixes https://github.com/denoland/deno/issues/26505

I'm not exactly sure how this case comes about (I tried to write tests
for it but couldn't manage to reproduce it), but what happens is the
parent filename ends up null, and we bail out of resolving the specifier
in package exports.

I've checked, and in node the parent filename is also null (so that's
not a bug on our part), but node continues to resolve even in that case.
So this PR should match node's behavior more closely than we currently
do.
2024-10-31 10:02:31 -07:00
..
broadcast_channel chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
cache chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
canvas chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
console chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
cron chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
crypto chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
fetch chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
ffi chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
fs chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
http chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
io chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
kv chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
napi chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
net chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
node fix(ext/node): resolve exports even if parent module filename isn't present (#26553) 2024-10-31 10:02:31 -07:00
tls chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
url chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
web chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
webgpu chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
webidl chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
websocket chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00
webstorage chore: forward v2.0.4 release commit to main (#26636) 2024-10-30 13:46:31 +01:00