aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/_node18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/_node b/src/_node
index 3046cdd..b3e90ef 100644
--- a/src/_node
+++ b/src/_node
@@ -28,7 +28,7 @@
# Description
# -----------
#
-# Completion script for Node.js v25.9.0 (https://nodejs.org)
+# Completion script for Node.js v26.1.0 (https://nodejs.org)
#
# ------------------------------------------------------------------------------
# Authors
@@ -95,6 +95,7 @@ _node() {
'--abort-on-uncaught-exception[aborting instead of exiting causes a core file to be generated for analysis]' \
'--allow-addons[allow use of addons when any permissions are set]' \
'--allow-child-process[allow use of child process when any permissions are set]' \
+ '--allow-ffi[allow use of FFI when any permissions are set]' \
'--allow-fs-read=[allow permissions to read the filesystem]: :_files' \
'--allow-fs-write=[allow permissions to write in the filesystem]: :_files' \
'--allow-inspector[allow use of inspector when any permissions are set]' \
@@ -129,6 +130,7 @@ _node() {
'--experimental-config-file=[set config file from supplied file]:file:_files' \
'--experimental-default-config-file[set config file from default config file]' \
'--experimental-eventsource[enable experimental EventSource API]' \
+ '--experimental-ffi[enable experimental node:ffi module]' \
'--experimental-import-meta-resolve[experimental ES Module import.meta.resolve() support]' \
'--experimental-inspector-network-resource[experimental load network resources via the inspector]' \
'(--loader --experimental-loader)'{--loader,--experimental-loader}'=[Specify the module of a custom ECMAScript Module loader]: :_files' \
@@ -138,7 +140,6 @@ _node() {
'--experimental-storage-inspection[experimental storage inspection support]' \
'--experimental-test-coverage[enable code coverage in the test runner]' \
'--experimental-test-module-mocks[enable module mocking in the test runner]' \
- '--experimental-transform-types[enable transformation of TypeScript-only syntax into JavaScript code]' \
'--experimental-vm-modules[experimental ES Module support in vm module]' \
'--experimental-worker-inspection[experimental worker inspection support]' \
'--expose-gc[expose gc extension]' \
@@ -175,15 +176,18 @@ _node() {
'--no-experimental-global-navigator[expose experimental Navigator API on the global scope]' \
'--no-experimental-repl-await[disable experimental await keyword support in REPL]' \
'--no-experimental-sqlite[disable experimental node sqlite module]' \
- '(--no-strip-types --no-experimental-strip-types)'{--no-strip-types,--no-experimental-strip-types}'[disable type-stripping for TypeScript files]' \
- '--no-experimental-websocket[experimental WebSocket API (currently set)]' \
+ '--no-experimental-websocket[disable experimental WebSocket API]' \
+ '(--webstorage --no-experimental-webstorage)--webstorage[enable experimental Web Storage API]' \
+ '(--webstorage --no-experimental-webstorage)--no-experimental-webstorage[disable experimental Web Storage API]' \
'--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-network-family-autoselection --enable-network-family-autoselection)'{--no-network-family-autoselection,--enable-network-family-autoselection}'[disable network address family autodetection algorithm]' \
- '(--require-module --no-require-module --no-experimental-require-module)'{--no-require-module,--no-experimental-require-module}'[disable support for loading a synchronous ES module graph in require()]' \
+ '(--no-network-family-autoselection --enable-network-family-autoselection)--enable-network-family-autoselection[enable network address family autodetection algorithm]' \
+ '(--no-network-family-autoselection --enable-network-family-autoselection)--no-network-family-autoselection[disable network address family autodetection algorithm]' \
+ '(--require-module --no-require-module)--no-require-module[disable support for loading a synchronous ES module graph in require()]' \
+ '(--experimental-strip-types --no-strip-types)--experimental-strip-types[enable Type-stripping for TypeScript files]' \
+ '(--experimental-strip-types --no-strip-types)--no-strip-types[disable Type-stripping for TypeScript files]' \
'--no-warnings[silence all process warnings]' \
- '(--no-webstorage --no-experimental-webstorage)'{--no-webstorage,--no-experimental-webstorage}'[disable Web Storage API]' \
'--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]' \