From aa86eaaffe3ed265307ac5170530601508ac8740 Mon Sep 17 00:00:00 2001 From: Maik Marschner Date: Wed, 25 Sep 2024 15:06:25 +0200 Subject: [PATCH] Fix tests failing due to RSA_PKCS1_PADDING being disabled my default. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4abd50e..8278baf 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ ], "scripts": { "lint": "eslint .", - "test": "nyc mocha test/**/*.js", + "test": "nyc node --security-revert=CVE-2023-46809 ./node_modules/.bin/mocha test/**/*.js", "coverage": "nyc report --reporter=text-lcov | coveralls", "version": "auto-changelog -p -t changelog-template.hbs && git add CHANGELOG.md" },