From 910fe38443ea437ddb90fe657dfcff2562f762c1 Mon Sep 17 00:00:00 2001 From: Cristian Atehortua <48300727+cristian-atehortua@users.noreply.github.com> Date: Sat, 28 Oct 2023 22:12:48 -0500 Subject: [PATCH] add a default value for common in light build to fix issue #1107 Fixes #1107 --- src/index-light.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index-light.js b/src/index-light.js index 32c6a05cd..a5b095239 100644 --- a/src/index-light.js +++ b/src/index-light.js @@ -100,5 +100,5 @@ protobuf.util = require("./util"); // Set up possibly cyclic reflection dependencies protobuf.ReflectionObject._configure(protobuf.Root); protobuf.Namespace._configure(protobuf.Type, protobuf.Service, protobuf.Enum); -protobuf.Root._configure(protobuf.Type); +protobuf.Root._configure(protobuf.Type, undefined, []); protobuf.Field._configure(protobuf.Type);