From e475e5f4c3859233bfcbfc99fbc023b713f299de Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 1 Jan 2022 16:41:56 -0800 Subject: [PATCH] Downgrading ipfs-http-client --- package-lock.json | 312 +++++++--------------------------------------- package.json | 2 +- 2 files changed, 47 insertions(+), 267 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0eb5632..09a72f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "glob": "7.1.6", "ipfs": "0.60.0", "ipfs-coord": "6.8.5", - "ipfs-http-client": "55.0.0", + "ipfs-http-client": "54.0.2", "jsonrpc-lite": "2.2.0", "jsonwebtoken": "8.5.1", "jwt-bch-lib": "1.3.0", @@ -58,6 +58,39 @@ "uuid": "8.3.2" } }, + "../ipfs-coord": { + "version": "6.0.0", + "extraneous": true, + "license": "MIT", + "dependencies": { + "axios": "0.21.4", + "bch-encrypt-lib": "2.0.0", + "orbit-db": "0.28.0" + }, + "devDependencies": { + "@psf/bch-js": "4.20.10", + "apidoc": "0.25.0", + "chai": "4.2.0", + "coveralls": "3.1.0", + "eslint": "7.17.0", + "eslint-config-prettier": "7.1.0", + "eslint-config-standard": "16.0.2", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-prettier": "3.3.1", + "eslint-plugin-standard": "4.0.0", + "husky": "4.3.6", + "lodash.clonedeep": "4.5.0", + "mocha": "8.4.0", + "nyc": "15.1.0", + "semantic-release": "17.4.4", + "sinon": "9.2.2", + "standard": "16.0.3" + }, + "peerDependencies": { + "ipfs": "0.60.0", + "ipfs-http-client": "55.0.0" + } + }, "node_modules/@assemblyscript/loader": { "version": "0.9.4", "resolved": "http://94.130.170.209:4873/@assemblyscript%2floader/-/loader-0.9.4.tgz", @@ -1698,16 +1731,6 @@ "multiformats": "^9.5.4" } }, - "node_modules/@ipld/dag-json": { - "version": "8.0.7", - "resolved": "http://94.130.170.209:4873/@ipld%2fdag-json/-/dag-json-8.0.7.tgz", - "integrity": "sha512-nG4hdl1V4GDKZ6Mumu2tL8zSpem/lRSVpQOd1uEovF+qPRkVnb06hsETy97J3kR0EjbZgge8m5AYtrab3DSREg==", - "license": "(Apache-2.0 AND MIT)", - "dependencies": { - "cborg": "^1.5.4", - "multiformats": "^9.5.4" - } - }, "node_modules/@ipld/dag-pb": { "version": "2.1.15", "resolved": "http://94.130.170.209:4873/@ipld%2fdag-pb/-/dag-pb-2.1.15.tgz", @@ -9702,36 +9725,6 @@ "yargs": "^16.0.3" } }, - "node_modules/ipfs-cli/node_modules/ipfs-http-client": { - "version": "54.0.2", - "resolved": "http://94.130.170.209:4873/ipfs-http-client/-/ipfs-http-client-54.0.2.tgz", - "integrity": "sha512-gPTD+Hy7UdiM+Ez9n+PJmSQ5m1fShhDhIkZ+lTY2L9p7KFOU643qACqUrdZZjlZIRWHg4htHSYNPnTRh2bjOjA==", - "license": "(Apache-2.0 OR MIT)", - "dependencies": { - "@ipld/dag-cbor": "^6.0.5", - "@ipld/dag-pb": "^2.1.3", - "abort-controller": "^3.0.0", - "any-signal": "^2.1.2", - "debug": "^4.1.1", - "err-code": "^3.0.1", - "ipfs-core-types": "^0.8.4", - "ipfs-core-utils": "^0.12.2", - "ipfs-utils": "^9.0.2", - "it-first": "^1.0.6", - "it-last": "^1.0.4", - "merge-options": "^3.0.4", - "multiaddr": "^10.0.0", - "multiformats": "^9.4.13", - "native-abort-controller": "^1.0.3", - "parse-duration": "^1.0.0", - "stream-to-it": "^0.2.2", - "uint8arrays": "^3.0.0" - }, - "engines": { - "node": ">=14.0.0", - "npm": ">=3.0.0" - } - }, "node_modules/ipfs-coord": { "version": "6.8.5", "resolved": "http://94.130.170.209:4873/ipfs-coord/-/ipfs-coord-6.8.5.tgz", @@ -9898,36 +9891,6 @@ "uint8arrays": "^3.0.0" } }, - "node_modules/ipfs-core/node_modules/ipfs-http-client": { - "version": "54.0.2", - "resolved": "http://94.130.170.209:4873/ipfs-http-client/-/ipfs-http-client-54.0.2.tgz", - "integrity": "sha512-gPTD+Hy7UdiM+Ez9n+PJmSQ5m1fShhDhIkZ+lTY2L9p7KFOU643qACqUrdZZjlZIRWHg4htHSYNPnTRh2bjOjA==", - "license": "(Apache-2.0 OR MIT)", - "dependencies": { - "@ipld/dag-cbor": "^6.0.5", - "@ipld/dag-pb": "^2.1.3", - "abort-controller": "^3.0.0", - "any-signal": "^2.1.2", - "debug": "^4.1.1", - "err-code": "^3.0.1", - "ipfs-core-types": "^0.8.4", - "ipfs-core-utils": "^0.12.2", - "ipfs-utils": "^9.0.2", - "it-first": "^1.0.6", - "it-last": "^1.0.4", - "merge-options": "^3.0.4", - "multiaddr": "^10.0.0", - "multiformats": "^9.4.13", - "native-abort-controller": "^1.0.3", - "parse-duration": "^1.0.0", - "stream-to-it": "^0.2.2", - "uint8arrays": "^3.0.0" - }, - "engines": { - "node": ">=14.0.0", - "npm": ">=3.0.0" - } - }, "node_modules/ipfs-daemon": { "version": "0.10.4", "resolved": "http://94.130.170.209:4873/ipfs-daemon/-/ipfs-daemon-0.10.4.tgz", @@ -9983,20 +9946,19 @@ } }, "node_modules/ipfs-http-client": { - "version": "55.0.0", - "resolved": "http://94.130.170.209:4873/ipfs-http-client/-/ipfs-http-client-55.0.0.tgz", - "integrity": "sha512-GpvEs7C7WL9M6fN/kZbjeh4Y8YN7rY8b18tVWZnKxRsVwM25cIFrRI8CwNt3Ugin9yShieI3i9sPyzYGMrLNnQ==", + "version": "54.0.2", + "resolved": "http://94.130.170.209:4873/ipfs-http-client/-/ipfs-http-client-54.0.2.tgz", + "integrity": "sha512-gPTD+Hy7UdiM+Ez9n+PJmSQ5m1fShhDhIkZ+lTY2L9p7KFOU643qACqUrdZZjlZIRWHg4htHSYNPnTRh2bjOjA==", "license": "(Apache-2.0 OR MIT)", "dependencies": { - "@ipld/dag-cbor": "^7.0.0", - "@ipld/dag-json": "^8.0.1", + "@ipld/dag-cbor": "^6.0.5", "@ipld/dag-pb": "^2.1.3", "abort-controller": "^3.0.0", "any-signal": "^2.1.2", "debug": "^4.1.1", "err-code": "^3.0.1", - "ipfs-core-types": "^0.9.0", - "ipfs-core-utils": "^0.13.0", + "ipfs-core-types": "^0.8.4", + "ipfs-core-utils": "^0.12.2", "ipfs-utils": "^9.0.2", "it-first": "^1.0.6", "it-last": "^1.0.4", @@ -10013,66 +9975,6 @@ "npm": ">=3.0.0" } }, - "node_modules/ipfs-http-client/node_modules/@ipld/dag-cbor": { - "version": "7.0.0", - "resolved": "http://94.130.170.209:4873/@ipld%2fdag-cbor/-/dag-cbor-7.0.0.tgz", - "integrity": "sha512-us/dagGvfQ+acO8uyAfozUQ21xxvI6ZrCWwfbOuk+o+cSpCIKY30lUYRuN3kzWLvTJHvbuCVPVEH38ynM1ZBgw==", - "license": "(Apache-2.0 AND MIT)", - "dependencies": { - "cborg": "^1.6.0", - "multiformats": "^9.5.4" - } - }, - "node_modules/ipfs-http-client/node_modules/ipfs-core-types": { - "version": "0.9.0", - "resolved": "http://94.130.170.209:4873/ipfs-core-types/-/ipfs-core-types-0.9.0.tgz", - "integrity": "sha512-VJ8vJSHvI1Zm7/SxsZo03T+zzpsg8pkgiIi5hfwSJlsrJ1E2v68QPlnLshGHUSYw89Oxq0IbETYl2pGTFHTWfg==", - "license": "(Apache-2.0 OR MIT)", - "dependencies": { - "interface-datastore": "^6.0.2", - "multiaddr": "^10.0.0", - "multiformats": "^9.4.13" - } - }, - "node_modules/ipfs-http-client/node_modules/ipfs-core-utils": { - "version": "0.13.0", - "resolved": "http://94.130.170.209:4873/ipfs-core-utils/-/ipfs-core-utils-0.13.0.tgz", - "integrity": "sha512-HP5EafxU4/dLW3U13CFsgqVO5Ika8N4sRSIb/dTg16NjLOozMH31TXV0Grtu2ZWo1T10ahTzMvrfT5f4mhioXw==", - "license": "MIT", - "dependencies": { - "any-signal": "^2.1.2", - "blob-to-it": "^1.0.1", - "browser-readablestream-to-it": "^1.0.1", - "debug": "^4.1.1", - "err-code": "^3.0.1", - "ipfs-core-types": "^0.9.0", - "ipfs-unixfs": "^6.0.3", - "ipfs-utils": "^9.0.2", - "it-all": "^1.0.4", - "it-map": "^1.0.4", - "it-peekable": "^1.0.2", - "it-to-stream": "^1.0.0", - "merge-options": "^3.0.4", - "multiaddr": "^10.0.0", - "multiaddr-to-uri": "^8.0.0", - "multiformats": "^9.4.13", - "nanoid": "^3.1.23", - "parse-duration": "^1.0.0", - "timeout-abort-controller": "^2.0.0", - "uint8arrays": "^3.0.0" - } - }, - "node_modules/ipfs-http-client/node_modules/timeout-abort-controller": { - "version": "2.0.0", - "resolved": "http://94.130.170.209:4873/timeout-abort-controller/-/timeout-abort-controller-2.0.0.tgz", - "integrity": "sha512-2FAPXfzTPYEgw27bQGTHc0SzrbmnU2eso4qo172zMLZzaGqeu09PFa5B2FCUHM1tflgRqPgn5KQgp6+Vex4uNA==", - "license": "MIT", - "dependencies": { - "abort-controller": "^3.0.0", - "native-abort-controller": "^1.0.4", - "retimer": "^3.0.0" - } - }, "node_modules/ipfs-http-gateway": { "version": "0.7.4", "resolved": "http://94.130.170.209:4873/ipfs-http-gateway/-/ipfs-http-gateway-0.7.4.tgz", @@ -26946,15 +26848,6 @@ "multiformats": "^9.5.4" } }, - "@ipld/dag-json": { - "version": "8.0.7", - "resolved": "http://94.130.170.209:4873/@ipld%2fdag-json/-/dag-json-8.0.7.tgz", - "integrity": "sha512-nG4hdl1V4GDKZ6Mumu2tL8zSpem/lRSVpQOd1uEovF+qPRkVnb06hsETy97J3kR0EjbZgge8m5AYtrab3DSREg==", - "requires": { - "cborg": "^1.5.4", - "multiformats": "^9.5.4" - } - }, "@ipld/dag-pb": { "version": "2.1.15", "resolved": "http://94.130.170.209:4873/@ipld%2fdag-pb/-/dag-pb-2.1.15.tgz", @@ -32867,33 +32760,6 @@ "stream-to-it": "^0.2.2", "uint8arrays": "^3.0.0", "yargs": "^16.0.3" - }, - "dependencies": { - "ipfs-http-client": { - "version": "54.0.2", - "resolved": "http://94.130.170.209:4873/ipfs-http-client/-/ipfs-http-client-54.0.2.tgz", - "integrity": "sha512-gPTD+Hy7UdiM+Ez9n+PJmSQ5m1fShhDhIkZ+lTY2L9p7KFOU643qACqUrdZZjlZIRWHg4htHSYNPnTRh2bjOjA==", - "requires": { - "@ipld/dag-cbor": "^6.0.5", - "@ipld/dag-pb": "^2.1.3", - "abort-controller": "^3.0.0", - "any-signal": "^2.1.2", - "debug": "^4.1.1", - "err-code": "^3.0.1", - "ipfs-core-types": "^0.8.4", - "ipfs-core-utils": "^0.12.2", - "ipfs-utils": "^9.0.2", - "it-first": "^1.0.6", - "it-last": "^1.0.4", - "merge-options": "^3.0.4", - "multiaddr": "^10.0.0", - "multiformats": "^9.4.13", - "native-abort-controller": "^1.0.3", - "parse-duration": "^1.0.0", - "stream-to-it": "^0.2.2", - "uint8arrays": "^3.0.0" - } - } } }, "ipfs-coord": { @@ -32984,33 +32850,6 @@ "peer-id": "^0.15.1", "timeout-abort-controller": "^1.1.1", "uint8arrays": "^3.0.0" - }, - "dependencies": { - "ipfs-http-client": { - "version": "54.0.2", - "resolved": "http://94.130.170.209:4873/ipfs-http-client/-/ipfs-http-client-54.0.2.tgz", - "integrity": "sha512-gPTD+Hy7UdiM+Ez9n+PJmSQ5m1fShhDhIkZ+lTY2L9p7KFOU643qACqUrdZZjlZIRWHg4htHSYNPnTRh2bjOjA==", - "requires": { - "@ipld/dag-cbor": "^6.0.5", - "@ipld/dag-pb": "^2.1.3", - "abort-controller": "^3.0.0", - "any-signal": "^2.1.2", - "debug": "^4.1.1", - "err-code": "^3.0.1", - "ipfs-core-types": "^0.8.4", - "ipfs-core-utils": "^0.12.2", - "ipfs-utils": "^9.0.2", - "it-first": "^1.0.6", - "it-last": "^1.0.4", - "merge-options": "^3.0.4", - "multiaddr": "^10.0.0", - "multiformats": "^9.4.13", - "native-abort-controller": "^1.0.3", - "parse-duration": "^1.0.0", - "stream-to-it": "^0.2.2", - "uint8arrays": "^3.0.0" - } - } } }, "ipfs-core-config": { @@ -33131,19 +32970,18 @@ } }, "ipfs-http-client": { - "version": "55.0.0", - "resolved": "http://94.130.170.209:4873/ipfs-http-client/-/ipfs-http-client-55.0.0.tgz", - "integrity": "sha512-GpvEs7C7WL9M6fN/kZbjeh4Y8YN7rY8b18tVWZnKxRsVwM25cIFrRI8CwNt3Ugin9yShieI3i9sPyzYGMrLNnQ==", + "version": "54.0.2", + "resolved": "http://94.130.170.209:4873/ipfs-http-client/-/ipfs-http-client-54.0.2.tgz", + "integrity": "sha512-gPTD+Hy7UdiM+Ez9n+PJmSQ5m1fShhDhIkZ+lTY2L9p7KFOU643qACqUrdZZjlZIRWHg4htHSYNPnTRh2bjOjA==", "requires": { - "@ipld/dag-cbor": "^7.0.0", - "@ipld/dag-json": "^8.0.1", + "@ipld/dag-cbor": "^6.0.5", "@ipld/dag-pb": "^2.1.3", "abort-controller": "^3.0.0", "any-signal": "^2.1.2", "debug": "^4.1.1", "err-code": "^3.0.1", - "ipfs-core-types": "^0.9.0", - "ipfs-core-utils": "^0.13.0", + "ipfs-core-types": "^0.8.4", + "ipfs-core-utils": "^0.12.2", "ipfs-utils": "^9.0.2", "it-first": "^1.0.6", "it-last": "^1.0.4", @@ -33154,64 +32992,6 @@ "parse-duration": "^1.0.0", "stream-to-it": "^0.2.2", "uint8arrays": "^3.0.0" - }, - "dependencies": { - "@ipld/dag-cbor": { - "version": "7.0.0", - "resolved": "http://94.130.170.209:4873/@ipld%2fdag-cbor/-/dag-cbor-7.0.0.tgz", - "integrity": "sha512-us/dagGvfQ+acO8uyAfozUQ21xxvI6ZrCWwfbOuk+o+cSpCIKY30lUYRuN3kzWLvTJHvbuCVPVEH38ynM1ZBgw==", - "requires": { - "cborg": "^1.6.0", - "multiformats": "^9.5.4" - } - }, - "ipfs-core-types": { - "version": "0.9.0", - "resolved": "http://94.130.170.209:4873/ipfs-core-types/-/ipfs-core-types-0.9.0.tgz", - "integrity": "sha512-VJ8vJSHvI1Zm7/SxsZo03T+zzpsg8pkgiIi5hfwSJlsrJ1E2v68QPlnLshGHUSYw89Oxq0IbETYl2pGTFHTWfg==", - "requires": { - "interface-datastore": "^6.0.2", - "multiaddr": "^10.0.0", - "multiformats": "^9.4.13" - } - }, - "ipfs-core-utils": { - "version": "0.13.0", - "resolved": "http://94.130.170.209:4873/ipfs-core-utils/-/ipfs-core-utils-0.13.0.tgz", - "integrity": "sha512-HP5EafxU4/dLW3U13CFsgqVO5Ika8N4sRSIb/dTg16NjLOozMH31TXV0Grtu2ZWo1T10ahTzMvrfT5f4mhioXw==", - "requires": { - "any-signal": "^2.1.2", - "blob-to-it": "^1.0.1", - "browser-readablestream-to-it": "^1.0.1", - "debug": "^4.1.1", - "err-code": "^3.0.1", - "ipfs-core-types": "^0.9.0", - "ipfs-unixfs": "^6.0.3", - "ipfs-utils": "^9.0.2", - "it-all": "^1.0.4", - "it-map": "^1.0.4", - "it-peekable": "^1.0.2", - "it-to-stream": "^1.0.0", - "merge-options": "^3.0.4", - "multiaddr": "^10.0.0", - "multiaddr-to-uri": "^8.0.0", - "multiformats": "^9.4.13", - "nanoid": "^3.1.23", - "parse-duration": "^1.0.0", - "timeout-abort-controller": "^2.0.0", - "uint8arrays": "^3.0.0" - } - }, - "timeout-abort-controller": { - "version": "2.0.0", - "resolved": "http://94.130.170.209:4873/timeout-abort-controller/-/timeout-abort-controller-2.0.0.tgz", - "integrity": "sha512-2FAPXfzTPYEgw27bQGTHc0SzrbmnU2eso4qo172zMLZzaGqeu09PFa5B2FCUHM1tflgRqPgn5KQgp6+Vex4uNA==", - "requires": { - "abort-controller": "^3.0.0", - "native-abort-controller": "^1.0.4", - "retimer": "^3.0.0" - } - } } }, "ipfs-http-gateway": { diff --git a/package.json b/package.json index 465bfc7..633fa95 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "glob": "7.1.6", "ipfs": "0.60.0", "ipfs-coord": "6.8.5", - "ipfs-http-client": "55.0.0", + "ipfs-http-client": "54.0.2", "jsonrpc-lite": "2.2.0", "jsonwebtoken": "8.5.1", "jwt-bch-lib": "1.3.0",