From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Shelley Vohr <shelley.vohr@gmail.com>
Date: Wed, 16 Feb 2022 13:33:41 +0100
Subject: fix: failing Node.js test on outdated
 CurrentValueSerializerFormatVersion

Corrects for a test that started failing as of https://chromium-review.googlesource.com/c/v8/v8/+/3417189
becuase V8 updated the return value of CurrentValueSerializerFormatVersion()
from 14 to 15, and Node.js still expected 14 (0x0e).

This patch can be removed as soon as Node.js updates to a version of V8
containing the above CL.

diff --git a/test/parallel/test-v8-serdes.js b/test/parallel/test-v8-serdes.js
index 12f20ed1c9d386122dd20fdd84a7a0c9b9079ee1..14552eeb493e8eb5b7c05c531b9628d8bcb13aae 100644
--- a/test/parallel/test-v8-serdes.js
+++ b/test/parallel/test-v8-serdes.js
@@ -163,7 +163,7 @@ const hostObject = new (internalBinding('js_stream').JSStream)();
 }
 
 {
-  const buf = Buffer.from('ff0e6f2203666f6f5e007b01', 'hex');
+  const buf = Buffer.from('ff0f6f2203666f6f5e007b01', 'hex');
 
   const des = new v8.DefaultDeserializer(buf);
   des.readHeader();
@@ -174,7 +174,7 @@ const hostObject = new (internalBinding('js_stream').JSStream)();
   ser.writeValue(des.readValue());
 
   assert.deepStrictEqual(buf, ser.releaseBuffer());
-  assert.strictEqual(des.getWireFormatVersion(), 0x0e);
+  assert.strictEqual(des.getWireFormatVersion(), 0x0f);
 }
 
 {
