From b0b7c8f5409e210c194547d0ce4efa65e62e64d7 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 3 Feb 2025 21:17:56 +0100 Subject: [PATCH] build: remove outdated Node.js serdes patch (#45430) --- patches/node/.patches | 1 - patches/node/fix_serdes_test.patch | 34 ------------------------------ 2 files changed, 35 deletions(-) delete mode 100644 patches/node/fix_serdes_test.patch diff --git a/patches/node/.patches b/patches/node/.patches index 3104eb0a47af..b0846c3883e6 100644 --- a/patches/node/.patches +++ b/patches/node/.patches @@ -11,7 +11,6 @@ fix_crypto_tests_to_run_with_bssl.patch fix_account_for_debugger_agent_race_condition.patch fix_readbarrier_undefined_symbol_error_on_woa_arm64.patch fix_suppress_clang_-wdeprecated-declarations_in_libuv.patch -fix_serdes_test.patch feat_add_uv_loop_interrupt_on_io_change_option_to_uv_loop_configure.patch support_v8_sandboxed_pointers.patch build_ensure_native_module_compilation_fails_if_not_using_a_new.patch diff --git a/patches/node/fix_serdes_test.patch b/patches/node/fix_serdes_test.patch deleted file mode 100644 index ac1699e76a83..000000000000 --- a/patches/node/fix_serdes_test.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Jeremy Rose -Date: Fri, 28 Jan 2022 13:50:21 -0800 -Subject: fix serdes test - -The V8 wire format version changed. - -diff --git a/test/parallel/test-v8-serdes.js b/test/parallel/test-v8-serdes.js -index 296e076a9f760d94293fe4310d6f3a081e3e59f4..be6deaf463977cc65e9f135008c3ce2b2919e22f 100644 ---- a/test/parallel/test-v8-serdes.js -+++ b/test/parallel/test-v8-serdes.js -@@ -163,11 +163,11 @@ const hostObject = new (internalBinding('js_stream').JSStream)(); - - { - // Test that an old serialized value can still be deserialized. -- const buf = Buffer.from('ff0d6f2203666f6f5e007b01', 'hex'); -+ const buf = Buffer.from('ff0f6f2203666f6f5e007b01', 'hex'); - - const des = new v8.DefaultDeserializer(buf); - des.readHeader(); -- assert.strictEqual(des.getWireFormatVersion(), 0x0d); -+ assert.strictEqual(des.getWireFormatVersion(), 0x0f); - - const value = des.readValue(); - assert.strictEqual(value, value.foo); -@@ -202,7 +202,7 @@ const hostObject = new (internalBinding('js_stream').JSStream)(); - { - // Unaligned Uint16Array read, with padding in the underlying array buffer. - let buf = Buffer.alloc(32 + 9); -- buf.write('ff0d5c0404addeefbe', 32, 'hex'); -+ buf.write('ff0e5c0404addeefbe', 32, 'hex'); - buf = buf.slice(32); - - const expectedResult = os.endianness() === 'LE' ?