@libp2p/utils
Advanced tools
Comparing version 3.0.11 to 3.0.12-3dfc236e
@@ -1,2 +0,2 @@ | ||
import { Multiaddr } from '@multiformats/multiaddr'; | ||
import { type Multiaddr } from '@multiformats/multiaddr'; | ||
export declare const Errors: { | ||
@@ -3,0 +3,0 @@ ERR_INVALID_IP_PARAMETER: string; |
@@ -0,5 +1,5 @@ | ||
import { Address4, Address6 } from '@achingbrain/ip-address'; | ||
import { CodeError } from '@libp2p/interfaces/errors'; | ||
import { logger } from '@libp2p/logger'; | ||
import { multiaddr } from '@multiformats/multiaddr'; | ||
import { CodeError } from '@libp2p/interfaces/errors'; | ||
import { Address4, Address6 } from '@achingbrain/ip-address'; | ||
const log = logger('libp2p:ip-port-to-multiaddr'); | ||
@@ -6,0 +6,0 @@ export const Errors = { |
@@ -0,3 +1,3 @@ | ||
import type { MultiaddrConnection } from '@libp2p/interface-connection'; | ||
import type { Multiaddr } from '@multiformats/multiaddr'; | ||
import type { MultiaddrConnection } from '@libp2p/interface-connection'; | ||
import type { Duplex, Source } from 'it-stream-types'; | ||
@@ -4,0 +4,0 @@ import type { Uint8ArrayList } from 'uint8arraylist'; |
@@ -0,3 +1,3 @@ | ||
import { logger } from '@libp2p/logger'; | ||
import { abortableSource } from 'abortable-iterator'; | ||
import { logger } from '@libp2p/logger'; | ||
const log = logger('libp2p:stream:converter'); | ||
@@ -4,0 +4,0 @@ /** |
124
package.json
{ | ||
"name": "@libp2p/utils", | ||
"version": "3.0.11", | ||
"version": "3.0.12-3dfc236e", | ||
"description": "Package to aggregate shared logic and dependencies for the libp2p ecosystem", | ||
"license": "Apache-2.0 OR MIT", | ||
"homepage": "https://github.com/libp2p/js-libp2p-utils#readme", | ||
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/utils#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/libp2p/js-libp2p-utils.git" | ||
"url": "git+https://github.com/libp2p/js-libp2p.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/libp2p/js-libp2p-utils/issues" | ||
"url": "https://github.com/libp2p/js-libp2p/issues" | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0", | ||
"npm": ">=7.0.0" | ||
}, | ||
"type": "module", | ||
@@ -78,87 +74,2 @@ "types": "./dist/src/index.d.ts", | ||
}, | ||
"release": { | ||
"branches": [ | ||
"master" | ||
], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "conventionalcommits", | ||
"releaseRules": [ | ||
{ | ||
"breaking": true, | ||
"release": "major" | ||
}, | ||
{ | ||
"revert": true, | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "feat", | ||
"release": "minor" | ||
}, | ||
{ | ||
"type": "fix", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "docs", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "deps", | ||
"release": "patch" | ||
}, | ||
{ | ||
"scope": "no-release", | ||
"release": false | ||
} | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "conventionalcommits", | ||
"presetConfig": { | ||
"types": [ | ||
{ | ||
"type": "feat", | ||
"section": "Features" | ||
}, | ||
{ | ||
"type": "fix", | ||
"section": "Bug Fixes" | ||
}, | ||
{ | ||
"type": "chore", | ||
"section": "Trivial Changes" | ||
}, | ||
{ | ||
"type": "docs", | ||
"section": "Documentation" | ||
}, | ||
{ | ||
"type": "deps", | ||
"section": "Dependencies" | ||
}, | ||
{ | ||
"type": "test", | ||
"section": "Tests" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/github", | ||
"@semantic-release/git" | ||
] | ||
}, | ||
"scripts": { | ||
@@ -169,3 +80,2 @@ "clean": "aegir clean", | ||
"build": "aegir build", | ||
"docs": "aegir docs", | ||
"test": "aegir test", | ||
@@ -177,25 +87,27 @@ "test:chrome": "aegir test -t browser --cov", | ||
"test:node": "aegir test -t node --cov", | ||
"test:electron-main": "aegir test -t electron-main", | ||
"release": "aegir release" | ||
"test:electron-main": "aegir test -t electron-main" | ||
}, | ||
"dependencies": { | ||
"@achingbrain/ip-address": "^8.1.0", | ||
"@libp2p/interface-connection": "^5.0.1", | ||
"@libp2p/interface-peer-store": "^2.0.0", | ||
"@libp2p/interfaces": "^3.2.0", | ||
"@libp2p/logger": "^2.0.0", | ||
"@multiformats/multiaddr": "^12.0.0", | ||
"abortable-iterator": "^5.0.0", | ||
"@libp2p/interface-connection": "5.1.1-3dfc236e", | ||
"@libp2p/interface-peer-store": "2.0.4-3dfc236e", | ||
"@libp2p/interfaces": "3.3.2-3dfc236e", | ||
"@libp2p/logger": "2.1.1-3dfc236e", | ||
"@multiformats/multiaddr": "^12.1.3", | ||
"abortable-iterator": "^5.0.1", | ||
"is-loopback-addr": "^2.0.1", | ||
"it-stream-types": "^2.0.1", | ||
"private-ip": "^3.0.0", | ||
"uint8arraylist": "^2.3.2" | ||
"uint8arraylist": "^2.4.3" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^38.1.7", | ||
"aegir": "^39.0.10", | ||
"it-all": "^3.0.1", | ||
"it-pair": "^2.0.6", | ||
"it-pipe": "^3.0.0", | ||
"uint8arrays": "^4.0.2" | ||
"it-pipe": "^3.0.1", | ||
"uint8arrays": "^4.0.3" | ||
}, | ||
"typedoc": { | ||
"entryPoint": "./src/index.ts" | ||
} | ||
} |
@@ -5,4 +5,4 @@ # @libp2p/utils <!-- omit in toc --> | ||
[![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) | ||
[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-utils.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-utils) | ||
[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p-utils/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p-utils/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) | ||
[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p) | ||
[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster) | ||
@@ -55,3 +55,3 @@ > Package to aggregate shared logic and dependencies for the libp2p ecosystem | ||
- <https://libp2p.github.io/js-libp2p-utils> | ||
- <https://libp2p.github.io/js-libp2p/modules/_libp2p_utils.html> | ||
@@ -58,0 +58,0 @@ ## License |
@@ -23,4 +23,4 @@ /** | ||
import { isPrivate } from './multiaddr/is-private.js' | ||
import type { Address } from '@libp2p/interface-peer-store' | ||
import { isPrivate } from './multiaddr/is-private.js' | ||
@@ -27,0 +27,0 @@ /** |
@@ -0,5 +1,5 @@ | ||
import { Address4, Address6 } from '@achingbrain/ip-address' | ||
import { CodeError } from '@libp2p/interfaces/errors' | ||
import { logger } from '@libp2p/logger' | ||
import { Multiaddr, multiaddr } from '@multiformats/multiaddr' | ||
import { CodeError } from '@libp2p/interfaces/errors' | ||
import { Address4, Address6 } from '@achingbrain/ip-address' | ||
import { type Multiaddr, multiaddr } from '@multiformats/multiaddr' | ||
@@ -6,0 +6,0 @@ const log = logger('libp2p:ip-port-to-multiaddr') |
@@ -0,3 +1,3 @@ | ||
import isIpPrivate from 'private-ip' | ||
import type { Multiaddr } from '@multiformats/multiaddr' | ||
import isIpPrivate from 'private-ip' | ||
@@ -4,0 +4,0 @@ /** |
@@ -0,5 +1,5 @@ | ||
import { logger } from '@libp2p/logger' | ||
import { abortableSource } from 'abortable-iterator' | ||
import { logger } from '@libp2p/logger' | ||
import type { MultiaddrConnection } from '@libp2p/interface-connection' | ||
import type { Multiaddr } from '@multiformats/multiaddr' | ||
import type { MultiaddrConnection } from '@libp2p/interface-connection' | ||
import type { Duplex, Source } from 'it-stream-types' | ||
@@ -6,0 +6,0 @@ import type { Uint8ArrayList } from 'uint8arraylist' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
31217
39
537
1
+ Added@libp2p/interface-connection@5.1.1-3dfc236e(transitive)
+ Added@libp2p/interface-peer-id@2.0.2-3dfc236e(transitive)
+ Added@libp2p/interface-peer-store@2.0.4-3dfc236e(transitive)
+ Added@libp2p/interfaces@3.3.2-3dfc236e(transitive)
+ Added@libp2p/logger@2.1.1-3dfc236e(transitive)
- Removed@libp2p/interface-connection@5.1.1(transitive)
- Removed@libp2p/interface-peer-id@2.0.2(transitive)
- Removed@libp2p/interface-peer-store@2.0.4(transitive)
- Removed@libp2p/interfaces@3.3.2(transitive)
- Removed@libp2p/logger@2.1.1(transitive)
Updatedabortable-iterator@^5.0.1
Updateduint8arraylist@^2.4.3