Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Borins <mylesborins@google.com>2017-09-10 05:58:50 +0300
committerMyles Borins <mylesborins@google.com>2017-09-12 16:19:21 +0300
commita2a2ff4817f359768c846587983439f7b29d1cf5 (patch)
tree0fa80a280ab03069e5031af8f6dc384f3da154ff /doc/api/n-api.md
parent2adabe6777f87f996aecb0e8b43ccc9e2fd4597f (diff)
2017-09-12, Version 8.5.0 (Current)v8.5.0
Notable Changes * build: * Snapshots are now re-enabled in V8 https://github.com/nodejs/node/pull/14875 * console: * Implement minimal `console.group()`. https://github.com/nodejs/node/pull/14910 * deps: * upgrade libuv to 1.14.1 https://github.com/nodejs/node/pull/14866 * update nghttp2 to v1.25.0 https://github.com/nodejs/node/pull/14955 * dns: * Add `verbatim` option to dns.lookup(). When true, results from the DNS resolver are passed on as-is, without the reshuffling that Node.js otherwise does that puts IPv4 addresses before IPv6 addresses. https://github.com/nodejs/node/pull/14731 * fs: * add fs.copyFile and fs.copyFileSync which allows for more efficient copying of files. https://github.com/nodejs/node/pull/15034 * inspector: * Enable async stack traces https://github.com/nodejs/node/pull/13870 * module: * Add support for ESM. This is currently behind the `--experimental-modules` flag and requires the .mjs extension. `node --experimental-modules index.mjs` https://github.com/nodejs/node/pull/14369 * napi: * implement promise https://github.com/nodejs/node/pull/14365 * os: * Add support for CIDR notation to the output of the networkInterfaces() method. https://github.com/nodejs/node/pull/14307 * perf_hooks: * An initial implementation of the Performance Timing API for Node.js. This is the same Performance Timing API implemented by modern browsers with a number of Node.js specific properties. The User Timing mark() and measure() APIs are implemented, as is a Node.js specific flavor of the Frame Timing for measuring event loop duration. https://github.com/nodejs/node/pull/14680 * tls: * multiple PFX in createSecureContext [#14793](https://github.com/nodejs/node/pull/14793) * Added new collaborators: * BridgeAR – Ruben Bridgewater PR-URL: https://github.com/nodejs/node/pull/15308
Diffstat (limited to 'doc/api/n-api.md')
-rw-r--r--doc/api/n-api.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md
index daac4c592fc..e3d7dcce322 100644
--- a/doc/api/n-api.md
+++ b/doc/api/n-api.md
@@ -3185,7 +3185,7 @@ then by calling `napi_unwrap()` on the wrapper object.
### *napi_remove_wrap*
<!-- YAML
-added: REPLACEME
+added: v8.5.0
-->
```C
napi_status napi_remove_wrap(napi_env env,
@@ -3399,7 +3399,7 @@ support it:
### napi_adjust_external_memory
<!-- YAML
-added: REPLACEME
+added: v8.5.0
-->
```C
NAPI_EXTERN napi_status napi_adjust_external_memory(napi_env env,
@@ -3478,7 +3478,7 @@ deferred = NULL;
### napi_create_promise
<!-- YAML
-added: REPLACEME
+added: v8.5.0
-->
```C
NAPI_EXTERN napi_status napi_create_promise(napi_env env,
@@ -3498,7 +3498,7 @@ This API creates a deferred object and a JavaScript promise.
### napi_resolve_deferred
<!-- YAML
-added: REPLACEME
+added: v8.5.0
-->
```C
NAPI_EXTERN napi_status napi_resolve_deferred(napi_env env,
@@ -3521,7 +3521,7 @@ The deferred object is freed upon successful completion.
### napi_reject_deferred
<!-- YAML
-added: REPLACEME
+added: v8.5.0
-->
```C
NAPI_EXTERN napi_status napi_reject_deferred(napi_env env,
@@ -3544,7 +3544,7 @@ The deferred object is freed upon successful completion.
### napi_is_promise
<!-- YAML
-added: REPLACEME
+added: v8.5.0
-->
```C
NAPI_EXTERN napi_status napi_is_promise(napi_env env,
@@ -3564,7 +3564,7 @@ underlying JavaScript engine.
### napi_run_script
<!-- YAML
-added: REPLACEME
+added: v8.5.0
-->
```C
NAPI_EXTERN napi_status napi_run_script(napi_env env,