build(deps): bump luv to 1.51.0-2

This commit is contained in:
Christian Clason
2026-01-18 16:30:02 +01:00
committed by Christian Clason
parent c39d18ee93
commit 647d3dc454
5 changed files with 17 additions and 14 deletions

View File

@@ -15,8 +15,8 @@
.lazy = true,
},
.luv = .{
.url = "git+https://github.com/luvit/luv?ref=1.51.0-1#4c9fbc6cf6f3338bb0e0426710cf885ee557b540",
.hash = "N-V-__8AAMlNDwCY07jUoMiq3iORXdZy0uFWKiHsy8MaDBJA",
.url = "git+https://github.com/luvit/luv?ref=1.51.0-2#79f6934306367e700050de9614eab9ac01bd4d6f",
.hash = "N-V-__8AAI1cDwA49t_OUdHwO2-BQ8TYt3kBMnnSSicx5T-B",
.lazy = true,
},
.lua_compat53 = .{

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.51.0-1.tar.gz
LUV_SHA256 d4a11178ae8e16ba5886799ea91905dd9b0b479c75aebd67866d37373e41526f
LUV_URL https://github.com/luvit/luv/archive/1.51.0-2.tar.gz
LUV_SHA256 d70cf20b16ab05ceaa3bb448f3e1b3ef63a5949e34184255c52a3e92efcd39b4
LPEG_URL https://github.com/neovim/deps/raw/d495ee6f79e7962a53ad79670cb92488abe0b9b4/opt/lpeg-1.1.0.tar.gz
LPEG_SHA256 4b155d67d2246c1ffa7ad7bc466c1ea899bbc40fef0257cc9c03cecbaed4352a

View File

@@ -1416,7 +1416,8 @@ uv.spawn({path}, {options}, {on_exit}) *uv.spawn()*
available to the child process only if the child processes
uses the MSVCRT runtime.)
- `options.env` - Set environment variables for the new
process.
process. Each entry should be a string in the form of
`NAME=VALUE`.
- `options.cwd` - Set the current working directory for the
sub-process.
- `options.uid` - Set the child process' user id.
@@ -1450,7 +1451,8 @@ uv.spawn({path}, {options}, {on_exit}) *uv.spawn()*
When the child process exits, `on_exit` is called with an exit
code and signal.
Returns: `uv_process_t userdata`, `integer`
Returns: `uv_process_t userdata` or `nil`, `integer` or
`string`, `uv.error_name` or `nil`
uv.process_kill({process}, {signame}) *uv.process_kill()*
@@ -4206,7 +4208,7 @@ uv.hrtime() *uv.hrtime()*
clock drift. The primary use is for measuring time between
intervals.
Returns: `number`
Returns: `integer`
uv.clock_gettime({clock_id}) *uv.clock_gettime()*
@@ -4403,11 +4405,11 @@ uv.os_get_passwd() *uv.os_get_passwd()*
Returns password file information.
Returns: `table`
Returns: `table` or `fail`
- `username` : `string`
- `uid` : `integer`
- `gid` : `integer`
- `shell` : `string`
- `uid` : `integer?` (`nil` on Windows)
- `gid` : `integer?` (`nil` on Windows)
- `shell` : `string?`` (`nil` on Windows)
- `homedir` : `string`
uv.os_getpid() *uv.os_getpid()*

View File

@@ -1469,8 +1469,9 @@ function uv.disable_stdio_inheritance() end
--- @param path string
--- @param options uv.spawn.options
--- @param on_exit fun(code: integer, signal: integer)
--- @return uv.uv_process_t handle
--- @return integer pid
--- @return uv.uv_process_t? handle
--- @return integer|string pid_or_err
--- @return uv.error_name? err_name
function uv.spawn(path, options, on_exit) end
--- Sends the specified signal to the given process handle. Check the documentation

View File

@@ -306,7 +306,7 @@ local is_win = vim.fn.has('win32') == 1
--- @param opts uv.spawn.options
--- @param on_exit fun(code: integer, signal: integer)
--- @param on_error fun()
--- @return uv.uv_process_t, integer
--- @return uv.uv_process_t?, integer?
local function spawn(cmd, opts, on_exit, on_error)
if is_win then
local cmd1 = vim.fn.exepath(cmd)