Content-Length: 284327 | pFad | https://github.com/nodejs/node/commit/64ce95b8fc

6E doc: update `require(ESM)` history and stability status · nodejs/node@64ce95b · GitHub
Skip to content

Commit 64ce95b

Browse files
aduh95marco-ippolito
authored andcommitted
doc: update require(ESM) history and stability status
PR-URL: #55199 Backport-PR-URL: #56927 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Refs: #52697
1 parent dc66632 commit 64ce95b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/api/modules.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,20 @@ relative, and based on the real path of the files making the calls to
171171
## Loading ECMAScript modules using `require()`
172172

173173
<!-- YAML
174-
added: v20.17.0
174+
added:
175+
- v22.0.0
176+
- v20.17.0
175177
changes:
176178
- version: REPLACEME
177179
pr-url: https://github.com/nodejs/node/pull/55085
178-
description: require() now supports loading synchronous ES modules by default.
180+
description: This feature is no longer behind the `--experimental-require-module` CLI flag.
179181
- version: REPLACEME
180182
pr-url: https://github.com/nodejs/node/pull/54563
181183
description: Support `'module.exports'` interop export in `require(esm)`.
182184
-->
183185

186+
> Stability: 1.2 - Release candidate
187+
184188
The `.mjs` extension is reserved for [ECMAScript Modules][].
185189
See [Determining module system][] section for more info
186190
regarding which files are parsed as ECMAScript modules.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/nodejs/node/commit/64ce95b8fc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy