Skip to content

Commit c6fd8cb

Browse files
kzurawelevanlucas
authored andcommitted
doc: update process.versions.modules documentation
This commit adds a description of `process.versions.modules`, based on the comment in `src/node_version.h` lines 47-50. PR-URL: #9901 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 83a991b commit c6fd8cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/api/process.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,9 @@ added: v0.2.0
16511651
* {Object}
16521652

16531653
The `process.versions` property returns an object listing the version strings of
1654-
Node.js and its dependencies.
1654+
Node.js and its dependencies. In addition, `process.versions.modules` indicates
1655+
the current ABI version, which is increased whenever a C++ API changes. Node.js
1656+
will refuse to load native modules built for an older `modules` value.
16551657

16561658
```js
16571659
console.log(process.versions);

0 commit comments

Comments
 (0)