@libp2p/utils
Advanced tools
Comparing version 6.1.2 to 6.1.3-432955390
@@ -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'; |
{ | ||
"name": "@libp2p/utils", | ||
"version": "6.1.2", | ||
"version": "6.1.3-432955390", | ||
"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": { | ||
@@ -153,5 +161,5 @@ "types": "./dist/src/stream-to-ma-conn.d.ts", | ||
"@chainsafe/is-ip": "^2.0.2", | ||
"@libp2p/crypto": "^5.0.5", | ||
"@libp2p/interface": "^2.1.3", | ||
"@libp2p/logger": "^5.1.2", | ||
"@libp2p/crypto": "5.0.6-432955390", | ||
"@libp2p/interface": "2.2.0-432955390", | ||
"@libp2p/logger": "5.1.3-432955390", | ||
"@multiformats/multiaddr": "^12.2.3", | ||
@@ -177,3 +185,3 @@ "@sindresorhus/fnv1a": "^3.1.0", | ||
"devDependencies": { | ||
"@libp2p/peer-id": "^5.0.6", | ||
"@libp2p/peer-id": "5.0.7-432955390", | ||
"@types/netmask": "^2.0.5", | ||
@@ -180,0 +188,0 @@ "aegir": "^44.0.1", |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169
5077
266873
1
+ Added@libp2p/crypto@5.0.6-432955390(transitive)
+ Added@libp2p/interface@2.2.0-432955390(transitive)
+ Added@libp2p/logger@5.1.3-432955390(transitive)
- Removed@libp2p/crypto@5.0.7(transitive)
- Removed@libp2p/interface@2.2.1(transitive)
- Removed@libp2p/logger@5.1.4(transitive)