diff --git a/apps/api/package.json b/apps/api/package.json index af009073654..312579eb9b9 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -94,14 +94,14 @@ "@types/bull": "^3.15.8", "@types/chai": "^4.2.11", "@types/express": "4.17.17", - "@types/mocha": "^8.2.3", + "@types/mocha": "^10.0.2", "@types/node": "^14.6.0", "@types/passport-github": "^1.1.5", "@types/passport-jwt": "^3.0.3", "@types/sinon": "^9.0.0", "@types/supertest": "^2.0.8", "chai": "^4.2.0", - "mocha": "^8.4.0", + "mocha": "^10.2.0", "nodemon": "^3.0.1", "sinon": "^9.2.4", "ts-loader": "~9.4.0", diff --git a/apps/inbound-mail/package.json b/apps/inbound-mail/package.json index b038ac0a439..6bed05dc73b 100644 --- a/apps/inbound-mail/package.json +++ b/apps/inbound-mail/package.json @@ -43,12 +43,12 @@ "@types/chai": "^4.2.11", "@types/express": "^4.17.8", "@types/html-to-text": "^9.0.1", - "@types/mocha": "^8.2.3", + "@types/mocha": "^10.0.2", "@types/node": "^14.14.6", "@types/sinon": "^9.0.0", "@types/smtp-server": "^3.5.7", "cross-env": "^7.0.3", - "mocha": "^8.4.0", + "mocha": "^10.2.0", "nodemon": "^3.0.1", "prettier": "~2.8.0", "sinon": "^9.2.4", diff --git a/apps/webhook/package.json b/apps/webhook/package.json index 5e97f5672b2..0c4cd868020 100644 --- a/apps/webhook/package.json +++ b/apps/webhook/package.json @@ -51,14 +51,14 @@ "@types/chai": "^4.3.4", "@types/express": "^4.17.8", "@types/jest": "^29.5.0", - "@types/mocha": "^8.0.1", + "@types/mocha": "^10.0.2", "@types/node": "^14.14.6", "@types/sinon": "^9.0.0", "@types/supertest": "^2.0.10", "chai": "^4.2.0", "cross-env": "^7.0.3", "jest": "^27.0.6", - "mocha": "^8.1.1", + "mocha": "^10.2.0", "nodemon": "^3.0.1", "prettier": "~2.8.0", "sinon": "^9.2.4", diff --git a/apps/worker/package.json b/apps/worker/package.json index 79791b46702..b985f503501 100644 --- a/apps/worker/package.json +++ b/apps/worker/package.json @@ -66,12 +66,12 @@ "@types/bcrypt": "^3.0.0", "@types/chai": "^4.2.11", "@types/express": "4.17.17", - "@types/mocha": "^8.0.1", + "@types/mocha": "^10.0.2", "@types/node": "^14.6.0", "@types/sinon": "^9.0.0", "@types/supertest": "^2.0.8", "chai": "^4.2.0", - "mocha": "^8.1.1", + "mocha": "^10.2.0", "nodemon": "^3.0.1", "sinon": "^9.2.4", "superagent-defaults": "^0.1.14", diff --git a/apps/ws/package.json b/apps/ws/package.json index b7375a6c373..dce1fc1ead6 100644 --- a/apps/ws/package.json +++ b/apps/ws/package.json @@ -57,13 +57,13 @@ "@types/chai": "^4.2.11", "@types/express": "^4.17.8", "@types/jsonwebtoken": "^8.5.9", - "@types/mocha": "^8.2.3", + "@types/mocha": "^10.0.2", "@types/node": "^14.14.6", "@types/socket.io": "^3.0.2", "@types/supertest": "^2.0.10", "chai": "^4.2.0", "cross-env": "^7.0.3", - "mocha": "^8.4.0", + "mocha": "^10.2.0", "nodemon": "^3.0.1", "prettier": "~2.8.0", "supertest": "^6.0.0", diff --git a/packages/cli/package.json b/packages/cli/package.json index 3ef99eaf9c8..8e11559583b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -25,7 +25,7 @@ "@types/analytics-node": "^3.1.9", "@types/configstore": "^5.0.1", "@types/inquirer": "^8.2.0", - "@types/mocha": "9.1.1", + "@types/mocha": "10.0.2", "ncp": "^2.0.0", "nodemon": "^3.0.1", "typescript": "4.9.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52b29420dd3..1e663a89cb8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -444,8 +444,8 @@ importers: specifier: 4.17.17 version: 4.17.17 '@types/mocha': - specifier: ^8.2.3 - version: 8.2.3 + specifier: ^10.0.2 + version: 10.0.2 '@types/node': specifier: ^14.6.0 version: 14.18.42 @@ -465,8 +465,8 @@ importers: specifier: ^4.2.0 version: 4.3.7 mocha: - specifier: ^8.4.0 - version: 8.4.0 + specifier: ^10.2.0 + version: 10.2.0 nodemon: specifier: ^3.0.1 version: 3.0.1 @@ -556,8 +556,8 @@ importers: specifier: ^9.0.1 version: 9.0.1 '@types/mocha': - specifier: ^8.2.3 - version: 8.2.3 + specifier: ^10.0.2 + version: 10.0.2 '@types/node': specifier: ^14.14.6 version: 14.18.42 @@ -571,8 +571,8 @@ importers: specifier: ^7.0.3 version: 7.0.3 mocha: - specifier: ^8.4.0 - version: 8.4.0 + specifier: ^10.2.0 + version: 10.2.0 nodemon: specifier: ^3.0.1 version: 3.0.1 @@ -1071,8 +1071,8 @@ importers: specifier: ^29.5.0 version: 29.5.1 '@types/mocha': - specifier: ^8.0.1 - version: 8.2.3 + specifier: ^10.0.2 + version: 10.0.2 '@types/node': specifier: ^14.14.6 version: 14.18.42 @@ -1092,8 +1092,8 @@ importers: specifier: ^27.0.6 version: 27.5.1(ts-node@10.9.1) mocha: - specifier: ^8.1.1 - version: 8.4.0 + specifier: ^10.2.0 + version: 10.2.0 nodemon: specifier: ^3.0.1 version: 3.0.1 @@ -1424,8 +1424,8 @@ importers: specifier: 4.17.17 version: 4.17.17 '@types/mocha': - specifier: ^8.0.1 - version: 8.2.3 + specifier: ^10.0.2 + version: 10.0.2 '@types/node': specifier: ^14.6.0 version: 14.18.42 @@ -1439,8 +1439,8 @@ importers: specifier: ^4.2.0 version: 4.3.7 mocha: - specifier: ^8.1.1 - version: 8.4.0 + specifier: ^10.2.0 + version: 10.2.0 nodemon: specifier: ^3.0.1 version: 3.0.1 @@ -1578,8 +1578,8 @@ importers: specifier: ^8.5.9 version: 8.5.9 '@types/mocha': - specifier: ^8.2.3 - version: 8.2.3 + specifier: ^10.0.2 + version: 10.0.2 '@types/node': specifier: ^14.14.6 version: 14.18.42 @@ -1596,8 +1596,8 @@ importers: specifier: ^7.0.3 version: 7.0.3 mocha: - specifier: ^8.4.0 - version: 8.4.0 + specifier: ^10.2.0 + version: 10.2.0 nodemon: specifier: ^3.0.1 version: 3.0.1 @@ -2299,8 +2299,8 @@ importers: specifier: ^8.2.0 version: 8.2.6 '@types/mocha': - specifier: 9.1.1 - version: 9.1.1 + specifier: 10.0.2 + version: 10.0.2 ncp: specifier: ^2.0.0 version: 2.0.0 @@ -3337,8 +3337,8 @@ importers: specifier: ^29.5.0 version: 29.5.1 '@types/mocha': - specifier: ^8.0.1 - version: 8.2.3 + specifier: ^10.0.2 + version: 10.0.2 codecov: specifier: ^3.5.0 version: 3.8.3 @@ -22630,7 +22630,7 @@ packages: resolution: {integrity: sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==} dependencies: '@types/express-serve-static-core': 4.17.33 - '@types/node': 20.8.6 + '@types/node': 14.18.42 /@types/connect@3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} @@ -23116,12 +23116,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/mocha@8.2.3: - resolution: {integrity: sha512-ekGvFhFgrc2zYQoX4JeZPmVzZxw6Dtllga7iGHzfbYIYkAMUx/sAFP2GdFpLff+vdHXu5fl7WX9AT+TtqYcsyw==} - dev: true - - /@types/mocha@9.1.1: - resolution: {integrity: sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==} + /@types/mocha@10.0.2: + resolution: {integrity: sha512-NaHL0+0lLNhX6d9rs+NSt97WH/gIlRHmszXbQ/8/MV/eVcFNdeJ/GYhrFuUc8K7WuPhRhTSdMkCp8VMzhUq85w==} dev: true /@types/ms@0.7.31: @@ -23969,10 +23965,6 @@ packages: resolution: {integrity: sha512-bYuSNomfn4hu2tPiDN+JZtnzCpSpbJ/PNeulmocDy3xN2X5OkJL65zo6rPZp65cPPhLF9vfT/dgE+RtFRCSxOA==} dev: false - /@ungap/promise-all-settled@1.1.2: - resolution: {integrity: sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==} - dev: true - /@vitejs/plugin-vue-jsx@3.0.1(vite@4.4.9)(vue@3.2.47): resolution: {integrity: sha512-+Jb7ggL48FSPS1uhPnJbJwWa9Sr90vQ+d0InW+AhBM22n+cfuYqJZDckBc+W3QSHe1WDvewMZfa4wZOtk5pRgw==} engines: {node: ^14.18.0 || >=16.0.0} @@ -24538,14 +24530,6 @@ packages: acorn: ^8 dependencies: acorn: 8.10.0 - dev: true - - /acorn-import-assertions@1.9.0(acorn@8.8.2): - resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} - peerDependencies: - acorn: ^8 - dependencies: - acorn: 8.8.2 /acorn-jsx@5.3.2(acorn@7.4.1): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} @@ -27105,21 +27089,6 @@ packages: - supports-color dev: true - /chokidar@3.5.1: - resolution: {integrity: sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==} - engines: {node: '>= 8.10.0'} - dependencies: - anymatch: 3.1.3 - braces: 3.0.2 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.5.0 - optionalDependencies: - fsevents: 2.3.3 - dev: true - /chokidar@3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} @@ -29073,19 +29042,6 @@ packages: ms: 2.1.3 supports-color: 8.1.1 - /debug@4.3.1(supports-color@8.1.1): - resolution: {integrity: sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.2 - supports-color: 8.1.1 - dev: true - /debug@4.3.3: resolution: {integrity: sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==} engines: {node: '>=6.0'} @@ -30468,7 +30424,7 @@ packages: eslint: 8.51.0 eslint-import-resolver-node: 0.3.7 eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-webpack@0.13.7)(eslint@8.51.0) - has: 1.0.3 + has: 1.0.4 is-core-module: 2.13.0 is-glob: 4.0.3 minimatch: 3.1.2 @@ -32942,11 +32898,6 @@ packages: dev: false optional: true - /growl@1.10.5: - resolution: {integrity: sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==} - engines: {node: '>=4.x'} - dev: true - /gtoken@5.3.2: resolution: {integrity: sha512-gkvEKREW7dXWF8NV8pVrKfW7WqReAmjjkMBh6lNCCGOM4ucS0r0YyXXl0r/9Yj8wcW/32ISkfc8h5mPTDbtifQ==} engines: {node: '>=10'} @@ -35939,13 +35890,6 @@ packages: argparse: 1.0.10 esprima: 4.0.1 - /js-yaml@4.0.0: - resolution: {integrity: sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==} - hasBin: true - dependencies: - argparse: 2.0.1 - dev: true - /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -37049,13 +36993,6 @@ packages: chalk: 1.1.3 dev: true - /log-symbols@4.0.0: - resolution: {integrity: sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==} - engines: {node: '>=10'} - dependencies: - chalk: 4.1.2 - dev: true - /log-symbols@4.1.0: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} @@ -38415,38 +38352,6 @@ packages: yargs-unparser: 2.0.0 dev: true - /mocha@8.4.0: - resolution: {integrity: sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ==} - engines: {node: '>= 10.12.0'} - hasBin: true - dependencies: - '@ungap/promise-all-settled': 1.1.2 - ansi-colors: 4.1.1 - browser-stdout: 1.3.1 - chokidar: 3.5.1 - debug: 4.3.1(supports-color@8.1.1) - diff: 5.0.0 - escape-string-regexp: 4.0.0 - find-up: 5.0.0 - glob: 7.1.6 - growl: 1.10.5 - he: 1.2.0 - js-yaml: 4.0.0 - log-symbols: 4.0.0 - minimatch: 3.1.2 - ms: 2.1.3 - nanoid: 3.3.6 - serialize-javascript: 5.0.1 - strip-json-comments: 3.1.1 - supports-color: 8.1.1 - which: 2.0.2 - wide-align: 1.1.3 - workerpool: 6.1.0 - yargs: 16.2.0 - yargs-parser: 20.2.4 - yargs-unparser: 2.0.0 - dev: true - /modify-values@1.0.1: resolution: {integrity: sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==} engines: {node: '>=0.10.0'} @@ -43818,13 +43723,6 @@ packages: - supports-color dev: true - /readdirp@3.5.0: - resolution: {integrity: sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==} - engines: {node: '>=8.10.0'} - dependencies: - picomatch: 2.3.1 - dev: true - /readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} @@ -44498,7 +44396,7 @@ packages: jest-worker: 26.6.2 rollup: 2.79.1 serialize-javascript: 4.0.0 - terser: 5.16.9 + terser: 5.21.0 dev: true /rollup-plugin-terser@7.0.2(rollup@3.20.2): @@ -44985,12 +44883,6 @@ packages: randombytes: 2.1.0 dev: true - /serialize-javascript@5.0.1: - resolution: {integrity: sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==} - dependencies: - randombytes: 2.1.0 - dev: true - /serialize-javascript@6.0.0: resolution: {integrity: sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==} dependencies: @@ -49009,8 +48901,8 @@ packages: '@webassemblyjs/ast': 1.11.1 '@webassemblyjs/wasm-edit': 1.11.1 '@webassemblyjs/wasm-parser': 1.11.1 - acorn: 8.8.2 - acorn-import-assertions: 1.9.0(acorn@8.8.2) + acorn: 8.10.0 + acorn-import-assertions: 1.9.0(acorn@8.10.0) browserslist: 4.21.10 chrome-trace-event: 1.0.3 enhanced-resolve: 5.15.0 @@ -49049,8 +48941,8 @@ packages: '@webassemblyjs/ast': 1.11.1 '@webassemblyjs/wasm-edit': 1.11.1 '@webassemblyjs/wasm-parser': 1.11.1 - acorn: 8.8.2 - acorn-import-assertions: 1.9.0(acorn@8.8.2) + acorn: 8.10.0 + acorn-import-assertions: 1.9.0(acorn@8.10.0) browserslist: 4.21.10 chrome-trace-event: 1.0.3 enhanced-resolve: 5.15.0 @@ -49283,12 +49175,6 @@ packages: isexe: 2.0.0 dev: true - /wide-align@1.1.3: - resolution: {integrity: sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==} - dependencies: - string-width: 2.1.1 - dev: true - /wide-align@1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} dependencies: @@ -49526,10 +49412,6 @@ packages: workbox-core: 6.5.4 dev: true - /workerpool@6.1.0: - resolution: {integrity: sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg==} - dev: true - /workerpool@6.2.1: resolution: {integrity: sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==} dev: true @@ -49864,7 +49746,7 @@ packages: require-directory: 2.1.1 string-width: 4.2.3 y18n: 5.0.8 - yargs-parser: 20.2.4 + yargs-parser: 20.2.9 dev: true /yargs@17.6.2: diff --git a/providers/fcm/package.json b/providers/fcm/package.json index 9f16f369337..6cd525f369d 100644 --- a/providers/fcm/package.json +++ b/providers/fcm/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", "@types/jest": "^29.5.0", - "@types/mocha": "^8.0.1", + "@types/mocha": "^10.0.2", "codecov": "^3.5.0", "cspell": "^4.1.0", "eslint": "7.32.0",