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
578
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-c2ff2e454 to 6.1.3-d30d07e6f

6

dist/src/debounce.d.ts

@@ -1,4 +0,4 @@

export interface CancelableFunction {
import type { Startable } from '@libp2p/interface';
export interface DebouncedFunction extends Startable {
(): void;
stop(): void;
}

@@ -10,3 +10,3 @@ /**

*/
export declare function debounce(func: () => void | Promise<void>, wait: number): CancelableFunction;
export declare function debounce(func: () => void | Promise<void>, wait: number): DebouncedFunction;
//# sourceMappingURL=debounce.d.ts.map

@@ -16,2 +16,3 @@ /**

};
output.start = () => { };
output.stop = () => {

@@ -18,0 +19,0 @@ clearTimeout(timeout);

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

@@ -159,5 +159,5 @@ "license": "Apache-2.0 OR MIT",

"@chainsafe/is-ip": "^2.0.2",
"@libp2p/crypto": "5.0.6-c2ff2e454",
"@libp2p/interface": "2.2.0-c2ff2e454",
"@libp2p/logger": "5.1.3-c2ff2e454",
"@libp2p/crypto": "5.0.6-d30d07e6f",
"@libp2p/interface": "2.2.0-d30d07e6f",
"@libp2p/logger": "5.1.3-d30d07e6f",
"@multiformats/multiaddr": "^12.2.3",

@@ -183,3 +183,3 @@ "@sindresorhus/fnv1a": "^3.1.0",

"devDependencies": {
"@libp2p/peer-id": "5.0.7-c2ff2e454",
"@libp2p/peer-id": "5.0.7-d30d07e6f",
"@types/netmask": "^2.0.5",

@@ -186,0 +186,0 @@ "aegir": "^44.0.1",

@@ -1,4 +0,5 @@

export interface CancelableFunction {
import type { Startable } from '@libp2p/interface'
export interface DebouncedFunction extends Startable {
(): void
stop(): void
}

@@ -11,3 +12,3 @@

*/
export function debounce (func: () => void | Promise<void>, wait: number): CancelableFunction {
export function debounce (func: () => void | Promise<void>, wait: number): DebouncedFunction {
let timeout: ReturnType<typeof setTimeout> | undefined

@@ -24,2 +25,3 @@

}
output.start = () => {}
output.stop = () => {

@@ -26,0 +28,0 @@ clearTimeout(timeout)

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