From 30f51cadc889643ba416ad0db20790a58e1de4c6 Mon Sep 17 00:00:00 2001 From: antooni Date: Thu, 19 Oct 2023 12:32:02 +0200 Subject: [PATCH] fix bufio dependency issue --- packages/optimism-decoder/package.json | 2 +- packages/optimism-decoder/src/decode.ts | 2 +- yarn.lock | 17 +++++------------ 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/packages/optimism-decoder/package.json b/packages/optimism-decoder/package.json index 36057757..44b91446 100644 --- a/packages/optimism-decoder/package.json +++ b/packages/optimism-decoder/package.json @@ -12,9 +12,9 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@loopx/bufio": "^1.2.2", "@types/node": "^17.0.41", "@types/node-fetch": "^2.6.2", + "bufio": "^1.2.1", "chalk": "^4.1.2", "dotenv": "^16.0.1", "ethers": "^5.6.8", diff --git a/packages/optimism-decoder/src/decode.ts b/packages/optimism-decoder/src/decode.ts index 31c4b539..6611e9ad 100644 --- a/packages/optimism-decoder/src/decode.ts +++ b/packages/optimism-decoder/src/decode.ts @@ -1,4 +1,4 @@ -import { BufferReader } from '@loopx/bufio' +import { BufferReader } from 'bufio' import { ethers } from 'ethers' import zlib from 'zlib' diff --git a/yarn.lock b/yarn.lock index 54f8e0ca..7e11eef3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -439,13 +439,6 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" -"@loopx/bufio@^1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@loopx/bufio/-/bufio-1.2.2.tgz#1acdb9d86dd1d0b8e655bf63a101758b9bc875d7" - integrity sha512-TdRhghkpAIZrVKjOQleaAGqBSuHDgoYt2ZoY8k5QN8r+yJCEVUeWFZdwtYC/WHWvRkT2YLgq8d4p2eZDTsTr3w== - dependencies: - tslib "^2.2.0" - "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -925,6 +918,11 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" +bufio@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/bufio/-/bufio-1.2.1.tgz#8d4ab3ddfcd5faa90f996f922f9397d41cbaf2de" + integrity sha512-9oR3zNdupcg/Ge2sSHQF3GX+kmvL/fTPvD0nd5AGLq8SjUYnTz+SlFjK/GXidndbZtIj+pVKXiWeR9w6e9wKCA== + cache-base@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" @@ -3790,11 +3788,6 @@ tslib@^1.8.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.2.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== - tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"