node/deps/v8/include
Robert Nagy d66c3a6c0f deps: V8: add CopyArrayBufferBytes API
Add v8::ArrayBuffer::CopyArrayBufferBytes and
v8::SharedArrayBuffer::CopyArrayBufferBytes, which copy a byte range
from one backing store to another. V8 clamps the byte range and handles
detached and immutable buffers: nothing is copied when the source is
detached or the target is detached or immutable, and the number of bytes
actually copied is returned. The SharedArrayBuffer overload uses a
relaxed-atomic memmove that honors the SharedArrayBuffer memory model.

Carried as a floating patch cherry-picked from:

    https://chromium-review.googlesource.com/c/v8/v8/+/7735151

That CL is authored by a Node.js collaborator (Ben Noordhuis) and is
expected to land upstream, so the floating patch should be easy to
maintain: it touches nothing but the public ArrayBuffer API and can be
dropped wholesale on the next V8 upgrade that includes it.
v8_embedder_string is bumped to -node.21 accordingly.

Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7735151
Signed-off-by: Robert Nagy <ronagy@icloud.com>
PR-URL: https://github.com/nodejs/node/pull/63828
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
2026-06-12 23:26:18 +00:00
..
cppgc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
libplatform deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
APIDesign.md
DEPS deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
DIR_METADATA deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
js_protocol-1.2.json
js_protocol-1.3.json
js_protocol.pdl deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
OWNERS deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-array-buffer.h deps: V8: add CopyArrayBufferBytes API 2026-06-12 23:26:18 +00:00
v8-callbacks.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-container.h
v8-context.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-cpp-heap-external.h deps: update V8 to 13.7.152.9 2025-05-18 07:42:43 +00:00
v8-cppgc.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-data.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-date.h
v8-debug.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-embedder-heap.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-embedder-state-scope.h
v8-exception.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-extension.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-external-memory-accounter.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-external.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-fast-api-calls.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-forward.h
v8-function-callback.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-function.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-handle-base.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-initialization.h deps: V8: backport bef0d9c1bc90 2026-04-24 18:01:32 +02:00
v8-inspector-protocol.h
v8-inspector.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-internal.h deps: patch V8 to fix Windows build 2026-04-24 18:01:31 +02:00
v8-isolate.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-json.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-local-handle.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-locker.h
v8-maybe.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-memory-span.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-message.h deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
v8-metrics.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-microtask-queue.h
v8-microtask.h
v8-object.h deps: V8: backport 088b7112e7ab 2026-04-24 18:01:33 +02:00
v8-persistent-handle.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-platform.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-primitive-object.h
v8-primitive.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-profiler.h deps: V8: cherry-pick 0f024d4e66e0 2026-04-28 10:15:47 -04:00
v8-promise.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-proxy.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-regexp.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-sandbox.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-script.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-snapshot.h
v8-source-location.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-statistics.h deps: V8: backport fe81545e6d14 2025-11-03 16:36:07 +00:00
v8-template.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-trace-categories.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-traced-handle.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-typed-array.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-unwinder-state.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-unwinder.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-util.h deps: update V8 to 12.9.202.18 2024-09-19 14:25:34 +00:00
v8-value-serializer-version.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-value-serializer.h
v8-value.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-version-string.h
v8-version.h deps: patch V8 to 14.6.202.34 2026-04-28 01:49:52 +00:00
v8-wasm-trap-handler-posix.h
v8-wasm-trap-handler-win.h
v8-wasm.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8-weak-callback-info.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8config.h deps: define V8_PRESERVE_MOST as no-op on Windows 2026-04-24 18:01:30 +02:00