appcd-agent
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -0,1 +1,6 @@ | ||
# v1.1.7 (Aug 13, 2019) | ||
* chore: Fixed eslint `hasOwnProperty` warnings. | ||
* chore: Updated dependencies. | ||
# v1.1.6 (Jun 4, 2019) | ||
@@ -2,0 +7,0 @@ |
@@ -181,3 +181,3 @@ "use strict"; | ||
for (const name of Object.keys(this.buckets)) { | ||
if (stats.hasOwnProperty(name)) { | ||
if (Object.prototype.hasOwnProperty.call(stats, name)) { | ||
const value = stats[name]; | ||
@@ -231,2 +231,2 @@ const bucket = this.buckets[name]; | ||
exports.default = Agent; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFnZW50LmpzIl0sIm5hbWVzIjpbIkFnZW50IiwiRXZlbnRFbWl0dGVyIiwiY29uc3RydWN0b3IiLCJvcHRzIiwiVHlwZUVycm9yIiwicG9sbEludGVydmFsIiwiTWF0aCIsIm1heCIsImJ1Y2tldHMiLCJjb2xsZWN0b3JzIiwiZ2V0U3RhdHMiLCJuYW1lIiwiY29sbGVjdGlvbiIsInN0YXRzIiwic3RhcnQiLCJpbml0Q3B1IiwiY3VycmVudENwdSIsInByb2Nlc3MiLCJjcHVVc2FnZSIsImluaXRIcnRpbWUiLCJjdXJyZW50SHJUaW1lIiwiaHJ0aW1lIiwiY2xlYXJUaW1lb3V0IiwicG9sbFRpbWVyIiwicG9sbCIsInN0b3AiLCJhZGRDb2xsZWN0b3IiLCJmbiIsInB1c2giLCJyZW1vdmVDb2xsZWN0b3IiLCJpIiwibGVuZ3RoIiwic3BsaWNlIiwiY3B1IiwibWVtIiwibWVtb3J5VXNhZ2UiLCJ1c2VyIiwic3lzdGVtIiwiZnJlZW1lbSIsIm9zIiwiaGVhcFRvdGFsIiwiaGVhcFVzZWQiLCJyc3MiLCJQcm9taXNlIiwiYWxsIiwibWFwIiwicmVzdWx0IiwiT2JqZWN0IiwiYXNzaWduIiwibm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CBlcnIpO1xuXHRcdH1cblx0fVxuXG5cdC8qKlxuXHQgKiBHZW5lcmF0ZXMgYSBzbmFwc2hvdCBvZiB0aGUgY29sbGVjdGVkIGRhdGEuXG5cdCAqXG5cdCAqIEByZXR1cm5zIHtPYmplY3R9XG5cdCAqIEBhY2Nlc3MgcHVibGljXG5cdCAqL1xuXHRoZWFsdGgoKSB7XG5cdFx0Y29uc3QgcmVzdWx0ID0ge307XG5cdFx0Zm9yIChjb25zdCBbIG5hbWUsIGJ1Y2tldCBdIG9mIE9iamVjdC5lbnRyaWVzKHRoaXMuYnVja2V0cykpIHtcblx0XHRcdHJlc3VsdFtuYW1lXSA9IGJ1Y2tldC5jb2xsZWN0aW9uLnN0YXRzO1xuXHRcdH1cblx0XHRyZXR1cm4gcmVzdWx0O1xuXHR9XG59XG4iXSwiZmlsZSI6ImFnZW50LmpzIn0= |
{ | ||
"name": "appcd-agent", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Monitors a Node.js process and tracks CPU usage, memory usage, and custom metrics.", | ||
@@ -19,7 +19,7 @@ "main": "./dist/index", | ||
"dependencies": { | ||
"nanobuffer": "^1.1.4", | ||
"source-map-support": "^0.5.12" | ||
"nanobuffer": "^1.1.5", | ||
"source-map-support": "^0.5.13" | ||
}, | ||
"devDependencies": { | ||
"appcd-gulp": "^2.1.1" | ||
"appcd-gulp": "^2.2.0" | ||
}, | ||
@@ -26,0 +26,0 @@ "homepage": "https://github.com/appcelerator/appc-daemon/tree/master/packages/appcd-agent", |
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
30199
344
Updatednanobuffer@^1.1.5
Updatedsource-map-support@^0.5.13