From e22127bc047fafe57264fb29d62eb4f1ae90741b Mon Sep 17 00:00:00 2001 From: Michael Bridgen Date: Sat, 3 Nov 2018 11:17:54 +0000 Subject: [PATCH] Bump mocha to fix stray failures The test suite fails on a couple of test cases which succeed individually, just in older versions of Node. Running the tests with a path ending in test/*.js (rather than test/) averts the test failures. So does upgrading mocha. I have bumped it to 3.5.3, which is the newest version that still supports NodeJS <4. While I was at it, I upgraded a few other packages. --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 313c99fc..24469fbb 100644 --- a/package.json +++ b/package.json @@ -13,17 +13,17 @@ }, "dependencies": { "bitsyntax": "~0.0.4", - "bluebird": "^3.4.6", + "bluebird": "^3.5.2", "buffer-more-ints": "0.0.2", "readable-stream": "1.x >=1.1.9", - "safe-buffer": "^5.0.1", - "url-parse": "^1.2.0" + "safe-buffer": "^5.1.2", + "url-parse": "^1.4.3" }, "devDependencies": { - "mocha": "~1", "claire": "0.4.1", - "uglify-js": "2.6.x", - "istanbul": "0.1.x" + "istanbul": "0.1.x", + "mocha": "^3.5.3", + "uglify-js": "2.6.x" }, "scripts": { "test": "make test",