doc: clarify information about ABI version

PR-URL: https://github.com/nodejs/node/pull/10419
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Refs: https://github.com/nodejs/node/pull/9901#discussion_r93575704
This commit is contained in:
Rich Trott 2016-12-22 17:04:10 -08:00
parent e69a69672b
commit 1b2d3f7ae7

View File

@ -1651,9 +1651,9 @@ added: v0.2.0
* {Object}
The `process.versions` property returns an object listing the version strings of
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.
Node.js and its dependencies. `process.versions.modules` indicates the current
ABI version, which is increased whenever a C++ API changes. Node.js will refuse
to load modules that were compiled against a different module ABI version.
```js
console.log(process.versions);