From d7926135bb610db5de78350327e3c71700f54aba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:52:52 +0000 Subject: [PATCH] Bump prettier from 3.2.5 to 3.3.0 (#840) * Bump prettier from 3.2.5 to 3.3.0 Bumps [prettier](https://github.com/prettier/prettier) from 3.2.5 to 3.3.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.2.5...3.3.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Rewrap import assertions --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Cook --- package-lock.json | 8 ++++---- package.json | 2 +- packages/prio3/src/prio3.spec.ts | 30 ++++++++++++++++++++---------- packages/xof/src/index.spec.ts | 3 ++- 4 files changed, 27 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 45fe7aeff..1596c852c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "mocha": "^10.4.0", - "prettier": "^3.2.5", + "prettier": "^3.3.0", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typedoc": "^0.25.13", @@ -3707,9 +3707,9 @@ } }, "node_modules/prettier": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", - "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.0.tgz", + "integrity": "sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" diff --git a/package.json b/package.json index 6293a254f..db63eb0a4 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "mocha": "^10.4.0", - "prettier": "^3.2.5", + "prettier": "^3.3.0", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typedoc": "^0.25.13", diff --git a/packages/prio3/src/prio3.spec.ts b/packages/prio3/src/prio3.spec.ts index e48e31b5c..c2659f4df 100644 --- a/packages/prio3/src/prio3.spec.ts +++ b/packages/prio3/src/prio3.spec.ts @@ -9,16 +9,26 @@ import { import { TestFlp128 } from "./flp.spec.js"; import { XofTurboShake128 } from "@divviup/xof"; import type { TestVector } from "@divviup/vdaf"; -import countTestVector0 from "./testVectors/Prio3Count_0.json" assert { type: "json" }; -import countTestVector1 from "./testVectors/Prio3Count_1.json" assert { type: "json" }; -import histogramTestVector0 from "./testVectors/Prio3Histogram_0.json" assert { type: "json" }; -import histogramTestVector1 from "./testVectors/Prio3Histogram_1.json" assert { type: "json" }; -import sumTestVector0 from "./testVectors/Prio3Sum_0.json" assert { type: "json" }; -import sumTestVector1 from "./testVectors/Prio3Sum_1.json" assert { type: "json" }; -import sumVecTestVector0 from "./testVectors/Prio3SumVec_0.json" assert { type: "json" }; -import sumVecTestVector1 from "./testVectors/Prio3SumVec_1.json" assert { type: "json" }; -import sumVecMultiproofTestVector0 from "./testVectors/Prio3SumVecField64Multiproof_0.json" assert { type: "json" }; -import sumVecMultiproofTestVector1 from "./testVectors/Prio3SumVecField64Multiproof_1.json" assert { type: "json" }; +import countTestVector0 from "./testVectors/Prio3Count_0.json" assert { type: + "json" }; +import countTestVector1 from "./testVectors/Prio3Count_1.json" assert { type: + "json" }; +import histogramTestVector0 from "./testVectors/Prio3Histogram_0.json" assert { type: + "json" }; +import histogramTestVector1 from "./testVectors/Prio3Histogram_1.json" assert { type: + "json" }; +import sumTestVector0 from "./testVectors/Prio3Sum_0.json" assert { type: + "json" }; +import sumTestVector1 from "./testVectors/Prio3Sum_1.json" assert { type: + "json" }; +import sumVecTestVector0 from "./testVectors/Prio3SumVec_0.json" assert { type: + "json" }; +import sumVecTestVector1 from "./testVectors/Prio3SumVec_1.json" assert { type: + "json" }; +import sumVecMultiproofTestVector0 from "./testVectors/Prio3SumVecField64Multiproof_0.json" assert { type: + "json" }; +import sumVecMultiproofTestVector1 from "./testVectors/Prio3SumVecField64Multiproof_1.json" assert { type: + "json" }; import { FlpGeneric } from "./genericFlp.js"; import { SumVec } from "./circuits/sumVec.js"; import { Field64 } from "@divviup/field"; diff --git a/packages/xof/src/index.spec.ts b/packages/xof/src/index.spec.ts index 6af7edb75..b8f9c7bbe 100644 --- a/packages/xof/src/index.spec.ts +++ b/packages/xof/src/index.spec.ts @@ -1,7 +1,8 @@ import { assert } from "chai"; import { XofTurboShake128 } from "./index.js"; import { Field128, Field64 } from "@divviup/field"; -import XofTurboShake128TestVector from "./testVectors/XofTurboShake128.json" assert { type: "json" }; +import XofTurboShake128TestVector from "./testVectors/XofTurboShake128.json" assert { type: + "json" }; function assertBuffersEqual(x: Uint8Array, y: Uint8Array) { assert.equal(Buffer.from(x).toString("hex"), Buffer.from(y).toString("hex"));