From 78063b08eb19beea58dd1ac26796cdb1287719c6 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 30 Sep 2024 22:52:24 +0200 Subject: [PATCH] doc: update `require(ESM)` history and stability status --- doc/api/modules.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/api/modules.md b/doc/api/modules.md index 36f325f3878109..86f5df057e9a2f 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -171,15 +171,20 @@ relative, and based on the real path of the files making the calls to ## Loading ECMAScript modules using `require()` +> Stability: 1.2 - Release candidate + The `.mjs` extension is reserved for [ECMAScript Modules][]. See [Determining module system][] section for more info regarding which files are parsed as ECMAScript modules.