summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2019-01-09 21:49:28 +0200
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2019-01-11 22:21:44 +0200
commitc69ea3b1d5e258cd8234b9d5f771e132f0c4a23c (patch)
tree49d7ddf58bc963a57ffbc762a14ee2b0d8a7d2de /tools
parent56e7a7cbfea275eafdf7b60fe9af077dcb2dc28b (diff)
downloadandroid-node-v8-c69ea3b1d5e258cd8234b9d5f771e132f0c4a23c.tar.gz
android-node-v8-c69ea3b1d5e258cd8234b9d5f771e132f0c4a23c.tar.bz2
android-node-v8-c69ea3b1d5e258cd8234b9d5f771e132f0c4a23c.zip
doc: fix, unify, formalize, and amplify vm.md
`vm` module API heavily reuses common code, but the doc seems to be a bit out of date: some options are listed in wrong places, some options and history entries are missed. Also some fragments need to be formalized and unified. PR-URL: https://github.com/nodejs/node/pull/25422 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/doc/type-parser.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js
index f393010c19..96dd98737f 100644
--- a/tools/doc/type-parser.js
+++ b/tools/doc/type-parser.js
@@ -35,6 +35,9 @@ const customTypesMap = {
'Iterator':
`${jsDocPrefix}Reference/Iteration_protocols#The_iterator_protocol`,
+ 'Module Namespace Object':
+ 'https://tc39.github.io/ecma262/#sec-module-namespace-exotic-objects',
+
'AsyncHook': 'async_hooks.html#async_hooks_async_hooks_createhook_callbacks',
'AsyncResource': 'async_hooks.html#async_hooks_class_asyncresource',
@@ -61,6 +64,8 @@ const customTypesMap = {
'Domain': 'domain.html#domain_class_domain',
+ 'import.meta': 'esm.html#esm_import_meta',
+
'EventEmitter': 'events.html#events_class_eventemitter',
'FileHandle': 'fs.html#fs_class_filehandle',
@@ -130,6 +135,8 @@ const customTypesMap = {
'URL': 'url.html#url_the_whatwg_url_api',
'URLSearchParams': 'url.html#url_class_urlsearchparams',
+ 'vm.SourceTextModule': 'vm.html#vm_class_vm_sourcetextmodule',
+
'MessagePort': 'worker_threads.html#worker_threads_class_messageport',
'zlib options': 'zlib.html#zlib_class_options',