Socket
Socket
Sign inDemoInstall

ntfserver

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

ntfserver - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

lib/api.js

@@ -196,3 +196,3 @@ var async = require('async')

shared.redis.hgetall('/api/status', function(err, data) {
if (err) return cb(null, [])
if (err || !data || typeof data != 'object') return cb(null, [])
cb(null, Object.keys(data).map(function(n) {

@@ -199,0 +199,0 @@ return renderStatus(JSON.parse(data[n]))

@@ -33,10 +33,3 @@ var api = require('./api')

} else {
api.getEventList(function(err, eventList) {
if (err) return next(err)
var fail = 0
eventList.forEach(function(e) {
fail += e.fail
})
res.render('index.html', { fail: fail, ok: !fail })
})
res.redirect('/status')
}

@@ -43,0 +36,0 @@ })

@@ -99,3 +99,3 @@ var async = require('async')

exports.redis = redis.createClient(options.redis.port, options.redis.host)
exports.sql = mysql.createClient(options.mysql)
exports.sql = mysql.createConnection(options.mysql)
exports.setupSql(options)

@@ -102,0 +102,0 @@ exports.setupRedis(options)

{
"name": "ntfserver",
"description": "Network Testing Framework Server",
"version": "0.0.4",
"version": "0.0.5",
"author": "Silas Sewell <silas@sewell.org>",

@@ -14,3 +14,3 @@ "engines": { "node": ">= 0.6" },

"socket.io": ">= 0.9.2",
"swig": "= 0.11.2"
"swig": ">= 0.13.4"
},

@@ -24,5 +24,5 @@ "devDependencies": {

},
"scripts": { "install": "make static" },
"scripts": { "install": "make static", "test": "./node_modules/.bin/nodeunit test" },
"bugs": { "url": "https://github.com/silas/ntfserver/issues" },
"main": "./lib"
}

@@ -17,3 +17,3 @@ var async = require('async')

}
shared.sql = mysql.createClient(shared.options.mysql)
shared.sql = mysql.createConnection(shared.options.mysql)

@@ -20,0 +20,0 @@ var tables = [

Sorry, the diff of this file is not supported yet

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