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:
parent
e69a69672b
commit
1b2d3f7ae7
@ -1651,9 +1651,9 @@ added: v0.2.0
|
|||||||
* {Object}
|
* {Object}
|
||||||
|
|
||||||
The `process.versions` property returns an object listing the version strings of
|
The `process.versions` property returns an object listing the version strings of
|
||||||
Node.js and its dependencies. In addition, `process.versions.modules` indicates
|
Node.js and its dependencies. `process.versions.modules` indicates the current
|
||||||
the current ABI version, which is increased whenever a C++ API changes. Node.js
|
ABI version, which is increased whenever a C++ API changes. Node.js will refuse
|
||||||
will refuse to load native modules built for an older `modules` value.
|
to load modules that were compiled against a different module ABI version.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
console.log(process.versions);
|
console.log(process.versions);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user