aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Miller <[email protected]>2020-05-26 18:53:49 -0400
committerJason Miller <[email protected]>2020-05-26 18:53:49 -0400
commitdd64eea1de4cc6488363c5701b4890ac92fe09b2 (patch)
tree4853c1a5f13ea8df5199cf9caefa2df8b27ab381
parentc36df696228a341020158b368d3d5c988980e5e0 (diff)
Update all dependencies
-rw-r--r--package.json23
-rw-r--r--test/index.js2
2 files changed, 15 insertions, 10 deletions
diff --git a/package.json b/package.json
index a0dbdf1..f2298f8 100644
--- a/package.json
+++ b/package.json
@@ -59,22 +59,27 @@
],
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
+ "@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-empty-function": 0
}
},
"devDependencies": {
- "@typescript-eslint/eslint-plugin": "^2.34.0",
- "@typescript-eslint/parser": "^2.34.0",
- "chai": "^3.5.0",
+ "@types/chai": "^4.2.11",
+ "@types/mocha": "^7.0.2",
+ "@types/sinon": "^9.0.4",
+ "@types/sinon-chai": "^3.2.4",
+ "@typescript-eslint/eslint-plugin": "^3.0.1",
+ "@typescript-eslint/parser": "^3.0.1",
+ "chai": "^4.2.0",
"documentation": "^13.0.0",
- "eslint": "^6.5.1",
+ "eslint": "^7.1.0",
"esm": "^3.2.25",
"microbundle": "^0.12.0",
- "mocha": "^3.2.0",
- "npm-run-all": "^2.1.1",
- "rimraf": "^2.5.2",
- "sinon": "^1.17.4",
- "sinon-chai": "^2.8.0",
+ "mocha": "^7.2.0",
+ "npm-run-all": "^4.1.5",
+ "rimraf": "^3.0.2",
+ "sinon": "^9.0.2",
+ "sinon-chai": "^3.5.0",
"ts-node": "^8.10.1",
"typescript": "^3.9.3"
}
diff --git a/test/index.js b/test/index.js
index 020c91f..dceb4b7 100644
--- a/test/index.js
+++ b/test/index.js
@@ -159,7 +159,7 @@ describe('mitt#', () => {
inst.emit('foo', ea);
expect(star).to.have.been.calledOnce.and.calledWith('foo', ea);
- star.reset();
+ star.resetHistory();
inst.emit('bar', eb);
expect(star).to.have.been.calledOnce.and.calledWith('bar', eb);