From dd3010cf2a6ede7e26e4bfba4d0985611eefee57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rouven=20We=C3=9Fling?= Date: Sun, 12 Oct 2025 17:16:34 +0200 Subject: [PATCH] Switch from istanbul to nyc istanbul has been deprecated for a while --- .gitignore | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f4ef2d2..9784cf6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *.swp .DS_Store -coverage +.nyc_output node_modules diff --git a/package.json b/package.json index 1b2a719..8f47fb5 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "scripts": { "test": "mocha", - "coverage": "istanbul cover _mocha" + "coverage": "nyc npm run test" }, "keywords": [ "unique", @@ -27,7 +27,7 @@ "devDependencies": { "after": "~0.8.1", "chai": "^4.2.0", - "istanbul": "^0.4.5", - "mocha": "^5.2.0" + "mocha": "^5.2.0", + "nyc": "^17.1.0" } }