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

build(eddsa-poseidon): move poseidon-lite package to dependencies #345

Merged
merged 1 commit into from
Oct 15, 2024
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
4 changes: 2 additions & 2 deletions packages/eddsa-poseidon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"@rollup/plugin-typescript": "^11.1.6",
"circomlibjs": "0.0.8",
"ffjavascript": "0.2.38",
"poseidon-lite": "0.2.0",
"rimraf": "^5.0.5",
"rollup": "^4.12.0",
"rollup-plugin-cleanup": "^3.2.1",
Expand All @@ -51,6 +50,7 @@
"dependencies": {
"@zk-kit/baby-jubjub": "1.0.3",
"@zk-kit/utils": "1.2.1",
"buffer": "6.0.3"
"buffer": "6.0.3",
"poseidon-lite": "0.3.0"
}
}
10 changes: 3 additions & 7 deletions packages/eddsa-poseidon/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,10 @@ export default [
"@zk-kit/utils/f1-field",
"@zk-kit/utils/scalar",
"@zk-kit/utils/error-handlers",
"@zk-kit/utils/type-checks"
"@zk-kit/utils/type-checks",
"poseidon-lite/poseidon5"
],
plugins: [
typescript({ tsconfig: "./build.tsconfig.json" }),
nodeResolve(),
commonjs(),
cleanup({ comments: "jsdoc" })
]
plugins: [typescript({ tsconfig: "./build.tsconfig.json" }), cleanup({ comments: "jsdoc" })]
},
{
input: "src/index.ts",
Expand Down
118 changes: 100 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,17 @@ __metadata:
languageName: node
linkType: hard

"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.24.2, @babel/code-frame@npm:^7.24.7":
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13":
version: 7.24.6
resolution: "@babel/code-frame@npm:7.24.6"
dependencies:
"@babel/highlight": "npm:^7.24.6"
picocolors: "npm:^1.0.0"
checksum: 10/e9b70af2a9c7c734ac36c2e6e1da640a6e0a483bfba7cf620226a1226a2e6d64961324b02d786e06ce72f0aa329e190dfc49128367a2368b69e2219ffddcdcc5
languageName: node
linkType: hard

"@babel/code-frame@npm:^7.24.2, @babel/code-frame@npm:^7.24.7":
version: 7.24.7
resolution: "@babel/code-frame@npm:7.24.7"
dependencies:
Expand Down Expand Up @@ -200,6 +210,13 @@ __metadata:
languageName: node
linkType: hard

"@babel/helper-validator-identifier@npm:^7.24.6":
version: 7.24.6
resolution: "@babel/helper-validator-identifier@npm:7.24.6"
checksum: 10/7e725ef0684291ca3306d5174a5d1cd9072ad58ba444cfa50aaf92a5c59dd723fa15031733ac598bb6b066cb62c2472e14cd82325522348977a72e99aa21b97a
languageName: node
linkType: hard

"@babel/helper-validator-identifier@npm:^7.24.7":
version: 7.24.7
resolution: "@babel/helper-validator-identifier@npm:7.24.7"
Expand All @@ -224,6 +241,18 @@ __metadata:
languageName: node
linkType: hard

"@babel/highlight@npm:^7.24.6":
version: 7.24.6
resolution: "@babel/highlight@npm:7.24.6"
dependencies:
"@babel/helper-validator-identifier": "npm:^7.24.6"
chalk: "npm:^2.4.2"
js-tokens: "npm:^4.0.0"
picocolors: "npm:^1.0.0"
checksum: 10/e11cd39ceb01c9b5e4f2684a45caefe7b2d7bb74997c30922e6b4063a6f16aff88356091350f0af01f044e1a198579a6b5c4161a84d0a6090e63a41167569daf
languageName: node
linkType: hard

"@babel/highlight@npm:^7.24.7":
version: 7.24.7
resolution: "@babel/highlight@npm:7.24.7"
Expand Down Expand Up @@ -1590,6 +1619,13 @@ __metadata:
languageName: node
linkType: hard

"@jridgewell/sourcemap-codec@npm:^1.4.15":
version: 1.4.15
resolution: "@jridgewell/sourcemap-codec@npm:1.4.15"
checksum: 10/89960ac087781b961ad918978975bcdf2051cd1741880469783c42de64239703eab9db5230d776d8e6a09d73bb5e4cb964e07d93ee6e2e7aea5a7d726e865c09
languageName: node
linkType: hard

"@jridgewell/trace-mapping@npm:0.3.9":
version: 0.3.9
resolution: "@jridgewell/trace-mapping@npm:0.3.9"
Expand Down Expand Up @@ -2664,11 +2700,11 @@ __metadata:
linkType: hard

"@types/node@npm:*":
version: 22.5.5
resolution: "@types/node@npm:22.5.5"
version: 20.14.0
resolution: "@types/node@npm:20.14.0"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10/172d02c8e6d921699edcf559c28b3805616bd6481af1b3cb0299f89ad9a6f33b71050434c06ce7b503166054a26275344187c443f99f745d0b12601372452f19
undici-types: "npm:~5.26.4"
checksum: 10/49b332fbf8aee4dc4f61cc1f1f6e130632510f795dd7b274e55894516feaf4bec8a3d13ea764e2443e340a64ce9bbeb006d14513bf6ccdd4f21161eccc7f311e
languageName: node
linkType: hard

Expand Down Expand Up @@ -3059,7 +3095,7 @@ __metadata:
buffer: "npm:6.0.3"
circomlibjs: "npm:0.0.8"
ffjavascript: "npm:0.2.38"
poseidon-lite: "npm:0.2.0"
poseidon-lite: "npm:0.3.0"
rimraf: "npm:^5.0.5"
rollup: "npm:^4.12.0"
rollup-plugin-cleanup: "npm:^3.2.1"
Expand Down Expand Up @@ -3290,7 +3326,7 @@ __metadata:
languageName: node
linkType: hard

"acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.2.4, acorn@npm:^8.4.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0":
"acorn@npm:^8.11.0":
version: 8.12.1
resolution: "acorn@npm:8.12.1"
bin:
Expand All @@ -3299,6 +3335,15 @@ __metadata:
languageName: node
linkType: hard

"acorn@npm:^8.11.3, acorn@npm:^8.2.4, acorn@npm:^8.4.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0":
version: 8.11.3
resolution: "acorn@npm:8.11.3"
bin:
acorn: bin/acorn
checksum: 10/b688e7e3c64d9bfb17b596e1b35e4da9d50553713b3b3630cf5690f2b023a84eac90c56851e6912b483fe60e8b4ea28b254c07e92f17ef83d72d78745a8352dd
languageName: node
linkType: hard

"adm-zip@npm:^0.4.16":
version: 0.4.16
resolution: "adm-zip@npm:0.4.16"
Expand Down Expand Up @@ -5699,15 +5744,15 @@ __metadata:
languageName: node
linkType: hard

"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:~4.3.6":
version: 4.3.7
resolution: "debug@npm:4.3.7"
"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4":
version: 4.3.5
resolution: "debug@npm:4.3.5"
dependencies:
ms: "npm:^2.1.3"
ms: "npm:2.1.2"
peerDependenciesMeta:
supports-color:
optional: true
checksum: 10/71168908b9a78227ab29d5d25fe03c5867750e31ce24bf2c44a86efc5af041758bb56569b0a3d48a9b5344c00a24a777e6f4100ed6dfd9534a42c1dde285125a
checksum: 10/cb6eab424c410e07813ca1392888589972ce9a32b8829c6508f5e1f25f3c3e70a76731610ae55b4bbe58d1a2fffa1424b30e97fa8d394e49cd2656a9643aedd2
languageName: node
linkType: hard

Expand All @@ -5732,6 +5777,18 @@ __metadata:
languageName: node
linkType: hard

"debug@npm:^4.3.5, debug@npm:~4.3.6":
version: 4.3.7
resolution: "debug@npm:4.3.7"
dependencies:
ms: "npm:^2.1.3"
peerDependenciesMeta:
supports-color:
optional: true
checksum: 10/71168908b9a78227ab29d5d25fe03c5867750e31ce24bf2c44a86efc5af041758bb56569b0a3d48a9b5344c00a24a777e6f4100ed6dfd9534a42c1dde285125a
languageName: node
linkType: hard

"decamelize-keys@npm:^1.1.0":
version: 1.1.1
resolution: "decamelize-keys@npm:1.1.1"
Expand Down Expand Up @@ -11172,7 +11229,7 @@ __metadata:
languageName: node
linkType: hard

"magic-string@npm:^0.30.10, magic-string@npm:^0.30.3":
"magic-string@npm:^0.30.10":
version: 0.30.11
resolution: "magic-string@npm:0.30.11"
dependencies:
Expand All @@ -11181,6 +11238,15 @@ __metadata:
languageName: node
linkType: hard

"magic-string@npm:^0.30.3":
version: 0.30.10
resolution: "magic-string@npm:0.30.10"
dependencies:
"@jridgewell/sourcemap-codec": "npm:^1.4.15"
checksum: 10/9f8bf6363a14c98a9d9f32ef833b194702a5c98fb931b05ac511b76f0b06fd30ed92beda6ca3261d2d52d21e39e891ef1136fbd032023f6cbb02d0b7d5767201
languageName: node
linkType: hard

"make-dir@npm:^4.0.0":
version: 4.0.0
resolution: "make-dir@npm:4.0.0"
Expand Down Expand Up @@ -12778,10 +12844,10 @@ __metadata:
languageName: node
linkType: hard

"poseidon-lite@npm:0.2.0":
version: 0.2.0
resolution: "poseidon-lite@npm:0.2.0"
checksum: 10/63c7668b480ee3d57aaca0eda7e56d563ab2bfcc40bbce0e4bccdc9deed4c0d68255749356e328b622ce8715b1f1ba689fe1a86ca78eb1056a51a18daa252ee1
"poseidon-lite@npm:0.3.0":
version: 0.3.0
resolution: "poseidon-lite@npm:0.3.0"
checksum: 10/1e7294f7fed91e1cdc3aee7bd0380461bfdba74ba34d100c2fc4e3d5434d09af0644f6c889b749b9511fd3867216a1aa6d575f070b716c6756b1f56c0067b71d
languageName: node
linkType: hard

Expand Down Expand Up @@ -12934,7 +13000,7 @@ __metadata:
languageName: node
linkType: hard

"qs@npm:6.13.0, qs@npm:^6.5.2":
"qs@npm:6.13.0":
version: 6.13.0
resolution: "qs@npm:6.13.0"
dependencies:
Expand All @@ -12943,6 +13009,15 @@ __metadata:
languageName: node
linkType: hard

"qs@npm:^6.5.2":
version: 6.12.1
resolution: "qs@npm:6.12.1"
dependencies:
side-channel: "npm:^1.0.6"
checksum: 10/035bcad2a1ab0175bac7a74c904c15913bdac252834149ccff988c93a51de02642fe7be10e43058ba4dc4094bb28ce9b59d12b9e91d40997f445cfde3ecc1c29
languageName: node
linkType: hard

"qs@npm:~6.5.2":
version: 6.5.3
resolution: "qs@npm:6.5.3"
Expand Down Expand Up @@ -15472,6 +15547,13 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~5.26.4":
version: 5.26.5
resolution: "undici-types@npm:5.26.5"
checksum: 10/0097779d94bc0fd26f0418b3a05472410408877279141ded2bd449167be1aed7ea5b76f756562cb3586a07f251b90799bab22d9019ceba49c037c76445f7cddd
languageName: node
linkType: hard

"undici-types@npm:~6.19.2":
version: 6.19.8
resolution: "undici-types@npm:6.19.8"
Expand Down
Loading