Commit ef916915b9c for nodejs
commit ef916915b9c480329ec9ff24d34617be7084e552
Author: Dave Mkpa-Eke <157598952+DaveyEke@users.noreply.github.com>
Date: Sat Nov 28 21:53:29 2026 +0100
doc: allow null in SourceMap sources and sourcesContent
Assisted-by: a closed-source coding agent
Signed-off-by: Dave Mkpa-Eke <daveydenco@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/67804
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Jason Zhang <xzha4350@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
diff --git a/doc/api/module.md b/doc/api/module.md
index 6d72f450bf4..0d376bf4acc 100644
--- a/doc/api/module.md
+++ b/doc/api/module.md
@@ -1305,8 +1305,8 @@ Creates a new `sourceMap` instance.
* `file` {string}
* `version` {number}
-* `sources` {string\[]}
-* `sourcesContent` {string\[]}
+* `sources` {string\[]|null\[]}
+* `sourcesContent` {string\[]|null\[]}
* `names` {string\[]}
* `mappings` {string}
* `sourceRoot` {string}