Skip to content

Commit 3dce143

Browse files
committed
fix: pin.ls ignored opts when hash was present
Solves problem described in #360 (comment) by applying fix for ipfs-api from ipfs-inactive/js-ipfs-http-client#875 Closes #360
1 parent b7606ae commit 3dce143

File tree

2 files changed

+47
-4
lines changed

2 files changed

+47
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"file-type": "9.0.0",
111111
"filesize": "3.6.1",
112112
"ipfs": "0.31.7",
113-
"ipfs-api": "24.0.2",
113+
"ipfs-api": "https://github.com/ipfs/js-ipfs-api/tarball/14f3006d746ee05b2072e01cb5943a4229a07738/js-ipfs-api.tar.gz",
114114
"ipfs-css": "0.11.0",
115115
"ipfs-http-response": "0.2.0",
116116
"ipfs-postmsg-proxy": "3.1.1",

yarn.lock

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6030,7 +6030,7 @@ [email protected]:
60306030
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e"
60316031
integrity sha1-6qM9bd16zo9/b+DJygRA5wZzix4=
60326032

6033-
ipfs-api@24.0.2, ipfs-api@^24.0.0:
6033+
ipfs-api@^24.0.0:
60346034
version "24.0.2"
60356035
resolved "https://registry.yarnpkg.com/ipfs-api/-/ipfs-api-24.0.2.tgz#c245ce859f40fde0bf24f7fbe829f048f08c8279"
60366036
integrity sha512-3uxSZ+KNlQql3HO//gfR2Q+MTrfcmkLPlGP9Ewv28Ri+IEUZ3oawo9JahWCEGvXrnJmpRpD9Ko8dYHQZTq+3bA==
@@ -6072,6 +6072,49 @@ [email protected], ipfs-api@^24.0.0:
60726072
streamifier "~0.1.1"
60736073
tar-stream "^1.6.1"
60746074

6075+
"ipfs-api@https://github.com/ipfs/js-ipfs-api/tarball/14f3006d746ee05b2072e01cb5943a4229a07738/js-ipfs-api.tar.gz":
6076+
version "25.0.0"
6077+
resolved "https://github.com/ipfs/js-ipfs-api/tarball/14f3006d746ee05b2072e01cb5943a4229a07738/js-ipfs-api.tar.gz#69ff767c3ee73a1f35e8c6ed0c44237981bb38e1"
6078+
dependencies:
6079+
async "^2.6.1"
6080+
big.js "^5.1.2"
6081+
bl "^2.0.1"
6082+
bs58 "^4.0.1"
6083+
cids "~0.5.3"
6084+
concat-stream "^1.6.2"
6085+
debug "^3.1.0"
6086+
detect-node "^2.0.3"
6087+
flatmap "0.0.3"
6088+
glob "^7.1.2"
6089+
ipfs-block "~0.7.1"
6090+
ipfs-unixfs "~0.1.15"
6091+
ipld-dag-cbor "~0.12.1"
6092+
ipld-dag-pb "~0.14.6"
6093+
is-ipfs "~0.4.2"
6094+
is-pull-stream "0.0.0"
6095+
is-stream "^1.1.0"
6096+
libp2p-crypto "~0.13.0"
6097+
lodash "^4.17.11"
6098+
lru-cache "^4.1.3"
6099+
multiaddr "^5.0.0"
6100+
multibase "~0.4.0"
6101+
multihashes "~0.4.13"
6102+
ndjson "^1.5.0"
6103+
once "^1.4.0"
6104+
peer-id "~0.11.0"
6105+
peer-info "~0.14.1"
6106+
promisify-es6 "^1.0.3"
6107+
pull-defer "~0.2.2"
6108+
pull-pushable "^2.2.0"
6109+
pull-stream-to-stream "^1.3.4"
6110+
pump "^3.0.0"
6111+
qs "^6.5.2"
6112+
readable-stream "^2.3.6"
6113+
stream-http "^3.0.0"
6114+
stream-to-pull-stream "^1.7.2"
6115+
streamifier "~0.1.1"
6116+
tar-stream "^1.6.1"
6117+
60756118
ipfs-bitswap@~0.20.3:
60766119
version "0.20.3"
60776120
resolved "https://registry.yarnpkg.com/ipfs-bitswap/-/ipfs-bitswap-0.20.3.tgz#eb7f5e959da9d0e841a5aaef725fddea186a4e51"
@@ -8152,7 +8195,7 @@ lodash@=3.10.1:
81528195
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
81538196
integrity sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=
81548197

8155-
lodash@^4.0.0, lodash@^4.11.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.16.3, lodash@^4.17.10, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0, lodash@^4.6.1, lodash@^4.8.0, lodash@~4.17.2:
8198+
lodash@^4.0.0, lodash@^4.11.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.16.3, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0, lodash@^4.6.1, lodash@^4.8.0, lodash@~4.17.2:
81568199
version "4.17.11"
81578200
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
81588201
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
@@ -12311,7 +12354,7 @@ stream-each@^1.1.0:
1231112354
end-of-stream "^1.1.0"
1231212355
stream-shift "^1.0.0"
1231312356

12314-
[email protected], stream-http@^2.7.2, stream-http@^2.8.3:
12357+
[email protected], stream-http@^2.7.2, stream-http@^2.8.3, stream-http@^3.0.0:
1231512358
version "3.0.0"
1231612359
resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-3.0.0.tgz#bd6d3c52610098699e25eb2dfcd188e30e0d12e4"
1231712360
integrity sha512-JELJfd+btL9GHtxU3+XXhg9NLYrKFnhybfvRuDghtyVkOFydz3PKNT1df07AMr88qW03WHF+FSV0PySpXignCA==

0 commit comments

Comments
 (0)