From 0e7df2e87c0dcfab85819610542efdf45aa67f6d Mon Sep 17 00:00:00 2001 From: G1gg1L3s Date: Tue, 6 Jun 2023 15:34:44 +0300 Subject: [PATCH] jsthemis: Downgrade mocha to ^7 This version and all its transitive dependencies support node v8 which is the only version we can run on centos 7. It seems like other OS work fine, at least on buildbot. Another option is to fix our scripts on buildbot just for centos 7 so they patch the versions before testing. This may save us from future problems. However, downgrading dev dependency is not that scary, so maybe this approach is okay. --- src/wrappers/themis/jsthemis/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrappers/themis/jsthemis/package.json b/src/wrappers/themis/jsthemis/package.json index 2510c2bdc..98639f88d 100644 --- a/src/wrappers/themis/jsthemis/package.json +++ b/src/wrappers/themis/jsthemis/package.json @@ -31,7 +31,7 @@ "nan": "^2.17.0" }, "devDependencies": { - "mocha": "^9" + "mocha": "^7" }, "gypfile": true }