chore: update deps (#137)

This commit is contained in:
Vasco Santos 2021-01-26 09:10:46 +01:00 committed by GitHub
parent 41ab96c47d
commit e7d0eaa796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 8 deletions

View File

@ -8,7 +8,7 @@
"bin": "src/bin.js",
"scripts": {
"lint": "aegir lint",
"build": "aegir build",
"build": "aegir build --no-types",
"test": "aegir test",
"test:node": "aegir test -t node",
"test:browser": "aegir test -t browser -t webworker",
@ -36,19 +36,19 @@
},
"homepage": "https://github.com/libp2p/js-peer-id",
"devDependencies": {
"@types/chai": "^4.2.7",
"@types/chai": "^4.2.14",
"@types/dirty-chai": "^2.0.2",
"@types/mocha": "^8.0.1",
"aegir": "^25.0.0"
"@types/mocha": "^8.2.0",
"aegir": "^30.3.0"
},
"dependencies": {
"cids": "^1.0.0",
"cids": "^1.1.5",
"class-is": "^1.1.0",
"libp2p-crypto": "^0.18.0",
"libp2p-crypto": "^0.19.0",
"minimist": "^1.2.5",
"multihashes": "^3.0.1",
"multihashes": "^3.1.1",
"protons": "^2.0.0",
"uint8arrays": "^1.1.0"
"uint8arrays": "^2.0.5"
},
"repository": {
"type": "git",

View File

@ -144,6 +144,7 @@ class PeerId {
/**
* Checks the equality of `this` peer against a given PeerId.
*
* @param {Uint8Array|PeerId} id
* @returns {boolean}
*/
@ -159,6 +160,7 @@ class PeerId {
/**
* Checks the equality of `this` peer against a given PeerId.
*
* @deprecated Use `.equals`
* @param {Uint8Array|PeerId} id
* @returns {boolean}
@ -181,6 +183,7 @@ class PeerId {
/**
* Check if the PeerId has an inline public key.
*
* @returns {boolean}
*/
hasInlinePublicKey () {