New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

as-networks

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-networks - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

package.json
{
"name": "as-networks",
"version": "1.0.0",
"description": "Get all networks contained in an autonomous system",
"version": "1.0.1",
"description": "Get all CIDR networks contained in an autonomous system",
"author": "silverwind <me@silverwind.io>",

@@ -26,2 +26,5 @@ "repository": "silverwind/as-networks",

],
"dependencies": {
"is-cidr": "^2.0.7"
},
"devDependencies": {

@@ -32,6 +35,3 @@ "eslint": "^5.6.1",

"ver": "^3.0.0"
},
"dependencies": {
"is-cidr": "^2.0.7"
}
}

@@ -5,3 +5,3 @@ # as-networks

> Get all networks contained in an autonomous system
> Get all CIDR networks contained in an autonomous system

@@ -20,6 +20,6 @@ ## Install

const networks = await asNetworks('AS237');
// => Array of networks in origin object AS237
// => Array of CIDR networks in origin object AS237
const networks = await asNetworks('MAINT-AS237');
// => Array of networks maintained by object MAINT-AS237
// => Array of CIDR networks maintained by object MAINT-AS237
```

@@ -31,3 +31,3 @@

Returns a promise that will resolve to an Array of networks found for `name`. If none are found, a empty array is returned. Will reject on network errors.
Returns a promise that will resolve to an Array of CIDR networks found for `name`. If none are found, a empty array is returned. Will reject on network errors.

@@ -34,0 +34,0 @@ #### options

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