Skip to content

Commit c5be1ed

Browse files
authored
feat: add node-environment-flags to native manifest (#597)
1 parent d37f386 commit c5be1ed

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

manifests/native.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,13 +1508,13 @@
15081508
"type": "node",
15091509
"id": "api/fs.html#fsrealpathpath-options-callback"
15101510
},
1511-
"nodeFeatureId": {"moduleName": "fs"}
1511+
"nodeFeatureId": {"moduleName": "fs", "exportName": "realpath"}
15121512
},
15131513
"fs.rm": {
15141514
"id": "fs.rm",
15151515
"type": "native",
15161516
"url": {"type": "node", "id": "api/fs.html#fsrmpath-options-callback"},
1517-
"nodeFeatureId": {"moduleName": "fs"}
1517+
"nodeFeatureId": {"moduleName": "fs", "exportName": "rm"}
15181518
},
15191519
"fsPromises": {
15201520
"id": "fsPromises",
@@ -1625,7 +1625,19 @@
16251625
"id": "path.parse",
16261626
"type": "native",
16271627
"url": {"type": "node", "id": "api/path.html#pathparsepath"},
1628-
"nodeFeatureId": {"moduleName": "path"}
1628+
"nodeFeatureId": {"moduleName": "path", "exportName": "parse"}
1629+
},
1630+
"process.allowedNodeEnvironmentFlags": {
1631+
"id": "process.allowedNodeEnvironmentFlags",
1632+
"type": "native",
1633+
"url": {
1634+
"type": "node",
1635+
"id": "api/process.html#processallowednodeenvironmentflags"
1636+
},
1637+
"nodeFeatureId": {
1638+
"moduleName": "process",
1639+
"exportName": "allowedNodeEnvironmentFlags"
1640+
}
16291641
},
16301642
"queueMicrotask": {
16311643
"id": "queueMicrotask",
@@ -2325,6 +2337,11 @@
23252337
"moduleName": "native-promise-only",
23262338
"replacements": ["Promise"]
23272339
},
2340+
"node-environment-flags": {
2341+
"type": "module",
2342+
"moduleName": "node-environment-flags",
2343+
"replacements": ["process.allowedNodeEnvironmentFlags"]
2344+
},
23282345
"node-int64": {
23292346
"type": "module",
23302347
"moduleName": "node-int64",

0 commit comments

Comments
 (0)