@esmj/monitor
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -361,3 +361,3 @@ 'use strict'; | ||
percentile(key, number) { | ||
const array = this.#getValues(key); | ||
const array = this.getValues(key); | ||
@@ -368,3 +368,3 @@ return this.#calculatePercentile(array, number); | ||
trend(key, limit) { | ||
let array = this.#getValues(key); | ||
let array = this.getValues(key); | ||
@@ -385,3 +385,3 @@ array = array.slice( | ||
#getValues(key) { | ||
getValues(key) { | ||
const keys = key?.split('.') ?? []; | ||
@@ -388,0 +388,0 @@ |
{ | ||
"name": "@esmj/monitor", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Node.js performance measurement metrics (cpu, memory, event loop, gc)", | ||
@@ -51,19 +51,19 @@ "keywords": [ | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.2.0", | ||
"@commitlint/config-conventional": "^17.2.0", | ||
"@commitlint/cli": "^17.4.4", | ||
"@commitlint/config-conventional": "^17.4.4", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"commitizen": "^4.2.5", | ||
"commitizen": "^4.3.0", | ||
"conventional-changelog-cli": "^2.2.2", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.27.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint": "^8.36.0", | ||
"eslint-config-prettier": "^8.7.0", | ||
"eslint-plugin-jasmine": "^4.1.3", | ||
"eslint-plugin-jest": "^27.1.5", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"git-cz": "^4.9.0", | ||
"husky": "^8.0.2", | ||
"jest": "^29.3.1", | ||
"lint-staged": "^13.0.3", | ||
"prettier": "^2.7.1", | ||
"rollup": "^3.3.0", | ||
"husky": "^8.0.3", | ||
"jest": "^29.5.0", | ||
"lint-staged": "^13.2.0", | ||
"prettier": "^2.8.4", | ||
"rollup": "^3.19.1", | ||
"to-mock": "^1.6.2" | ||
@@ -70,0 +70,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
39849