summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/constants.ts
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-09-10 17:37:23 -0700
committerGitHub <noreply@github.com>2024-09-11 00:37:23 +0000
commit1521adf5ed640832755e362abc64b32afd7dcc7d (patch)
tree502168308b8ae7198fc2d59e017d168d9ae5f4d5 /ext/node/polyfills/constants.ts
parentacd62786c24c38d8986475f0660d5205b55a9ad3 (diff)
fix(ext/node): Add missing node:fs and node:constants exports (#25568)
Just a bunch of random fs constants
Diffstat (limited to 'ext/node/polyfills/constants.ts')
-rw-r--r--ext/node/polyfills/constants.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/node/polyfills/constants.ts b/ext/node/polyfills/constants.ts
index 691621edc..e5004039b 100644
--- a/ext/node/polyfills/constants.ts
+++ b/ext/node/polyfills/constants.ts
@@ -51,6 +51,28 @@ export const {
UV_FS_COPYFILE_EXCL,
UV_FS_COPYFILE_FICLONE,
UV_FS_COPYFILE_FICLONE_FORCE,
+ S_IFBLK,
+ S_IFCHR,
+ S_IFDIR,
+ S_IFIFO,
+ S_IFLNK,
+ S_IFMT,
+ S_IFREG,
+ S_IFSOCK,
+ S_IRWXG,
+ S_IRWXO,
+ S_IRWXU,
+ UV_DIRENT_BLOCK,
+ UV_DIRENT_CHAR,
+ UV_DIRENT_DIR,
+ UV_DIRENT_FIFO,
+ UV_DIRENT_FILE,
+ UV_DIRENT_LINK,
+ UV_DIRENT_SOCKET,
+ UV_DIRENT_UNKNOWN,
+ UV_FS_O_FILEMAP,
+ UV_FS_SYMLINK_DIR,
+ UV_FS_SYMLINK_JUNCTION,
} = fsConstants;
export const {
RTLD_DEEPBIND,