Skip to content

Commit

Permalink
Add missing constants exports
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit committed Sep 10, 2024
1 parent ace1202 commit 91e5392
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ext/node/polyfills/_fs/_fs_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,28 @@ export const {
S_IXUSR,
S_IRGRP,
S_IWGRP,
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,
S_IXGRP,
S_IROTH,
S_IWOTH,
Expand Down
22 changes: 22 additions & 0 deletions ext/node/polyfills/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 91e5392

Please sign in to comment.