lib,esm: handle bypass network-import via data:
This commit didn't land cleanly on main
from v22.x
https://github.com/nodejs/node/commit/110902ff5e3b1395a2a15cb51fe99902d2c2abfa. So, I'm opening a manual PR to make sure we won't break anything.
cc: @aduh95 @GeoffreyBooth