@promster/express 9.0.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ declare const extractPath: (req: Request) => string;
|
|
15
15
|
declare const getRequestRecorder: () => TRequestRecorder;
|
16
16
|
declare const signalIsUp: () => void;
|
17
17
|
declare const signalIsNotUp: () => void;
|
18
|
-
type TSkipFunction = <TRequest
|
18
|
+
type TSkipFunction = <TRequest = Request, TResponse = Response>(_req: TRequest, _res: TResponse, _labels: TLabelValues) => boolean;
|
19
19
|
export type TPromsterOptions = TOptionalPromsterOptions & {
|
20
20
|
skip?: TSkipFunction;
|
21
21
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@promster/express",
|
3
|
-
"version": "
|
3
|
+
"version": "12.0.0",
|
4
4
|
"description": "Express server integrations of promster",
|
5
5
|
"main": "dist/promster-express.cjs.js",
|
6
6
|
"typings": "dist/promster-express.cjs.d.ts",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"modules/**"
|
14
14
|
],
|
15
15
|
"engines": {
|
16
|
-
"node": ">=
|
16
|
+
"node": ">=18",
|
17
17
|
"npm": ">=8"
|
18
18
|
},
|
19
19
|
"publishConfig": {
|
@@ -36,16 +36,16 @@
|
|
36
36
|
"prometheus"
|
37
37
|
],
|
38
38
|
"dependencies": {
|
39
|
-
"@promster/metrics": "^
|
40
|
-
"@promster/types": "^
|
39
|
+
"@promster/metrics": "^12.0.0",
|
40
|
+
"@promster/types": "^12.0.0",
|
41
41
|
"merge-options": "3.0.4",
|
42
42
|
"tslib": "2.6.2"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@types/express": "4.17.
|
45
|
+
"@types/express": "4.17.18",
|
46
46
|
"express": "4.18.2",
|
47
47
|
"node-fetch": "2.6.11",
|
48
48
|
"parse-prometheus-text-format": "1.1.1",
|
49
|
-
"@promster/server": "
|
49
|
+
"@promster/server": "12.0.0"
|
50
50
|
}
|
51
51
|
}
|