From 5b72f63b287d204fbe9b1b49b380d80a0e93e1a7 Mon Sep 17 00:00:00 2001 From: Samuli Asmala Date: Sun, 4 Aug 2024 21:27:34 +0300 Subject: [PATCH] doc: update `buffer.constants.MAX_LENGTH` size Starting from Node v22.0.0 the `buffer.constants.MAX_LENGTH` has been increased from 4 GiB to 8 PiB due to V8 engine update to 12.4.254.14. --- doc/api/buffer.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 6c587f58d7c4a4..fbbcc04083ef51 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -5361,6 +5361,10 @@ added: v8.2.0