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

Commit

Permalink
fix: add buffer (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias authored Mar 18, 2020
1 parent 3ab7f7a commit 71f3e5b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"abort-controller": "^3.0.0",
"abortable-iterator": "^3.0.0",
"bl": "^4.0.0",
"buffer": "^5.5.0",
"debug": "^4.1.1",
"it-pipe": "^1.0.1",
"it-pushable": "^1.3.1",
Expand Down
1 change: 1 addition & 0 deletions src/coder/encode.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict'

const { Buffer } = require('buffer')
const varint = require('varint')
const BufferList = require('bl/BufferList')

Expand Down
1 change: 1 addition & 0 deletions test/coder.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/* eslint max-nested-callbacks: ["error", 5] */
'use strict'

const { Buffer } = require('buffer')
const chai = require('chai')
const dirtyChai = require('dirty-chai')
const { BufferList } = require('bl')
Expand Down
1 change: 1 addition & 0 deletions test/stream.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-env mocha */
'use strict'

const { Buffer } = require('buffer')
const chai = require('chai')
const dirtyChai = require('dirty-chai')
const { expect } = chai
Expand Down

0 comments on commit 71f3e5b

Please sign in to comment.