angular/packages/zone.js/lib/node
arturovt 9e07b621ea fix(zone.js): add missing APIs to Node.js fs patch (#54396)
This commit updates the list of Node.js `fs` APIs to be patched because
they haven't been updated for a long time. It adds `opendir,lutimes,writev`.
For example, the `opendir` method was added to Node.js in version 12.12.0 in
2019, causing some of the APIs to potentially be always called within the
`<root>` context.

**Note:** There are missing unit tests for these changes because in unit tests,
`fs` is patched by Bazel's Node.js rules and its `node_patches.cjs`. However,
the APIs are successfully patched in the real production code and are called
with the correct context.

PR Close #54396
2024-05-03 08:03:25 -07:00
..
events.ts refactor: migrate zone.js to prettier formatting (#55427) 2024-04-29 09:52:05 -07:00
fs.ts fix(zone.js): add missing APIs to Node.js fs patch (#54396) 2024-05-03 08:03:25 -07:00
main.ts refactor: migrate zone.js to prettier formatting (#55427) 2024-04-29 09:52:05 -07:00
node.ts refactor: migrate zone.js to prettier formatting (#55427) 2024-04-29 09:52:05 -07:00
node_util.ts refactor: migrate zone.js to prettier formatting (#55427) 2024-04-29 09:52:05 -07:00
rollup-main.ts refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
rollup-test-main.ts fix(zone.js): patch entire promise in node (#50552) 2023-06-02 14:07:18 -07:00