Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
0dd53da
deps: add simdjson
anonrig Oct 21, 2023
45e4f82
src: move package resolver to c++
anonrig Oct 25, 2023
9f54987
module: merge config with `package_json_reader`
anonrig Nov 10, 2023
9bf1443
src: omit bool values of package.json main field
anonrig Dec 3, 2023
f2d83a3
benchmark: update iterations in benchmark/util/format.js
Dec 4, 2023
dbee03d
benchmark: update iterations in benchmark/util/inspect-array.js
Dec 4, 2023
b80bb13
benchmark: update iterations in benchmark/util/normalize-encoding.js
Dec 4, 2023
a997205
benchmark: update iterations of benchmark/util/type-check.js
Dec 4, 2023
fdd8c18
benchmark: update interations and len in benchmark/util/text-decoder.js
Dec 4, 2023
4eedf5e
module: fix recently introduced coverity warning
mhdawson Nov 21, 2023
f90fc83
src: fix dynamically linked zlib version
richardlau Dec 4, 2023
58ca66a
doc: deprecate `dirent.path`
aduh95 Dec 4, 2023
06038a4
deps: update libuv to 1.47.0
nodejs-github-bot Nov 10, 2023
95d8a27
deps: cherry-pick bfbe4e38d7 from libuv upstream
abmusse Nov 18, 2023
4ddd0da
test: escape cwd in regexp
kapouer Dec 5, 2023
2b46711
tools: update lint-md-dependencies to rollup@4.6.1
nodejs-github-bot Dec 5, 2023
0b61823
deps: update undici to 5.28.2
nodejs-github-bot Dec 5, 2023
c984158
tools: update eslint to 8.55.0
nodejs-github-bot Dec 5, 2023
7a8a2d5
lib: don't parse windows drive letters as schemes
PaperStrike Dec 5, 2023
c3abdc5
src: implement --trace-promises
joyeecheung Dec 5, 2023
7f5291d
test: resolve path of embedtest binary correctly
zcbenz Dec 5, 2023
3f7f3ce
fs: improve error performance of readvSync
IlyasShabi Dec 5, 2023
9950103
deps: update zlib to 1.3-22124f5
nodejs-github-bot Dec 5, 2023
c2b6edf
esm: fix hook name in error message
bmacnaughton Dec 5, 2023
c45a9a3
doc: add deprecation notice to `dirent.path`
aduh95 Dec 5, 2023
b148c43
benchmark: add create-hash benchmark
joyeecheung Dec 5, 2023
4705023
tools: fix simdjson updater
anonrig Dec 1, 2023
429fbb3
deps: update simdjson to v3.6.2
anonrig Dec 1, 2023
c0e5e74
module: document `parentURL` in register options
privatenumber Dec 6, 2023
5f95dca
node-api: introduce experimental feature flags
gabrielschulhof Dec 1, 2023
38fd0ca
benchmark: add undici websocket benchmark
Dec 6, 2023
735bad3
build: fix warnings from uv for gn build
zcbenz Dec 6, 2023
5112306
stream: fix fd is null when calling clearBuffer
kylo5aby Dec 7, 2023
c3c8237
fs: update params in jsdoc for createReadStream and createWriteStream
Dec 7, 2023
539bee4
doc: use length argument in pbkdf2Key
tniessen Dec 7, 2023
838179b
doc: correct tracingChannel.traceCallback()
Flarna Dec 8, 2023
fd028e1
win,tools: upgrade Windows signing to smctl
StefanStojanovic Dec 8, 2023
53b16c7
benchmark: update iteration and size in benchmark/crypto/randomBytes.js
Dec 9, 2023
087fb09
benchmark: update iterations in benchmark/crypto/aes-gcm-throughput.js
Dec 9, 2023
637ffce
doc: add note regarding `--experimental-detect-module`
shubherthi-mitra Dec 9, 2023
048349e
test: fix test runner colored output test
MoLow Dec 10, 2023
cd891b3
util: improve performance of function areSimilarFloatArrays
Septa2112 Dec 10, 2023
1bbdbdf
benchmark: update iterations in benchmark/perf_hooks
Dec 10, 2023
fc55032
src: remove unused headers in `node_file.cc`
Dec 10, 2023
2581fce
bootstrap: improve snapshot unsupported builtin warnings
joyeecheung Dec 10, 2023
d5c9adf
test_runner: fix infinite loop when files are undefined in test runner
pulkit-30 Dec 10, 2023
26ed4ad
doc: deprecate hash constructor
marco-ippolito Dec 10, 2023
297cb6f
tools: update doc to highlight.js@11.9.0 unified@11.0.4
nodejs-github-bot Dec 11, 2023
3fb7fc9
quic: further implementation details
jasnell May 29, 2023
7f95926
http: handle multi-value content-disposition header
ArsalanDotMe Dec 11, 2023
9b7f79a
src: fix double free reported by coverity
mhdawson Dec 4, 2023
35e8f26
fs: throw fchownSync error from c++
anonrig Dec 12, 2023
328a417
tools: update lint-md-dependencies to rollup@4.7.0
nodejs-github-bot Dec 12, 2023
04eaa5c
doc: run license-builder
github-actions[bot] Dec 13, 2023
aa2be4b
module: load source maps in `commonjs` translator
privatenumber Dec 13, 2023
cc94986
test: handle relative https redirect
richardlau Dec 13, 2023
e178a43
vm: use v8::DeserializeInternalFieldsCallback explicitly
joyeecheung Sep 6, 2023
2cfee53
src: register process_wrap external references
joyeecheung Nov 27, 2023
84e2f51
src: register spawn_sync external references
joyeecheung Nov 27, 2023
abe9052
src: register udp_wrap external references
joyeecheung Nov 27, 2023
aee01ff
test: test syncrhnous methods of child_process in snapshot
joyeecheung Nov 27, 2023
8da9d96
deps: V8: cherry-pick 0fd478bcdabd
joyeecheung Nov 24, 2023
fa25e06
src: implement countObjectsWithPrototype
joyeecheung Nov 3, 2023
ed07075
test: deflake test-diagnostics-channel-memory-leak
joyeecheung Nov 3, 2023
3ccd5fa
test_runner: format coverage report for tap reporter
pulkit-30 Dec 15, 2023
71acd36
stream: implement TransformStream cleanup using "transformer.cancel"
debadree25 Dec 15, 2023
34ddc71
2023-12-19, Version 21.5.0 (Current)
RafaelGSS Dec 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: update libuv to 1.47.0
deps: update libuv to 1.47.0
PR-URL: #50650
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
nodejs-github-bot authored and RafaelGSS committed Dec 15, 2023
commit 06038a489ec4bbd9938d0b4b3964eecd33bbc575
12 changes: 12 additions & 0 deletions deps/uv/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -548,3 +548,15 @@ liuxiang88 <94350585+liuxiang88@users.noreply.github.com>
Jeffrey H. Johnson <trnsz@pobox.com>
Abdirahim Musse <33973272+abmusse@users.noreply.github.com>
小明 <7737673+caobug@users.noreply.github.com>
Shuduo Sang <sangshuduo@gmail.com>
Keith Winstein <keithw@cs.stanford.edu>
michalbiesek <michalbiesek@gmail.com>
Alois Klink <alois@aloisklink.com>
SmorkalovG <smorkalov.g@gmail.com>
Pleuvens <pleuvens.fervil@gmail.com>
jolai <58589285+laijonathan@users.noreply.github.com>
Julien Roncaglia <fox@vbfox.net>
prubel <paul@rubels.net>
Per Allansson <65364157+per-allansson@users.noreply.github.com>
Matheus Izvekov <mizvekov@gmail.com>
Christian Heimlich <chris@pcserenity.com>
7 changes: 4 additions & 3 deletions deps/uv/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.4)
cmake_minimum_required(VERSION 3.9)

if(POLICY CMP0091)
cmake_policy(SET CMP0091 NEW) # Enable MSVC_RUNTIME_LIBRARY setting
Expand Down Expand Up @@ -186,7 +186,8 @@ if(WIN32)
ws2_32
dbghelp
ole32
uuid)
uuid
shell32)
list(APPEND uv_sources
src/win/async.c
src/win/core.c
Expand Down Expand Up @@ -477,7 +478,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "OS390")
endif()
target_link_libraries(uv_a ${uv_libraries})
set_target_properties(uv_a PROPERTIES OUTPUT_NAME "uv")
if(MSVC)
if(WIN32)
set_target_properties(uv_a PROPERTIES PREFIX "lib")
endif()

Expand Down
111 changes: 110 additions & 1 deletion deps/uv/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,113 @@
2023.06.30, Version 1.46.0 (Stable)
2023.11.06, Version 1.47.0 (Stable)

Changes since version 1.46.0:

* test: fix license blurb (Ben Noordhuis)

* linux: fix harmless warn_unused_result warning (Shuduo Sang)

* darwin: fix build warnings (小明)

* linux: don't use io_uring on pre-5.10.186 kernels (Ben Noordhuis)

* fs: fix WTF-8 decoding issue (Jameson Nash)

* test: enable disabled tcp_connect6_error_fault (Ben Noordhuis)

* test: enable disabled fs_link (Ben Noordhuis)

* test: enable disabled spawn_same_stdout_stderr (Ben Noordhuis)

* linux: handle UNAME26 personality (Ben Noordhuis)

* build: move cmake_minimum_required version to 3.9 (Keith Winstein)

* unix: set ipv6 scope id for link-local addresses (Ben Noordhuis)

* unix: match kqueue and epoll code (Trevor Norris)

* win,spawn: allow `%PATH%` to be unset (Kyle Edwards)

* doc: switch to Furo, a more modern Sphinx theme (Saúl Ibarra Corretgé)

* darwin: make TCP_KEEPINTVL and TCP_KEEPCNT available (小明)

* win,fs: avoid winapi macro redefinition (Brad King)

* linux: add missing riscv syscall numbers (michalbiesek)

* doc: fix broken "Shared library" Wikipedia link (Alois Klink)

* unix: get mainline kernel version in Ubuntu (Santiago Gimeno)

* unix: get mainline kernel version in Debian (Ben Noordhuis)

* build: fix qemu install in CI-unix workflow (Santiago Gimeno)

* unix: disable io_uring close on selected kernels (Santiago Gimeno)

* test: skip tests when ipv6 is not available (Santiago Gimeno)

* ibmi: implement ifaddrs, getifaddrs, freeifaddrs (Abdirahim Musse)

* unix: reset signal counters after fork (SmorkalovG)

* win,process: avoid assert after spawning Store app (Jameson Nash)

* unix: remove pread/preadv conditionals (Ben Noordhuis)

* unix: remove pwrite/pwritev conditionals (Ben Noordhuis)

* darwin: remove workaround for data corruption bug (Ben Noordhuis)

* src: default to stream=stderr in handle printer (Ben Noordhuis)

* test: switch to new-style ASSERT_EQ macros (Pleuvens)

* zos: correctly get cpu model in uv_cpu_info() (jolai)

* test: fix get_passwd2 on IBM i (Abdirahim Musse)

* unix: don't malloc on sync uv_fs_read (Ben Noordhuis)

* freebsd: get fs event path with fcntl(F_KINFO) (David Carlier)

* test: switch from ASSERT_* to ASSERT_PTR_* (Pleuvens)

* darwin: workaround apple pthread_cond_wait bug (Julien Roncaglia)

* doc: uv_close should be called after exit callback (Pleuvens)

* test: 192.0.2.0/24 is the actual -TEST-NET-1 (prubel)

* unix: add back preadv/pwritev fallback (Ben Noordhuis)

* unix: rename variable for consistency (Ben Noordhuis)

* unix: merge read/write code into single functions (Ben Noordhuis)

* doc: filename arg to uv_fs_event_cb can be NULL (Ben Noordhuis)

* build,win: we need to link against shell32.lib (Per Allansson)

* unix: no preadv/pwritev workaround if not needed (Jeffrey H. Johnson)

* build: add CI for Windows ARM64 (build only) (Per Allansson)

* linux: disable io_uring on 32 bits arm systems (Ben Noordhuis)

* build: run sanitizers on macos ci (Ben Noordhuis)

* misc: export WTF8 conversion utilities (Jameson Nash)

* build: fix libuv.a file name for cmake (Jameson Nash)

* build: add windows ubsan and clang ci (Matheus Izvekov)

* win: improve accuracy of ProductName between arch (Christian Heimlich)


2023.06.30, Version 1.46.0 (Stable), f0bb7e40f0508bedf6fad33769b3f87bb8aedfa6

Changes since version 1.45.0:

Expand Down
4 changes: 2 additions & 2 deletions deps/uv/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

AC_PREREQ(2.57)
AC_INIT([libuv], [1.46.0], [https://github.com/libuv/libuv/issues])
AC_INIT([libuv], [1.47.0], [https://github.com/libuv/libuv/issues])
AC_CONFIG_MACRO_DIR([m4])
m4_include([m4/libuv-extra-automake-flags.m4])
m4_include([m4/as_case.m4])
Expand Down Expand Up @@ -74,7 +74,7 @@ AM_CONDITIONAL([OS400], [AS_CASE([$host_os],[os400], [true], [false])
AM_CONDITIONAL([SUNOS], [AS_CASE([$host_os],[solaris*], [true], [false])])
AM_CONDITIONAL([WINNT], [AS_CASE([$host_os],[mingw*], [true], [false])])
AS_CASE([$host_os],[mingw*], [
LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32 -ldbghelp -lole32 -luuid"
LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32 -ldbghelp -lole32 -luuid -lshell32"
])
AS_CASE([$host_os], [solaris2.10], [
CFLAGS="$CFLAGS -DSUNOS_NO_IFADDRS"
Expand Down
13 changes: 11 additions & 2 deletions deps/uv/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
# primary
sphinx==6.1.3
furo==2023.5.20
Sphinx==6.1.3

# dependencies
alabaster==0.7.13
Babel==2.11.0
beautifulsoup4==4.12.2
certifi==2022.12.7
charset-normalizer==3.0.1
colorama==0.4.6
docutils==0.19
idna==3.4
imagesize==1.4.1
importlib-metadata==6.0.0
Jinja2==3.1.2
livereload==2.6.3
MarkupSafe==2.1.2
packaging==23.0
Pygments==2.14.0
pytz==2022.7.1
requests==2.28.2
six==1.16.0
snowballstemmer==2.2.0
sphinxcontrib-applehelp==1.0.3
soupsieve==2.4.1
sphinx-autobuild==2021.3.14
sphinx-basic-ng==1.0.0b2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib.applehelp==1.0.3
tornado==6.3.2
urllib3==1.26.14
zipp==3.11.0
2 changes: 1 addition & 1 deletion deps/uv/docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_libuv_version():

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'nature'
html_theme = 'furo'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
8 changes: 6 additions & 2 deletions deps/uv/docs/src/fs_event.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ Data types
.. c:type:: void (*uv_fs_event_cb)(uv_fs_event_t* handle, const char* filename, int events, int status)

Callback passed to :c:func:`uv_fs_event_start` which will be called repeatedly
after the handle is started. If the handle was started with a directory the
`filename` parameter will be a relative path to a file contained in the directory.
after the handle is started.

If the handle was started with a directory the `filename` parameter will
be a relative path to a file contained in the directory, or `NULL` if the
file name cannot be determined.

The `events` parameter is an ORed mask of :c:type:`uv_fs_event` elements.

.. c:type:: uv_fs_event
Expand Down
47 changes: 47 additions & 0 deletions deps/uv/docs/src/misc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -839,3 +839,50 @@ API
Causes the calling thread to sleep for `msec` milliseconds.

.. versionadded:: 1.34.0

String manipulation functions
-----------------------------

These string utilities are needed internally for dealing with Windows, and are
exported to allow clients to work uniformly with this data when the libuv API
is not complete.

.. c:function:: size_t uv_utf16_length_as_wtf8(const uint16_t* utf16, ssize_t utf16_len)

Get the length of a UTF-16 (or UCS-2) `utf16` value after converting it to
WTF-8. If `utf16` is NUL terminated, `utf16_len` can be set to -1,
otherwise it must be specified.

.. versionadded:: 1.47.0

.. c:function:: int uv_utf16_to_wtf8(const uint16_t* utf16, ssize_t utf16_len, char** wtf8_ptr, size_t* wtf8_len_ptr)

Convert UTF-16 (or UCS-2) data in `utf16` to WTF-8 data in `*wtf8_ptr`. The
`utf16_len` count (in characters) gives the length of `utf16`. If `utf16`
is NUL terminated, `utf16_len` can be set to -1, otherwise it must be
specified. If `wtf8_ptr` is `NULL`, no result will be computed, but the
length (equal to `uv_utf16_length_as_wtf8`) will be stored in `wtf8_ptr`.
If `*wtf8_ptr` is `NULL`, space for the conversion will be allocated and
returned in `wtf8_ptr` and the length will be returned in `wtf8_len_ptr`.
Otherwise, the length of `*wtf8_ptr` must be passed in `wtf8_len_ptr`. The
`wtf8_ptr` must contain an extra space for an extra NUL after the result.
If the result is truncated, `UV_ENOBUFS` will be returned and
`wtf8_len_ptr` will be the length of the required `wtf8_ptr` to contain the
whole result.

.. versionadded:: 1.47.0

.. c:function:: ssize_t uv_wtf8_length_as_utf16(const char* wtf8)

Get the length in characters of a NUL-terminated WTF-8 `wtf8` value
after converting it to UTF-16 (or UCS-2), including NUL terminator.

.. versionadded:: 1.47.0

.. c:function:: void uv_wtf8_to_utf16(const char* utf8, uint16_t* utf16, size_t utf16_len)

Convert NUL-terminated WTF-8 data in `wtf8` to UTF-16 (or UCS-2) data
in `utf16`. The `utf16_len` count (in characters) must include space
for the NUL terminator.

.. versionadded:: 1.47.0
12 changes: 12 additions & 0 deletions deps/uv/include/uv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1885,6 +1885,18 @@ struct uv_loop_s {
UV_EXTERN void* uv_loop_get_data(const uv_loop_t*);
UV_EXTERN void uv_loop_set_data(uv_loop_t*, void* data);

/* String utilities needed internally for dealing with Windows. */
size_t uv_utf16_length_as_wtf8(const uint16_t* utf16,
ssize_t utf16_len);
int uv_utf16_to_wtf8(const uint16_t* utf16,
ssize_t utf16_len,
char** wtf8_ptr,
size_t* wtf8_len_ptr);
ssize_t uv_wtf8_length_as_utf16(const char* wtf8);
void uv_wtf8_to_utf16(const char* wtf8,
uint16_t* utf16,
size_t utf16_len);

/* Don't export the private CPP symbols. */
#undef UV_HANDLE_TYPE_PRIVATE
#undef UV_REQ_TYPE_PRIVATE
Expand Down
2 changes: 1 addition & 1 deletion deps/uv/include/uv/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/

#define UV_VERSION_MAJOR 1
#define UV_VERSION_MINOR 46
#define UV_VERSION_MINOR 47
#define UV_VERSION_PATCH 0
#define UV_VERSION_IS_RELEASE 1
#define UV_VERSION_SUFFIX ""
Expand Down
Loading