node/deps
James M Snell 70bbc02dac
src, deps: add nbytes library
Projects that seek to implement Node.js compatible APIs end up
needed to reproduce various bits of functionality internally in
order to faithfully replicate the Node.js behaviors. This is
particularly true for things like byte manipulation, base64 and
hex encoding, and other low-level operations. This change
proposes moving much of this low-level byte manipulation code
out of nodejs/src and into a new `nbytes` library. Initially this
new library will exist in the `deps` directory but the intent is
to spin out a new separate repository to be its home in the future.
Doing so will allow other projects to use the nbytes library with
exactly the same implementation as Node.js.

This commit moves only the byte swapping and legacy base64 handling
code. Additional commits will move additional byte manipulation
logic into the library.

PR-URL: https://github.com/nodejs/node/pull/53507
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2024-06-25 10:52:38 +02:00
..
acorn deps: update acorn-walk to 8.3.3 2024-06-20 14:45:17 +02:00
ada deps: update ada to 2.8.0 2024-06-07 10:37:15 -03:00
brotli doc: the GN files should use Node's license 2023-12-28 20:27:05 +00:00
cares deps: update c-ares to v1.30.0 2024-06-20 14:40:44 +02:00
cjs-module-lexer
corepack deps: update corepack to 0.28.2 2024-06-07 10:37:15 -03:00
googletest deps: update googletest to 33af80a 2024-05-21 15:50:26 +02:00
histogram doc: the GN files should use Node's license 2023-12-28 20:27:05 +00:00
icu-small deps: update icu to 75.1 2024-04-29 22:46:27 +02:00
llhttp http: do not allow OBS fold in headers by default 2024-04-03 11:38:30 -03:00
minimatch deps: update minimatch to 9.0.4 2024-04-29 22:46:24 +02:00
nbytes src, deps: add nbytes library 2024-06-25 10:52:38 +02:00
nghttp2 deps: update nghttp2 to 1.62.1 2024-06-07 10:37:16 -03:00
ngtcp2 deps: update ngtcp2 to 1.3.0 2024-02-26 13:03:23 +00:00
npm deps: upgrade npm to 10.8.1 2024-06-01 10:55:08 +02:00
openssl build: harmonize Clang checks 2024-05-11 18:55:48 +02:00
postject doc: the GN files should use Node's license 2023-12-28 20:27:05 +00:00
simdjson deps: update simdjson to 3.9.4 2024-06-20 14:45:17 +02:00
simdutf deps: update simdutf to 5.2.8 2024-05-12 21:22:01 +02:00
sqlite deps: sqlite: fix Windows compilation 2024-06-20 15:38:12 +02:00
undici deps: update undici to 6.19.2 2024-06-20 14:45:25 +02:00
uv build,tools: make addons tests work with GN 2024-02-23 16:14:42 +09:00
uvwasi deps: update uvwasi to 0.0.21 2024-05-11 18:55:47 +02:00
v8 deps: patch V8 to 12.4.254.21 2024-06-20 14:45:17 +02:00
zlib deps: update zlib to 1.3.0.1-motley-209717d 2024-06-20 14:40:45 +02:00