Skip to content

Commit

Permalink
chore: upgrade dependencies for better de-duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Feb 11, 2025
1 parent c8a147a commit 6d3e203
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 107 deletions.
4 changes: 2 additions & 2 deletions packages/access-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@
"@web3-storage/did-mailto": "workspace:^",
"bigint-mod-arith": "^3.1.2",
"conf": "11.0.2",
"multiformats": "^12.1.2",
"multiformats": "^13.3.2",
"p-defer": "^4.0.0",
"type-fest": "^4.9.0",
"uint8arrays": "^4.0.6"
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"@types/assert": "^1.5.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/access-client/src/crypto/encoding.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ export function decompressP256(comp) {
yPadded.set(y, offset)

// concat coords & prepend P-256 prefix
const publicKey = uint8arrays.concat([[0x04], x, yPadded])
const publicKey = uint8arrays.concat([new Uint8Array([0x04]), x, yPadded])
return publicKey
}
2 changes: 1 addition & 1 deletion packages/filecoin-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"@web3-storage/content-claims": "^5.0.0",
"@web3-storage/data-segment": "^5.2.0",
"fr32-sha2-256-trunc254-padded-binary-tree-multihash": "^3.3.0",
"p-map": "^6.0.0"
"p-map": "^7.0.3"
},
"devDependencies": {
"@storacha/one-webcrypto": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/upload-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
"@web3-storage/content-claims": "^5.1.3",
"@web3-storage/did-mailto": "workspace:^",
"@web3-storage/filecoin-api": "workspace:^",
"multiformats": "^12.1.2",
"multiformats": "^13.3.2",
"uint8arrays": "^5.0.3"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@ipld/car": "^5.2.2",
"@ipld/dag-cbor": "^9.0.6",
"@ipld/dag-ucan": "^3.4.0",
"@ipld/unixfs": "^2.1.1",
"@ipld/unixfs": "^3.0.0",
"@ucanto/client": "^9.0.1",
"@ucanto/core": "^10.0.1",
"@ucanto/interface": "^10.0.1",
Expand All @@ -93,8 +93,8 @@
"@web3-storage/data-segment": "^5.1.0",
"@web3-storage/filecoin-client": "workspace:^",
"ipfs-utils": "^9.0.14",
"multiformats": "^12.1.2",
"p-retry": "^5.1.2",
"multiformats": "^13.3.2",
"p-retry": "^6.2.1",
"varint": "^6.0.0"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/upload-client/test/helpers/car.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { toBlock } from './block.js'
*/
export async function toCAR(bytes) {
const block = await toBlock(bytes)
// @ts-expect-error old multiformats in @ipld/car
const { writer, out } = CarWriter.create(block.cid)
writer.put(block)
writer.close()
Expand Down
Loading

0 comments on commit 6d3e203

Please sign in to comment.