node/test/es-module
Bradley Farias c8a389e19f module: Allow runMain to be ESM
This follows the EPS an allows the node CLI to have ESM as an entry point.
`node ./example.mjs`. A newer V8 is needed for `import()` so that is not
included. `import.meta` is still in specification stage so that also is not
included.

PR-URL: https://github.com/nodejs/node/pull/14369
Author: Bradley Farias <bradley.meck@gmail.com>
Author: Guy Bedford <guybedford@gmail.com>
Author: Jan Krems <jan.krems@groupon.com>
Author: Timothy Gu <timothygu99@gmail.com>
Author: Michaël Zasso <targos@protonmail.com>
Author: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2017-09-07 15:18:32 -05:00
..
es-module.status
esm-snapshot-mutator.js
esm-snapshot.js
test-esm-basic-imports.mjs
test-esm-encoded-path-native.js
test-esm-encoded-path.mjs
test-esm-forbidden-globals.mjs
test-esm-namespace.mjs
test-esm-ok.mjs
test-esm-pkg-over-ext.mjs
test-esm-preserve-symlinks.js
test-esm-require-cache.mjs
test-esm-shebang.mjs
test-esm-snapshot.mjs
test-esm-symlink.js
testcfg.py