Dynamic Imports and BigInt have arrived at Stage 4 🎉
See original GitHub issueDynamic Imports and BigInt have arrived at Stage 4. This is the tracking issue to support the new syntaxes.
- https://github.com/estree/estree/pull/198 ESTree Spec Update
- https://github.com/acornjs/acorn/pull/844 Acorn Update
- https://github.com/eslint/eslint-visitor-keys/pull/8
eslint-visitor-keys
Update - https://github.com/eslint/espree/pull/415
espree
Update - ESLint Update 1: the following stuff look like to need update.
- #11983 envs should have new globals (
BigInt
,BigInt64Array
, andBigUint64Array
) - #11983
CodePathAnalyzer
: should recognizeImportExpression
node as a throwable node. - #11983
astUtils.getPrecedence(node)
: should recognizeImportExpression
literals. - #11983
astUtils.isNullLiteral(node)
: should recognize BigInt literals. - #11983
func-call-spacing
rule: should recognizeImportExpression
node. (or new rule?) - #11983
function-paren-newline
rule: should recognizeImportExpression
node. (or new rule?) - #11983
indent
rule: should recognizeImportExpression
node. - #11983
new-cap
rule: should recognizeBigInt
function. - #11983
no-extra-parens
rule: should recognizeImportExpression
node. - #11802
valid-typeof
rule: should recognize BigInt type.
- #11983 envs should have new globals (
- ESLint Update 2: the following stuff look like to need update, but breaking changes.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:17
- Comments:25 (15 by maintainers)
Top Results From Across the Web
Improvements to JavaScript in the new ES2020 standard
This technology allows you to import JavaScript files dynamically, as modules, without any additional tools. In this case, if a module is not ......
Read more >ECMAScript - Introducing Dynamic Imports in ES2020 (ES11)
In this article, we're going to examine and explain the “Dynamic Import” proposal that has been reached stage 4 and belongs to ECMAScript ......
Read more >ES2020: `import()` – dynamically importing ES modules - 2ality
The ECMAScript proposal “ import() ” by Domenic Denicola is at stage 4 and part of ECMAScript 2020. It enables dynamic loading of...
Read more >import() - JavaScript - MDN Web Docs - Mozilla
Dynamic imports allows one to circumvent the syntactic rigidity of import declarations and load a module conditionally or on demand.
Read more >What's new in ECMAScript 2020 (ES2020) - MCRO
In order to access a deep level property, we need to check at each level ... may only be known at runtime, so...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m trying to be babel-free.
Please revisit #11189 as well.
Yes. Those are in 6.2.0.