@@ -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
@@ -3859,7 +3849,7 @@ added: v26.10.0
38593849
38603850* ` source ` {string} A directory or an archive file to mount and run.
38613851
3862- Requires [ ` --experimental-vfs ` ] [ ] . May be given at most once.
3852+ May be given at most once.
38633853
38643854Mounts ` source ` as a virtual file system ([ ` node:vfs ` ] [ ] ), and runs the entry
38653855point and all subsequent ` require() ` /` import ` resolution against that mount
@@ -3894,18 +3884,17 @@ same thing in all of them.
38943884
38953885A worker created with its own ` execArgv ` inherits none of the parent's options,
38963886and so does not mount the source at all. To run a script from the mount, such a
3897- worker must be given the same options again, ` --experimental-vfs ` and
3898- ` --vfs-load ` ; without them, that thread has no mount for the script to come
3899- from, and the worker fails to load it. ` --experimental-vfs ` is also what makes
3900- [ ` node:vfs ` ] [ ] available to the worker's own code. A worker whose script comes
3901- from anywhere else, such as the real file system, needs nothing added.
3887+ worker must be given ` --vfs-load ` again; without it, that thread has no mount
3888+ for the script to come from, and the worker fails to load it. [ ` node:vfs ` ] [ ] is
3889+ available to worker code without an experimental flag. A worker whose script
3890+ comes from anywhere else, such as the real file system, needs nothing added.
39023891
39033892` --vfs-load ` is not permitted in [ ` NODE_OPTIONS ` ] [ ] : which entry point runs is
39043893the command line's decision, and the environment must not be able to redirect
39053894it.
39063895
39073896``` console
3908- $ node --experimental-vfs -- vfs-load=app.zip
3897+ $ node --vfs-load=app.zip
39093898```
39103899
39113900### ` --watch `
@@ -4231,7 +4220,6 @@ one is included in the list below.
42314220* ` --experimental-stream-iter `
42324221* ` --experimental-test-isolation `
42334222* ` --experimental-top-level-await `
4234- * ` --experimental-vfs `
42354223* ` --experimental-vm-modules `
42364224* ` --experimental-wasi-unstable-preview1 `
42374225* ` --experimental-web-worker `
@@ -4864,7 +4852,6 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
48644852[ `--env-file-if-exists` ] : #--env-file-if-existsfile
48654853[ `--env-file` ] : #--env-filefile
48664854[ `--experimental-sea-config` ] : single-executable-applications.md#1-generating-single-executable-preparation-blobs
4867- [ `--experimental-vfs` ] : #--experimental-vfs
48684855[ `--heap-prof-dir` ] : #--heap-prof-dir
48694856[ `--import` ] : #--importmodule
48704857[ `--no-require-module` ] : #--no-require-module
0 commit comments