From 87f190da853e3773ca612cc8418cb6b44cc2e44b Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Mon, 29 Aug 2022 12:30:52 +0900 Subject: [PATCH] Update node.js options --- src/_node | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/_node b/src/_node index f7cd475..34244ab 100644 --- a/src/_node +++ b/src/_node @@ -68,6 +68,7 @@ _arguments -C \ '-[script read from stdin (default; interactive mode if a tty)]' \ '--[indicate the end of node options]' \ '--abort-on-uncaught-exception[aborting instead of exiting causes a core file to be generated for analysis]' \ + '--build-snapshot[enerate a snapshot blob when the process exits]' \ '--completion-bash[print source-able bash completion script]' \ '--cpu-prof[Start the V8 CPU profiler on start up]' \ '--cpu-prof-dir=[directory where the V8 profiles generated by --cpu-prof]: :_files -/' \ @@ -116,6 +117,8 @@ _arguments -C \ '--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' \ + '--openssl-legacy-provider[enable OpenSSL 3.0 legacy provider]' \ + '--openssl-shared-config[enable OpenSSL shared configuration]' \ '--pending-deprecation[emit pending deprecation warnings]' \ '--policy-integrity=[ensure the security policy contents match the specified integrity]' \ '--preserve-symlinks[preserve symbolic links when resolving]' \ @@ -132,6 +135,9 @@ _arguments -C \ '--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]' \ + '--snapshot-blob=[path to the snapshot blob that is used to restore the application state]:snapshot:_files' \ + '--test[launch test runner on startup]' \ + '--test-only[run tests with "only" option set]' \ '--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' \ @@ -154,6 +160,7 @@ _arguments -C \ '--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)' \ + '--update-assert-snapshot[update assert snapshot files]' \ '--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]" \