Skip to content

v8: replace Buffer with FastBuffer in deserialize

Replace the Buffer constructor with a FastBuffer in v8.deserialize in order to avoid calling the Buffer constructor and thus triggering a deprecation warning from code inside the core.

Fixes: https://github.com/nodejs/node/issues/21181

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

/cc @nodejs/buffer @addaleax

Merge request reports

Loading