Update node completion to v14

This commit is contained in:
Shohei YOSHIDA 2020-04-22 23:41:36 +09:00
parent d4e54f1e04
commit 9f5aa05a75
1 changed files with 12 additions and 1 deletions

View File

@ -64,8 +64,11 @@ _arguments -C \
'--cpu-prof-dir=[directory where the V8 profiles generated by --cpu-prof]: :_files -/' \ '--cpu-prof-dir=[directory where the V8 profiles generated by --cpu-prof]: :_files -/' \
'--cpu-prof-name=[file name of the V8 profile generated with --cpu-prof]: :_files' \ '--cpu-prof-name=[file name of the V8 profile generated with --cpu-prof]: :_files' \
'--cpu-prof-interval=[sampling interval in microseconds for the V8 CPU profiler]:number' \ '--cpu-prof-interval=[sampling interval in microseconds for the V8 CPU profiler]:number' \
'--disable-proto=[disable Object.prototype.__proto__]:mode:(delete throw)' \
'--disallow-code-generation-from-strings[disallow eval and friends]' \ '--disallow-code-generation-from-strings[disallow eval and friends]' \
'--enable-source-maps[source map support]' \ '--enable-source-maps[source map support]' \
'--experimental-import-meta-resolve[experimental ES Module import.meta.resolve() support]' \
'(--loader --experimental-loader)'{--loader,--experimental-loader}'=[Specify the module of a custom ECMAScript Module loader]: :_files' \
'--experimental-modules[experimental ES Module support and caching modules]' \ '--experimental-modules[experimental ES Module support and caching modules]' \
'--experimental-policy=[security policy file]: :_files' \ '--experimental-policy=[security policy file]: :_files' \
'--experimental-repl-await[experimental await keyword support in REPL]' \ '--experimental-repl-await[experimental await keyword support in REPL]' \
@ -83,13 +86,16 @@ _arguments -C \
'--heapsnapshot-signal=[Generate heap snapshot on specified signal]:signals:_signals -s' \ '--heapsnapshot-signal=[Generate heap snapshot on specified signal]:signals:_signals -s' \
'--http-parser=[HTTP parser]:HTTP parser:(legacy llhttp)' \ '--http-parser=[HTTP parser]:HTTP parser:(legacy llhttp)' \
'--http-server-default-timeout=[default http server socket timeout in ms]::number' \ '--http-server-default-timeout=[default http server socket timeout in ms]::number' \
'--huge-max-old-generation-size[increase default maximum heap size with 16GB or more]' \
'--icu-data-dir=[set ICU data load path to dir (overrides NODE_ICU_DATA) note: linked-in ICU data is present]: :_directories' \ '--icu-data-dir=[set ICU data load path to dir (overrides NODE_ICU_DATA) note: linked-in ICU data is present]: :_directories' \
'--input-type=[set module type for string input]:module type :(commonjs module)' \
'--insecure-http-parser[Use an insecure HTTP parser that accepts invalid HTTP headers]' \ '--insecure-http-parser[Use an insecure HTTP parser that accepts invalid HTTP headers]' \
'--inspect-brk=-[activate inspector on host:port and break at start of user script]:[host\:]port' \ '--inspect-brk=-[activate inspector on host:port and break at start of user script]:[host\:]port' \
'--inspect-port=[set host:port for inspector]:[host\:]port' \ '(--debug-port --inspect-port)'{--debug-port,--inspect-port}'=[set host:port for inspector]:[host\:]port' \
'--inspect=-[activate inspector on host:port (default: 127.0.0.1:9229)]:[host\:]port' \ '--inspect=-[activate inspector on host:port (default: 127.0.0.1:9229)]:[host\:]port' \
'--inspect-publish-uid=[comma separated list of destinations for inspector uid]' \ '--inspect-publish-uid=[comma separated list of destinations for inspector uid]' \
'--interpreted-frames-native-stack[helm system profilers to translate JavaScript interpreted frames]' \ '--interpreted-frames-native-stack[helm system profilers to translate JavaScript interpreted frames]' \
'--jitless[Disable runtime allocation of executable memory]' \
'--max-http-header-size=[set the maximum size of HTTP headers]::number' \ '--max-http-header-size=[set the maximum size of HTTP headers]::number' \
'--napi-modules[load N-API modules (no-op - option kept for compatibility)]' \ '--napi-modules[load N-API modules (no-op - option kept for compatibility)]' \
'--no-deprecation[silence deprecation warnings]' \ '--no-deprecation[silence deprecation warnings]' \
@ -97,11 +103,13 @@ _arguments -C \
'--no-warnings[silence all process warnings]' \ '--no-warnings[silence all process warnings]' \
'--openssl-config=[load OpenSSL configuration from the specified file (overrides OPENSSL_CONF)]:file:_files' \ '--openssl-config=[load OpenSSL configuration from the specified file (overrides OPENSSL_CONF)]:file:_files' \
'--pending-deprecation[emit pending deprecation warnings]' \ '--pending-deprecation[emit pending deprecation warnings]' \
'--policy-integrity=[ensure the security policy contents match the specified integrity]' \
'--preserve-symlinks[preserve symbolic links when resolving]' \ '--preserve-symlinks[preserve symbolic links when resolving]' \
'--preserve-symlinks-main[preserve symbolic links when resolving the main module]' \ '--preserve-symlinks-main[preserve symbolic links when resolving the main module]' \
'--prof[generate V8 profiler output]' \ '--prof[generate V8 profiler output]' \
'--prof-process[process V8 profiler output generated using --prof]' \ '--prof-process[process V8 profiler output generated using --prof]' \
'--redirect-warnings=[write warnings to file instead of stderr]: :_files' \ '--redirect-warnings=[write warnings to file instead of stderr]: :_files' \
'--report-compact[output compact single-line JSON]' \
'--report-directory=[custom report path]: :_files -/' \ '--report-directory=[custom report path]: :_files -/' \
'--report-filename=[custom report file name]: :_files' \ '--report-filename=[custom report file name]: :_files' \
'--report-on-fatalerror[generate diagnostic report on fatal (internal) errors]' \ '--report-on-fatalerror[generate diagnostic report on fatal (internal) errors]' \
@ -123,11 +131,14 @@ _arguments -C \
'--trace-event-file-pattern[Template string specifying the filepath for the trace-events data, it supports ${rotation} and ${pid} log-rotation id. %2$u is the pid.]:template string' \ '--trace-event-file-pattern[Template string specifying the filepath for the trace-events data, it supports ${rotation} and ${pid} log-rotation id. %2$u is the pid.]:template string' \
'--trace-events-enabled[track trace events]' \ '--trace-events-enabled[track trace events]' \
'--trace-exit[show stack trace when an environment exits]' \ '--trace-exit[show stack trace when an environment exits]' \
'--trace-sigint[prints a stack trace on SIGINT]' \
'--trace-sync-io[show stack trace when use of sync IO is detected after the first tick]' \ '--trace-sync-io[show stack trace when use of sync IO is detected after the first tick]' \
'--trace-tls[prints TLS packet trace information to stderr]' \
'--trace-warnings[show stack traces on process warnings]' \ '--trace-warnings[show stack traces on process warnings]' \
'--track-heap-objects[track heap object allocations for heap snapshots]' \ '--track-heap-objects[track heap object allocations for heap snapshots]' \
'--unhandled-rejections=[define unhandled rejections behavior]:rejection behavior:(strict warn none)' \ '--unhandled-rejections=[define unhandled rejections behavior]:rejection behavior:(strict warn none)' \
'--use-bundled-ca[use bundled CA store (default)]' \ '--use-bundled-ca[use bundled CA store (default)]' \
'--use-largepages=[re-map the Node.js static code to large memory pages at startup]:mode:(off on silent)' \
"--use-openssl-ca[use OpenSSL's default CA store]" \ "--use-openssl-ca[use OpenSSL's default CA store]" \
'(- 1 *)--v8-options[print v8 command line options]' \ '(- 1 *)--v8-options[print v8 command line options]' \
"--v8-pool-size=[set v8's thread pool size]:number" \ "--v8-pool-size=[set v8's thread pool size]:number" \