This commit enables deferred import for statically imported modules, by using the corresponding functionality in V8. It adds two tests: - smoke test exercising the basic syntax - test for deferred import of module with its own imports More test coverage should be added for mixing ESM and CJS modules, as well as TypeScript modules. Refs: https://github.com/tc39/proposal-defer-import-eval Signed-off-by: Maya Lekova <maya@igalia.com> PR-URL: https://github.com/nodejs/node/pull/63712 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
19 lines
555 B
JSON
19 lines
555 B
JSON
{
|
|
"name": "eslint-tools",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/core": "^8.0.0-rc.6",
|
|
"@babel/eslint-parser": "^8.0.0-rc.6",
|
|
"@babel/plugin-syntax-import-defer": "^8.0.0-rc.6",
|
|
"@babel/plugin-syntax-import-source": "^8.0.0-rc.6",
|
|
"@eslint/js": "^10.0.1",
|
|
"@eslint/markdown": "^8.0.2",
|
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
"eslint": "^10.4.0",
|
|
"eslint-formatter-tap": "^9.0.1",
|
|
"eslint-plugin-jsdoc": "^63.0.0",
|
|
"eslint-plugin-regexp": "^3.1.0",
|
|
"globals": "^17.6.0"
|
|
}
|
|
}
|