From cf348d9b7dc95199c7244b2357e9599cb6fabf9e Mon Sep 17 00:00:00 2001 From: Mihir Gupta Date: Sun, 9 Apr 2023 01:06:15 +0530 Subject: [PATCH 1/2] cli: fixed dep error from ipfs-http-client and concat-stream --- package.json | 5 +++++ pnpm-lock.yaml | 25 ++++++++++++++----------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 37d769368..6bb4ff61c 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,10 @@ "eslint": "^8.31.0", "jest": "26.6.3", "prettier": "^2.8.2" + }, + "pnpm": { + "overrides": { + "ipfs-http-client@34.0.0>concat-stream": "github:mihirgupta0900/concat-stream#master" + } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 48689366f..c3c776786 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,8 @@ lockfileVersion: '6.0' +overrides: + ipfs-http-client@34.0.0>concat-stream: github:mihirgupta0900/concat-stream#master + importers: .: @@ -8671,7 +8674,7 @@ packages: bs58: 4.0.1 buffer: 5.7.1 cids: 0.7.5 - concat-stream: github.com/hugomrdias/concat-stream/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034 + concat-stream: github.com/mihirgupta0900/concat-stream/ca374bb562cb9a9cf2a89bf2c873c9579780346a debug: 4.3.4(supports-color@8.1.1) detect-node: 2.1.0 end-of-stream: 1.4.4 @@ -16324,16 +16327,6 @@ packages: - debug dev: false - github.com/hugomrdias/concat-stream/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034: - resolution: {tarball: https://codeload.github.com/hugomrdias/concat-stream/tar.gz/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034} - name: concat-stream - version: 2.0.0 - engines: {node: '>=6.0.0'} - dependencies: - inherits: 2.0.4 - readable-stream: 3.6.0 - dev: false - github.com/hugomrdias/ndjson/4db16da6b42e5b39bf300c3a7cde62abb3fa3a11: resolution: {tarball: https://codeload.github.com/hugomrdias/ndjson/tar.gz/4db16da6b42e5b39bf300c3a7cde62abb3fa3a11} name: ndjson @@ -16345,3 +16338,13 @@ packages: split2: 3.2.2 through2: 3.0.2 dev: false + + github.com/mihirgupta0900/concat-stream/ca374bb562cb9a9cf2a89bf2c873c9579780346a: + resolution: {tarball: https://codeload.github.com/mihirgupta0900/concat-stream/tar.gz/ca374bb562cb9a9cf2a89bf2c873c9579780346a} + name: concat-stream + version: 2.0.0 + engines: {node: '>=6.0.0'} + dependencies: + inherits: 2.0.4 + readable-stream: 3.6.0 + dev: false From fbe3ee428278efbcab2769d67ee47615491a2e3b Mon Sep 17 00:00:00 2001 From: Mihir Gupta Date: Sun, 9 Apr 2023 01:12:50 +0530 Subject: [PATCH 2/2] chore: add changeset --- .changeset/tender-drinks-rhyme.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/tender-drinks-rhyme.md diff --git a/.changeset/tender-drinks-rhyme.md b/.changeset/tender-drinks-rhyme.md new file mode 100644 index 000000000..a55dc98c5 --- /dev/null +++ b/.changeset/tender-drinks-rhyme.md @@ -0,0 +1,6 @@ +--- +'@graphprotocol/graph-cli': patch +--- + +Fixes dependency error from `ipfs-http-client` and `concat-stream`. Visit +https://github.com/graphprotocol/graph-tooling/issues/1262 for more details.