appcd-agent
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -0,1 +1,5 @@ | ||
# v2.0.5 (Mar 3, 2021) | ||
* chore: Updated dependencies. | ||
# v2.0.4 (Jan 26, 2021) | ||
@@ -2,0 +6,0 @@ |
@@ -230,2 +230,2 @@ "use strict"; | ||
exports.default = Agent; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFnZW50LmpzIl0sIm5hbWVzIjpbIkFnZW50IiwiRXZlbnRFbWl0dGVyIiwiY29uc3RydWN0b3IiLCJvcHRzIiwiVHlwZUVycm9yIiwicG9sbEludGVydmFsIiwiTWF0aCIsIm1heCIsImJ1Y2tldHMiLCJjb2xsZWN0b3JzIiwiZ2V0U3RhdHMiLCJuYW1lIiwiY29sbGVjdGlvbiIsInN0YXRzIiwic3RhcnQiLCJpbml0Q3B1IiwiY3VycmVudENwdSIsInByb2Nlc3MiLCJjcHVVc2FnZSIsImluaXRIcnRpbWUiLCJjdXJyZW50SHJUaW1lIiwiaHJ0aW1lIiwiY2xlYXJUaW1lb3V0IiwicG9sbFRpbWVyIiwicG9sbCIsInN0b3AiLCJhZGRDb2xsZWN0b3IiLCJmbiIsInB1c2giLCJyZW1vdmVDb2xsZWN0b3IiLCJpIiwibGVuZ3RoIiwic3BsaWNlIiwiY3B1IiwibWVtIiwibWVtb3J5VXNhZ2UiLCJ1c2VyIiwic3lzdGVtIiwiZnJlZW1lbSIsIm9zIiwiaGVhcFRvdGFsIiwiaGVhcFVzZWQiLCJyc3MiLCJQcm9taXNlIiwiYWxsIiwibWFwIiwicmVzdWx0IiwiT2JqZWN0IiwiYXNzaWduIiwibm93IiwiRGF0ZSIsImRlbHRhIiwibGFzdFRpbWVzdGFtcCIsIm5leHQiLCJzZXRUaW1lb3V0IiwiYmluZCIsIm1pc3NlZCIsImZsb29yIiwia2V5cyIsIkNvbGxlY3Rpb24iLCJsYXN0IiwicHJvdG90eXBlIiwiaGF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VudGVyO1xuXG5cdFx0XHRcdGlmIChjb3VudGVyIDwgdGhpcy5taW4pIHtcblx0XHRcdFx0XHR0aGlzLm1pbiA9IGNvdW50ZXI7XG5cdFx0XHRcdH1cblxuXHRcdFx0XHRpZiAoY291bnRlciA+IHRoaXMubWF4KSB7XG5cdFx0XHRcdFx0dGhpcy5tYXggPSBjb3VudGVyO1xuXHRcdFx0XHR9XG5cdFx0XHR9XG5cblx0XHRcdHRoaXMuYXZnID0gdG90YWwgLyB0aGlzLnZhbHVlcy5zaXplO1xuXHRcdH1cblxuXHRcdHJldHVybiB0aGlzO1xuXHR9XG5cblx0LyoqXG5cdCAqIFJldHVybnMgYSBzbmFwc2hvdCBvZiB0aGUgY29udGVudHMgb2YgdGhpcyBjb2xsZWN0aW9uLlxuXHQgKlxuXHQgKiBAcmV0dXJucyB7T2JqZWN0fVxuXHQgKiBAYWNjZXNzIHB1YmxpY1xuXHQgKi9cblx0Z2V0IHN0YXRzKCkge1xuXHRcdHJldHVybiB7XG5cdFx0XHR2YWx1ZXM6IEFycmF5LmZyb20odGhpcy52YWx1ZXMpLFxuXHRcdFx0bWluOiAgICB0aGlzLm1pbixcblx0XHRcdG1heDogICAgdGhpcy5tYXgsXG5cdFx0XHRhdmc6ICAgIHRoaXMuYXZnXG5cdFx0fTtcblx0fVxufVxuIl0sImZpbGUiOiJjb2xsZWN0aW9uLmpzIn0= |
{ | ||
"name": "appcd-agent", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"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.1.3" | ||
"appcd-gulp": "^3.1.4" | ||
}, | ||
@@ -32,3 +32,3 @@ "homepage": "https://github.com/appcelerator/appc-daemon", | ||
}, | ||
"gitHead": "87423a5b2703f4ce7e34abcb9713b88cb9e81f27" | ||
"gitHead": "d25f619f40060bc794408300bf516b822c637902" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31531