| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9930b6b commit c1af593
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,10 @@ | |||
| 5 | 5 | <!-- YAML | |
| 6 | 6 | added: v8.5.0 | |
| 7 | 7 | changes: | |
| 8 | + - version: | ||
| 9 | + - REPLACEME | ||
| 10 | + pr-url: https://github.com/nodejs/node/pull/35781 | ||
| 11 | + description: Stabilize modules implementation. | ||
| 8 | 12 | - version: | |
| 9 | 13 | - v14.13.0 | |
| 10 | 14 | pr-url: https://github.com/nodejs/node/pull/35249 | |
@@ -29,7 +33,7 @@ changes: | |||
| 29 | 33 | `"type"` field. | |
| 30 | 34 | --> | |
| 31 | 35 | ||
| 32 | - > Stability: 1 - Experimental | ||
| 36 | + > Stability: 2 - Stable | ||
| 33 | 37 | ||
| 34 | 38 | ## Introduction | |
| 35 | 39 | ||
@@ -61,15 +65,9 @@ console.log(addTwo(4)); | |||
| 61 | 65 | ``` | |
| 62 | 66 | ||
| 63 | 67 | Node.js fully supports ECMAScript modules as they are currently specified and | |
| 64 | - provides limited interoperability between them and the existing module format, | ||
| 68 | + provides interoperability between them and its original module format, | ||
| 65 | 69 | [CommonJS][]. | |
| 66 | 70 | ||
| 67 | - Node.js contains support for ES Modules based upon the | ||
| 68 | - [Node.js EP for ES Modules][] and the [ECMAScript-modules implementation][]. | ||
| 69 | - | ||
| 70 | - Expect major changes in the implementation including interoperability support, | ||
| 71 | - specifier resolution, and default behavior. | ||
| 72 | - | ||
| 73 | 71 | <!-- Anchors to make sure old links find a target --> | |
| 74 | 72 | <i id="esm_package_json_type_field"></i> | |
| 75 | 73 | <i id="esm_package_scope_and_file_extensions"></i> | |
@@ -1300,9 +1298,7 @@ success! | |||
| 1300 | 1298 | [Core modules]: modules.md#modules_core_modules | |
| 1301 | 1299 | [Dynamic `import()`]: https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports | |
| 1302 | 1300 | [ECMAScript Top-Level `await` proposal]: https://github.com/tc39/proposal-top-level-await/ | |
| 1303 | - [ECMAScript-modules implementation]: https://github.com/nodejs/modules/blob/master/doc/plan-for-new-modules-implementation.md | ||
| 1304 | 1301 | [ES Module Integration Proposal for Web Assembly]: https://github.com/webassembly/esm-integration | |
| 1305 | - [Node.js EP for ES Modules]: https://github.com/nodejs/node-eps/blob/master/002-es-modules.md | ||
| 1306 | 1302 | [Node.js Module Resolution Algorithm]: #esm_resolver_algorithm_specification | |
| 1307 | 1303 | [Terminology]: #esm_terminology | |
| 1308 | 1304 | [URL]: https://url.spec.whatwg.org/ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments