@matteodisabatino/express-prometheus-middleware
Advanced tools
Comparing version 4.0.0 to 4.1.0
{ | ||
"name": "@matteodisabatino/express-prometheus-middleware", | ||
"version": "3.1.2", | ||
"version": "4.0.0", | ||
"main": "dist/src/index.js", | ||
@@ -67,3 +67,3 @@ "typings": "dist/src/index.d.ts", | ||
"on-finished": "^2.3.0", | ||
"rimraf": "^5.0.1", | ||
"rimraf": "^5.0.5", | ||
"runtypes": "^6.7.0", | ||
@@ -74,28 +74,28 @@ "semver": "^7.5.4" | ||
"express": "3 || 4", | ||
"prom-client": "11 || 12 || 13 || 14" | ||
"prom-client": "11 || 12 || 13 || 14 || 15" | ||
}, | ||
"devDependencies": { | ||
"@ava/typescript": "^4.1.0", | ||
"@release-it/conventional-changelog": "^7.0.0", | ||
"@types/express": "^4.17.17", | ||
"@types/on-finished": "^2.3.1", | ||
"@types/semver": "^7.5.0", | ||
"@types/supertest": "^2.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@release-it/conventional-changelog": "^7.0.2", | ||
"@types/express": "^4.17.21", | ||
"@types/on-finished": "^2.3.4", | ||
"@types/semver": "^7.5.5", | ||
"@types/supertest": "^2.0.16", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"ava": "^5.3.1", | ||
"eslint": "^8.46.0", | ||
"eslint-config-standard-with-typescript": "^37.0.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-standard-with-typescript": "^39.1.1", | ||
"eslint-plugin-ava": "^14.0.0", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-n": "^16.3.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"express": "^4.18.2", | ||
"prom-client": "^14.2.0", | ||
"release-it": "^16.1.3", | ||
"prom-client": "^15.0.0", | ||
"release-it": "^16.2.1", | ||
"supertest": "^6.3.3", | ||
"typescript": "^5.1.6" | ||
"typescript": "^5.2.2" | ||
}, | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=16" | ||
} | ||
} |
@@ -8,3 +8,3 @@ import { type Static } from 'runtypes'; | ||
static get version(): string; | ||
get collectDefaultMetrics(): boolean | Prometheus.DefaultMetricsCollectorConfiguration; | ||
get collectDefaultMetrics(): boolean | Prometheus.DefaultMetricsCollectorConfiguration<Prometheus.RegistryContentType>; | ||
get collectGCMetrics(): boolean; | ||
@@ -11,0 +11,0 @@ get exclude(): (req: express.Request) => boolean; |
@@ -5,6 +5,6 @@ /// <reference types="qs" /> | ||
import Prometheus from 'prom-client'; | ||
export declare const PromClientRegistry: import("runtypes").Constraint<import("runtypes").Unknown, Prometheus.Registry, unknown>; | ||
export declare const PromClientDefaultMetricsCollectorConfiguration: import("runtypes").Constraint<import("runtypes").Unknown, Prometheus.DefaultMetricsCollectorConfiguration, unknown>; | ||
export declare const PromClientRegistry: import("runtypes").Constraint<import("runtypes").Unknown, Prometheus.Registry<"text/plain; version=0.0.4; charset=utf-8">, unknown>; | ||
export declare const PromClientDefaultMetricsCollectorConfiguration: import("runtypes").Constraint<import("runtypes").Unknown, Prometheus.DefaultMetricsCollectorConfiguration<Prometheus.RegistryContentType>, unknown>; | ||
export declare const CompleteOptions: Record<{ | ||
collectDefaultMetrics: import("runtypes").Union<[Boolean, import("runtypes").Constraint<import("runtypes").Unknown, Prometheus.DefaultMetricsCollectorConfiguration, unknown>]>; | ||
collectDefaultMetrics: import("runtypes").Union<[Boolean, import("runtypes").Constraint<import("runtypes").Unknown, Prometheus.DefaultMetricsCollectorConfiguration<Prometheus.RegistryContentType>, unknown>]>; | ||
collectGCMetrics: Boolean; | ||
@@ -17,3 +17,3 @@ exclude: Function; | ||
export declare const Options: Partial<{ | ||
collectDefaultMetrics: import("runtypes").Union<[Boolean, import("runtypes").Constraint<import("runtypes").Unknown, Prometheus.DefaultMetricsCollectorConfiguration, unknown>]>; | ||
collectDefaultMetrics: import("runtypes").Union<[Boolean, import("runtypes").Constraint<import("runtypes").Unknown, Prometheus.DefaultMetricsCollectorConfiguration<Prometheus.RegistryContentType>, unknown>]>; | ||
collectGCMetrics: Boolean; | ||
@@ -20,0 +20,0 @@ exclude: Function; |
{ | ||
"name": "@matteodisabatino/express-prometheus-middleware", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"main": "dist/src/index.js", | ||
@@ -67,3 +67,3 @@ "typings": "dist/src/index.d.ts", | ||
"on-finished": "^2.3.0", | ||
"rimraf": "^5.0.1", | ||
"rimraf": "^5.0.5", | ||
"runtypes": "^6.7.0", | ||
@@ -74,28 +74,28 @@ "semver": "^7.5.4" | ||
"express": "3 || 4", | ||
"prom-client": "11 || 12 || 13 || 14" | ||
"prom-client": "11 || 12 || 13 || 14 || 15" | ||
}, | ||
"devDependencies": { | ||
"@ava/typescript": "^4.1.0", | ||
"@release-it/conventional-changelog": "^7.0.0", | ||
"@types/express": "^4.17.17", | ||
"@types/on-finished": "^2.3.1", | ||
"@types/semver": "^7.5.0", | ||
"@types/supertest": "^2.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@release-it/conventional-changelog": "^7.0.2", | ||
"@types/express": "^4.17.21", | ||
"@types/on-finished": "^2.3.4", | ||
"@types/semver": "^7.5.5", | ||
"@types/supertest": "^2.0.16", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"ava": "^5.3.1", | ||
"eslint": "^8.46.0", | ||
"eslint-config-standard-with-typescript": "^37.0.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-standard-with-typescript": "^39.1.1", | ||
"eslint-plugin-ava": "^14.0.0", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-n": "^16.3.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"express": "^4.18.2", | ||
"prom-client": "^14.2.0", | ||
"release-it": "^16.1.3", | ||
"prom-client": "^15.0.0", | ||
"release-it": "^16.2.1", | ||
"supertest": "^6.3.3", | ||
"typescript": "^5.1.6" | ||
"typescript": "^5.2.2" | ||
}, | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=16" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
78256
+ Added@opentelemetry/api@1.8.0(transitive)
+ Addedprom-client@15.1.2(transitive)
- Removedprom-client@14.2.0(transitive)
Updatedrimraf@^5.0.5