Skip to content

Commit f9d0cce

Browse files
kzuraweltargos
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 e355604 commit f9d0cce

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
@@ -1683,7 +1683,9 @@ added: v0.2.0
16831683
* {Object}
16841684

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

16881690
```js
16891691
console.log(process.versions);

0 commit comments

Comments
 (0)