Socket
Socket
Sign inDemoInstall

bns

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bns - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

19

lib/hints.js

@@ -96,12 +96,16 @@ /*!

for (const name of this.ns) {
let host;
if (inet6) {
const host = this.inet6.get(name);
if (host)
auth.add(host, this.port);
}
if (inet6 && this.inet6.has(name))
host = this.inet6.get(name);
else
host = this.inet4.get(name);
const host = this.inet4.get(name);
auth.add(host, this.port);
if (host)
auth.add(host, this.port);
}
assert(auth.servers.length > 0);
return auth;

@@ -157,5 +161,2 @@ }

assert(this.ns.length > 0);
assert(this.inet4.size > 0 || this.inet6.size > 0);
return this;

@@ -162,0 +163,0 @@ }

{
"name": "bns",
"version": "0.0.7",
"version": "0.0.8",
"description": "DNS bike-shed",

@@ -5,0 +5,0 @@ "keywords": [

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