Skip to content

Commit

Permalink
fix bufio dependency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
antooni committed Oct 19, 2023
1 parent 8b9569a commit 30f51ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/optimism-decoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/optimism-decoder/src/decode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferReader } from '@loopx/bufio'
import { BufferReader } from 'bufio'
import { ethers } from 'ethers'
import zlib from 'zlib'

Expand Down
17 changes: 5 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
Expand Down Expand Up @@ -925,6 +918,11 @@ [email protected]:
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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 30f51ca

Please sign in to comment.