diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a332140b..fcf5f5c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,6 @@ jobs: strategy: matrix: include: - - name: Node.js 14 - NODE_VERSION: 14 - - name: Node.js 16 - NODE_VERSION: 16 - name: Node.js 18 NODE_VERSION: 18 - name: Node.js 20 diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index fd0dc1e9..55272ed6 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 18 - name: Cache Node.js modules uses: actions/cache@v2 with: diff --git a/README.md b/README.md index 337e4e14..4283f8d8 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ [![Coverage](https://img.shields.io/codecov/c/github/parse-community/parse-server-push-adapter/master.svg)](https://codecov.io/github/parse-community/parse-server-push-adapter?branch=master) [![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-server-push-adapter/releases) +[![Node Version](https://img.shields.io/badge/nodejs-18,_20-green.svg?logo=node.js&style=flat)](https://nodejs.org) + [![npm latest version](https://img.shields.io/npm/v/@parse/push-adapter.svg)](https://www.npmjs.com/package/@parse/push-adapter) --- diff --git a/package-lock.json b/package-lock.json index 95a370fa..c2dcdc5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@parse/node-gcm": "1.0.2", "firebase-admin": "12.0.0", "npmlog": "7.0.1", - "parse": "4.3.1" + "parse": "5.0.0" }, "devDependencies": { "@semantic-release/changelog": "5.0.1", @@ -33,7 +33,7 @@ "semantic-release": "17.4.6" }, "engines": { - "node": ">= 14" + "node": ">=18.0.0 <21" } }, "node_modules/@babel/code-frame": { @@ -10401,19 +10401,19 @@ } }, "node_modules/parse": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/parse/-/parse-4.3.1.tgz", - "integrity": "sha512-ypLPhMPFsJY+C2MXg6HdrVu6ielsL+kUjcSqh7J01lPC5oBuLh70F9YMQSw51QBocEeMSVgB7eUorFOH+MkVpA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/parse/-/parse-5.0.0.tgz", + "integrity": "sha512-6gOARZWiHjmGusbTskhC1qlRn527olMEsdt2LLj9cP2GY3n4VFOwFwV8z/vm2+YfzPfPcv8z7qLih1NzmqzO0g==", "dependencies": { "@babel/runtime-corejs3": "7.23.2", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", - "ws": "8.13.0", + "ws": "8.16.0", "xmlhttprequest": "1.8.0" }, "engines": { - "node": ">=14.21.0 <17 || >=18 <20" + "node": ">=18 <21" }, "optionalDependencies": { "crypto-js": "4.2.0" @@ -13548,9 +13548,9 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz", + "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", "engines": { "node": ">=10.0.0" }, @@ -21914,16 +21914,16 @@ } }, "parse": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/parse/-/parse-4.3.1.tgz", - "integrity": "sha512-ypLPhMPFsJY+C2MXg6HdrVu6ielsL+kUjcSqh7J01lPC5oBuLh70F9YMQSw51QBocEeMSVgB7eUorFOH+MkVpA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/parse/-/parse-5.0.0.tgz", + "integrity": "sha512-6gOARZWiHjmGusbTskhC1qlRn527olMEsdt2LLj9cP2GY3n4VFOwFwV8z/vm2+YfzPfPcv8z7qLih1NzmqzO0g==", "requires": { "@babel/runtime-corejs3": "7.23.2", "crypto-js": "4.2.0", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", - "ws": "8.13.0", + "ws": "8.16.0", "xmlhttprequest": "1.8.0" }, "dependencies": { @@ -24420,9 +24420,9 @@ } }, "ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz", + "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", "requires": {} }, "xmlhttprequest": { diff --git a/package.json b/package.json index cbc47d76..af341d45 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,13 @@ }, "author": "Parse", "license": "MIT", + "dependencies": { + "@parse/node-apn": "6.0.1", + "@parse/node-gcm": "1.0.2", + "firebase-admin": "12.0.0", + "npmlog": "7.0.1", + "parse": "5.0.0" + }, "devDependencies": { "@semantic-release/changelog": "5.0.1", "@semantic-release/commit-analyzer": "8.0.1", @@ -39,14 +46,7 @@ "nyc": "14.1.1", "semantic-release": "17.4.6" }, - "dependencies": { - "@parse/node-apn": "6.0.1", - "@parse/node-gcm": "1.0.2", - "firebase-admin": "12.0.0", - "npmlog": "7.0.1", - "parse": "4.3.1" - }, "engines": { - "node": ">= 14" + "node": ">=18.0.0 <21" } }