From 05b0309480f0a6489a8e8416c92878ff0870ce29 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Sun, 7 Jul 2024 06:16:20 -0500 Subject: [PATCH 1/8] feat: Add support for Node 22 --- .github/workflows/ci.yml | 6 ++++-- README.md | 7 ++++--- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93193b197..7e3ffeb9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,9 +68,11 @@ jobs: matrix: include: - name: Node 18 - NODE_VERSION: 18.19.0 + NODE_VERSION: 18.20.3 - name: Node 20 - NODE_VERSION: 20.10.0 + NODE_VERSION: 20.15.0 + - name: Node 22 + NODE_VERSION: 22.4.0 fail-fast: false steps: - name: Fix usage of insecure GitHub protocol diff --git a/README.md b/README.md index 529930c90..c72114d81 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![Snyk Badge](https://snyk.io/test/github/parse-community/Parse-SDK-JS/badge.svg)](https://snyk.io/test/github/parse-community/Parse-SDK-JS) [![Coverage](http://codecov.io/github/parse-community/Parse-SDK-JS/coverage.svg?branch=alpha)](http://codecov.io/github/parse-community/Parse-SDK-JS?branch=alpha) -[![Node Version](https://img.shields.io/badge/nodejs-18,_20-green.svg?logo=node.js&style=flat)](https://nodejs.org/) +[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org/) [![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases) [![npm latest version](https://img.shields.io/npm/v/parse/latest.svg)](https://www.npmjs.com/package/parse) @@ -53,8 +53,9 @@ Parse JS SDK is continuously tested with the most recent releases of Node.js to | Version | Latest Version | End-of-Life | Compatible | |------------|----------------|-------------|------------| -| Node.js 18 | 18.19.0 | April 2025 | ✅ Yes | -| Node.js 20 | 20.10.0 | April 2026 | ✅ Yes | +| Node.js 18 | 18.20.3 | April 2025 | ✅ Yes | +| Node.js 20 | 20.15.0 | April 2026 | ✅ Yes | +| Node.js 22 | 22.4.0 | April 2026 | ✅ Yes | ## Getting Started diff --git a/package-lock.json b/package-lock.json index e1408630c..af414ca29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -71,7 +71,7 @@ "vinyl-source-stream": "2.0.0" }, "engines": { - "node": ">=18 <21" + "node": ">=18 <23" }, "optionalDependencies": { "crypto-js": "4.2.0" diff --git a/package.json b/package.json index 3b9b8fb2e..ecaafd4e8 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ ] }, "engines": { - "node": ">=18 <21" + "node": ">=18 <23" }, "jest": { "automock": true, From 2b2eefc835b7ccf9ba636cc271224af5b04ef8c9 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Sun, 7 Jul 2024 06:24:16 -0500 Subject: [PATCH 2/8] fix 22 eof --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c72114d81..a65473444 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Parse JS SDK is continuously tested with the most recent releases of Node.js to |------------|----------------|-------------|------------| | Node.js 18 | 18.20.3 | April 2025 | ✅ Yes | | Node.js 20 | 20.15.0 | April 2026 | ✅ Yes | -| Node.js 22 | 22.4.0 | April 2026 | ✅ Yes | +| Node.js 22 | 22.4.0 | April 2027 | ✅ Yes | ## Getting Started From 3094515ef2c998ca3812499b092ee728565d3516 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Sun, 7 Jul 2024 06:43:40 -0500 Subject: [PATCH 3/8] exclude node 21 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ecaafd4e8..3159f8827 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ ] }, "engines": { - "node": ">=18 <23" + "node": "^18 || ^19 || ^20 || ^22" }, "jest": { "automock": true, From 650b932eca0593bce58f45e329159dc027bbe9d4 Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Sun, 7 Jul 2024 14:12:26 +0200 Subject: [PATCH 4/8] fix node engine versions Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ec9dc187b..df924d465 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ ] }, "engines": { - "node": "^18 || ^19 || ^20 || ^22" + "node": "18 || 19 || 20 || 22" }, "jest": { "automock": true, From 0bb7eb4542ffef274918a9bb00379f6290e02b72 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Sun, 7 Jul 2024 14:15:08 +0200 Subject: [PATCH 5/8] add node 19 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e3ffeb9b..5e8c46e0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,8 @@ jobs: include: - name: Node 18 NODE_VERSION: 18.20.3 + - name: Node 19 + NODE_VERSION: 19.9.0 - name: Node 20 NODE_VERSION: 20.15.0 - name: Node 22 From ad9869d56700e18ee074cfc5a083379c4d6d0500 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Sun, 7 Jul 2024 14:17:43 +0200 Subject: [PATCH 6/8] remove node 19 --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e8c46e0c..7e3ffeb9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,8 +69,6 @@ jobs: include: - name: Node 18 NODE_VERSION: 18.20.3 - - name: Node 19 - NODE_VERSION: 19.9.0 - name: Node 20 NODE_VERSION: 20.15.0 - name: Node 22 From 9091c8d8e053027af13113b0039794edd0eda766 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Sun, 7 Jul 2024 07:14:46 -0500 Subject: [PATCH 7/8] Update package-lock.json --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 54d5665d1..adb7dded5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -71,7 +71,7 @@ "vinyl-source-stream": "2.0.0" }, "engines": { - "node": ">=18 <23" + "node": "18 || 19 || 20 || 22" }, "optionalDependencies": { "crypto-js": "4.2.0" From 4be52681609740cd6f29eb0d61b0c62b7a38ed89 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Sun, 7 Jul 2024 07:25:24 -0500 Subject: [PATCH 8/8] remove specific node versions from CI --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e3ffeb9b..3b53baf80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,11 +68,11 @@ jobs: matrix: include: - name: Node 18 - NODE_VERSION: 18.20.3 + NODE_VERSION: 18 - name: Node 20 - NODE_VERSION: 20.15.0 + NODE_VERSION: 20 - name: Node 22 - NODE_VERSION: 22.4.0 + NODE_VERSION: 22 fail-fast: false steps: - name: Fix usage of insecure GitHub protocol