Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade prom-client from 14.1.0 to 14.2.0 #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sawood14012
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade prom-client from 14.1.0 to 14.2.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 2 versions ahead of your current version.

  • The recommended version was released on a year ago.

Release notes
Package name: prom-client
  • 14.2.0 - 2023-03-06

    Changed

    • Refactor getMetricAsPrometheusString method in the Registry class to use Array.prototype.join
      instead of loop of string concatenations.
    • Also use Array.prototype.map, and object spread instead of an explicit for loop
    • changed: updated the sample output in example/default-metrics.js
    • summary metrics now has a pruneAgedBuckets config parameter
      to remove entries without any new values in the last maxAgeSeconds.
      Default is false (old behavior)

    Added

    • Add get method to type definitions of metric classes

    New Contributors

    Full Changelog: v14.1.1...v14.2.0

  • 14.1.1 - 2022-12-31

    What's Changed

    • Fix incompatibility with perf_hooks accross nodejs versions by @ Fadoli in #515

    New Contributors

    Full Changelog: v14.1.0...v14.1.1

  • 14.1.0 - 2022-08-23

    Changed

    • types: converted all the generic Metric types to be optional

    • The done() functions returned by gauge.startTimer() and
      summary.startTimer() now return the timed duration. Histograms already had
      this behavior.

    • types: fixed type for registry.getMetricsAsArray()

    • Improve performance of gague.inc() and gauge.dec() by calling hashObject() once.

    Added

    • The processResources metric was added, which keeps a track of all sorts of
      active resources. It consists of the following gauges:

      • nodejs_active_resources - Number of active resources that are currently
        keeping the event loop alive, grouped by async resource type.
      • nodejs_active_resources_total - Total number of active resources.
        It is supposed to provide the combined result of the processHandles and
        processRequests metrics along with information about any other types of
        async resources that these metrics do not keep a track of (like timers).
    • Support gzipped pushgateway requests

    New Contributors

    Full Changelog: v14.0.1...v14.1.0

from prom-client GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Copy link

sonarcloud bot commented Jul 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants