Update node.js completion for version 19.7.0

This commit is contained in:
Shohei YOSHIDA 2023-02-22 11:53:08 +09:00
parent ec3fc086c3
commit ddb66cf14c
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 9 additions and 2 deletions

View File

@ -28,7 +28,7 @@
# Description
# -----------
#
# Completion script for Node.js v19.0.0 (https://nodejs.org)
# Completion script for Node.js v19.7.0 (https://nodejs.org)
#
# ------------------------------------------------------------------------------
# Authors
@ -74,16 +74,20 @@ _arguments -C \
'--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-interval=[sampling interval in microseconds for the V8 CPU profiler]:number' \
'--diagnostic-dir=[set dir for all output files(default: current working directory)]:dir:_files -/' \
'--disable-proto=[disable Object.prototype.__proto__]:mode:(delete throw)' \
'--disallow-code-generation-from-strings[disallow eval and friends]' \
'--dns-result-order=[set default value of verbatim in dns.lookup]: :(ipv4first verbatim)' \
'--enable-etw-stack-walking[provides heap data to ETW Windows native tracing]' \
'--enable-fips[enable FIPS crypto at startup]' \
'--enable-network-family-autoselection[enable network address family autosetection algorithm]' \
'--enable-source-maps[source map support]' \
'--es-module-specifier-resolution=[extension resolution algorithm for es modules]:resolution algorithm:(explicit none)' \
'--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-network-imports[experimental https support for the ES Module loader]' \
'--experimental-policy=[security policy file]: :_files' \
'--experimental-test-coverage[enable code coverage in the test runner]' \
'--experimental-vm-modules[experimental ES Module support in vm module]' \
'--experimental-wasi-unstable-preview1[experimental WASI support]' \
'--experimental-wasm-modules[experimental ES module support for webassembly modules]' \
@ -113,7 +117,7 @@ _arguments -C \
'--no-experimental-global-customevent[expose experimental CustomEvent on the global scope]' \
'--no-experimental-global-webcrypto[expose experimental Web Crypto API on the global scope]' \
'--no-experimental-repl-await[disable experimental await keyword support in REPL]' \
'--no-experimental-info-on-fatal-exception[hide extra information on fatal exception that causes exit]' \
'--no-extra-info-on-fatal-exception[hide extra information on fatal exception that causes exit]' \
'--no-force-async-hooks-checks[disable checks for async_hooks]' \
'--no-global-search-paths[disable global module search paths]' \
'--no-warnings[silence all process warnings]' \
@ -141,6 +145,8 @@ _arguments -C \
'--test[launch test runner on startup]' \
'--test-name-pattern=[run tests whose name matches this regular expression]:pattern' \
'--test-only[run tests with "only" option set]' \
'*--test-reporter=[report test output using the given reporter]:reporter:(tap spec dot)' \
'*--test-reporter-destination=[report given reporter to the given destination]:destination:_files' \
'--throw-deprecation[throw an exception on deprecations]' \
'--title=[the process title to use on startup]:process title' \
'--tls-cipher-list=[use an alternative default TLS cipher list]:cipher list string' \
@ -171,6 +177,7 @@ _arguments -C \
"--v8-pool-size=[set v8's thread pool size]:number" \
"--watch[run in watch mode]" \
"--watch-path=[path to watch]: :_node_files" \
'--watch-preserve-output[preserve outputs on watch mode restart]' \
'--zero-fill-buffers[automatically zero-fill all newly allocated Buffer and SlowBuffer instances]' \
{-c,--check}'[syntax check script without executing]' \
'(- 1 *)'{-e,--eval}'[evaluate script]:inline JavaScript' \