chore: swap promisify to maintained package (#896)

Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>
This commit is contained in:
TJKoury 2021-03-09 10:55:38 -05:00 committed by GitHub
parent 5f702f3481
commit f2f361998d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -63,6 +63,7 @@
"class-is": "^1.1.0",
"debug": "^4.3.1",
"err-code": "^2.0.0",
"es6-promisify": "^6.1.1",
"events": "^3.2.0",
"hashlru": "^2.3.0",
"interface-datastore": "^3.0.3",
@ -97,7 +98,6 @@
"p-settle": "^4.0.1",
"peer-id": "^0.14.2",
"private-ip": "^2.0.0",
"promisify-es6": "^1.0.3",
"protons": "^2.0.0",
"retimer": "^2.0.0",
"sanitize-filename": "^1.6.3",

View File

@ -2,7 +2,7 @@
const NatAPI = require('@motrix/nat-api')
const debug = require('debug')
const promisify = require('promisify-es6')
const promisify = require('es6-promisify')
const Multiaddr = require('multiaddr')
const log = Object.assign(debug('libp2p:nat'), {
error: debug('libp2p:nat:err')