From 9f5aa05a7520736d029740862a8721ebacff8525 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Wed, 22 Apr 2020 23:41:36 +0900 Subject: [PATCH] Update node completion to v14 --- src/_node | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/_node b/src/_node index 2dd99f1..ac8fe68 100644 --- a/src/_node +++ b/src/_node @@ -64,8 +64,11 @@ _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' \ + '--disable-proto=[disable Object.prototype.__proto__]:mode:(delete throw)' \ '--disallow-code-generation-from-strings[disallow eval and friends]' \ '--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-policy=[security policy file]: :_files' \ '--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' \ '--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)' \ '--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-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-publish-uid=[comma separated list of destinations for inspector uid]' \ '--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' \ '--napi-modules[load N-API modules (no-op - option kept for compatibility)]' \ '--no-deprecation[silence deprecation warnings]' \ @@ -97,11 +103,13 @@ _arguments -C \ '--no-warnings[silence all process warnings]' \ '--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]' \ '--preserve-symlinks[preserve symbolic links when resolving]' \ '--preserve-symlinks-main[preserve symbolic links when resolving the main module]' \ '--prof[generate V8 profiler output]' \ '--prof-process[process V8 profiler output generated using --prof]' \ '--redirect-warnings=[write warnings to file instead of stderr]: :_files' \ + '--report-compact[output compact single-line JSON]' \ '--report-directory=[custom report path]: :_files -/' \ '--report-filename=[custom report file name]: :_files' \ '--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-events-enabled[track trace events]' \ '--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-tls[prints TLS packet trace information to stderr]' \ '--trace-warnings[show stack traces on process warnings]' \ '--track-heap-objects[track heap object allocations for heap snapshots]' \ '--unhandled-rejections=[define unhandled rejections behavior]:rejection behavior:(strict warn none)' \ '--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]" \ '(- 1 *)--v8-options[print v8 command line options]' \ "--v8-pool-size=[set v8's thread pool size]:number" \