From f0e91f15abdbdfc11dbace1a7d7c24e1fd8a8301 Mon Sep 17 00:00:00 2001 From: sejas Date: Thu, 22 Jun 2023 18:42:00 +0200 Subject: [PATCH] Bump minimum Node version to v20 to be able to use CustomEvent and File classes --- .nvmrc | 2 +- packages/wp-now/src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nvmrc b/.nvmrc index 0e9dc6b5..2a59cf43 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.13.0 +v20.0.0 diff --git a/packages/wp-now/src/main.ts b/packages/wp-now/src/main.ts index 9ccbfc3a..b80b9e62 100644 --- a/packages/wp-now/src/main.ts +++ b/packages/wp-now/src/main.ts @@ -1,6 +1,6 @@ import { runCli } from './run-cli'; -const requiredMajorVersion = 18; +const requiredMajorVersion = 20; const currentNodeVersion = parseInt(process.versions?.node?.split('.')?.[0]);