From 4e742c8d6eebc0b35c81c6fe09b0b33231a2f222 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 2 Oct 2024 23:02:31 +0200 Subject: [PATCH] doc: update `require(ESM)` history and stability status PR-URL: https://github.com/nodejs/node/pull/55199 Reviewed-By: Moshe Atlow Reviewed-By: Guy Bedford Reviewed-By: Joyee Cheung --- doc/api/modules.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/api/modules.md b/doc/api/modules.md index 0e79d1b8d68f4d..506534ced54fee 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -171,18 +171,19 @@ relative, and based on the real path of the files making the calls to ## Loading ECMAScript modules using `require()` -> Stability: 1.1 - Active Development. Enable this API with the -> [`--experimental-require-module`][] CLI flag. +> Stability: 1.2 - Release candidate The `.mjs` extension is reserved for [ECMAScript Modules][]. See [Determining module system][] section for more info