From 80f97c24a1402fcb273fb357ff7b4e15daa8ad7f Mon Sep 17 00:00:00 2001 From: Kevin Zurawel Date: Thu, 1 Dec 2016 10:12:46 -0600 Subject: [PATCH 1/2] doc: document process.versions.modules This commit adds a description of `process.versions.modules`, based on the comment in `src/node_version.h` lines 47-50. --- doc/api/process.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/api/process.md b/doc/api/process.md index 18c23dda2de193..f7053d043dc48a 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -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. `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); From 91d04654f794e895d8ae654b4343f55d1eb1d549 Mon Sep 17 00:00:00 2001 From: Kevin Zurawel Date: Wed, 21 Dec 2016 17:28:40 -0600 Subject: [PATCH 2/2] doc: update wording for process.versions.modules --- doc/api/process.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/process.md b/doc/api/process.md index f7053d043dc48a..6746060ad3b642 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -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. `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. 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);