Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
fix: use promisify-es6 instead of Nodes.js' promisify
Browse files Browse the repository at this point in the history
js-ipfs is using the promisify-es6 module, so it makes sense that
we use it as well.
  • Loading branch information
vmx committed Mar 21, 2019
1 parent c271bda commit 79e521c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"ipld-raw": "^2.0.1",
"merge-options": "^1.0.1",
"multicodec": "~0.5.0",
"promisify-es6": "^1.0.3",
"typical": "^3.0.0"
},
"contributors": [
Expand Down
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
'use strict'

const promisify = require('util').promisify

const Block = require('ipfs-block')
const CID = require('cids')
const mergeOptions = require('merge-options')
const ipldDagCbor = require('ipld-dag-cbor')
const ipldDagPb = require('ipld-dag-pb')
const ipldRaw = require('ipld-raw')
const multicodec = require('multicodec')
const promisify = require('promisify-es6')
const typical = require('typical')
const { extendIterator } = require('./util')

Expand Down

0 comments on commit 79e521c

Please sign in to comment.