Merge pull request #11170 from overleaf/em-upgrade-mocha

Upgrade mocha to 10.2.0

GitOrigin-RevId: e49606c73e813904d9b794792a838a951a814585
This commit is contained in:
Eric Mc Sween 2023-01-16 10:55:29 -05:00 committed by Copybot
parent 36107e6856
commit d01e83b453
22 changed files with 222 additions and 1620 deletions

View file

@ -13,15 +13,14 @@
},
"author": "",
"license": "AGPL-3.0-only",
"dependencies": {},
"peerDependencies": {
"@overleaf/logger": "*"
},
"devDependencies": {
"@overleaf/logger": "*",
"bunyan": "^1.8.15",
"chai": "^4.3.6",
"@overleaf/logger": "*",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"nock": "0.15.2",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4"

View file

@ -25,7 +25,7 @@
},
"devDependencies": {
"chai": "^4.3.6",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4",
"sinon-chai": "^3.7.0"

View file

@ -26,7 +26,7 @@
"devDependencies": {
"bunyan": "^1.0.0",
"chai": "^4.3.6",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4"
},

View file

@ -41,9 +41,8 @@
"chai": "^4.3.6",
"jsdoc-to-markdown": "^7.1.0",
"markdown-toc": "^1.2.0",
"mocha": "^9.1.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"typescript": "^4.5.4"
},
"dependencies": {}
}
}

View file

@ -34,7 +34,7 @@
"@overleaf/logger": "*",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"mock-fs": "^5.2.0",
"mongodb": "^3.5.9",
"sandboxed-module": "^2.0.4",

View file

@ -19,7 +19,7 @@
"@types/bluebird": "^3.5.30",
"chai": "^3.3.0",
"istanbul": "^0.4.5",
"mocha": "^6.1.4",
"mocha": "^10.2.0",
"typescript": "^4.5.5"
},
"dependencies": {

View file

@ -16,6 +16,6 @@
"test:ci": "npm run test"
},
"devDependencies": {
"mocha": "^10.0.0"
"mocha": "^10.2.0"
}
}

View file

@ -33,7 +33,7 @@
"@overleaf/logger": "*",
"@overleaf/o-error": "*",
"chai": "^4.3.6",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4"
}

1794
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -31,7 +31,7 @@
"ajv": "^6.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"request": "^2.88.2",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4",

View file

@ -37,7 +37,7 @@
"devDependencies": {
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"mock-fs": "^5.1.2",
"sandboxed-module": "^2.0.4",
"sinon": "~9.0.1",

View file

@ -32,7 +32,7 @@
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"esmock": "^2.1.0",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sinon": "~9.0.1",
"sinon-chai": "^3.7.0"
}

View file

@ -37,7 +37,7 @@
"@google-cloud/storage": "^5.1.2",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sandboxed-module": "~2.0.4",
"sinon": "~9.0.2",
"sinon-chai": "^3.7.0"

View file

@ -36,7 +36,7 @@
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cluster-key-slot": "^1.0.5",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4",
"timekeeper": "^2.0.0"

View file

@ -40,7 +40,7 @@
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"disrequire": "^1.1.0",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"mongodb": "^3.5.9",
"sandboxed-module": "2.0.4",
"sinon": "9.0.2",

View file

@ -43,7 +43,7 @@
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"istanbul": "^0.4.5",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"node-fetch": "^2.6.7",
"sinon": "^9.0.2",
"swagger-client": "^3.10.0",

View file

@ -32,7 +32,7 @@
"devDependencies": {
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4"
}

View file

@ -49,7 +49,7 @@
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"memorystream": "0.3.1",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"multer": "^1.4.2",
"nock": "^12.0.3",
"sinon": "~9.0.1",

View file

@ -40,7 +40,7 @@
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cookie-signature": "^1.1.0",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sandboxed-module": "~0.3.0",
"sinon": "^9.2.4",
"timekeeper": "0.0.4",

View file

@ -39,7 +39,7 @@
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"esmock": "^2.1.0",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sinon": "^9.2.4"
}
}

View file

@ -46,7 +46,7 @@
"chai-as-promised": "^7.1.1",
"cli": "^1.0.1",
"memorystream": "0.3.1",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"sandboxed-module": "~2.0.3",
"sinon": "~9.0.1",
"timekeeper": "2.2.0"

View file

@ -309,7 +309,7 @@
"less-plugin-autoprefix": "^2.0.0",
"mensch": "^0.3.4",
"mini-css-extract-plugin": "^2.6.0",
"mocha": "^8.4.0",
"mocha": "^10.2.0",
"mock-fs": "^5.1.2",
"nock": "^13.1.1",
"node-fetch": "^2.6.7",