build(deps): bump luv to 1.51.0-0

This commit is contained in:
Christian Clason
2025-05-11 10:32:27 +02:00
committed by Christian Clason
parent 1889c351fd
commit 73e7e7631c
4 changed files with 88 additions and 26 deletions

View File

@ -14,8 +14,8 @@
.hash = "122084badadeb91106dd06b2055119a944c340563536caefd8e22d4064182f7cd6e6",
},
.luv = .{
.url = "git+https://github.com/luvit/luv?ref=1.50.0-1#891ba330ea0b676eacbd943ab12bf5e8d4295119",
.hash = "N-V-__8AAKX9DgD3bigqB5adNqFpMGvwbNSGdaXBUpneaNDi",
.url = "git+https://github.com/luvit/luv?ref=1.51.0-0#6cbf6c959a47b6e3ce0679d89ee14d8ed84788b3",
.hash = "N-V-__8AAFglDwBDITf14pNH9v1JzRZneQ_aV_8ytBlzhyNx",
},
.lua_compat53 = .{
.url = "https://github.com/lunarmodules/lua-compat-5.3/archive/v0.13.tar.gz",

View File

@ -10,8 +10,8 @@ LUA_SHA256 2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333
UNIBILIUM_URL https://github.com/neovim/unibilium/archive/v2.1.2.tar.gz
UNIBILIUM_SHA256 370ecb07fbbc20d91d1b350c55f1c806b06bf86797e164081ccc977fc9b3af7a
LUV_URL https://github.com/luvit/luv/archive/1.50.0-1.tar.gz
LUV_SHA256 bb4f0570571e40c1d2a7644f6f9c1309a6ccdb19bf4d397e8d7bfd0c6b88e613
LUV_URL https://github.com/luvit/luv/archive/1.51.0-0.tar.gz
LUV_SHA256 61f49840c067a8dec288dc841ea5cc20e81852d295068805c4ca1d744c82da7d
LPEG_URL https://github.com/neovim/deps/raw/d495ee6f79e7962a53ad79670cb92488abe0b9b4/opt/lpeg-1.1.0.tar.gz
LPEG_SHA256 4b155d67d2246c1ffa7ad7bc466c1ea899bbc40fef0257cc9c03cecbaed4352a

View File

@ -220,6 +220,12 @@ TTY Modes ~
- `TTY_MODE_NORMAL`: "normal"
- `TTY_MODE_RAW`: "raw"
- `TTY_MODE_IO`: "io"
`TTY_MODE_RAW_VT`: "raw_vt"
FS Modification Times ~
- `FS_UTIME_NOW`: "now"
- `FS_UTIME_OMIT`: "omit"
==============================================================================
ERROR HANDLING *luv-error-handling*
@ -3276,12 +3282,12 @@ uv.fs_fchmod({fd}, {mode} [, {callback}]) *uv.fs_fchmod()*
Returns (async version): `uv_fs_t userdata`
uv.fs_utime({path}, {atime}, {mtime} [, {callback}]) *uv.fs_utime()*
uv.fs_utime({path} [, {atime}, {mtime}, {callback}]) *uv.fs_utime()*
Parameters:
- `path`: `string`
- `atime`: `number`
- `mtime`: `number`
- `atime`: `number` or `string` or `nil`
- `mtime`: `number` or `string` or `nil`
- `callback`: `callable` (async version) or `nil` (sync
version)
- `err`: `nil` or `string`
@ -3289,39 +3295,66 @@ uv.fs_utime({path}, {atime}, {mtime} [, {callback}]) *uv.fs_utime()*
Equivalent to `utime(2)`.
See |luv-constants| for supported FS Modification Time
constants.
Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or
mtime sets the timestamp to the current time.
Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as
the atime or mtime leaves the timestamp untouched.
Returns (sync version): `boolean` or `fail`
Returns (async version): `uv_fs_t userdata`
uv.fs_futime({fd}, {atime}, {mtime} [, {callback}]) *uv.fs_futime()*
uv.fs_futime({fd} [, {atime}, {mtime}, {callback}]) *uv.fs_futime()*
Parameters:
- `fd`: `integer`
- `atime`: `number`
- `mtime`: `number`
- `atime`: `number` or `string` or `nil`
- `mtime`: `number` or `string` or `nil`
- `callback`: `callable` (async version) or `nil` (sync
version)
- `err`: `nil` or `string`
- `success`: `boolean` or `nil`
Equivalent to `futime(2)`.
Equivalent to `futimes(3)`.
See |luv-constants| for supported FS Modification Time
constants.
Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or
mtime sets the timestamp to the current time.
Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as
the atime or mtime leaves the timestamp untouched.
Returns (sync version): `boolean` or `fail`
Returns (async version): `uv_fs_t userdata`
uv.fs_lutime({path}, {atime}, {mtime} [, {callback}]) *uv.fs_lutime()*
uv.fs_lutime({path} [, {atime}, {mtime}, {callback}]) *uv.fs_lutime()*
Parameters:
- `path`: `string`
- `atime`: `number`
- `mtime`: `number`
- `atime`: `number` or `string` or `nil`
- `mtime`: `number` or `string` or `nil`
- `callback`: `callable` (async version) or `nil` (sync
version)
- `err`: `nil` or `string`
- `success`: `boolean` or `nil`
Equivalent to `lutime(2)`.
Equivalent to `lutimes(3)`.
See |luv-constants| for supported FS Modification Time
constants.
Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or
mtime sets the timestamp to the current time.
Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as
the atime or mtime leaves the timestamp untouched.
Returns (sync version): `boolean` or `fail`

View File

@ -204,6 +204,11 @@ uv.constants.SOCK_RDM = 'rdm'
uv.constants.TTY_MODE_NORMAL = 'normal'
uv.constants.TTY_MODE_RAW = 'raw'
uv.constants.TTY_MODE_IO = 'io'
uv.constants.TTY_MODE_RAW_VT = 'raw_vt'
--- # FS Modification Times
uv.constants.FS_UTIME_NOW = 'now'
uv.constants.FS_UTIME_OMIT = 'omit'
--- # Error Handling
@ -3404,33 +3409,57 @@ function uv.fs_chmod(path, mode) end
function uv.fs_fchmod(fd, mode) end
--- Equivalent to `utime(2)`.
---
--- See [Constants][] for supported FS Modification Time constants.
---
--- Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or mtime sets the timestamp to the
--- current time.
---
--- Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as the atime or mtime leaves the timestamp
--- untouched.
--- @param path string
--- @param atime number
--- @param mtime number
--- @param atime number|string?
--- @param mtime number|string?
--- @return boolean? success
--- @return string? err
--- @return uv.error_name? err_name
--- @overload fun(path: string, atime: number, mtime: number, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
--- @overload fun(path: string, atime: number|string?, mtime: number|string?, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
function uv.fs_utime(path, atime, mtime) end
--- Equivalent to `futime(2)`.
--- Equivalent to `futimes(3)`.
---
--- See [Constants][] for supported FS Modification Time constants.
---
--- Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or mtime sets the timestamp to the
--- current time.
---
--- Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as the atime or mtime leaves the timestamp
--- untouched.
--- @param fd integer
--- @param atime number
--- @param mtime number
--- @param atime number|string?
--- @param mtime number|string?
--- @return boolean? success
--- @return string? err
--- @return uv.error_name? err_name
--- @overload fun(fd: integer, atime: number, mtime: number, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
--- @overload fun(fd: integer, atime: number|string?, mtime: number|string?, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
function uv.fs_futime(fd, atime, mtime) end
--- Equivalent to `lutime(2)`.
--- Equivalent to `lutimes(3)`.
---
--- See [Constants][] for supported FS Modification Time constants.
---
--- Passing `"now"` or `uv.constants.FS_UTIME_NOW` as the atime or mtime sets the timestamp to the
--- current time.
---
--- Passing `nil`, `"omit"`, or `uv.constants.FS_UTIME_OMIT` as the atime or mtime leaves the timestamp
--- untouched.
--- @param path string
--- @param atime number
--- @param mtime number
--- @param atime number|string?
--- @param mtime number|string?
--- @return boolean? success
--- @return string? err
--- @return uv.error_name? err_name
--- @overload fun(path: string, atime: number, mtime: number, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
--- @overload fun(path: string, atime: number|string?, mtime: number|string?, callback: fun(err: string?, success: boolean?)): uv.uv_fs_t
function uv.fs_lutime(path, atime, mtime) end
--- Equivalent to `link(2)`.