From 0310e2fedbeb783bd3692b5b12e7036f3de7dfb8 Mon Sep 17 00:00:00 2001 From: Kris Zyp Date: Mon, 27 Nov 2023 13:27:29 -0700 Subject: [PATCH] Defer other value types to msgpackr --- struct.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/struct.js b/struct.js index b939bf4..5fa652d 100644 --- a/struct.js +++ b/struct.js @@ -273,6 +273,8 @@ function writeStruct(object, target, encodingStart, position, structures, makeRo position = updatedPosition; } else queuedReferences.push(key, value, keyIndex); break; + default: + queuedReferences.push(key, value, keyIndex); } keyIndex++; }