Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

peer-info

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peer-info - npm Package Compare versions

Comparing version 0.17.2 to 0.17.3

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.17.3"></a>
## [0.17.3](https://github.com/libp2p/js-peer-info/compare/v0.17.2...v0.17.3) (2020-02-13)
### Bug Fixes
* remove use of assert module ([#88](https://github.com/libp2p/js-peer-info/issues/88)) ([a0613c5](https://github.com/libp2p/js-peer-info/commit/a0613c5))
<a name="0.17.2"></a>

@@ -2,0 +12,0 @@ ## [0.17.2](https://github.com/libp2p/js-peer-info/compare/v0.17.1...v0.17.2) (2020-02-11)

3

package.json
{
"name": "peer-info",
"version": "0.17.2",
"version": "0.17.3",
"description": "IPFS Peer abstraction JavaScript implementation",

@@ -54,2 +54,3 @@ "leadMaintainer": "Vasco Santos <vasco.santos@moxy.studio>",

"Alan Shaw <alan.shaw@protocol.ai>",
"Alex Potsides <alex@achingbrain.net>",
"Arnaud <arnaud.valensi@gmail.com>",

@@ -56,0 +57,0 @@ "Cayman <caymannava@gmail.com>",

@@ -6,3 +6,2 @@ 'use strict'

const MultiaddrSet = require('./multiaddr-set')
const assert = require('assert')

@@ -12,3 +11,5 @@ // Peer represents a peer on the IPFS network

constructor (peerId) {
assert(peerId, 'Missing peerId. Use Peer.create() to create one')
if (!peerId) {
throw new Error('Missing peerId. Use Peer.create() to create one')
}

@@ -15,0 +16,0 @@ this.id = peerId

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc