模块:ECMAScript 模块
🌐 Modules: ECMAScript modules
版本历史
| 版本 | 变更 |
|---|---|
| v22.0.0 | Drop support for import assertions. |
| v23.1.0, v22.12.0, v20.18.3, v18.20.5 | Import attributes are no longer experimental. |
| v21.0.0, v20.10.0, v18.20.0 | Add experimental support for import attributes. |
| v20.0.0, v18.19.0 | Module customization hooks are executed off the main thread. |
| v18.6.0, v16.17.0 | Add support for chaining module customization hooks. |
| v17.1.0, v16.14.0 | Add experimental support for import assertions. |
| v17.0.0, v16.12.0 | Consolidate customization hooks, removed |
| v14.8.0 | Unflag Top-Level Await. |
| v15.3.0, v14.17.0, v12.22.0 | Stabilize modules implementation. |
| v14.13.0, v12.20.0 | Support for detection of CommonJS named exports. |
| v14.0.0, v13.14.0, v12.20.0 | Remove experimental modules warning. |
| v13.2.0, v12.17.0 | Loading ECMAScript modules no longer requires a command-line flag. |
| v12.0.0 | Add support for ES modules using |
| v8.5.0 | 新增于: v8.5.0 |