summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristopher Hiller <boneskull@boneskull.com>2018-03-13 15:53:39 -0700
committerRich Trott <rtrott@gmail.com>2018-08-24 18:15:19 -0700
commit80143f616d8fb56c1d5e98c0d0857a1288b8bf87 (patch)
treecd24ad53424854e90e6390d122cbc82a84cc701e /tools
parent6dd694c1257ded6d8a9f3b48e8c9027c3986a285 (diff)
downloadnode-new-80143f616d8fb56c1d5e98c0d0857a1288b8bf87.tar.gz
process: add allowedNodeEnvironmentFlags property
`process.allowedNodeEnvironmentFlags` provides an API to validate and list flags as specified in `NODE_OPTIONS` from user code. Refs: https://github.com/nodejs/node/issues/17740 Signed-off-by: Christopher Hiller <boneskull@boneskull.com> PR-URL: https://github.com/nodejs/node/pull/19335 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: Sam Ruby <rubys@intertwingly.net> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/doc/type-parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js
index 2a63f97c79..b57dc6957a 100644
--- a/tools/doc/type-parser.js
+++ b/tools/doc/type-parser.js
@@ -16,7 +16,7 @@ const jsPrimitives = {
const jsGlobalObjectsUrl = `${jsDocPrefix}Reference/Global_Objects/`;
const jsGlobalTypes = [
'Array', 'ArrayBuffer', 'DataView', 'Date', 'Error', 'EvalError', 'Function',
- 'Object', 'Promise', 'RangeError', 'ReferenceError', 'RegExp',
+ 'Object', 'Promise', 'RangeError', 'ReferenceError', 'RegExp', 'Set',
'SharedArrayBuffer', 'SyntaxError', 'TypeError', 'TypedArray', 'URIError',
'Uint8Array',
];