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

netaddr

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netaddr - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

5

index.js

@@ -24,6 +24,7 @@ /*

THE SOFTWARE.
'use strict';
*/
'use strict';
var AddrV4 = require('./lib/addrv4').Addr;

@@ -34,4 +35,4 @@

AddrV4: AddrV4,
/*! Wrapper class to implement both IPv4 and IPv6 */
/*! Wrapper class to eventually implement both IPv4 and IPv6 */
Addr: AddrV4,
};

3

lib/addrv4.js

@@ -24,6 +24,7 @@ /*

THE SOFTWARE.
'use strict';
*/
'use strict';
var util = require('util');

@@ -30,0 +31,0 @@

{
"name": "netaddr",
"version": "0.1.0",
"version": "1.0.0",
"description": "Utility for IP addresses and CIDR expressions",

@@ -16,3 +16,2 @@ "main": "index.js",

"ipv4",
"ipv6",
"cidr",

@@ -19,0 +18,0 @@ "subnet"

@@ -49,4 +49,10 @@ # netaddr.js

## Limitations
Currently only IPv4 is supported, though there are plans to add IPv6 support.
This is complicated by the fact JavaScript does not support 64-bit integers,
let alone 128-bit integers.
## Copyright & License
Copyright © 2015 Chris Corbyn. See the LICENSE file for details.
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