From ff5ddb530b1378926b5753f58a566fae00b3c419 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 1 Nov 2021 21:19:27 -0400 Subject: [PATCH] fix: hardcode base 10 for nodeMajorVersion parseInt() call --- lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index e872b1f2cb1..1c531f4efd0 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -936,4 +936,4 @@ exports.errorToPOJO = function errorToPOJO(error) { return ret; }; -exports.nodeMajorVersion = parseInt(process.versions.node.split('.')[0]); +exports.nodeMajorVersion = parseInt(process.versions.node.split('.')[0], 10);