lib: add parent to ERR_UNKNOWN_FILE_EXTENSION message
-
default_resolve.js
updated to passparentURL
into error -
ERR_UNKNOWN_FILE_EXTENSION
updated to includeparentURL
- test added to check for import message in error
Fixes: https://github.com/nodejs/node/issues/30721
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines