@@ -285,7 +285,7 @@ so mounting one is gated on its own flag rather than on `--allow-fs-read` or
285285` --allow-fs-write ` .
286286
287287``` console
288- $ node --experimental-vfs -- permission --allow-fs-vfs app.js
288+ $ node --permission --allow-fs-vfs app.js
289289```
290290
291291### ` --allow-fs-write `
@@ -1671,16 +1671,6 @@ with AND, so a test must satisfy every expression to run.
16711671A malformed expression causes the test runner to exit with a non-zero status
16721672before running any tests.
16731673
1674- ### ` --experimental-vfs `
1675-
1676- <!-- YAML
1677- added: v26.4.0
1678- -->
1679-
1680- > Stability: 1 - Experimental
1681-
1682- Enable the experimental [ ` node:vfs ` ] [ ] module.
1683-
16841674### ` --experimental-vm-modules `
16851675
16861676<!-- YAML
@@ -3793,7 +3783,7 @@ added: REPLACEME
37933783
37943784* ` source ` {string} A directory or an archive file to mount and run.
37953785
3796- Requires [ ` --experimental-vfs ` ] [ ] . May be given at most once.
3786+ May be given at most once.
37973787
37983788Mounts ` source ` exactly as [ ` --vfs-mount ` ] [ ] does, and additionally runs the
37993789entry point and all subsequent ` require() ` /` import ` resolution against that
@@ -3817,8 +3807,8 @@ the command line's decision, and the environment must not be able to redirect
38173807it.
38183808
38193809``` console
3820- $ node --experimental-vfs -- vfs-load=app.zip
3821- $ node --experimental-vfs -- vfs-mount=lib.zip --vfs-load=app.zip
3810+ $ node --vfs-load=app.zip
3811+ $ node --vfs-mount=lib.zip --vfs-load=app.zip
38223812```
38233813
38243814### ` --vfs-mount=source `
@@ -3829,7 +3819,7 @@ added: REPLACEME
38293819
38303820* ` source ` {string} A directory or an archive file to mount.
38313821
3832- Requires [ ` --experimental-vfs ` ] [ ] . May be repeated to mount several sources.
3822+ May be repeated to mount several sources.
38333823
38343824Mounts ` source ` as a virtual file system ([ ` node:vfs ` ] [ ] ). Each mount is placed
38353825at a reserved mount point assigned by Node.js, so mounts never shadow real
@@ -3839,7 +3829,7 @@ point; use [`--vfs-load`][] for the source to run from.
38393829` --vfs-mount ` and [ ` --vfs-load ` ] [ ] mount in the order they are written, so
38403830
38413831``` console
3842- $ node --experimental-vfs -- vfs-mount=a --vfs-load=b --vfs-mount=c
3832+ $ node --vfs-mount=a --vfs-load=b --vfs-mount=c
38433833```
38443834
38453835mounts ` a ` , ` b ` and ` c ` in that order and runs ` b ` . Mounts contributed by
@@ -4180,7 +4170,6 @@ one is included in the list below.
41804170* ` --experimental-stream-iter `
41814171* ` --experimental-test-isolation `
41824172* ` --experimental-top-level-await `
4183- * ` --experimental-vfs `
41844173* ` --experimental-vm-modules `
41854174* ` --experimental-wasi-unstable-preview1 `
41864175* ` --experimental-web-worker `
@@ -4813,7 +4802,6 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
48134802[ `--env-file-if-exists` ] : #--env-file-if-existsfile
48144803[ `--env-file` ] : #--env-filefile
48154804[ `--experimental-sea-config` ] : single-executable-applications.md#1-generating-single-executable-preparation-blobs
4816- [ `--experimental-vfs` ] : #--experimental-vfs
48174805[ `--heap-prof-dir` ] : #--heap-prof-dir
48184806[ `--import` ] : #--importmodule
48194807[ `--no-require-module` ] : #--no-require-module
0 commit comments