From 15b389539c7e713f0dcbd7bb1e5e1932a91c275e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Thu, 1 Sep 2022 20:38:39 +0200 Subject: [PATCH] doc: use serial comma in addons docs Refs: https://github.com/nodejs/node/pull/11321 Refs: https://github.com/nodejs/node/pull/17384 PR-URL: https://github.com/nodejs/node/pull/44482 Reviewed-By: Filip Skokan Reviewed-By: Antoine du Hamel --- doc/api/addons.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/addons.md b/doc/api/addons.md index d047bd230b6d88..2800c55254cfd0 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -9,7 +9,7 @@ _Addons_ are dynamically-linked shared objects written in C++. The Addons provide an interface between JavaScript and C/C++ libraries. There are three options for implementing addons: Node-API, nan, or direct -use of internal V8, libuv and Node.js libraries. Unless there is a need for +use of internal V8, libuv, and Node.js libraries. Unless there is a need for direct access to functionality which is not exposed by Node-API, use Node-API. Refer to [C/C++ addons with Node-API](n-api.md) for more information on Node-API. @@ -40,7 +40,7 @@ involving knowledge of several components and APIs: * Node.js includes other statically linked libraries including OpenSSL. These other libraries are located in the `deps/` directory in the Node.js source - tree. Only the libuv, OpenSSL, V8 and zlib symbols are purposefully + tree. Only the libuv, OpenSSL, V8, and zlib symbols are purposefully re-exported by Node.js and may be used to various extents by addons. See [Linking to libraries included with Node.js][] for additional information. @@ -393,7 +393,7 @@ try { ### Linking to libraries included with Node.js -Node.js uses statically linked libraries such as V8, libuv and OpenSSL. All +Node.js uses statically linked libraries such as V8, libuv, and OpenSSL. All addons are required to link to V8 and may link to any of the other dependencies as well. Typically, this is as simple as including the appropriate `#include <...>` statements (e.g. `#include `) and `node-gyp` will locate