From c26e19a8a72aff04a34018fb40aa129f2febecd1 Mon Sep 17 00:00:00 2001 From: Chris Pardy Date: Thu, 24 Oct 2024 14:04:47 -0400 Subject: [PATCH] Upgrade JSON-Path-Plus Upgrade the version of JSON-Path-Plus and set a new minimum node version --- .github/workflows/deploy.yml | 2 +- .github/workflows/node.js.yml | 2 +- package.json | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 646a2d96..4eee134e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 1ad05a66..96b690e6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 diff --git a/package.json b/package.json index 43686dd8..9515bd87 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "Rules Engine expressed in simple json", "main": "dist/index.js", "types": "types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, "scripts": { "test": "mocha && npm run lint --silent && npm run test:types", "test:types": "tsd", @@ -89,6 +92,6 @@ "clone": "^2.1.2", "eventemitter2": "^6.4.4", "hash-it": "^6.0.0", - "jsonpath-plus": "^7.2.0" + "jsonpath-plus": "^10.0.0" } }