Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
fix: add buffer (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias authored Apr 28, 2020
1 parent 9149058 commit 0eb097e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"@hapi/hapi": "^18.4.0",
"@hapi/inert": "^5.2.2",
"abortable-iterator": "^3.0.0",
"buffer": "^5.6.0",
"class-is": "^1.1.0",
"debug": "^4.1.1",
"err-code": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/socket-to-conn.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const abortable = require('abortable-iterator')
const toIterable = require('stream-to-it')

const { Buffer } = require('buffer')
const { CLOSE_TIMEOUT } = require('./constants')
const toMultiaddr = require('libp2p-utils/src/ip-port-to-multiaddr')

Expand Down

0 comments on commit 0eb097e

Please sign in to comment.