From fc4ea012210e586dfa846a0b815f72ab9051238e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:53:55 +0000 Subject: [PATCH] Update dependency mocha to v11 --- package.json | 2 +- pnpm-lock.yaml | 149 ++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 118 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index f02c87b..fee433b 100755 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "eslint": "^9.2.0", "eslint-config-prettier": "^9.1.0", "genversion": "^3.2.0", - "mocha": "^10.4.0", + "mocha": "^11.0.0", "prettier": "^3.2.5", "rimraf": "^6.0.0", "ts-patch": "^3.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 239c9ef..3b08af2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,7 +44,7 @@ importers: version: 0.4.14 aegir: specifier: ^45.0.0 - version: 45.0.6(@babel/core@7.26.0)(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-n@16.6.2(eslint@9.16.0)) + version: 45.0.6(@babel/core@7.26.0)(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint-plugin-n@16.6.2(eslint@9.16.0)) eslint: specifier: ^9.2.0 version: 9.16.0 @@ -55,8 +55,8 @@ importers: specifier: ^3.2.0 version: 3.2.0 mocha: - specifier: ^10.4.0 - version: 10.8.2 + specifier: ^11.0.0 + version: 11.0.1 prettier: specifier: ^3.2.5 version: 3.4.1 @@ -6234,6 +6234,11 @@ packages: engines: {node: '>= 14.0.0'} hasBin: true + mocha@11.0.1: + resolution: {integrity: sha512-+3GkODfsDG71KSCQhc4IekSW+ItCK/kiez1Z28ksWvYhKXV/syxMlerR/sC7whDp7IyreZ4YxceMLdTs5hQE8A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + hasBin: true + module-error@1.0.2: resolution: {integrity: sha512-0yuvsqSCv8LbaOKhnsQ/T5JhyFlCYLPXK3U2sgV10zoKQwzs/MyfuQUOZQ1V/6OCOJsK/TRgNVrPuPDqtdMFtA==} engines: {node: '>=10'} @@ -9821,7 +9826,7 @@ snapshots: it-length-prefixed: 9.1.0 it-pipe: 3.0.1 it-pushable: 3.2.3 - multiformats: 13.0.1 + multiformats: 13.3.1 protobufjs: 7.4.0 uint8arraylist: 2.4.8 uint8arrays: 5.1.0 @@ -10432,7 +10437,7 @@ snapshots: ipfs-bitswap: 20.0.2 it-filter: 3.1.1 it-foreach: 2.1.1 - multiformats: 13.0.1 + multiformats: 13.3.1 progress-events: 1.0.1 uint8arrays: 5.1.0 @@ -10509,7 +10514,7 @@ snapshots: interface-datastore: 8.3.1 interface-store: 5.1.8 ipfs-bitswap: 20.0.2 - multiformats: 13.0.1 + multiformats: 13.3.1 progress-events: 1.0.1 '@helia/interface@4.3.1': @@ -11791,7 +11796,7 @@ snapshots: dependencies: '@chainsafe/is-ip': 2.0.2 '@multiformats/multiaddr': 12.3.3 - multiformats: 13.0.1 + multiformats: 13.3.1 '@multiformats/multiaddr-to-uri@10.1.2': dependencies: @@ -11816,7 +11821,7 @@ snapshots: '@chainsafe/is-ip': 2.0.2 '@chainsafe/netmask': 2.0.0 '@multiformats/dns': 1.0.6 - multiformats: 13.0.1 + multiformats: 13.3.1 uint8-varint: 2.0.4 uint8arrays: 5.1.0 @@ -12791,10 +12796,10 @@ snapshots: '@types/node': 22.10.1 optional: true - '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/parser': 8.17.0(eslint@9.16.0)(typescript@5.6.3) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.6.3) '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.6.3) @@ -12809,6 +12814,24 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0)(typescript@5.6.3)': + dependencies: + '@eslint-community/regexpp': 4.12.1 + '@typescript-eslint/parser': 8.17.0(eslint@9.16.0)(typescript@5.6.3) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/visitor-keys': 7.18.0 + eslint: 9.16.0 + graphemer: 1.4.0 + ignore: 5.3.2 + natural-compare: 1.4.0 + ts-api-utils: 1.4.2(typescript@5.6.3) + optionalDependencies: + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/eslint-plugin@8.17.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0)(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.12.1 @@ -13191,7 +13214,7 @@ snapshots: acorn@8.14.0: {} - aegir@45.0.6(@babel/core@7.26.0)(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-n@16.6.2(eslint@9.16.0)): + aegir@45.0.6(@babel/core@7.26.0)(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint-plugin-n@16.6.2(eslint@9.16.0)): dependencies: '@electron/get': 3.1.0 '@polka/send-type': 0.5.2 @@ -13207,7 +13230,7 @@ snapshots: '@types/chai-subset': 1.3.5 '@types/mocha': 10.0.10 '@types/node': 20.17.9 - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) buffer: 6.0.3 bytes: 3.1.2 c8: 10.1.2 @@ -13227,7 +13250,7 @@ snapshots: eslint: 8.57.1 eslint-config-ipfs: 7.0.6(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint@8.57.1)(typescript@5.6.3) eslint-plugin-etc: 2.0.3(eslint@8.57.1)(typescript@5.6.3) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1) eslint-plugin-jsdoc: 48.11.0(eslint@8.57.1) eslint-plugin-node: 11.1.0(eslint@8.57.1) eslint-plugin-promise: 6.6.0(eslint@8.57.1) @@ -13618,7 +13641,7 @@ snapshots: it-filter: 3.1.1 it-merge: 3.0.5 it-pushable: 3.2.3 - multiformats: 13.0.1 + multiformats: 13.3.1 blockstore-core@5.0.2: dependencies: @@ -13637,7 +13660,7 @@ snapshots: interface-blockstore: 5.3.1 interface-store: 5.1.8 level: 8.0.1 - multiformats: 13.0.1 + multiformats: 13.3.1 boolean@3.2.0: optional: true @@ -14706,12 +14729,12 @@ snapshots: eslint-config-ipfs@7.0.6(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint@8.57.1)(typescript@5.6.3): dependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0)(typescript@5.6.3) '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.6.3) - eslint-config-love: 47.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.6.3) - eslint-config-standard: 17.1.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1) + eslint-config-love: 47.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.6.3) + eslint-config-standard: 17.1.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-etc: 2.0.3(eslint@8.57.1)(typescript@5.6.3) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0) eslint-plugin-jsdoc: 48.11.0(eslint@8.57.1) eslint-plugin-no-only-tests: 3.3.0 eslint-plugin-node: 11.1.0(eslint@8.57.1) @@ -14725,12 +14748,12 @@ snapshots: - eslint-plugin-n - supports-color - eslint-config-love@47.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.6.3): + eslint-config-love@47.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.6.3): dependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0)(typescript@5.6.3) '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.6.3) eslint: 8.57.1 - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0) eslint-plugin-n: 16.6.2(eslint@9.16.0) eslint-plugin-promise: 6.6.0(eslint@8.57.1) typescript: 5.6.3 @@ -14741,10 +14764,10 @@ snapshots: dependencies: eslint: 9.16.0 - eslint-config-standard@17.1.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1): + eslint-config-standard@17.1.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-n@16.6.2(eslint@9.16.0))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1): dependencies: eslint: 8.57.1 - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0) eslint-plugin-n: 16.6.2(eslint@9.16.0) eslint-plugin-promise: 6.6.0(eslint@8.57.1) @@ -14766,7 +14789,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: @@ -14776,6 +14799,16 @@ snapshots: transitivePeerDependencies: - supports-color + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): + dependencies: + debug: 3.2.7 + optionalDependencies: + '@typescript-eslint/parser': 8.17.0(eslint@9.16.0)(typescript@5.6.3) + eslint: 8.57.1 + eslint-import-resolver-node: 0.3.9 + transitivePeerDependencies: + - supports-color + eslint-plugin-es-x@7.8.0(eslint@9.16.0): dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@9.16.0) @@ -14802,7 +14835,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -14813,7 +14846,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@7.18.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -14825,7 +14858,36 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/parser': 8.17.0(eslint@9.16.0)(typescript@5.6.3) + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0)(typescript@5.6.3))(eslint@9.16.0): + dependencies: + '@rtsao/scc': 1.1.0 + array-includes: 3.1.8 + array.prototype.findlastindex: 1.2.5 + array.prototype.flat: 1.3.2 + array.prototype.flatmap: 1.3.2 + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 9.16.0 + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.12.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) + hasown: 2.0.2 + is-core-module: 2.15.1 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.0 + semver: 6.3.1 + string.prototype.trimend: 1.0.8 + tsconfig-paths: 3.15.0 + optionalDependencies: + '@typescript-eslint/parser': 8.17.0(eslint@9.16.0)(typescript@5.6.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -15683,7 +15745,7 @@ snapshots: it-drain: 3.0.7 libp2p: 1.9.4 mortice: 3.0.6 - multiformats: 13.0.1 + multiformats: 13.3.1 progress-events: 1.0.1 uint8arrays: 5.1.0 transitivePeerDependencies: @@ -15932,7 +15994,7 @@ snapshots: it-pipe: 3.0.1 it-take: 3.0.6 just-debounce-it: 3.2.0 - multiformats: 13.0.1 + multiformats: 13.3.1 progress-events: 1.0.1 protons-runtime: 5.5.0 timeout-abort-controller: 3.0.0 @@ -16025,7 +16087,7 @@ snapshots: cborg: 4.2.6 err-code: 3.0.1 interface-datastore: 8.3.1 - multiformats: 13.0.1 + multiformats: 13.3.1 protons-runtime: 5.5.0 timestamp-nano: 1.0.1 uint8arraylist: 2.4.8 @@ -17603,6 +17665,29 @@ snapshots: yargs-parser: 20.2.9 yargs-unparser: 2.0.0 + mocha@11.0.1: + dependencies: + ansi-colors: 4.1.3 + browser-stdout: 1.3.1 + chokidar: 3.6.0 + debug: 4.3.7(supports-color@8.1.1) + diff: 5.2.0 + escape-string-regexp: 4.0.0 + find-up: 5.0.0 + glob: 10.4.5 + he: 1.2.0 + js-yaml: 4.1.0 + log-symbols: 4.1.0 + minimatch: 5.1.6 + ms: 2.1.3 + serialize-javascript: 6.0.2 + strip-json-comments: 3.1.1 + supports-color: 8.1.1 + workerpool: 6.5.1 + yargs: 16.2.0 + yargs-parser: 20.2.9 + yargs-unparser: 2.0.0 + module-error@1.0.2: {} mortice@3.0.6: @@ -20154,7 +20239,7 @@ snapshots: wide-align@1.1.5: dependencies: - string-width: 1.0.2 + string-width: 4.2.3 winston@2.4.7: dependencies: