upgrade node and swig
This commit is contained in:
@@ -22,12 +22,12 @@
|
||||
#ifndef SRC_NODE_VERSION_H_
|
||||
#define SRC_NODE_VERSION_H_
|
||||
|
||||
#define NODE_MAJOR_VERSION 10
|
||||
#define NODE_MINOR_VERSION 16
|
||||
#define NODE_MAJOR_VERSION 22
|
||||
#define NODE_MINOR_VERSION 13
|
||||
#define NODE_PATCH_VERSION 1
|
||||
|
||||
#define NODE_VERSION_IS_LTS 1
|
||||
#define NODE_VERSION_LTS_CODENAME "Dubnium"
|
||||
#define NODE_VERSION_LTS_CODENAME "Jod"
|
||||
|
||||
#define NODE_VERSION_IS_RELEASE 1
|
||||
|
||||
@@ -75,45 +75,36 @@
|
||||
* Node.js will refuse to load modules that weren't compiled against its own
|
||||
* module ABI number, exposed as the process.versions.modules property.
|
||||
*
|
||||
* When this version number is changed, node.js will refuse
|
||||
* to load older modules. This should be done whenever
|
||||
* an API is broken in the C++ side, including in v8 or
|
||||
* other dependencies.
|
||||
* Node.js will refuse to load modules with a non-matching ABI version. The
|
||||
* version number here should be changed whenever an ABI-incompatible API change
|
||||
* is made in the C++ side, including in V8 or other dependencies.
|
||||
*
|
||||
* Node.js will not change the module version during a Major release line
|
||||
* We will at times update the version of V8 shipped in the release line
|
||||
* We will, at times update the version of V8 shipped in the release line
|
||||
* if it can be made ABI compatible with the previous version.
|
||||
*
|
||||
* Module version by Node.js version:
|
||||
* Node.js v0.10.x: 11
|
||||
* Node.js v0.12.x: 14
|
||||
* Node.js v4.x: 46
|
||||
* Node.js v5.x: 47
|
||||
* Node.js v6.x: 48
|
||||
* Node.js v7.x: 51
|
||||
* Node.js v8.x: 57
|
||||
* Embedders building Node.js can define NODE_EMBEDDER_MODULE_VERSION to
|
||||
* override the default value of NODE_MODULE_VERSION.
|
||||
*
|
||||
* Module version by V8 ABI version:
|
||||
* V8 5.4: 51
|
||||
* V8 5.5: 52
|
||||
* V8 5.6: 53
|
||||
* V8 5.7: 54
|
||||
* V8 5.8: 55
|
||||
* V8 5.9: 56
|
||||
* V8 6.0: 57
|
||||
* V8 6.1: 58
|
||||
* V8 6.2: 59
|
||||
* V8 6.3: 60
|
||||
* V8 6.4: 61
|
||||
* V8 6.5: 62
|
||||
* V8 6.6: 63
|
||||
* V8 6.7: 64
|
||||
*
|
||||
* More information can be found at https://nodejs.org/en/download/releases/
|
||||
* The registry of used NODE_MODULE_VERSION numbers is located at
|
||||
* https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json
|
||||
* Extenders, embedders and other consumers of Node.js that require ABI
|
||||
* version matching should open a pull request to reserve a number in this
|
||||
* registry.
|
||||
*/
|
||||
#define NODE_MODULE_VERSION 64
|
||||
#if defined(NODE_EMBEDDER_MODULE_VERSION)
|
||||
#define NODE_MODULE_VERSION NODE_EMBEDDER_MODULE_VERSION
|
||||
#else
|
||||
#define NODE_MODULE_VERSION 127
|
||||
#endif
|
||||
|
||||
// the NAPI_VERSION provided by this version of the runtime
|
||||
#define NAPI_VERSION 4
|
||||
// The NAPI_VERSION supported by the runtime. This is the inclusive range of
|
||||
// versions which the Node.js binary being built supports.
|
||||
#define NODE_API_SUPPORTED_VERSION_MAX 9
|
||||
#define NODE_API_SUPPORTED_VERSION_MIN 1
|
||||
|
||||
// Node API modules use NAPI_VERSION 8 by default if it is not explicitly
|
||||
// specified. It must be always 8.
|
||||
#define NODE_API_DEFAULT_MODULE_API_VERSION 8
|
||||
|
||||
#endif // SRC_NODE_VERSION_H_
|
||||
|
||||
Reference in New Issue
Block a user