Fix some npm audit issues

This also removes `mocha` from examples that were not using them since mocha pulls in lots of deps that then have security advisories
This commit is contained in:
Matt Bierner
2022-09-27 09:34:52 -07:00
parent 654b80a38b
commit 519619525e
20 changed files with 453 additions and 6969 deletions

File diff suppressed because it is too large Load Diff

View File

@ -33,12 +33,10 @@
"watch:extension": "tsc -b --watch",
"watch:client": "webpack --mode development --watch",
"dev": "concurrently -r npm:watch:extension npm:watch:client",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
"pretest": "npm run compile && npm run lint"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "^16.11.7",
"@types/react": "^17.0.15",
"@types/react-dom": "^17.0.9",
@ -52,7 +50,6 @@
"eslint": "^8.13.0",
"fork-ts-checker-webpack-plugin": "^5.0.14",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"style-loader": "^1.2.1",