From 0908132113dab2b6e580b9f1818ec5aae37bc20a Mon Sep 17 00:00:00 2001 From: Theo Truong Date: Wed, 30 Oct 2024 12:15:42 -0600 Subject: [PATCH] # added support for Node 14 Signed-off-by: Theo Truong --- .github/workflows/nodejs.yml | 2 +- CHANGELOG.md | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index abf5cad7f..7262ccc8d 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x, 22.x] + node-version: [14.x, 16.x, 18.x, 20.x, 22.x] os: [ubuntu-latest, windows-latest, macOS-13] steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b335e8b8..8cd490003 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,7 +37,7 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Removed - Removed support for API param aliases. That is, the API functions now only accept params with the exact names specified in the OpenSearch API specification. - Removed support for overriding HTTP methods in API functions. -- Removed support for Node.js 10 through 14. The minimum supported Node.js version is now 16. +- Removed support for Node.js 10 and 12. The minimum supported Node.js version is now 14. ### Fixed - Upgrade JSON11 from 1.1.2 to 2.0.0 to ensure UTF-8 safety when stringifying JSON data - Fixed typo cause JSON11 parse will always be executed when json string has number inside diff --git a/package.json b/package.json index 80ad176dd..3c0105f7c 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "url": "https://github.com/opensearch-project/opensearch-js/issues" }, "engines": { - "node": ">=16", + "node": ">=14", "yarn": "^1.22.10" }, "tsd": {