55<!-- YAML
66added: v8.5.0
77changes:
8+ - version:
9+ - REPLACEME
10+ pr-url: https://github.com/nodejs/node/pull/35781
11+ description: Stabilize modules implementation.
812 - version:
913 - v12.20.0
1014 pr-url: https://github.com/nodejs/node/pull/35249
@@ -23,7 +27,7 @@ changes:
2327 `"type"` field.
2428-->
2529
26- > Stability: 1 - Experimental
30+ > Stability: 2 - Stable
2731
2832## Introduction
2933
@@ -55,15 +59,9 @@ console.log(addTwo(4));
5559```
5660
5761Node.js fully supports ECMAScript modules as they are currently specified and
58- provides limited interoperability between them and the existing module format,
62+ provides interoperability between them and its original module format,
5963[ CommonJS] [ ] .
6064
61- Node.js contains support for ES Modules based upon the
62- [ Node.js EP for ES Modules] [ ] and the [ ECMAScript-modules implementation] [ ] .
63-
64- Expect major changes in the implementation including interoperability support,
65- specifier resolution, and default behavior.
66-
6765<!-- Anchors to make sure old links find a target -->
6866<i id =" #esm_package_json_type_field " ></i >
6967<i id =" #esm_package_scope_and_file_extensions " ></i >
@@ -1268,9 +1266,7 @@ success!
12681266[CommonJS]: modules .html
12691267[Conditional exports ]: packages .html #packages_conditional_exports
12701268[Dynamic ` import()` ]: https: // wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports
1271- [ECMAScript- modules implementation]: https: // github.com/nodejs/modules/blob/master/doc/plan-for-new-modules-implementation.md
12721269[ES Module Integration Proposal for Web Assembly]: https: // github.com/webassembly/esm-integration
1273- [Node .js EP for ES Modules]: https: // github.com/nodejs/node-eps/blob/master/002-es-modules.md
12741270[Terminology]: #esm_terminology
12751271[WHATWG JSON modules specification]: https: // html.spec.whatwg.org/#creating-a-json-module-script
12761272[` data:` URLs]: https: // developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
0 commit comments