From 6fa66f00d99fa943798f7ef2d4d25fe867e6612f Mon Sep 17 00:00:00 2001 From: bcoe Date: Mon, 3 May 2021 15:35:50 -0700 Subject: [PATCH] fix(build): Node 12 is now minimum version --- lib/cjs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cjs.ts b/lib/cjs.ts index 82dae13e6..eab141e36 100644 --- a/lib/cjs.ts +++ b/lib/cjs.ts @@ -16,7 +16,7 @@ import cjsPlatformShim from './platform-shims/cjs.js'; const minNodeVersion = process && process.env && process.env.YARGS_MIN_NODE_VERSION ? Number(process.env.YARGS_MIN_NODE_VERSION) - : 10; + : 12; if (process && process.version) { const major = Number(process.version.match(/v([^.]+)/)![1]); if (major < minNodeVersion) {