mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
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: https://github.com/nodejs/node/pull/9901 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
parent
4bdf494d63
commit
f368eee19f
@ -1651,7 +1651,9 @@ added: v0.2.0
|
||||
* {Object}
|
||||
|
||||
The `process.versions` property returns an object listing the version strings of
|
||||
Node.js and its dependencies.
|
||||
Node.js and its dependencies. In addition, `process.versions.modules` indicates
|
||||
the current ABI version, which is increased whenever a C++ API changes. Node.js
|
||||
will refuse to load native modules built for an older `modules` value.
|
||||
|
||||
```js
|
||||
console.log(process.versions);
|
||||
|
Loading…
Reference in New Issue
Block a user