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

@libp2p/utils

Package Overview
Dependencies
Maintainers
6
Versions
544
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/utils - npm Package Compare versions

Comparing version 6.1.3 to 6.2.0

dist/src/debounce.d.ts

3

dist/src/abstract-stream.js

@@ -183,2 +183,5 @@ import { StreamResetError, StreamStateError } from '@libp2p/interface';

async close(options) {
if (this.status !== 'open') {
return;
}
this.log.trace('closing gracefully');

@@ -185,0 +188,0 @@ this.status = 'closing';

@@ -32,2 +32,6 @@ {

"./close-source:closeSource": "https://libp2p.github.io/js-libp2p/functions/_libp2p_utils.close_source.closeSource.html",
"DebouncedFunction": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.debounce.DebouncedFunction.html",
"./debounce:DebouncedFunction": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.debounce.DebouncedFunction.html",
"debounce": "https://libp2p.github.io/js-libp2p/functions/_libp2p_utils.debounce.debounce.html",
"./debounce:debounce": "https://libp2p.github.io/js-libp2p/functions/_libp2p_utils.debounce.debounce.html",
"BloomFilter": "https://libp2p.github.io/js-libp2p/classes/_libp2p_utils.filters.BloomFilter.html",

@@ -100,2 +104,8 @@ "Bucket": "https://libp2p.github.io/js-libp2p/classes/_libp2p_utils.filters.Bucket.html",

"./rate-limiter:RateRecord": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.rate_limiter.RateRecord.html",
"RepeatingTask": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.repeating_task.RepeatingTask.html",
"./repeating-task:RepeatingTask": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.repeating_task.RepeatingTask.html",
"RepeatingTaskOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.repeating_task.RepeatingTaskOptions.html",
"./repeating-task:RepeatingTaskOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.repeating_task.RepeatingTaskOptions.html",
"repeatingTask": "https://libp2p.github.io/js-libp2p/functions/_libp2p_utils.repeating_task.repeatingTask-1.html",
"./repeating-task:repeatingTask": "https://libp2p.github.io/js-libp2p/functions/_libp2p_utils.repeating_task.repeatingTask-1.html",
"StreamProperties": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.stream_to_ma_conn.StreamProperties.html",

@@ -102,0 +112,0 @@ "./stream-to-ma-conn:StreamProperties": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_utils.stream_to_ma_conn.StreamProperties.html",

{
"name": "@libp2p/utils",
"version": "6.1.3",
"version": "6.2.0",
"description": "Package to aggregate shared logic and dependencies for the libp2p ecosystem",

@@ -71,2 +71,6 @@ "license": "Apache-2.0 OR MIT",

},
"./debounce": {
"types": "./dist/src/debounce.d.ts",
"import": "./dist/src/debounce.js"
},
"./filters": {

@@ -116,2 +120,6 @@ "types": "./dist/src/filters/index.d.ts",

},
"./repeating-task": {
"types": "./dist/src/repeating-task.d.ts",
"import": "./dist/src/repeating-task.js"
},
"./stream-to-ma-conn": {

@@ -118,0 +126,0 @@ "types": "./dist/src/stream-to-ma-conn.d.ts",

@@ -287,2 +287,6 @@ import { StreamResetError, StreamStateError } from '@libp2p/interface'

async close (options?: AbortOptions): Promise<void> {
if (this.status !== 'open') {
return
}
this.log.trace('closing gracefully')

@@ -289,0 +293,0 @@

Sorry, the diff of this file is not supported yet

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