Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

response-dashboard

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

response-dashboard - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

__tests__/cpu.spec.js

3

lib/api/proxy/random_number.js

@@ -14,3 +14,3 @@ const got = require('got')

*/
module.exports = async(url, callback = () => { }) => {
module.exports = async(url, callback = () => {}) => {
try {

@@ -28,4 +28,5 @@ if (url && url.match(/url=/gi)) {

} catch (error) {
callback()
return {url: url, response: error}
}
}
const got = require('got')
module.exports = async(url, callback = () => { }) => {
module.exports = async(url, callback = () => {}) => {
try {

@@ -15,2 +15,3 @@ let validURL = false

} catch (error) {
callback()
return {url: url, response: error}

@@ -17,0 +18,0 @@ //= > 'Internal server error ...'

{
"name": "response-dashboard",
"version": "1.0.12",
"version": "1.0.13",
"description": "Performance measurement dashboard with configurable metrics and end-point monitoring. Ideally suited to API microservices.",

@@ -17,3 +17,3 @@ "main": "index.js",

"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 0"
"test": "jest --maxWorkers=1 --testTimeout=30000"
},

@@ -20,0 +20,0 @@ "author": "marctimperley@yahoo.co.uk",

@@ -68,3 +68,3 @@ # dashboard

## Contributing and Code of Conduct
## Contributing and Code of Conduct [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/MarcTimperley/response-dashboard/issues)

@@ -85,6 +85,6 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on the code of conduct, and the process for submitting pull requests.

- [ ] Build interval per measurement
- [ ] Build all test cases
- [X] Build all test cases
- [ ] Add security to web server front end
- [ ] Improve automation
- [ ] Test coverage
- [X] Improve automation
- [X] Test coverage
- [ ] Build admin UI

@@ -101,1 +101,3 @@ - [X] Move measurement config to JSON file

*
[![https://nodei.co/npm/response-dashboard.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/response-dashboard.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/response-dashboard)
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