Skip to content

Commit

Permalink
Bump prettier from 3.2.5 to 3.3.0 (#840)
Browse files Browse the repository at this point in the history
* 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](prettier/prettier@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] <[email protected]>

* Rewrap import assertions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Cook <[email protected]>
  • Loading branch information
dependabot[bot] and divergentdave authored Jun 4, 2024
1 parent fd5dd37 commit d792613
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 16 deletions.
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 @@ -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",
Expand Down
30 changes: 20 additions & 10 deletions packages/prio3/src/prio3.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
3 changes: 2 additions & 1 deletion packages/xof/src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -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"));
Expand Down

0 comments on commit d792613

Please sign in to comment.