From 62f384f0c8b33e015afaca51834b3e740a07db6a Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Wed, 3 Apr 2024 19:24:05 +0300 Subject: [PATCH] refactor!: minimum supported Node.js version is `18.12.0` --- .github/workflows/nodejs.yml | 2 +- babel.config.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index bb1d7a24..fb5bb339 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -61,7 +61,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [12.x, 14.x, 16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 21.x] webpack-version: [latest] runs-on: ${{ matrix.os }} diff --git a/babel.config.js b/babel.config.js index 723b64ff..ff7e3b3d 100644 --- a/babel.config.js +++ b/babel.config.js @@ -10,7 +10,7 @@ module.exports = (api) => { "@babel/preset-env", { targets: { - node: "12.13.0", + node: "18.12.0", }, }, ], diff --git a/package.json b/package.json index c168712a..2ecf4f88 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "main": "dist/cjs.js", "engines": { - "node": ">= 12.13.0" + "node": ">= 18.12.0" }, "scripts": { "start": "npm run build -- -w",