From 5569be6fe8c82ff47eccea8ddc99c2d7e24a8d6e Mon Sep 17 00:00:00 2001 From: sipayrt Date: Mon, 27 May 2024 17:01:53 +0300 Subject: [PATCH] feat: drop node versions less than 18 BREAKING CHANGE: node versions less than 18.0.0 are no longer supported --- .github/workflows/node.js.yml | 2 +- package-lock.json | 22 +++++++++++----------- package.json | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f39acee9c..de6a5e4e0 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 diff --git a/package-lock.json b/package-lock.json index b8a1ec017..d1b389b2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "html-reporter", - "version": "9.18.1", + "version": "9.19.0", "license": "MIT", "workspaces": [ "test/func/fixtures/*", @@ -18,7 +18,7 @@ "@gemini-testing/sql.js": "^2.0.0", "ansi-html-community": "^0.0.8", "axios": "1.6.3", - "better-sqlite3": "^8.5.0", + "better-sqlite3": "^10.0.0", "bluebird": "^3.5.3", "body-parser": "^1.18.2", "chalk": "^4.1.2", @@ -161,7 +161,7 @@ "webpack-merge": "^4.1.1" }, "engines": { - "node": ">= 14" + "node": ">= 18" }, "peerDependencies": { "hermione": ">=6.0.0", @@ -8504,13 +8504,13 @@ "dev": true }, "node_modules/better-sqlite3": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-8.5.0.tgz", - "integrity": "sha512-vbPcv/Hx5WYdyNg/NbcfyaBZyv9s/NVbxb7yCeC5Bq1pVocNxeL2tZmSu3Rlm4IEOTjYdGyzWQgyx0OSdORBzw==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-10.0.0.tgz", + "integrity": "sha512-rOz0JY8bt9oMgrFssP7GnvA5R3yln73y/NizzWqy3WlFth8Ux8+g4r/N9fjX97nn4X1YX6MTER2doNpTu5pqiA==", "hasInstallScript": true, "dependencies": { "bindings": "^1.5.0", - "prebuild-install": "^7.1.0" + "prebuild-install": "^7.1.1" } }, "node_modules/big-integer": { @@ -37674,12 +37674,12 @@ "dev": true }, "better-sqlite3": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-8.5.0.tgz", - "integrity": "sha512-vbPcv/Hx5WYdyNg/NbcfyaBZyv9s/NVbxb7yCeC5Bq1pVocNxeL2tZmSu3Rlm4IEOTjYdGyzWQgyx0OSdORBzw==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-10.0.0.tgz", + "integrity": "sha512-rOz0JY8bt9oMgrFssP7GnvA5R3yln73y/NizzWqy3WlFth8Ux8+g4r/N9fjX97nn4X1YX6MTER2doNpTu5pqiA==", "requires": { "bindings": "^1.5.0", - "prebuild-install": "^7.1.0" + "prebuild-install": "^7.1.1" } }, "big-integer": { diff --git a/package.json b/package.json index c5e6b0f62..bd97a3f26 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "url": "https://github.com/gemini-testing/html-reporter/issues" }, "engines": { - "node": ">= 14" + "node": ">= 18" }, "keywords": [ "testplane", @@ -59,7 +59,7 @@ "homepage": "https://github.com/gemini-testing/html-reporter#readme", "license": "MIT", "peerDependencies": { - "hermione": ">=6.0.0", + "hermione": ">=8.0.0", "testplane": "*" }, "peerDependenciesMeta": { @@ -75,7 +75,7 @@ "@gemini-testing/sql.js": "^2.0.0", "ansi-html-community": "^0.0.8", "axios": "1.6.3", - "better-sqlite3": "^8.5.0", + "better-sqlite3": "^10.0.0", "bluebird": "^3.5.3", "body-parser": "^1.18.2", "chalk": "^4.1.2",