File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -171,16 +171,20 @@ relative, and based on the real path of the files making the calls to
171
171
## Loading ECMAScript modules using ` require() `
172
172
173
173
<!-- YAML
174
- added: v20.17.0
174
+ added:
175
+ - v22.0.0
176
+ - v20.17.0
175
177
changes:
176
178
- version: REPLACEME
177
179
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 .
179
181
- version: REPLACEME
180
182
pr-url: https://github.com/nodejs/node/pull/54563
181
183
description: Support `'module.exports'` interop export in `require(esm)`.
182
184
-->
183
185
186
+ > Stability: 1.2 - Release candidate
187
+
184
188
The ` .mjs ` extension is reserved for [ ECMAScript Modules] [ ] .
185
189
See [ Determining module system] [ ] section for more info
186
190
regarding which files are parsed as ECMAScript modules.
You can’t perform that action at this time.
0 commit comments