From 280791d8160a4062d7b85a00e94a4f8219cabf82 Mon Sep 17 00:00:00 2001 From: Nate Fischer Date: Mon, 28 Aug 2023 15:01:01 -0700 Subject: [PATCH] chore: fix test coverage parsing bug For some reason it seems like `nyc` v14 is incompatible with node v16/v18/v20. See this CI run as an example: https://github.com/shelljs/shelljs/actions/runs/5956710281/job/16287478757?pr=1129 This updates `nyc` to v15 which should fix the issue. Fixes #1130 Test: nvm use v16.20.2 Test: npm run test-with-coverage --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 645602db..c3e15f21 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "eslint-config-airbnb-base": "^13.1.0", "eslint-plugin-import": "^2.17.3", "js-yaml": "^3.14.1", - "nyc": "^14.1.1", + "nyc": "^15.1.0", "shelljs-changelog": "^0.2.6", "shelljs-release": "^0.5.2", "shx": "^0.3.4",