Update node.js options
This commit is contained in:
parent
6db5ddc655
commit
ac3e08c9d4
23
src/_node
23
src/_node
|
@ -75,27 +75,24 @@ _arguments -C \
|
|||
'--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]' \
|
||||
'--dns-result-order=[set default value of verbatim in dns.lookup]: :(ipv4first verbatim)' \
|
||||
'--enable-fips[enable FIPS crypto at startup]' \
|
||||
'--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-modules[experimental ES Module support and caching modules]' \
|
||||
'--experimental-policy=[security policy file]: :_files' \
|
||||
'--experimental-repl-await[experimental await keyword support in REPL]' \
|
||||
'--experimental-report[enable report generation]' \
|
||||
'--experimental-specifier-resolution=[extension resolution algorithm for es modules]:resolution algorithm:(explicit none)' \
|
||||
'--experimental-top-level-await[enable experimental support for Top-Level await]' \
|
||||
'--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]' \
|
||||
'--force-context-aware[disable loading non-context-aware addons]' \
|
||||
'--force-fips[force FIPS crypto]' \
|
||||
'--frozen-intrinsics[experimental frozen intrinsics support]' \
|
||||
'--heap-prof[Start the V8 heap profiler on start up]' \
|
||||
'--heap-prof-dir=[Directory where the V8 profiles generated by --heap-prof]: :_files -/' \
|
||||
'--heap-prof-interval=[sampling interval in bytes for the V8 heap profile]:number' \
|
||||
'--heap-prof-interval=[sampling interval in bytes for the V8 heap profile]: :number' \
|
||||
'--heap-prof-name=[file name of the V8 heap profile generated]: :_files' \
|
||||
'--heapsnapshot-signal=[Generate heap snapshot on specified signal]:signals:_signals -s' \
|
||||
'--http-parser=[HTTP parser]:HTTP parser:(legacy llhttp)' \
|
||||
'--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' \
|
||||
'--input-type=[set module type for string input]:module type :(commonjs module)' \
|
||||
|
@ -104,13 +101,17 @@ _arguments -C \
|
|||
'(--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-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[help 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)]' \
|
||||
'--no-addons[disable loading native addons]' \
|
||||
'--no-deprecation[silence deprecation warnings]' \
|
||||
'--no-experimental-repl-await[disable experimental await keyword support in REPL]' \
|
||||
'--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]' \
|
||||
'--node-memory-debug[run with extra debug checks for memory leaks in Node.js itself]' \
|
||||
'--openssl-config=[load OpenSSL configuration from the specified file (overrides OPENSSL_CONF)]:file:_files' \
|
||||
'--pending-deprecation[emit pending deprecation warnings]' \
|
||||
'--policy-integrity=[ensure the security policy contents match the specified integrity]' \
|
||||
|
@ -126,6 +127,8 @@ _arguments -C \
|
|||
'--report-on-signal=[generate diagnostic report upon receiving signals]' \
|
||||
'--report-signal=[causes diagnostic report to be produced on provided signal]:signals:_signals -s' \
|
||||
'--report-uncaught-exception[generate diagnostic report on uncaught exceptions]' \
|
||||
'--secure-heap=[total size of the OpenSSL secure heap]: :number' \
|
||||
'--secure-heap-min=[minimum allocation size from the OpenSSL secure heap]' \
|
||||
'--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' \
|
||||
|
|
Loading…
Reference in New Issue