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

appcd-agent

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appcd-agent - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# v2.0.1 (Dec 1, 2020)
* chore: Updated dependencies.
# v2.0.0 (Jun 12, 2020)

@@ -2,0 +6,0 @@

2

dist/agent.js

@@ -230,2 +230,2 @@ "use strict";

exports.default = Agent;
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFnZW50LmpzIl0sIm5hbWVzIjpbIkFnZW50IiwiRXZlbnRFbWl0dGVyIiwiY29uc3RydWN0b3IiLCJvcHRzIiwiVHlwZUVycm9yIiwicG9sbEludGVydmFsIiwiTWF0aCIsIm1heCIsImJ1Y2tldHMiLCJjb2xsZWN0b3JzIiwiZ2V0U3RhdHMiLCJuYW1lIiwiY29sbGVjdGlvbiIsInN0YXRzIiwic3RhcnQiLCJpbml0Q3B1IiwiY3VycmVudENwdSIsInByb2Nlc3MiLCJjcHVVc2FnZSIsImluaXRIcnRpbWUiLCJjdXJyZW50SHJUaW1lIiwiaHJ0aW1lIiwiY2xlYXJUaW1lb3V0IiwicG9sbFRpbWVyIiwicG9sbCIsInN0b3AiLCJhZGRDb2xsZWN0b3IiLCJmbiIsInB1c2giLCJyZW1vdmVDb2xsZWN0b3IiLCJpIiwibGVuZ3RoIiwic3BsaWNlIiwiY3B1IiwibWVtIiwibWVtb3J5VXNhZ2UiLCJ1c2VyIiwic3lzdGVtIiwiZnJlZW1lbSIsIm9zIiwiaGVhcFRvdGFsIiwiaGVhcFVzZWQiLCJyc3MiLCJQcm9taXNlIiwiYWxsIiwibWFwIiwicmVzdWx0IiwiT2JqZWN0IiwiYXNzaWduIiwibm93IiwiRGF0ZSIs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x0LyoqXG5cdCAqIFJldHVybnMgYSBzbmFwc2hvdCBvZiB0aGUgY29udGVudHMgb2YgdGhpcyBjb2xsZWN0aW9uLlxuXHQgKlxuXHQgKiBAcmV0dXJucyB7T2JqZWN0fVxuXHQgKiBAYWNjZXNzIHB1YmxpY1xuXHQgKi9cblx0Z2V0IHN0YXRzKCkge1xuXHRcdHJldHVybiB7XG5cdFx0XHR2YWx1ZXM6IEFycmF5LmZyb20odGhpcy52YWx1ZXMpLFxuXHRcdFx0bWluOiAgICB0aGlzLm1pbixcblx0XHRcdG1heDogICAgdGhpcy5tYXgsXG5cdFx0XHRhdmc6ICAgIHRoaXMuYXZnXG5cdFx0fTtcblx0fVxufVxuIl0sImZpbGUiOiJjb2xsZWN0aW9uLmpzIn0=
{
"name": "appcd-agent",
"version": "2.0.0",
"version": "2.0.1",
"description": "Monitors a Node.js process and tracks CPU usage, memory usage, and custom metrics.",

@@ -23,3 +23,3 @@ "main": "./dist/index",

"devDependencies": {
"appcd-gulp": "^3.0.1"
"appcd-gulp": "^3.1.0"
},

@@ -26,0 +26,0 @@ "homepage": "https://github.com/appcelerator/appc-daemon",

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