From ee6aecdc024808e3cd70af705c87018da2c96b98 Mon Sep 17 00:00:00 2001 From: Joscha Feth Date: Wed, 11 Sep 2024 12:08:14 +0100 Subject: [PATCH] Update lib/types.js --- lib/types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types.js b/lib/types.js index b7c6b752..450292c9 100644 --- a/lib/types.js +++ b/lib/types.js @@ -3074,7 +3074,7 @@ function getValueBucket(val, namespace) { return 'array'; } else if (Buffer.isBuffer(val)) { return 'buffer'; - } else if(typeof val.constructor !== 'undefined' && val.constructor.name) { + } else if (typeof val.constructor !== 'undefined' && val.constructor.name) { const isBuiltin = Object.values(module.exports.builtins).some(b => val instanceof b); if (isBuiltin || val.constructor === Object) { return bucket;