From 0c4cf24f70f8c966747e8414fda21275fdc2c077 Mon Sep 17 00:00:00 2001 From: Kevin Zurawel Date: Thu, 1 Dec 2016 10:12:46 -0600 Subject: [PATCH] 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 Reviewed-By: Anna Henningsen --- 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 23759a5674cef6..3e0414e59effc4 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. 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);