@dashevo/dash-spv 0.25.12 → 0.25.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.mocharc.yml CHANGED
@@ -1,4 +1,3 @@
1
1
  exit: true
2
2
  timeout: 3000
3
- file:
4
- - ./lib/test/bootstrap.js
3
+ require: ./lib/test/bootstrap.js
@@ -1,19 +1,15 @@
1
1
  const sinon = require('sinon');
2
2
 
3
- beforeEach(function beforeEach() {
4
- if (!this.sinon) {
5
- this.sinon = sinon.createSandbox();
6
- } else {
7
- this.sinon.restore();
8
- }
9
- });
10
-
11
- before(function before() {
12
- if (!this.sinon) {
13
- this.sinon = sinon.createSandbox();
14
- }
15
- });
3
+ exports.mochaHooks = {
4
+ beforeEach() {
5
+ if (!this.sinon) {
6
+ this.sinon = sinon.createSandbox();
7
+ } else {
8
+ this.sinon.restore();
9
+ }
10
+ },
16
11
 
17
- afterEach(function afterEach() {
18
- this.sinon.restore();
19
- });
12
+ afterEach() {
13
+ this.sinon.restore();
14
+ },
15
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dash-spv",
3
- "version": "0.25.12",
3
+ "version": "0.25.15",
4
4
  "description": "Repository containing SPV functions used by @dashevo",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -24,7 +24,7 @@
24
24
  "eslint": "^7.32.0",
25
25
  "eslint-config-airbnb-base": "^14.2.1",
26
26
  "eslint-plugin-import": "^2.24.2",
27
- "mocha": "^9.1.2",
27
+ "mocha": "^10.2.0",
28
28
  "should": "^13.2.3",
29
29
  "sinon": "^11.1.2"
30
30
  }
package/.ultra.cache.json DELETED
@@ -1 +0,0 @@
1
- {"files":{".eslintignore":"5772aab4a649e8c99c5b74bd685792cd6a69f9ac",".eslintrc.json":"41aa1d3c1477f203b588dcb5c0015454edd94481",".gitignore":"095d365a56f423d4fab2345c95c137e7c6ea45c0",".mocharc.yml":"4b2c6eac5413c431a990afeec68f34c8398891ad","LICENSE":"95bf3c7cb642fb61c1bbbb319fd3c83e47a5af96","README.md":"3659fd1bfb44b5e6916679ae586ccbff18683e59","config/config.js":"267c3536b5fe54c88080a56241c34d7393a54ac2","index.js":"4413accedb71ffb73ea7ce4ad45a2035c2ce92ca","lib/blockstore.js":"1ed82a8c1cfb4bc3aa96f0669a27c94d2e76b164","lib/consensus.js":"73201c7fec9c62f5f87dba7b2d0d54c08fa4fa6f","lib/errors/SPVError.js":"08b7af972c146bcdf29ffaa06eb90ca2c5660914","lib/merkleproofs.js":"dca09952c352109795af64f9490209a96e483e2f","lib/spvchain.js":"167c1fecd83df5ae597c7af87471ec972c6b782e","lib/test/.eslintrc":"4c2b11fe8177c0c2fd0667acb599fc44c4c9741a","lib/test/bootstrap.js":"53142f9ec29cd1e75714de8a0be0080cf3bbda04","lib/utils.js":"c2119b88a67698053e783f09c038a04ae208f232","lib/x11.js":"d85e555bad579a8b3e2e92447331933ce9b0c4b1","package.json":"bd064b70b910a5756f90b48980efd75ae41197ba","test/data/headers.js":"eb9cae85ee11027338fbf1f69e373d22388286d6","test/data/merkleproofs.js":"49ea4c29fb1f0cf6378ed7ee46b0a1db3bb555c1","test/data/rawHeaders.js":"03fed6ca2f8c2d1b63cfa13743431a2d551c7ad9","test/index.js":"4b67c838fadf0baac0207b13ddd99b0bc8d228c0","test/spvchain.js":"58a7716c91830e0a23bd27ab857cbba70b8bee93"},"deps":{}}