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

@libp2p/utils

Package Overview
Dependencies
Maintainers
4
Versions
532
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 0.0.0 to 1.0.0

dist/src/address-sort.d.ts

92

package.json
{
"name": "@libp2p/utils",
"version": "0.0.0",
"description": "",
"main": "index.js",
"license": "(Apache-2.0 OR MIT)"
"version": "1.0.0",
"description": "Package to aggregate shared logic and dependencies for the libp2p ecosystem",
"leadMaintainer": "Vasco Santos <santos.vasco10@gmail.com>",
"type": "module",
"exports": {
"multiaddr/is-loopback": {
"import": "./dist/src/multiaddr/is-loopback.js",
"types": "./dist/src/multiaddr/is-loopback.d.ts"
},
"multiaddr/is-private": {
"import": "./dist/src/multiaddr/is-private.js",
"types": "./dist/src/multiaddr/is-private.d.ts"
},
"address-sort": {
"import": "./dist/src/address-sort.js",
"types": "./dist/src/address-sort.d.ts"
},
"array-equals": {
"import": "./dist/src/array-equals.js",
"types": "./dist/src/array-equals.d.ts"
},
"ip-port-to-multiaddr": {
"import": "./dist/src/ip-port-to-multiaddr.js",
"types": "./dist/src/ip-port-to-multiaddr.d.ts"
},
"stream-to-ma-conn": {
"import": "./dist/src/stream-to-ma-connr.js",
"types": "./dist/src/stream-to-ma-connr.d.ts"
}
},
"typesVersions": {
"*": {
"src/*": [
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist/src"
],
"scripts": {
"lint": "aegir lint",
"dep-check": "aegir dep-check dist/src/**/*.js dist/test/**/*.js",
"build": "tsc",
"pretest": "npm run build",
"test": "aegir test -f ./dist/test/**/*.js",
"test:chrome": "npm run test -- -t browser",
"test:chrome-webworker": "npm run test -- -t webworker",
"test:firefox": "npm run test -- -t browser -- --browser firefox",
"test:firefox-webworker": "npm run test -- -t webworker -- --browser firefox",
"test:node": "npm run test -- -t node --cov",
"test:electron-main": "npm run test -- -t electron-main",
"release": "semantic-release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/libp2p/js-libp2p-utils.git"
},
"license": "(Apache-2.0 OR MIT)",
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-utils/issues"
},
"homepage": "https://github.com/libp2p/js-libp2p-utils#readme",
"devDependencies": {
"@libp2p/interfaces": "^0.2.0",
"@types/debug": "^4.1.5",
"aegir": "^36.1.2",
"it-pair": "^1.0.0",
"it-pipe": "^1.1.0",
"streaming-iterables": "^6.0.0",
"util": "^0.12.3"
},
"dependencies": {
"@achingbrain/ip-address": "^8.1.0",
"@multiformats/multiaddr": "^10.1.1",
"abortable-iterator": "^3.0.0",
"debug": "^4.3.0",
"err-code": "^3.0.1",
"is-loopback-addr": "^1.0.0",
"private-ip": "^2.1.1"
},
"contributors": [
"Vasco Santos <vasco.santos@moxy.studio>",
"Alex Potsides <alex@achingbrain.net>",
"Jacob Heun <jacobheun@gmail.com>"
]
}
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