mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: add changelogs for process
PR-URL: https://github.com/nodejs/node/pull/11489 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
This commit is contained in:
1 file changed
+24
@@ -203,6 +203,14 @@ to detect application failures and recover or restart as needed.
|
||||
### Event: 'unhandledRejection'
|
||||
<!-- YAML
|
||||
added: v1.4.1
|
||||
changes:
|
||||
- version: v7.0.0
|
||||
pr-url: https://github.com/nodejs/node/pull/8217
|
||||
description: Not handling Promise rejections has been deprecated.
|
||||
- version: v6.6.0
|
||||
pr-url: https://github.com/nodejs/node/pull/8223
|
||||
description: Unhandled Promise rejections have been will now emit
|
||||
a process warning.
|
||||
-->
|
||||
|
||||
The `'unhandledRejection`' event is emitted whenever a `Promise` is rejected and
|
||||
@@ -1130,6 +1138,10 @@ is no entry script.
|
||||
## process.memoryUsage()
|
||||
<!-- YAML
|
||||
added: v0.1.16
|
||||
changes:
|
||||
- version: v7.2.0
|
||||
pr-url: https://github.com/nodejs/node/pull/9587
|
||||
description: Added `external` to the returned object.
|
||||
-->
|
||||
|
||||
* Returns: {Object}
|
||||
@@ -1165,6 +1177,10 @@ objects managed by V8.
|
||||
## process.nextTick(callback[, ...args])
|
||||
<!-- YAML
|
||||
added: v0.1.26
|
||||
changes:
|
||||
- version: v1.8.1
|
||||
pr-url: https://github.com/nodejs/node/pull/1077
|
||||
description: Additional arguments after `callback` are now supported.
|
||||
-->
|
||||
|
||||
* `callback` {Function}
|
||||
@@ -1284,6 +1300,10 @@ console.log(`This platform is ${process.platform}`);
|
||||
## process.release
|
||||
<!-- YAML
|
||||
added: v3.0.0
|
||||
changes:
|
||||
- version: v4.2.0
|
||||
pr-url: https://github.com/nodejs/node/pull/3212
|
||||
description: The `lts` property is now supported.
|
||||
-->
|
||||
|
||||
The `process.release` property returns an Object containing metadata related to
|
||||
@@ -1646,6 +1666,10 @@ console.log(`Version: ${process.version}`);
|
||||
## process.versions
|
||||
<!-- YAML
|
||||
added: v0.2.0
|
||||
changes:
|
||||
- version: v4.2.0
|
||||
pr-url: https://github.com/nodejs/node/pull/3102
|
||||
description: The `icu` property is now supported.
|
||||
-->
|
||||
|
||||
* {Object}
|
||||
|
||||
Reference in new issue
Block a user