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

dns

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dns - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

6

lib/redis.js

@@ -119,2 +119,8 @@ module.exports = function () {

Redis.prototype.close = function () {
if (!this.isReady())
return next(new Error("redis:end()|state=" + this.state));
this.redis.end();
}
function create(config) {

@@ -121,0 +127,0 @@ return new Redis(config);

5

lib/routes.js

@@ -8,3 +8,2 @@ module.exports = function () {

// GET

@@ -44,3 +43,3 @@ app.get('/dns/api/v1/name/:name?', function (req, res) {

// PUT
// PUT
app.put('/dns/api/v1/name/:name', function (req, res) {

@@ -88,3 +87,3 @@ var record = {

}
createArpa(record.A ? record.A.slice(0): []);
createArpa(record.A ? record.A instanceof(Array) ? record.A.slice(0) : [record.A] : []);
});

@@ -91,0 +90,0 @@ });

12

package.json

@@ -5,3 +5,3 @@ {

"description": "A DNS Server with an Web UI and using Redis a configuration store",
"version": "0.1.4",
"version": "0.1.5",
"keywords": [

@@ -15,8 +15,8 @@ "dns"

"dependencies": {
"hbo-dnsd": "0.9.7",
"hbo-dnsd": "0.9.8",
"native-dns": "0.6.1",
"node-options": "0.0.3",
"redis": "0.10.3",
"tomahawk": "0.1.2",
"winston": "0.7.2"
"node-options": "0.0.6",
"redis": "0.12.1",
"tomahawk": "0.1.5",
"winston": "0.7.3"
},

@@ -23,0 +23,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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