From f346858ec10b44bd49bd052cf3711cf988498f77 Mon Sep 17 00:00:00 2001 From: Rafa Date: Thu, 8 Oct 2026 00:20:21 +0200 Subject: [PATCH 1/3] bump Mocha to version 12.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7ac1208..171e8c8 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "6.0.0", "eslint-plugin-standard": "4.1.0", - "mocha": "10.0.0", + "mocha": "12.0.3", "nyc": "15.1.0" }, "engines": { From c995e6d37397d21677ecb39918ed346715fd8130 Mon Sep 17 00:00:00 2001 From: Phillip Barta Date: Wed, 21 Oct 2026 23:24:38 +0200 Subject: [PATCH 2/3] ci: fix mocha version per node version --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a4be36..c800d09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,27 +138,35 @@ jobs: - name: Node.js 12.x node-version: "12" + npm-i: mocha@9.2.2 - name: Node.js 13.x node-version: "13" + npm-i: mocha@9.2.2 - name: Node.js 14.x node-version: "14" + npm-i: mocha@10.8.2 - name: Node.js 15.x node-version: "15" + npm-i: mocha@10.8.2 - name: Node.js 16.x node-version: "16" + npm-i: mocha@10.8.2 - name: Node.js 17.x node-version: "17" + npm-i: mocha@10.8.2 - name: Node.js 18.x node-version: "18" + npm-i: mocha@11.8.0 - name: Node.js 19.x node-version: "19" + npm-i: mocha@11.8.0 - name: Node.js 20.x node-version: "20" From 003addbf1291e6b486e314135b3c8133cd17f22b Mon Sep 17 00:00:00 2001 From: Phillip Barta Date: Wed, 21 Oct 2026 23:28:58 +0200 Subject: [PATCH 3/3] ci: use mocha 11 on nodejs 21 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c800d09..7a2d536 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -173,6 +173,7 @@ jobs: - name: Node.js 21.x node-version: "21" + npm-i: mocha@11.8.0 - name: Node.js 22.x node-version: "22"