From f94981b7b32b29eb190a97d563014e116a8fed6a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 17:30:23 +0000 Subject: [PATCH 1/2] Bump prettier from 3.3.0 to 3.3.1 Bumps [prettier](https://github.com/prettier/prettier) from 3.3.0 to 3.3.1. - [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.3.0...3.3.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index ef30dff5c..15835d105 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "eslint-config-prettier": "^9.1.0", "mocha": "^10.4.0", "npm-upgrade": "^3.1.0", - "prettier": "^3.3.0", + "prettier": "^3.3.1", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typedoc": "^0.25.13", @@ -6096,9 +6096,9 @@ } }, "node_modules/prettier": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.0.tgz", - "integrity": "sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.1.tgz", + "integrity": "sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" diff --git a/package.json b/package.json index aa538ff88..c6aad1b9a 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "eslint-config-prettier": "^9.1.0", "mocha": "^10.4.0", "npm-upgrade": "^3.1.0", - "prettier": "^3.3.0", + "prettier": "^3.3.1", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typedoc": "^0.25.13", From e2add2471179fb69dd6269c88b98c5bbc11bcdea Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 5 Jun 2024 12:39:38 -0500 Subject: [PATCH 2/2] Roll back line break --- packages/prio3/src/prio3.spec.ts | 24 ++++++++---------------- packages/xof/src/index.spec.ts | 3 +-- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/packages/prio3/src/prio3.spec.ts b/packages/prio3/src/prio3.spec.ts index 8c10a664d..607e734cf 100644 --- a/packages/prio3/src/prio3.spec.ts +++ b/packages/prio3/src/prio3.spec.ts @@ -9,22 +9,14 @@ import { import { TestFlp128 } from "./flp.spec.js"; import { XofShake128 } 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 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" }; async function assertCountTestVector( testVector: TestVector, diff --git a/packages/xof/src/index.spec.ts b/packages/xof/src/index.spec.ts index ea4afeaa8..717ac9290 100644 --- a/packages/xof/src/index.spec.ts +++ b/packages/xof/src/index.spec.ts @@ -1,8 +1,7 @@ import { assert } from "chai"; import { XofShake128 } from "./index.js"; import { Field128, Field64 } from "@divviup/field"; -import XofShake128TestVector from "./testVectors/XofShake128.json" assert { type: - "json" }; +import XofShake128TestVector from "./testVectors/XofShake128.json" assert { type: "json" }; function assertBuffersEqual(x: Uint8Array, y: Uint8Array) { assert.equal(Buffer.from(x).toString("hex"), Buffer.from(y).toString("hex"));