diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 646a2d9..4eee134 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 1ad05a6..96b690e 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 43686dd..9515bd8 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" } }