From 7e9913c9b4d310cdfff4d2c05b46adcabc3bdf3b Mon Sep 17 00:00:00 2001 From: Tom French Date: Fri, 8 Nov 2024 04:04:25 +0000 Subject: [PATCH 1/2] chore: update linter setup --- .eslintrc.js | 8 ++++++++ acvm-repo/acvm_js/.eslintignore | 4 +++- acvm-repo/acvm_js/.eslintrc.js | 2 +- acvm-repo/acvm_js/package.json | 2 +- acvm-repo/acvm_js/test/node/build_info.test.ts | 2 +- compiler/integration-tests/package.json | 2 +- compiler/wasm/package.json | 2 +- compiler/wasm/src/noir/noir-wasm-compiler.ts | 2 +- compiler/wasm/src/noir/package.ts | 1 - tooling/noir_codegen/package.json | 2 +- tooling/noir_js/package.json | 2 +- tooling/noir_js/test/node/smoke.test.ts | 2 +- tooling/noir_js_types/.eslintignore | 1 + tooling/noir_js_types/package.json | 2 +- tooling/noirc_abi_wasm/package.json | 2 +- 15 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 0f20016d862..b8c80753c4e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,4 +21,12 @@ module.exports = { ], 'prettier/prettier': 'error', }, + overrides: [ + { + files: ['*.test.ts'], + rules: { + '@typescript-eslint/no-unused-expressions': 'off', + }, + }, + ], }; diff --git a/acvm-repo/acvm_js/.eslintignore b/acvm-repo/acvm_js/.eslintignore index 200ae222150..031bed5f319 100644 --- a/acvm-repo/acvm_js/.eslintignore +++ b/acvm-repo/acvm_js/.eslintignore @@ -1,2 +1,4 @@ node_modules -pkg \ No newline at end of file +pkg +nodejs +web diff --git a/acvm-repo/acvm_js/.eslintrc.js b/acvm-repo/acvm_js/.eslintrc.js index 33335c2a877..5a2cc7f1ec0 100644 --- a/acvm-repo/acvm_js/.eslintrc.js +++ b/acvm-repo/acvm_js/.eslintrc.js @@ -1,3 +1,3 @@ module.exports = { - extends: ["../../.eslintrc.js"], + extends: ['../../.eslintrc.js'], }; diff --git a/acvm-repo/acvm_js/package.json b/acvm-repo/acvm_js/package.json index 163ea553169..0ff08636ecc 100644 --- a/acvm-repo/acvm_js/package.json +++ b/acvm-repo/acvm_js/package.json @@ -31,7 +31,7 @@ "build": "bash ./build.sh", "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha", "test:browser": "web-test-runner", - "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0", + "lint": "NODE_NO_WARNINGS=1 ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0", "publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish", "nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json", "clean": "chmod u+w web nodejs || true && rm -rf web nodejs" diff --git a/acvm-repo/acvm_js/test/node/build_info.test.ts b/acvm-repo/acvm_js/test/node/build_info.test.ts index 014bb6f422d..5fbfdb7a9bd 100644 --- a/acvm-repo/acvm_js/test/node/build_info.test.ts +++ b/acvm-repo/acvm_js/test/node/build_info.test.ts @@ -8,7 +8,7 @@ it('returns the correct build info', () => { try { revision = child_process.execSync('git rev-parse HEAD').toString().trim(); - } catch (error) { + } catch (_error) { console.log('Failed to get revision, skipping test.'); return; } diff --git a/compiler/integration-tests/package.json b/compiler/integration-tests/package.json index a438c2965c3..85a4e1cda51 100644 --- a/compiler/integration-tests/package.json +++ b/compiler/integration-tests/package.json @@ -10,7 +10,7 @@ "test:browser": "web-test-runner", "test:integration:browser": "web-test-runner test/browser/**/*.test.ts", "test:integration:browser:watch": "web-test-runner test/browser/**/*.test.ts --watch", - "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0" + "lint": "NODE_NO_WARNINGS=1 ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0" }, "dependencies": { "@aztec/bb.js": "0.61.0", diff --git a/compiler/wasm/package.json b/compiler/wasm/package.json index bbb3b1ede01..aaab8694e4f 100644 --- a/compiler/wasm/package.json +++ b/compiler/wasm/package.json @@ -39,7 +39,7 @@ "clean": "rm -rf ./build ./target ./dist public/fixtures/simple/target public/fixtures/with-deps/target", "nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json", "publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish", - "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0" + "lint": "NODE_NO_WARNINGS=1 ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0" }, "devDependencies": { "@esm-bundle/chai": "^4.3.4-fix.0", diff --git a/compiler/wasm/src/noir/noir-wasm-compiler.ts b/compiler/wasm/src/noir/noir-wasm-compiler.ts index 1fe3c79eae7..0a7dc354365 100644 --- a/compiler/wasm/src/noir/noir-wasm-compiler.ts +++ b/compiler/wasm/src/noir/noir-wasm-compiler.ts @@ -182,7 +182,7 @@ export class NoirWasmCompiler { try { const libFile = this.#dependencyManager.findFile(path); return await this.#fm.readFile(libFile ?? path, 'utf-8'); - } catch (err) { + } catch (_err) { return ''; } } diff --git a/compiler/wasm/src/noir/package.ts b/compiler/wasm/src/noir/package.ts index 2856798273a..59f2ce2428d 100644 --- a/compiler/wasm/src/noir/package.ts +++ b/compiler/wasm/src/noir/package.ts @@ -28,7 +28,6 @@ export class Package { #packagePath: string; #srcPath: string; #config: PackageConfig; - #version: string | null = null; public constructor(path: string, srcDir: string, config: PackageConfig) { this.#packagePath = path; diff --git a/tooling/noir_codegen/package.json b/tooling/noir_codegen/package.json index 24bc6368572..e3c97127eb9 100644 --- a/tooling/noir_codegen/package.json +++ b/tooling/noir_codegen/package.json @@ -40,7 +40,7 @@ "test:clean": "rm -rf ./test/codegen ./test/test_lib/export", "prettier": "prettier 'src/**/*.ts'", "prettier:fix": "prettier --write 'src/**/*.ts' 'test/**/*.ts'", - "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0", + "lint": "NODE_NO_WARNINGS=1 ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0", "nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json", "publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish", "clean": "rm -rf ./lib" diff --git a/tooling/noir_js/package.json b/tooling/noir_js/package.json index 1d3da4e7a54..b70e9253ba0 100644 --- a/tooling/noir_js/package.json +++ b/tooling/noir_js/package.json @@ -43,7 +43,7 @@ "test:node:cjs": "mocha --timeout 25000 --exit --config ./.mocharc.cjs.json", "prettier": "prettier 'src/**/*.ts'", "prettier:fix": "prettier --write 'src/**/*.ts' 'test/**/*.ts'", - "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0", + "lint": "NODE_NO_WARNINGS=1 ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0", "nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json", "publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish", "clean": "rm -rf ./lib" diff --git a/tooling/noir_js/test/node/smoke.test.ts b/tooling/noir_js/test/node/smoke.test.ts index 6993a44f66e..54b1c4dd262 100644 --- a/tooling/noir_js/test/node/smoke.test.ts +++ b/tooling/noir_js/test/node/smoke.test.ts @@ -51,7 +51,7 @@ it('0x prefixed string input for inputs will throw', async () => { try { await new Noir(assert_lt_program).execute(inputsHexPrefix); expect.fail('Expected generatedWitness to throw, due to inputs being prefixed with 0x. Currently not supported'); - } catch (error) { + } catch (_error) { // Successfully errored due to 0x not being supported. Update this test once/if we choose // to support 0x prefixed inputs. } diff --git a/tooling/noir_js_types/.eslintignore b/tooling/noir_js_types/.eslintignore index 3c3629e647f..491fc35975b 100644 --- a/tooling/noir_js_types/.eslintignore +++ b/tooling/noir_js_types/.eslintignore @@ -1 +1,2 @@ node_modules +lib diff --git a/tooling/noir_js_types/package.json b/tooling/noir_js_types/package.json index 5192a6cd02d..8dbf4a8ddc9 100644 --- a/tooling/noir_js_types/package.json +++ b/tooling/noir_js_types/package.json @@ -28,7 +28,7 @@ "build": "yarn run build:cjs && yarn run build:esm", "nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json", "publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish", - "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0", + "lint": "NODE_NO_WARNINGS=1 ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0", "clean": "rm -rf ./lib" }, "exports": { diff --git a/tooling/noirc_abi_wasm/package.json b/tooling/noirc_abi_wasm/package.json index 7e4500ec29b..d86128b1289 100644 --- a/tooling/noirc_abi_wasm/package.json +++ b/tooling/noirc_abi_wasm/package.json @@ -33,7 +33,7 @@ "clean": "chmod u+w web nodejs || true && rm -rf ./nodejs ./web ./target ./result", "nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json", "publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish", - "lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0" + "lint": "NODE_NO_WARNINGS=1 ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0" }, "dependencies": { "@noir-lang/types": "workspace:*" From 844e4dca36bbbfc574aa1a6e5b5bca60232bb03a Mon Sep 17 00:00:00 2001 From: Tom French Date: Fri, 8 Nov 2024 04:06:03 +0000 Subject: [PATCH 2/2] chore: version bumps --- acvm-repo/acvm_js/package.json | 6 +- compiler/integration-tests/package.json | 6 +- compiler/wasm/package.json | 10 +- docs/package.json | 6 +- package.json | 6 +- tooling/noir_codegen/package.json | 12 +- tooling/noir_js/package.json | 12 +- tooling/noir_js_types/package.json | 8 +- tooling/noirc_abi_wasm/package.json | 2 +- yarn.lock | 162 +++++++++++++----------- 10 files changed, 122 insertions(+), 108 deletions(-) diff --git a/acvm-repo/acvm_js/package.json b/acvm-repo/acvm_js/package.json index 0ff08636ecc..f00c1d79b25 100644 --- a/acvm-repo/acvm_js/package.json +++ b/acvm-repo/acvm_js/package.json @@ -42,10 +42,10 @@ "@web/test-runner": "^0.18.1", "@web/test-runner-playwright": "^0.11.0", "chai": "^4.4.1", - "eslint": "^8.57.0", - "eslint-plugin-prettier": "^5.1.3", + "eslint": "^8.57.1", + "eslint-plugin-prettier": "^5.2.1", "mocha": "^10.2.0", - "prettier": "3.2.5", + "prettier": "3.3.3", "ts-node": "^10.9.1", "typescript": "^5.4.2" } diff --git a/compiler/integration-tests/package.json b/compiler/integration-tests/package.json index 85a4e1cda51..79c32ebe031 100644 --- a/compiler/integration-tests/package.json +++ b/compiler/integration-tests/package.json @@ -22,11 +22,11 @@ "@web/dev-server-import-maps": "^0.2.0", "@web/test-runner": "^0.18.1", "@web/test-runner-playwright": "^0.11.0", - "eslint": "^8.57.0", - "eslint-plugin-prettier": "^5.1.3", + "eslint": "^8.57.1", + "eslint-plugin-prettier": "^5.2.1", "ethers": "^6.7.1", "hardhat": "^2.22.6", - "prettier": "3.2.5", + "prettier": "3.3.3", "smol-toml": "^1.1.2", "toml": "^3.0.0", "tslog": "^4.9.2" diff --git a/compiler/wasm/package.json b/compiler/wasm/package.json index aaab8694e4f..20108183cea 100644 --- a/compiler/wasm/package.json +++ b/compiler/wasm/package.json @@ -46,9 +46,9 @@ "@ltd/j-toml": "^1.38.0", "@types/adm-zip": "^0.5.0", "@types/chai": "^4", - "@types/mocha": "^10.0.6", + "@types/mocha": "^10.0.9", "@types/mocha-each": "^2", - "@types/node": "^20.10.5", + "@types/node": "^20.17.6", "@types/pako": "^2", "@types/path-browserify": "^1", "@types/readable-stream": "^4", @@ -62,14 +62,14 @@ "browserify-fs": "^1.0.0", "chai": "^4.4.1", "copy-webpack-plugin": "^12.0.2", - "eslint": "^8.57.0", - "eslint-plugin-prettier": "^5.1.3", + "eslint": "^8.57.1", + "eslint-plugin-prettier": "^5.2.1", "html-webpack-plugin": "^5.6.0", "memfs": "^4.6.0", "mocha": "^10.2.0", "mocha-each": "^2.0.1", "path-browserify": "^1.0.1", - "prettier": "3.2.5", + "prettier": "3.3.3", "process": "^0.11.10", "readable-stream": "^4.4.2", "sinon": "^17.0.1", diff --git a/docs/package.json b/docs/package.json index 39807588eaa..c7e89b987c5 100644 --- a/docs/package.json +++ b/docs/package.json @@ -34,10 +34,10 @@ "@docusaurus/module-type-aliases": "^3.5.2", "@docusaurus/tsconfig": "^3.5.2", "@docusaurus/types": "^3.5.2", - "@types/prettier": "^3", + "@types/prettier": "^3.0.0", "docusaurus-plugin-typedoc": "1.0.0-next.18", - "eslint-plugin-prettier": "^5.1.3", - "prettier": "3.2.5", + "eslint-plugin-prettier": "^5.2.1", + "prettier": "3.3.3", "serve": "^14.2.1", "ts-node": "^10.9.1", "typedoc": "^0.25.0", diff --git a/package.json b/package.json index 00036838f9b..cdac64ec600 100644 --- a/package.json +++ b/package.json @@ -30,10 +30,10 @@ "@typescript-eslint/parser": "^6.7.3", "chai": "^4.4.1", "cspell": "^8.3.2", - "eslint": "^8.57.0", - "eslint-plugin-prettier": "^5.1.3", + "eslint": "^8.57.1", + "eslint-plugin-prettier": "^5.2.1", "mocha": "^10.2.0", - "prettier": "3.2.5", + "prettier": "3.3.3", "ts-node": "^10.9.1", "typescript": "^5.4.2" }, diff --git a/tooling/noir_codegen/package.json b/tooling/noir_codegen/package.json index e3c97127eb9..cec79b40179 100644 --- a/tooling/noir_codegen/package.json +++ b/tooling/noir_codegen/package.json @@ -48,14 +48,14 @@ "devDependencies": { "@noir-lang/noir_js": "workspace:*", "@types/chai": "^4", - "@types/mocha": "^10.0.1", - "@types/node": "^20.6.2", - "@types/prettier": "^3", + "@types/mocha": "^10.0.9", + "@types/node": "^20.17.6", + "@types/prettier": "^3.0.0", "chai": "^4.4.1", - "eslint": "^8.57.0", - "eslint-plugin-prettier": "^5.1.3", + "eslint": "^8.57.1", + "eslint-plugin-prettier": "^5.2.1", "mocha": "^10.2.0", - "prettier": "3.2.5", + "prettier": "3.3.3", "ts-node": "^10.9.1", "tsx": "^4.6.2", "typescript": "^5.4.2" diff --git a/tooling/noir_js/package.json b/tooling/noir_js/package.json index b70e9253ba0..6f06f931370 100644 --- a/tooling/noir_js/package.json +++ b/tooling/noir_js/package.json @@ -50,14 +50,14 @@ }, "devDependencies": { "@types/chai": "^4", - "@types/mocha": "^10.0.1", - "@types/node": "^20.6.2", - "@types/prettier": "^3", + "@types/mocha": "^10.0.9", + "@types/node": "^20.17.6", + "@types/prettier": "^3.0.0", "chai": "^4.4.1", - "eslint": "^8.57.0", - "eslint-plugin-prettier": "^5.1.3", + "eslint": "^8.57.1", + "eslint-plugin-prettier": "^5.2.1", "mocha": "^10.2.0", - "prettier": "3.2.5", + "prettier": "3.3.3", "ts-node": "^10.9.1", "tsc-multi": "^1.1.0", "tsx": "^4.6.2", diff --git a/tooling/noir_js_types/package.json b/tooling/noir_js_types/package.json index 8dbf4a8ddc9..cc27cf6ce97 100644 --- a/tooling/noir_js_types/package.json +++ b/tooling/noir_js_types/package.json @@ -39,10 +39,10 @@ } }, "devDependencies": { - "@types/prettier": "^3", - "eslint": "^8.57.0", - "eslint-plugin-prettier": "^5.1.3", - "prettier": "3.2.5", + "@types/prettier": "^3.0.0", + "eslint": "^8.57.1", + "eslint-plugin-prettier": "^5.2.1", + "prettier": "3.3.3", "typescript": "^5.4.2" } } diff --git a/tooling/noirc_abi_wasm/package.json b/tooling/noirc_abi_wasm/package.json index d86128b1289..fea7a6d8739 100644 --- a/tooling/noirc_abi_wasm/package.json +++ b/tooling/noirc_abi_wasm/package.json @@ -43,7 +43,7 @@ "@web/dev-server-esbuild": "^0.3.6", "@web/test-runner": "^0.18.1", "@web/test-runner-playwright": "^0.11.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "mocha": "^10.2.0" } } diff --git a/yarn.lock b/yarn.lock index 748a6d18ecb..2d1eafc3706 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4599,10 +4599,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 315dc65b0e9893e2bff139bddace7ea601ad77ed47b4550e73da8c9c2d2766c7a575c3cddf17ef85b8fd6a36ff34f91729d0dcca56e73ca887c10df91a41b0bb +"@eslint/js@npm:8.57.1": + version: 8.57.1 + resolution: "@eslint/js@npm:8.57.1" + checksum: 2afb77454c06e8316793d2e8e79a0154854d35e6782a1217da274ca60b5044d2c69d6091155234ed0551a1e408f86f09dd4ece02752c59568fa403e60611e880 languageName: node linkType: hard @@ -4851,14 +4851,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" +"@humanwhocodes/config-array@npm:^0.13.0": + version: 0.13.0 + resolution: "@humanwhocodes/config-array@npm:0.13.0" dependencies: - "@humanwhocodes/object-schema": ^2.0.2 + "@humanwhocodes/object-schema": ^2.0.3 debug: ^4.3.1 minimatch: ^3.0.5 - checksum: 861ccce9eaea5de19546653bccf75bf09fe878bc39c3aab00aeee2d2a0e654516adad38dd1098aab5e3af0145bbcbf3f309bdf4d964f8dab9dcd5834ae4c02f2 + checksum: eae69ff9134025dd2924f0b430eb324981494be26f0fddd267a33c28711c4db643242cf9fddf7dadb9d16c96b54b2d2c073e60a56477df86e0173149313bd5d6 languageName: node linkType: hard @@ -4869,10 +4869,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.2 - resolution: "@humanwhocodes/object-schema@npm:2.0.2" - checksum: 2fc11503361b5fb4f14714c700c02a3f4c7c93e9acd6b87a29f62c522d90470f364d6161b03d1cc618b979f2ae02aed1106fd29d302695d8927e2fc8165ba8ee +"@humanwhocodes/object-schema@npm:^2.0.3": + version: 2.0.3 + resolution: "@humanwhocodes/object-schema@npm:2.0.3" + checksum: d3b78f6c5831888c6ecc899df0d03bcc25d46f3ad26a11d7ea52944dc36a35ef543fad965322174238d677a43d5c694434f6607532cff7077062513ad7022631 languageName: node linkType: hard @@ -5336,10 +5336,10 @@ __metadata: "@web/test-runner": ^0.18.1 "@web/test-runner-playwright": ^0.11.0 chai: ^4.4.1 - eslint: ^8.57.0 - eslint-plugin-prettier: ^5.1.3 + eslint: ^8.57.1 + eslint-plugin-prettier: ^5.2.1 mocha: ^10.2.0 - prettier: 3.2.5 + prettier: 3.3.3 ts-node: ^10.9.1 typescript: ^5.4.2 languageName: unknown @@ -5352,15 +5352,15 @@ __metadata: "@noir-lang/noir_js": "workspace:*" "@noir-lang/types": "workspace:*" "@types/chai": ^4 - "@types/mocha": ^10.0.1 - "@types/node": ^20.6.2 - "@types/prettier": ^3 + "@types/mocha": ^10.0.9 + "@types/node": ^20.17.6 + "@types/prettier": ^3.0.0 chai: ^4.4.1 - eslint: ^8.57.0 - eslint-plugin-prettier: ^5.1.3 + eslint: ^8.57.1 + eslint-plugin-prettier: ^5.2.1 glob: ^10.3.10 mocha: ^10.2.0 - prettier: 3.2.5 + prettier: 3.3.3 ts-command-line-args: ^2.5.1 ts-node: ^10.9.1 tsx: ^4.6.2 @@ -5378,14 +5378,14 @@ __metadata: "@noir-lang/noirc_abi": "workspace:*" "@noir-lang/types": "workspace:*" "@types/chai": ^4 - "@types/mocha": ^10.0.1 - "@types/node": ^20.6.2 - "@types/prettier": ^3 + "@types/mocha": ^10.0.9 + "@types/node": ^20.17.6 + "@types/prettier": ^3.0.0 chai: ^4.4.1 - eslint: ^8.57.0 - eslint-plugin-prettier: ^5.1.3 + eslint: ^8.57.1 + eslint-plugin-prettier: ^5.2.1 mocha: ^10.2.0 - prettier: 3.2.5 + prettier: 3.3.3 ts-node: ^10.9.1 tsc-multi: ^1.1.0 tsx: ^4.6.2 @@ -5402,9 +5402,9 @@ __metadata: "@noir-lang/types": "workspace:*" "@types/adm-zip": ^0.5.0 "@types/chai": ^4 - "@types/mocha": ^10.0.6 + "@types/mocha": ^10.0.9 "@types/mocha-each": ^2 - "@types/node": ^20.10.5 + "@types/node": ^20.17.6 "@types/pako": ^2 "@types/path-browserify": ^1 "@types/readable-stream": ^4 @@ -5418,15 +5418,15 @@ __metadata: browserify-fs: ^1.0.0 chai: ^4.4.1 copy-webpack-plugin: ^12.0.2 - eslint: ^8.57.0 - eslint-plugin-prettier: ^5.1.3 + eslint: ^8.57.1 + eslint-plugin-prettier: ^5.2.1 html-webpack-plugin: ^5.6.0 memfs: ^4.6.0 mocha: ^10.2.0 mocha-each: ^2.0.1 pako: ^2.1.0 path-browserify: ^1.0.1 - prettier: 3.2.5 + prettier: 3.3.3 process: ^0.11.10 readable-stream: ^4.4.2 sinon: ^17.0.1 @@ -5450,7 +5450,7 @@ __metadata: "@web/dev-server-esbuild": ^0.3.6 "@web/test-runner": ^0.18.1 "@web/test-runner-playwright": ^0.11.0 - eslint: ^8.57.0 + eslint: ^8.57.1 mocha: ^10.2.0 languageName: unknown linkType: soft @@ -5463,10 +5463,10 @@ __metadata: "@typescript-eslint/parser": ^6.7.3 chai: ^4.4.1 cspell: ^8.3.2 - eslint: ^8.57.0 - eslint-plugin-prettier: ^5.1.3 + eslint: ^8.57.1 + eslint-plugin-prettier: ^5.2.1 mocha: ^10.2.0 - prettier: 3.2.5 + prettier: 3.3.3 ts-node: ^10.9.1 typescript: ^5.4.2 languageName: unknown @@ -5476,10 +5476,10 @@ __metadata: version: 0.0.0-use.local resolution: "@noir-lang/types@workspace:tooling/noir_js_types" dependencies: - "@types/prettier": ^3 - eslint: ^8.57.0 - eslint-plugin-prettier: ^5.1.3 - prettier: 3.2.5 + "@types/prettier": ^3.0.0 + eslint: ^8.57.1 + eslint-plugin-prettier: ^5.2.1 + prettier: 3.3.3 typescript: ^5.4.2 languageName: unknown linkType: soft @@ -6978,13 +6978,20 @@ __metadata: languageName: node linkType: hard -"@types/mocha@npm:*, @types/mocha@npm:^10.0.1, @types/mocha@npm:^10.0.6": +"@types/mocha@npm:*": version: 10.0.6 resolution: "@types/mocha@npm:10.0.6" checksum: f7c836cf6cf27dc0f5970d262591b56f2a3caeaec8cfdc612c12e1cfbb207f601f710ece207e935164d4e3343b93be5054d0db5544f31f453b3923775d82099f languageName: node linkType: hard +"@types/mocha@npm:^10.0.9": + version: 10.0.9 + resolution: "@types/mocha@npm:10.0.9" + checksum: cd15e7df49338466e75c580991d8fb3f86dad567f3abd6ca6489c0875b8af44f57a95167552fab7bbc950f53f97596be30b3507a9c16e0dc8d41a2d1e23b169d + languageName: node + linkType: hard + "@types/ms@npm:*": version: 0.7.34 resolution: "@types/ms@npm:0.7.34" @@ -7001,7 +7008,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^20.6.2": +"@types/node@npm:*": version: 20.10.4 resolution: "@types/node@npm:20.10.4" dependencies: @@ -7024,12 +7031,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.10.5": - version: 20.10.5 - resolution: "@types/node@npm:20.10.5" +"@types/node@npm:^20.17.6": + version: 20.17.6 + resolution: "@types/node@npm:20.17.6" dependencies: - undici-types: ~5.26.4 - checksum: e216b679f545a8356960ce985a0e53c3a58fff0eacd855e180b9e223b8db2b5bd07b744a002b8c1f0c37f9194648ab4578533b5c12df2ec10cc02f61d20948d2 + undici-types: ~6.19.2 + checksum: d51dbb9881c94d0310b32b5fd8013e3261595c61bc888fa27258469c93c3dc0b3c4d20a9f28f3f5f79562f6737e28e7f3dd04940dc8b4d966d34aaf318f7f69b languageName: node linkType: hard @@ -7077,7 +7084,7 @@ __metadata: languageName: node linkType: hard -"@types/prettier@npm:^3": +"@types/prettier@npm:^3.0.0": version: 3.0.0 resolution: "@types/prettier@npm:3.0.0" dependencies: @@ -11105,13 +11112,13 @@ __metadata: "@noir-lang/noir_js": "workspace:*" "@noir-lang/noirc_abi": "workspace:*" "@noir-lang/types": "workspace:*" - "@types/prettier": ^3 + "@types/prettier": ^3.0.0 axios: ^1.4.0 clsx: ^1.2.1 docusaurus-plugin-typedoc: 1.0.0-next.18 - eslint-plugin-prettier: ^5.1.3 + eslint-plugin-prettier: ^5.2.1 hast-util-is-element: ^1.1.0 - prettier: 3.2.5 + prettier: 3.3.3 prism-react-renderer: ^2.1.0 react: ^18.2.0 react-dom: ^18.2.0 @@ -11697,12 +11704,12 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:^5.1.3": - version: 5.1.3 - resolution: "eslint-plugin-prettier@npm:5.1.3" +"eslint-plugin-prettier@npm:^5.2.1": + version: 5.2.1 + resolution: "eslint-plugin-prettier@npm:5.2.1" dependencies: prettier-linter-helpers: ^1.0.0 - synckit: ^0.8.6 + synckit: ^0.9.1 peerDependencies: "@types/eslint": ">=8.0.0" eslint: ">=8.0.0" @@ -11713,7 +11720,7 @@ __metadata: optional: true eslint-config-prettier: optional: true - checksum: eb2a7d46a1887e1b93788ee8f8eb81e0b6b2a6f5a66a62bc6f375b033fc4e7ca16448da99380be800042786e76cf5c0df9c87a51a2c9b960ed47acbd7c0b9381 + checksum: 812f4d1596dcd3a55963212dfbd818a4b38f880741aac75f6869aa740dc5d934060674d3b85d10ff9fec424defa61967dbdef26b8a893a92c9b51880264ed0d9 languageName: node linkType: hard @@ -11744,15 +11751,15 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.57.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" +"eslint@npm:^8.57.1": + version: 8.57.1 + resolution: "eslint@npm:8.57.1" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 "@eslint/eslintrc": ^2.1.4 - "@eslint/js": 8.57.0 - "@humanwhocodes/config-array": ^0.11.14 + "@eslint/js": 8.57.1 + "@humanwhocodes/config-array": ^0.13.0 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 "@ungap/structured-clone": ^1.2.0 @@ -11788,7 +11795,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 3a48d7ff85ab420a8447e9810d8087aea5b1df9ef68c9151732b478de698389ee656fd895635b5f2871c89ee5a2652b3f343d11e9db6f8486880374ebc74a2d9 + checksum: e2489bb7f86dd2011967759a09164e65744ef7688c310bc990612fc26953f34cc391872807486b15c06833bdff737726a23e9b4cdba5de144c311377dc41d91b languageName: node linkType: hard @@ -14132,11 +14139,11 @@ __metadata: "@web/dev-server-import-maps": ^0.2.0 "@web/test-runner": ^0.18.1 "@web/test-runner-playwright": ^0.11.0 - eslint: ^8.57.0 - eslint-plugin-prettier: ^5.1.3 + eslint: ^8.57.1 + eslint-plugin-prettier: ^5.2.1 ethers: ^6.7.1 hardhat: ^2.22.6 - prettier: 3.2.5 + prettier: 3.3.3 smol-toml: ^1.1.2 toml: ^3.0.0 tslog: ^4.9.2 @@ -18777,12 +18784,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.2.5": - version: 3.2.5 - resolution: "prettier@npm:3.2.5" +"prettier@npm:3.3.3": + version: 3.3.3 + resolution: "prettier@npm:3.3.3" bin: prettier: bin/prettier.cjs - checksum: 2ee4e1417572372afb7a13bb446b34f20f1bf1747db77cf6ccaf57a9be005f2f15c40f903d41a6b79eec3f57fff14d32a20fb6dee1f126da48908926fe43c311 + checksum: bc8604354805acfdde6106852d14b045bb20827ad76a5ffc2455b71a8257f94de93f17f14e463fe844808d2ccc87248364a5691488a3304f1031326e62d9276e languageName: node linkType: hard @@ -21167,13 +21174,13 @@ __metadata: languageName: node linkType: hard -"synckit@npm:^0.8.6": - version: 0.8.8 - resolution: "synckit@npm:0.8.8" +"synckit@npm:^0.9.1": + version: 0.9.2 + resolution: "synckit@npm:0.9.2" dependencies: "@pkgr/core": ^0.1.0 tslib: ^2.6.2 - checksum: 9ed5d33abb785f5f24e2531efd53b2782ca77abf7912f734d170134552b99001915531be5a50297aa45c5701b5c9041e8762e6cd7a38e41e2461c1e7fccdedf8 + checksum: 3a30e828efbdcf3b50fccab4da6e90ea7ca24d8c5c2ad3ffe98e07d7c492df121e0f75227c6e510f96f976aae76f1fa4710cb7b1d69db881caf66ef9de89360e languageName: node linkType: hard @@ -21845,6 +21852,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.19.2": + version: 6.19.8 + resolution: "undici-types@npm:6.19.8" + checksum: de51f1b447d22571cf155dfe14ff6d12c5bdaec237c765085b439c38ca8518fc360e88c70f99469162bf2e14188a7b0bcb06e1ed2dc031042b984b0bb9544017 + languageName: node + linkType: hard + "undici@npm:^5.14.0": version: 5.28.2 resolution: "undici@npm:5.28.2"