esm: throw `ERR_REQUIRE_ESM` instead of `ERR_INTERNAL_ASSERTION` · nodejs/node@4813a6a · GitHub
Skip to content

Commit 4813a6a

Browse files
aduh95marco-ippolito
authored andcommitted
esm: throw ERR_REQUIRE_ESM instead of ERR_INTERNAL_ASSERTION
PR-URL: #54868 Backport-PR-URL: #56927 Fixes: #54773 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Refs: #52697
1 parent d1331fc commit 4813a6a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/internal/modules/esm/loader.js

Lines changed: 3 additions & 2 deletions

0 commit comments

Comments
 (0)