@@ -706,25 +706,6 @@ Make built-in language features like `eval` and `new Function` that generate
706
706
code from strings throw an exception instead. This does not affect the Node.js
707
707
` node:vm ` module.
708
708
709
- ### ` --expose-gc `
710
-
711
- <!-- YAML
712
- added:
713
- - v22.3.0
714
- - v20.18.0
715
- -->
716
-
717
- > Stability: 1 - Experimental. This flag is inherited from V8 and is subject to
718
- > change upstream.
719
-
720
- This flag will expose the gc extension from V8.
721
-
722
- ``` js
723
- if (globalThis .gc ) {
724
- globalThis .gc ();
725
- }
726
- ```
727
-
728
709
### ` --dns-result-order=order `
729
710
730
711
<!-- YAML
@@ -962,17 +943,6 @@ files with no extension will be treated as WebAssembly if they begin with the
962
943
WebAssembly magic number (` \0asm ` ); otherwise they will be treated as ES module
963
944
JavaScript.
964
945
965
- ### ` --experimental-transform-types `
966
-
967
- <!-- YAML
968
- added: v22.7.0
969
- -->
970
-
971
- > Stability: 1.1 - Active development
972
-
973
- Enables the transformation of TypeScript-only syntax into JavaScript code.
974
- Implies ` --experimental-strip-types ` and ` --enable-source-maps ` .
975
-
976
946
### ` --experimental-eventsource `
977
947
978
948
<!-- YAML
@@ -1052,6 +1022,18 @@ following permissions are restricted:
1052
1022
* WASI - manageable through [ ` --allow-wasi ` ] [ ] flag
1053
1023
* Addons - manageable through [ ` --allow-addons ` ] [ ] flag
1054
1024
1025
+ ### ` --experimental-print-required-tla `
1026
+
1027
+ <!-- YAML
1028
+ added:
1029
+ - v22.0.0
1030
+ - v20.17.0
1031
+ -->
1032
+
1033
+ If the ES module being ` require() ` 'd contains top-level ` await ` , this flag
1034
+ allows Node.js to evaluate the module, try to locate the
1035
+ top-level awaits, and print their location to help users find them.
1036
+
1055
1037
### ` --experimental-require-module `
1056
1038
1057
1039
<!-- YAML
@@ -1166,6 +1148,17 @@ added: v22.3.0
1166
1148
1167
1149
Enable [ snapshot testing] [ ] in the test runner.
1168
1150
1151
+ ### ` --experimental-transform-types `
1152
+
1153
+ <!-- YAML
1154
+ added: v22.7.0
1155
+ -->
1156
+
1157
+ > Stability: 1.1 - Active development
1158
+
1159
+ Enables the transformation of TypeScript-only syntax into JavaScript code.
1160
+ Implies ` --experimental-strip-types ` and ` --enable-source-maps ` .
1161
+
1169
1162
### ` --experimental-vm-modules `
1170
1163
1171
1164
<!-- YAML
@@ -1211,6 +1204,26 @@ added: v22.4.0
1211
1204
1212
1205
Enable experimental [ ` Web Storage ` ] [ ] support.
1213
1206
1207
+
1208
+ ### ` --expose-gc `
1209
+
1210
+ <!-- YAML
1211
+ added:
1212
+ - v22.3.0
1213
+ - v20.18.0
1214
+ -->
1215
+
1216
+ > Stability: 1 - Experimental. This flag is inherited from V8 and is subject to
1217
+ > change upstream.
1218
+
1219
+ This flag will expose the gc extension from V8.
1220
+
1221
+ ``` js
1222
+ if (globalThis .gc ) {
1223
+ globalThis .gc ();
1224
+ }
1225
+ ```
1226
+
1214
1227
### ` --force-context-aware `
1215
1228
1216
1229
<!-- YAML
@@ -1919,18 +1932,6 @@ changes:
1919
1932
1920
1933
Identical to ` -e ` but prints the result.
1921
1934
1922
- ### ` --experimental-print-required-tla `
1923
-
1924
- <!-- YAML
1925
- added:
1926
- - v22.0.0
1927
- - v20.17.0
1928
- -->
1929
-
1930
- If the ES module being ` require() ` 'd contains top-level ` await ` , this flag
1931
- allows Node.js to evaluate the module, try to locate the
1932
- top-level awaits, and print their location to help users find them.
1933
-
1934
1935
### ` --prof `
1935
1936
1936
1937
<!-- YAML
0 commit comments