From 053fea4bcb09203cccaed17a71d6049ac8bb8709 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Wed, 5 Jun 2024 09:03:41 +0200 Subject: [PATCH] fix: upgrade w3up client with double upload fix --- package-lock.json | 107 +++++++++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 98 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0134dcc..bd3a7f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@web3-storage/access": "^20.0.0", "@web3-storage/data-segment": "^5.0.0", "@web3-storage/did-mailto": "^2.1.0", - "@web3-storage/w3up-client": "^14.0.0", + "@web3-storage/w3up-client": "^14.1.1", "ansi-escapes": "^6.2.0", "chalk": "^5.3.0", "files-from-path": "^1.0.4", @@ -1962,9 +1962,9 @@ "dev": true }, "node_modules/@web3-storage/upload-client": { - "version": "16.0.2", - "resolved": "https://registry.npmjs.org/@web3-storage/upload-client/-/upload-client-16.0.2.tgz", - "integrity": "sha512-noNN3RiLl3FZz4nDDcQhfV8+5wPe2LljPkiayTQLI3PPSx9dOimG8h25qZNaACnA0W2GKbXOz/RkWgSlaRzfSw==", + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@web3-storage/upload-client/-/upload-client-16.1.1.tgz", + "integrity": "sha512-aVGpcqnLxRk4u3uZAum1jwC5BbEbjuqAZZBrGNZ3UZVFnnJJXPm3DE+r1WC8FV2mbgC/yKKqDMu1FP1uB9wJkA==", "dependencies": { "@ipld/car": "^5.2.2", "@ipld/dag-cbor": "^9.0.6", @@ -1975,7 +1975,7 @@ "@ucanto/interface": "^10.0.1", "@ucanto/transport": "^9.1.1", "@web3-storage/blob-index": "^1.0.3", - "@web3-storage/capabilities": "^17.1.1", + "@web3-storage/capabilities": "^17.2.0", "@web3-storage/data-segment": "^5.1.0", "@web3-storage/filecoin-client": "^3.3.3", "ipfs-utils": "^9.0.14", @@ -1984,6 +1984,39 @@ "varint": "^6.0.0" } }, + "node_modules/@web3-storage/upload-client/node_modules/@web3-storage/capabilities": { + "version": "17.2.0", + "resolved": "https://registry.npmjs.org/@web3-storage/capabilities/-/capabilities-17.2.0.tgz", + "integrity": "sha512-hnJGIQcCAMBbR8sfgkEwnjBVcpNpNRBnzSEB2E/wKkKIjHKimw3ClsVznu6jjFExCXFaKHd6r1eAU4NcTYsueg==", + "dependencies": { + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/transport": "^9.1.1", + "@ucanto/validator": "^9.0.2", + "@web3-storage/data-segment": "^3.2.0", + "uint8arrays": "^5.0.3" + } + }, + "node_modules/@web3-storage/upload-client/node_modules/@web3-storage/capabilities/node_modules/@web3-storage/data-segment": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-3.2.0.tgz", + "integrity": "sha512-SM6eNumXzrXiQE2/J59+eEgCRZNYPxKhRoHX2QvV3/scD4qgcf4g+paWBc3UriLEY1rCboygGoPsnqYJNyZyfA==", + "dependencies": { + "@ipld/dag-cbor": "^9.0.5", + "multiformats": "^11.0.2", + "sync-multihash-sha2": "^1.0.0" + } + }, + "node_modules/@web3-storage/upload-client/node_modules/@web3-storage/capabilities/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@web3-storage/upload-client/node_modules/@web3-storage/data-segment": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-5.1.0.tgz", @@ -2012,10 +2045,23 @@ "npm": ">=7.0.0" } }, + "node_modules/@web3-storage/upload-client/node_modules/uint8arrays": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.0.tgz", + "integrity": "sha512-vA6nFepEmlSKkMBnLBaUMVvAC4G3CTmO58C12y4sq6WPDOR7mOFYOi7GlrQ4djeSbP6JG9Pv9tJDM97PedRSww==", + "dependencies": { + "multiformats": "^13.0.0" + } + }, + "node_modules/@web3-storage/upload-client/node_modules/uint8arrays/node_modules/multiformats": { + "version": "13.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.1.1.tgz", + "integrity": "sha512-JiptvwMmlxlzIlLLwhCi/srf/nk409UL0eUBr0kioRJq15hqqKyg68iftrBvhCRjR6Rw4fkNnSc4ZJXJDuta/Q==" + }, "node_modules/@web3-storage/w3up-client": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@web3-storage/w3up-client/-/w3up-client-14.0.0.tgz", - "integrity": "sha512-ZJ3YQI6av42hnUrRcQoDoVNDMeQO3HrnmNWkmsd7uMBDQcuEG2wmIWviFkcH0L4+RVBugWEwjMV1+XulW+X4rQ==", + "version": "14.1.1", + "resolved": "https://registry.npmjs.org/@web3-storage/w3up-client/-/w3up-client-14.1.1.tgz", + "integrity": "sha512-brBmN1aCJpjtNLwWpz0Jg1OkfsYs7r27m5VMOET9x+j4jy3DCtSqlUkHFIumLYrNhUn5oZrqh0kbWokcaUvrLg==", "dependencies": { "@ipld/dag-ucan": "^3.4.0", "@ucanto/client": "^9.0.1", @@ -2025,15 +2071,56 @@ "@ucanto/transport": "^9.1.1", "@web3-storage/access": "^20.0.0", "@web3-storage/blob-index": "^1.0.3", - "@web3-storage/capabilities": "^17.1.1", + "@web3-storage/capabilities": "^17.2.0", "@web3-storage/did-mailto": "^2.1.0", "@web3-storage/filecoin-client": "^3.3.3", - "@web3-storage/upload-client": "^16.0.2" + "@web3-storage/upload-client": "^16.1.1" }, "engines": { "node": ">=18" } }, + "node_modules/@web3-storage/w3up-client/node_modules/@web3-storage/capabilities": { + "version": "17.2.0", + "resolved": "https://registry.npmjs.org/@web3-storage/capabilities/-/capabilities-17.2.0.tgz", + "integrity": "sha512-hnJGIQcCAMBbR8sfgkEwnjBVcpNpNRBnzSEB2E/wKkKIjHKimw3ClsVznu6jjFExCXFaKHd6r1eAU4NcTYsueg==", + "dependencies": { + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/transport": "^9.1.1", + "@ucanto/validator": "^9.0.2", + "@web3-storage/data-segment": "^3.2.0", + "uint8arrays": "^5.0.3" + } + }, + "node_modules/@web3-storage/w3up-client/node_modules/@web3-storage/data-segment": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-3.2.0.tgz", + "integrity": "sha512-SM6eNumXzrXiQE2/J59+eEgCRZNYPxKhRoHX2QvV3/scD4qgcf4g+paWBc3UriLEY1rCboygGoPsnqYJNyZyfA==", + "dependencies": { + "@ipld/dag-cbor": "^9.0.5", + "multiformats": "^11.0.2", + "sync-multihash-sha2": "^1.0.0" + } + }, + "node_modules/@web3-storage/w3up-client/node_modules/@web3-storage/data-segment/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@web3-storage/w3up-client/node_modules/uint8arrays": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.0.tgz", + "integrity": "sha512-vA6nFepEmlSKkMBnLBaUMVvAC4G3CTmO58C12y4sq6WPDOR7mOFYOi7GlrQ4djeSbP6JG9Pv9tJDM97PedRSww==", + "dependencies": { + "multiformats": "^13.0.0" + } + }, "node_modules/@zxing/text-encoding": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", diff --git a/package.json b/package.json index f9ccded..3531357 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@web3-storage/access": "^20.0.0", "@web3-storage/data-segment": "^5.0.0", "@web3-storage/did-mailto": "^2.1.0", - "@web3-storage/w3up-client": "^14.0.0", + "@web3-storage/w3up-client": "^14.1.1", "ansi-escapes": "^6.2.0", "chalk": "^5.3.0", "files-from-path": "^1.0.4",