Skip to content

Bump Libuv to 1.51.0#767

Merged
squeek502 merged 1 commit into
luvit:masterfrom
squeek502:libuv-1.51.0
May 10, 2025
Merged

Bump Libuv to 1.51.0#767
squeek502 merged 1 commit into
luvit:masterfrom
squeek502:libuv-1.51.0

Conversation

@squeek502
Copy link
Copy Markdown
Member

@squeek502 squeek502 commented May 10, 2025

https://github.com/libuv/libuv/releases/tag/v1.51.0

luv changes:

  • Adds the constants FS_UTIME_NOW and FS_UTIME_OMIT
  • Makes the atime/mtime parameters of fs_utime/fs_futime/fs_lutime accept nil, a string, or a number. If nil, the argument is translated to FS_UTIME_OMIT. If a string, it must be "omit" or "now".
  • Adds the constant TTY_MODE_RAW_VT ("raw_vt" is the shorthand string version) (context: libuv/libuv@843b64f)

All of the affected APIs currently don't have any tests and I haven't manually tested that my changes work as intended yet. Would like to add tests before merging (would probably be good to port the affected tests in this commit).

EDIT: Added fs_utime/fs_futime/fs_lutime tests

Closes #766

@squeek502 squeek502 force-pushed the libuv-1.51.0 branch 3 times, most recently from e86544b to 6877c1d Compare May 10, 2025 10:17
@squeek502 squeek502 enabled auto-merge May 10, 2025 10:24
- Adds the constants FS_UTIME_NOW and FS_UTIME_OMIT
- Makes the `atime`/`mtime` parameters of `fs_utime`/`fs_futime`/`fs_lutime` accept nil, a string, or a number. If nil, the argument is translated to FS_UTIME_OMIT. If a string, it must be "omit" or "now".
- Adds the constant TTY_MODE_RAW_VT ("raw_vt" is the shorthand string version)
@squeek502 squeek502 merged commit 83adae7 into luvit:master May 10, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update for Libuv 1.51.0

2 participants