Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump prettier from 3.3.0 to 3.3.1 #856

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
24 changes: 8 additions & 16 deletions packages/prio3/src/prio3.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<null, number | boolean, number>,
Expand Down
3 changes: 1 addition & 2 deletions packages/xof/src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -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"));
Expand Down
Loading