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

node-health-agent

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-health-agent - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

3

index.js

@@ -10,2 +10,3 @@ const os = require('os')

const utils = require('./utils')
const path = require('path')

@@ -45,3 +46,3 @@ const heartbeat = (ws, delay) => {

agentType: 'node',
agentVersion: require(`${__dirname}/package.json`).version,
agentVersion: require(path.join(__dirname, '/package.json')).version,
appVersion: utils.extractPackageFile().version,

@@ -48,0 +49,0 @@ nodeVersion: process.version,

{
"name": "node-health-agent",
"version": "1.2.1",
"version": "1.2.2",
"description": "",

@@ -16,3 +16,3 @@ "module": "./index.js",

"keywords": [
"nodehealth,",
"nodehealth",
"agent",

@@ -24,8 +24,14 @@ "debugging",

"memory",
"dump"
"dump",
"heap",
"snapshot",
"cpu",
"report",
"environment",
"dependencies",
"variables"
],
"scripts": {
"test": "NODE_ENV=test ./node_modules/.bin/jest",
"lint": "./node_modules/.bin/eslint ./",
"cpd": "./node_modules/.bin/jscpd ./"
"lint": "./node_modules/.bin/eslint ./"
},

@@ -39,21 +45,17 @@ "repository": {

"dependencies": {
"debug": "4.2.0",
"inspector-api": "1.0.3",
"uuid": "8.3.1",
"ws": "7.4.0"
"debug": "4.3.1",
"inspector-api": "1.2.1",
"uuid": "8.3.2",
"ws": "7.4.1"
},
"devDependencies": {
"eslint": "^7.13.0",
"eslint-config-standard": "^16.0.1",
"eslint": "^7.15.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.2",
"eslint-plugin-standard": "^5.0.0",
"jest": "^26.6.3",
"jscpd": "^3.3.19"
},
"jscpd": {
"threshold": 0.1,
"gitignore": true
"semver": "^7.3.4"
}
}

@@ -0,7 +1,17 @@

# Node agent for Node health project.
[![GitHub release](https://badge.fury.io/js/node-health-agent.svg)](https://github.com/wallet77/node-health-agent/releases/)
[![GitHub license](https://img.shields.io/github/license/wallet77/node-health-agent)](https://github.com/wallet77/node-health-agent/blob/master/LICENSE)
[![CI pipeline](https://github.com/wallet77/node-health-agent/workflows/Node.js%20CI/badge.svg)](https://github.com/wallet77/node-health-agent/actions?query=workflow%3A%22Node.js+CI%22)
[![Code coverage](https://codecov.io/gh/wallet77/node-health-agent/branch/master/graph/badge.svg)](https://codecov.io/gh/wallet77/node-health-agent)
[![Opened issues](https://img.shields.io/github/issues-raw/wallet77/node-health-agent)](https://github.com/wallet77/node-health-agent/issues)
[![Opened PR](https://img.shields.io/github/issues-pr-raw/wallet77/node-health-agent)](https://github.com/wallet77/node-health-agent/pulls)
[![DeepScan grade](https://deepscan.io/api/teams/12061/projects/15018/branches/292503/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=12061&pid=15018&bid=292503)
![Dependencies](https://img.shields.io/david/wallet77/node-health-agent)
# Purpose
Node agent for Node health project.
Agent to trigger events in your instances (even on production).
It comes with a list of built-in events and allows to trigger custom actions.

@@ -8,0 +18,0 @@ # Compatibility

const fs = require('fs')
const debug = require('debug')
const error = debug('node-health-agent:error')
const path = require('path')
class Utils {

@@ -39,3 +40,3 @@ extractDependencies (dir) {

try {
data = require(`${__dirname}/../../package.json`)
data = require(path.join(__dirname, '/../../package.json'))
} catch (err) {

@@ -42,0 +43,0 @@ error(err)

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