Skip to content

Commit bf8733f

Browse files
guybedfordrichardlau
authored andcommitted
doc: mark modules implementation as stable
PR-URL: #35781 Backport-PR-URL: #37718 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
1 parent f569209 commit bf8733f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

doc/api/esm.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<!-- YAML
66
added: v8.5.0
77
changes:
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

5761
Node.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

Comments
 (0)