maint: update mocha

Some of the npm audit warnings left after #13897 require an updated `mocha` version to remedy.  As we only really use `mocha` to do unit-testing, it should be safe to update if all of our existing tests pass with the new version.

Test-bot: skip
This commit is contained in:
Joshua Horton 2025-05-13 14:02:02 +07:00
parent 90047e8c6a
commit 155c1a2b12
24 changed files with 171 additions and 1197 deletions

View file

@ -18,7 +18,6 @@
"homepage": "https://github.com/keymanapp/keyman#readme",
"devDependencies": {
"@keymanapp/resources-gosh": "*",
"mocha": "^10.0.0",
"mocha-teamcity-reporter": "^4.0.0",
"typescript": "^5.4.5"
},

View file

@ -44,7 +44,6 @@
"c8": "^7.12.0",
"chalk": "^2.4.2",
"hexy": "^0.3.4",
"mocha": "^8.4.0",
"typescript": "^5.4.5"
},
"mocha": {

View file

@ -25,7 +25,6 @@
"@types/semver": "^7.3.12",
"c8": "^7.12.0",
"git-diff": "^2.0.6",
"mocha": "^8.4.0",
"typescript": "^5.4.5"
},
"scripts": {

View file

@ -33,7 +33,6 @@
"@types/node": "^20.4.1",
"c8": "^7.12.0",
"chalk": "^2.4.2",
"mocha": "^8.4.0",
"typescript": "^5.4.5"
},
"mocha": {

View file

@ -32,12 +32,10 @@
"devDependencies": {
"@keymanapp/developer-test-helpers": "*",
"@keymanapp/resources-gosh": "*",
"@types/mocha": "^10.0.0",
"@types/node": "^20.4.1",
"@types/semver": "^7.3.12",
"c8": "^7.12.0",
"chalk": "^2.4.2",
"mocha": "^10.0.0",
"typescript": "^5.4.5"
},
"mocha": {

View file

@ -33,12 +33,10 @@
"devDependencies": {
"@keymanapp/developer-test-helpers": "*",
"@keymanapp/resources-gosh": "*",
"@types/mocha": "^10.0.0",
"@types/node": "^20.4.1",
"@types/semver": "^7.3.12",
"c8": "^7.12.0",
"chalk": "^2.4.2",
"mocha": "^10.0.0",
"typescript": "^5.4.5"
},
"mocha": {

View file

@ -33,7 +33,6 @@
"@types/node": "^20.4.1",
"c8": "^7.12.0",
"chalk": "^2.4.2",
"mocha": "^8.4.0",
"typescript": "^5.4.5"
},
"mocha": {

View file

@ -39,7 +39,6 @@
"@types/sinon-chai": "^3.2.9",
"c8": "^7.12.0",
"chalk": "^2.4.2",
"mocha": "^8.4.0",
"sinon-chai": "^3.7.0",
"typescript": "^5.4.5"
},

View file

@ -42,7 +42,6 @@
"c8": "^7.12.0",
"chalk": "^2.4.2",
"common-tags": "^1.8.2",
"mocha": "^8.4.0",
"peggy": "^4.2.0",
"typescript": "^5.4.5"
},

View file

@ -38,7 +38,6 @@
"@types/node": "^20.4.1",
"c8": "^7.12.0",
"chalk": "^2.4.2",
"mocha": "^8.4.0",
"typescript": "^5.4.5"
},
"mocha": {

View file

@ -41,8 +41,7 @@
"@types/node": "^20.4.1",
"c8": "^7.12.0",
"chalk": "^2.4.2",
"esbuild": "^0.25.0",
"mocha": "^10.0.0"
"esbuild": "^0.25.0"
},
"mocha": {
"spec": "build/test/**/*.tests.js",

View file

@ -40,7 +40,6 @@
"@types/node": "^20.4.1",
"c8": "^7.12.0",
"chalk": "^2.4.2",
"mocha": "^8.4.0",
"typescript": "^5.4.5"
},
"mocha": {

View file

@ -61,7 +61,6 @@
"@types/node": "^20.4.1",
"c8": "^7.12.0",
"esbuild": "^0.25.0",
"mocha": "^8.4.0",
"typescript": "^5.4.5"
},
"mocha": {

View file

@ -34,7 +34,6 @@
"@types/node": "^20.4.1",
"@types/ws": "^8.2.2",
"copyfiles": "^2.4.1",
"mocha": "^10.0.0",
"node-gyp": "^10.2.0",
"tsc-watch": "^4.5.0",
"typescript": "^5.4.5"

1340
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -21,7 +21,7 @@
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"mocha": "^10.0.0",
"mocha": "^11.2.2",
"mocha-teamcity-reporter": "^4.0.0",
"playwright": "^1.46.1",
"sinon": "^17.0.1",

View file

@ -109,7 +109,6 @@
"@zip.js/zip.js": "^2.7.32",
"c8": "^7.12.0",
"jsdom": "^23.0.1",
"mocha": "^10.0.0",
"tsx": "^4.19.0"
},
"scripts": {

View file

@ -27,7 +27,6 @@
"@keymanapp/keyman-version": "*",
"@keymanapp/resources-gosh": "*",
"c8": "^7.12.0",
"mocha": "^10.0.0",
"mocha-teamcity-reporter": "^4.0.0",
"typescript": "^5.4.5"
},

View file

@ -3,7 +3,6 @@
"description": "The core gesture-recognition engine used by Keyman's Web-based OSKs.",
"devDependencies": {
"@keymanapp/resources-gosh": "*",
"mocha": "^10.0.0",
"mocha-teamcity-reporter": "^4.0.0",
"promise-status-async": "^1.2.10",
"typescript": "^5.4.5"

View file

@ -55,7 +55,6 @@
"@keymanapp/web-utils": "*",
"@types/mocha": "^7.0.2",
"c8": "^7.12.0",
"mocha": "^10.0.0",
"mocha-teamcity-reporter": "^4.0.0",
"typescript": "^5.4.5"
},

View file

@ -58,7 +58,6 @@
"@keymanapp/resources-gosh": "*",
"@types/mocha": "^7.0.2",
"c8": "^7.12.0",
"mocha": "^10.0.0",
"mocha-teamcity-reporter": "^4.0.0",
"typescript": "^5.4.5"
},

View file

@ -44,7 +44,6 @@
"devDependencies": {
"@keymanapp/common-types": "*",
"@keymanapp/resources-gosh": "*",
"mocha": "^10.0.0",
"mocha-teamcity-reporter": "^4.0.0",
"typescript": "^5.4.5"
},

View file

@ -30,7 +30,6 @@
"@keymanapp/resources-gosh": "*",
"c8": "^7.12.0",
"combine-source-map": "^0.8.0",
"mocha": "^10.0.0",
"mocha-teamcity-reporter": "^4.0.0",
"typescript": "^5.4.5"
},

View file

@ -22,7 +22,6 @@
"karma-requirejs": "^1.1.0",
"karma-teamcity-reporter": "^1.1.0",
"minimist": "^1.2.6",
"mocha": "^8.4.0",
"requirejs": "^2.3.6",
"rimraf": "^2.6.3"
}