@promster/fastify 7.0.4 → 7.0.5
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.
|
@@ -13,7 +13,7 @@ var merge__default = /*#__PURE__*/_interopDefault(merge);
|
|
|
13
13
|
|
|
14
14
|
var pkg = {
|
|
15
15
|
name: "@promster/fastify",
|
|
16
|
-
version: "7.0.
|
|
16
|
+
version: "7.0.5",
|
|
17
17
|
description: "Fastify server integrations of promster",
|
|
18
18
|
main: "dist/promster-fastify.cjs.js",
|
|
19
19
|
typings: "dist/promster-fastify.cjs.d.ts",
|
|
@@ -49,13 +49,13 @@ var pkg = {
|
|
|
49
49
|
"prometheus"
|
|
50
50
|
],
|
|
51
51
|
dependencies: {
|
|
52
|
-
"@promster/metrics": "^9.1.
|
|
53
|
-
"fastify-plugin": "^3.0.
|
|
52
|
+
"@promster/metrics": "^9.1.4",
|
|
53
|
+
"fastify-plugin": "^3.0.1",
|
|
54
54
|
"merge-options": "3.0.4",
|
|
55
55
|
"parse-prometheus-text-format": "1.1.1"
|
|
56
56
|
},
|
|
57
57
|
devDependencies: {
|
|
58
|
-
fastify: "3.27.
|
|
58
|
+
fastify: "3.27.1"
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -101,7 +101,8 @@ const createPlugin = async (fastify, options) => {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
fastify.decorate('Prometheus', metrics.Prometheus);
|
|
104
|
-
fastify.decorate('recordRequest', recordRequest);
|
|
104
|
+
fastify.decorate('recordRequest', recordRequest); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
105
|
+
|
|
105
106
|
fastify.decorateRequest('__promsterTiming__', null);
|
|
106
107
|
fastify.addHook('onRequest', async (request, _) => {
|
|
107
108
|
// @ts-expect-error
|
|
@@ -13,7 +13,7 @@ var merge__default = /*#__PURE__*/_interopDefault(merge);
|
|
|
13
13
|
|
|
14
14
|
var pkg = {
|
|
15
15
|
name: "@promster/fastify",
|
|
16
|
-
version: "7.0.
|
|
16
|
+
version: "7.0.5",
|
|
17
17
|
description: "Fastify server integrations of promster",
|
|
18
18
|
main: "dist/promster-fastify.cjs.js",
|
|
19
19
|
typings: "dist/promster-fastify.cjs.d.ts",
|
|
@@ -49,13 +49,13 @@ var pkg = {
|
|
|
49
49
|
"prometheus"
|
|
50
50
|
],
|
|
51
51
|
dependencies: {
|
|
52
|
-
"@promster/metrics": "^9.1.
|
|
53
|
-
"fastify-plugin": "^3.0.
|
|
52
|
+
"@promster/metrics": "^9.1.4",
|
|
53
|
+
"fastify-plugin": "^3.0.1",
|
|
54
54
|
"merge-options": "3.0.4",
|
|
55
55
|
"parse-prometheus-text-format": "1.1.1"
|
|
56
56
|
},
|
|
57
57
|
devDependencies: {
|
|
58
|
-
fastify: "3.27.
|
|
58
|
+
fastify: "3.27.1"
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -101,7 +101,8 @@ const createPlugin = async (fastify, options) => {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
fastify.decorate('Prometheus', metrics.Prometheus);
|
|
104
|
-
fastify.decorate('recordRequest', recordRequest);
|
|
104
|
+
fastify.decorate('recordRequest', recordRequest); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
105
|
+
|
|
105
106
|
fastify.decorateRequest('__promsterTiming__', null);
|
|
106
107
|
fastify.addHook('onRequest', async (request, _) => {
|
|
107
108
|
// @ts-expect-error
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promster/fastify",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
4
4
|
"description": "Fastify server integrations of promster",
|
|
5
5
|
"main": "dist/promster-fastify.cjs.js",
|
|
6
6
|
"typings": "dist/promster-fastify.cjs.d.ts",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"prometheus"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@promster/metrics": "^9.1.
|
|
40
|
-
"fastify-plugin": "^3.0.
|
|
39
|
+
"@promster/metrics": "^9.1.4",
|
|
40
|
+
"fastify-plugin": "^3.0.1",
|
|
41
41
|
"merge-options": "3.0.4",
|
|
42
42
|
"parse-prometheus-text-format": "1.1.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"fastify": "3.27.
|
|
45
|
+
"fastify": "3.27.1"
|
|
46
46
|
}
|
|
47
47
|
}
|