@lokalise/fastify-extras 8.0.0 → 10.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.
- package/README.md +135 -9
- package/dist/plugins/newrelicTransactionManagerPlugin.d.ts +1 -1
- package/dist/plugins/newrelicTransactionManagerPlugin.js +1 -1
- package/dist/plugins/newrelicTransactionManagerPlugin.js.map +1 -1
- package/dist/plugins/requestContextProviderPlugin.d.ts +5 -0
- package/dist/plugins/requestContextProviderPlugin.js.map +1 -1
- package/package.json +26 -26
package/README.md
CHANGED
|
@@ -1,19 +1,145 @@
|
|
|
1
|
-
# fastify-extras
|
|
1
|
+
# fastify-extras 🧩
|
|
2
2
|
|
|
3
|
-
Reusable plugins for
|
|
3
|
+
Reusable plugins for Fastify.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
* [Dependency Management](#dependency-management)
|
|
6
|
+
* [Plugins](#plugins)
|
|
7
|
+
|
|
8
|
+
* [RequestContext Provider Plugin](#requestcontext-provider-plugin)
|
|
9
|
+
* [Public Healthcheck Plugin](#public-healthcheck-plugin)
|
|
10
|
+
* [Split IO Plugin](#split-io-plugin)
|
|
11
|
+
* [BugSnag Plugin](#bugsnag-plugin)
|
|
12
|
+
* [Metrics Plugin](#metrics-plugin)
|
|
13
|
+
* [NewRelic Transaction Manager Plugin](#newrelic-transaction-manager-plugin)
|
|
14
|
+
|
|
15
|
+
## Dependency Management
|
|
6
16
|
|
|
7
17
|
The following needs to be taken into consideration when adding new runtime dependency for the `fastify-extras` package:
|
|
8
18
|
|
|
9
19
|
* If dependency is an implementation detail, and end consumer is not expected to import and use the dependency directly, it should be a `dependency`;
|
|
10
20
|
* If dependency needs to be imported and used by consumer directly for it to function properly, it should be a `peerDependency`.
|
|
11
21
|
|
|
12
|
-
###
|
|
22
|
+
### Dependencies
|
|
23
|
+
|
|
24
|
+
* `@bugsnag/js`;
|
|
25
|
+
* `@opentelemetry/api`;
|
|
26
|
+
* `@opentelemetry/exporter-trace-otlp-grpc`;
|
|
27
|
+
* `@opentelemetry/instrumentation`;
|
|
28
|
+
* `@opentelemetry/resources`;
|
|
29
|
+
* `@opentelemetry/sdk-trace-base`;
|
|
30
|
+
* `@opentelemetry/sdk-trace-node`;
|
|
31
|
+
* `@opentelemetry/semantic-conventions`;
|
|
32
|
+
* `@prisma/instrumentation`;
|
|
33
|
+
* `@splitsoftware/splitio`;
|
|
34
|
+
* `fastify-metrics`;
|
|
35
|
+
* `fastify-plugin`;
|
|
36
|
+
* `tslib`.
|
|
37
|
+
|
|
38
|
+
### Peer Dependencies
|
|
39
|
+
|
|
40
|
+
* `@fastify/request-context`;
|
|
41
|
+
* `fastify`;
|
|
42
|
+
* `newrelic`;
|
|
43
|
+
* `pino`.
|
|
44
|
+
|
|
45
|
+
## Plugins
|
|
46
|
+
|
|
47
|
+
### RequestContext Provider Plugin
|
|
48
|
+
|
|
49
|
+
Plugin to:
|
|
50
|
+
* extend existing `FastifyRequest` with request context by setting the following:
|
|
51
|
+
* `logger`, an instance of `FastifyBaseLogger`;
|
|
52
|
+
* `reqId`, the request-id;
|
|
53
|
+
* store the request-id in Asynchronous Local Storage to be picked up by instrumentation tooling (e. g. OpenTelemetry).
|
|
54
|
+
|
|
55
|
+
No options are required to register the plugin.
|
|
56
|
+
|
|
57
|
+
The `getRequestIdFastifyAppConfig()` method is exported and returns:
|
|
58
|
+
* `genReqId`, a function for generating the request-id;
|
|
59
|
+
* `requestIdHeader`, the header name used to set the request-id.
|
|
60
|
+
|
|
61
|
+
Which can be passed to Fastify during instantiation.
|
|
62
|
+
|
|
63
|
+
### Public Healthcheck Plugin
|
|
64
|
+
|
|
65
|
+
Plugin to monitor app status through public healthcheck.
|
|
66
|
+
|
|
67
|
+
Add the plugin to your Fastify instance by registering it with the following options:
|
|
68
|
+
* `healthChecks`, a list of promises with healthcheck in the callback;
|
|
69
|
+
* `responsePayload` (optional), the response payload that the public healthcheck should return. If no response payload is provided, the default response is:
|
|
70
|
+
```json
|
|
71
|
+
{"heartbeat": "HEALTHY"}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Your Fastify app will reply with the status of the app when hitting the `GET /` route.
|
|
75
|
+
|
|
76
|
+
### Split IO Plugin
|
|
77
|
+
|
|
78
|
+
Plugin to handle feature flags in Split IO.
|
|
79
|
+
|
|
80
|
+
Add the plugin to your Fastify instance by registering it with the following options:
|
|
81
|
+
* `isEnabled`, if `true` the plugin will connect to [Split IO](https://split.io) using the provided `apiKey` and store data in memory with background syncing;
|
|
82
|
+
* `apiKey`, your SDK key;
|
|
83
|
+
* `debugMode`;
|
|
84
|
+
* `localhostFilePath` (optional), used to utilize the SDK in [localhost mode](https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#localhost-mode). It corresponds to the full path to a file with the mapping of feature flag name to treatment. `apiKey` will be automatically replaced with `localhost` if `localhostFilePath` is provided.
|
|
85
|
+
|
|
86
|
+
The plugin decorates your Fastify instance with a `SplitIOFeatureManager`, which you can inject and use to leverage the following methods:
|
|
87
|
+
|
|
88
|
+
* `init()`, returns a promise that resolves once the SDK has finished loading. It's called automatically when registering the plugin;
|
|
89
|
+
* `getTreatment()`, returns the proper treatment based on the feature flag name and the key in input. Expected parameters are:
|
|
90
|
+
* `key`, the ID of the user/account/etc. you're trying to evaluate a treatment for;
|
|
91
|
+
* `splitName`, the Split IO feature flag name;
|
|
92
|
+
* `attributes` (optional), a set of [Attributes](https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK#attribute-syntax) used in evaluation to further decide whether to show the on or off treatment;
|
|
93
|
+
|
|
94
|
+
> **_NOTE:_** If `isEnabled` is false, `getTreatement()` will return `control` to signal disabled treatment.
|
|
95
|
+
* `getTreatmentWithConfig()`, used to leverage [dynamic configurations with your treatment](https://help.split.io/hc/en-us/articles/360026943552). It accepts the same parameters as `getTreatment()`, but the response structure is as follows:
|
|
96
|
+
```ts
|
|
97
|
+
type TreatmentResult = {
|
|
98
|
+
treatment: string,
|
|
99
|
+
config: string | null
|
|
100
|
+
};
|
|
101
|
+
```
|
|
102
|
+
> **_NOTE:_** If `isEnabled` is false, `getTreatementWithConfig()` will return `control` as `treatment` and `null` as `config` to signal disabled treatment.
|
|
103
|
+
* `track()`, used to record any actions your customers perform. Returns a boolean to indicate whether or not the SDK was able to successfully queue the event. Expected parameters are:
|
|
104
|
+
* `key`, the ID of the user/account/etc. you're trying to evaluate a treatment for;
|
|
105
|
+
* `trafficType`, the [traffic type](https://help.split.io/hc/en-us/articles/360019916311-Traffic-type) of the key;
|
|
106
|
+
* `eventType`, the event type that this event should correspond to;
|
|
107
|
+
* `value` (optional), the value to be used in creating the metric;
|
|
108
|
+
* `properties`(optional), an object of key value pairs that represent the [properties](https://help.split.io/hc/en-us/articles/360027333612-Event-property-capture-) to be used to filter your metrics;
|
|
109
|
+
* `shutdown()`, gracefully shuts down the client.
|
|
110
|
+
|
|
111
|
+
More info about Split IO can be checked [here](https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK).
|
|
112
|
+
|
|
113
|
+
### BugSnag Plugin
|
|
114
|
+
|
|
115
|
+
Plugin to report errors to BugSnag.
|
|
116
|
+
|
|
117
|
+
Add the plugin to your Fastify instance by registering it with the following options:
|
|
118
|
+
* `isEnabled`;
|
|
119
|
+
* `bugsnag`, a set of customizable [xonfiguration options](https://docs.bugsnag.com/platforms/javascript/configuration-options/).
|
|
120
|
+
|
|
121
|
+
Once the plugin has been added to your Fastify instance and loaded, errors will be reported to BugSnag.
|
|
122
|
+
|
|
123
|
+
### Metrics Plugin
|
|
124
|
+
|
|
125
|
+
Plugin to expose Prometheus metrics.
|
|
126
|
+
|
|
127
|
+
Add the plugin to your Fastify instance by registering it with the following options:
|
|
128
|
+
* `loggerOptions`, used to configure the internal logger instance. It can be a boolean or a set of [Pino options](https://getpino.io/#/docs/api?id=options). By default it is set to `false` and the logger is disabled;
|
|
129
|
+
* `disablePrometheusRequestLogging` (optional). By default Fastify will issue an `info` level log message when a request is received and when the response for that request has been sent. By setting this option to `true`, these log messages will be disabled. Defaults to `true`;
|
|
130
|
+
* `bindAddress` (optional). By default, the server will listen on the address(es) resolved by localhost when no specific host is provided. See the possible values for host when targeting localhost [here](https://fastify.dev/docs/latest/Reference/Server#listen);
|
|
131
|
+
* `errorObjectResolver`, a resolver method that, given an `err` and optionally a `correlationID`, it will log the error if something goes wrong.
|
|
132
|
+
|
|
133
|
+
The plugin exposes a `GET /metrics` route in your Fastify app to retrieve Prometheus metrics. If something goes wrong while starting the Prometheus metrics server, an `Error` is thrown. Otherwise, a success message is displayed when the plugin has been loaded.
|
|
134
|
+
|
|
135
|
+
### NewRelic Transaction Manager Plugin
|
|
136
|
+
|
|
137
|
+
Plugin to create custom NewRelic spans for background jobs.
|
|
13
138
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
- `localhost` - will use `localhost` mode with features provided in a file via param `localhostFilePath`
|
|
17
|
-
- `disabled` - on any request to `SplitIOFeatureManager` it will return `control` treatment
|
|
139
|
+
Add the plugin to your Fastify instance by registering it with the following options:
|
|
140
|
+
* `isEnabled`.
|
|
18
141
|
|
|
19
|
-
|
|
142
|
+
The plugin decorates your Fastify instance with a `NewRelicTransactionManager`, which you can inject and use to leverage the following methods:
|
|
143
|
+
* `start()`, which takes a `jobName`, and starts a background transaction with the provided name;
|
|
144
|
+
* `stop()`, which takes a `jobId`, and ends the background transaction referenced by the ID;
|
|
145
|
+
* `addCustomAttribute()`, which takes `attrName` and `attrValue` and records the custom attribute as such defined. `attrValue` can be a string, a number, or a boolean.
|
|
@@ -10,7 +10,7 @@ export declare class NewRelicTransactionManager {
|
|
|
10
10
|
private readonly isEnabled;
|
|
11
11
|
private readonly transactionMap;
|
|
12
12
|
constructor(isNewRelicEnabled: boolean);
|
|
13
|
-
|
|
13
|
+
addCustomAttribute(attrName: string, attrValue: string | number | boolean): void;
|
|
14
14
|
start(jobName: string): void;
|
|
15
15
|
stop(jobId: string): void;
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newrelicTransactionManagerPlugin.js","sourceRoot":"","sources":["../../lib/plugins/newrelicTransactionManagerPlugin.ts"],"names":[],"mappings":";;;;AACA,4EAA+B;AAe/B,IAAI,QAAkB,CAAA;AAYtB,MAAa,0BAA0B;IACpB,SAAS,CAAS;IAClB,cAAc,CAAgC;IAE/D,YAAY,iBAA0B;QACpC,IAAI,iBAAiB,EAAE;YACrB,mEAAmE;YACnE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;SAC/B;QAED,IAAI,CAAC,SAAS,GAAG,iBAAiB,CAAA;QAClC,IAAI,CAAC,cAAc,GAAG,IAAI,GAAG,EAAE,CAAA;IACjC,CAAC;IAEM,
|
|
1
|
+
{"version":3,"file":"newrelicTransactionManagerPlugin.js","sourceRoot":"","sources":["../../lib/plugins/newrelicTransactionManagerPlugin.ts"],"names":[],"mappings":";;;;AACA,4EAA+B;AAe/B,IAAI,QAAkB,CAAA;AAYtB,MAAa,0BAA0B;IACpB,SAAS,CAAS;IAClB,cAAc,CAAgC;IAE/D,YAAY,iBAA0B;QACpC,IAAI,iBAAiB,EAAE;YACrB,mEAAmE;YACnE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;SAC/B;QAED,IAAI,CAAC,SAAS,GAAG,iBAAiB,CAAA;QAClC,IAAI,CAAC,cAAc,GAAG,IAAI,GAAG,EAAE,CAAA;IACjC,CAAC;IAEM,kBAAkB,CAAC,QAAgB,EAAE,SAAoC;QAC9E,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,OAAM;SACP;QAED,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAA;IAClD,CAAC;IAEM,KAAK,CAAC,OAAe;QAC1B,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,OAAM;SACP;QAED,QAAQ,CAAC,0BAA0B,CAAC,OAAO,EAAE,GAAG,EAAE;YAChD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAC,cAAc,EAAE,CAAC,CAAA;QAC7D,CAAC,CAAC,CAAA;IACJ,CAAC;IAEM,IAAI,CAAC,KAAa;QACvB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,OAAM;SACP;QAED,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,IAAI,CAAA;QAC1D,IAAI,IAAI,KAAK,WAAW,EAAE;YACxB,OAAM;SACP;QACD,WAAW,CAAC,GAAG,EAAE,CAAA;QACjB,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;IACnC,CAAC;CACF;AA5CD,gEA4CC;AAED,SAAS,MAAM,CACb,OAAwB,EACxB,IAAuC,EACvC,IAAgB;IAEhB,MAAM,OAAO,GAAG,IAAI,0BAA0B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IAE9D,OAAO,CAAC,QAAQ,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAA;IAEvD,IAAI,IAAI,CAAC,SAAS,EAAE;QAClB,OAAO,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;YACpC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACrC,QAAQ,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;oBAC1B,IAAI,KAAK,EAAE;wBACT,OAAO,MAAM,CAAC,KAAK,CAAC,CAAA;qBACrB;oBACD,OAAO,EAAE,CAAA;gBACX,CAAC,CAAC,CAAA;YACJ,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;KACH;IAED,IAAI,EAAE,CAAA;AACR,CAAC;AAEY,QAAA,gCAAgC,GAAG,IAAA,wBAAE,EAAC,MAAM,EAAE;IACzD,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,qCAAqC;CAC5C,CAAC,CAAA"}
|
|
@@ -13,5 +13,10 @@ declare module 'fastify' {
|
|
|
13
13
|
interface RequestContext extends BaseRequestContext {
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
+
declare module '@fastify/request-context' {
|
|
17
|
+
interface RequestContextData {
|
|
18
|
+
[REQUEST_ID_STORE_KEY]: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
16
21
|
export declare function getRequestIdFastifyAppConfig(): Pick<FastifyServerOptions, 'genReqId' | 'requestIdHeader'>;
|
|
17
22
|
export declare const requestContextProviderPlugin: import("fastify").FastifyPluginCallback<import("fastify").FastifyPluginOptions, import("fastify").RawServerDefault, import("fastify").FastifyTypeProviderDefault>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestContextProviderPlugin.js","sourceRoot":"","sources":["../../lib/plugins/requestContextProviderPlugin.ts"],"names":[],"mappings":";;;;AAAA,mCAAmC;AAEnC,8DAAyD;AASzD,4EAA+B;AAElB,QAAA,oBAAoB,GAAG,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"requestContextProviderPlugin.js","sourceRoot":"","sources":["../../lib/plugins/requestContextProviderPlugin.ts"],"names":[],"mappings":";;;;AAAA,mCAAmC;AAEnC,8DAAyD;AASzD,4EAA+B;AAElB,QAAA,oBAAoB,GAAG,YAAY,CAAA;AAyBhD,SAAgB,4BAA4B;IAI1C,OAAO;QACL,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAA,mBAAU,GAAE;QAC5B,eAAe,EAAE,cAAc;KAChC,CAAA;AACH,CAAC;AARD,oEAQC;AAED,SAAS,MAAM,CAAC,OAAwB,EAAE,IAAa,EAAE,IAAgB;IACvE,OAAO,CAAC,OAAO,CACb,WAAW,EACX,CAAC,GAAmB,EAAE,GAAiB,EAAE,IAA6B,EAAE,EAAE;QACxE,GAAG,CAAC,UAAU,GAAG;YACf,MAAM,EAAE,GAAG,CAAC,GAAG;YACf,KAAK,EAAE,GAAG,CAAC,EAAY;SACxB,CAAA;QAED,0GAA0G;QAC1G,gCAAc,CAAC,GAAG,CAAC,4BAAoB,EAAE,GAAG,CAAC,EAAY,CAAC,CAAA;QAE1D,IAAI,EAAE,CAAA;IACR,CAAC,CACF,CAAA;IAED,OAAO,CAAC,OAAO,CACb,QAAQ,EACR,CAAC,GAAmB,EAAE,GAAiB,EAAE,OAAO,EAAE,IAA6B,EAAE,EAAE;QACjF,KAAK,GAAG,CAAC,MAAM,CAAC,cAAc,EAAE,GAAG,CAAC,EAAE,CAAC,CAAA;QACvC,IAAI,EAAE,CAAA;IACR,CAAC,CACF,CAAA;IAED,IAAI,EAAE,CAAA;AACR,CAAC;AAEY,QAAA,4BAA4B,GAAG,IAAA,wBAAE,EAAC,MAAM,EAAE;IACrD,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,iCAAiC;CACxC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/fastify-extras",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Opinionated set of fastify plugins, commonly used in Lokalise",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Lokalise",
|
|
@@ -44,48 +44,48 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@bugsnag/js": "^7.20.2",
|
|
47
|
-
"@opentelemetry/api": "^1.
|
|
48
|
-
"@opentelemetry/exporter-trace-otlp-grpc": "^0.
|
|
49
|
-
"@opentelemetry/instrumentation": "^0.
|
|
50
|
-
"@opentelemetry/resources": "^1.
|
|
51
|
-
"@opentelemetry/sdk-trace-base": "^1.
|
|
52
|
-
"@opentelemetry/sdk-trace-node": "^1.
|
|
53
|
-
"@opentelemetry/semantic-conventions": "^1.
|
|
54
|
-
"@prisma/instrumentation": "^4.
|
|
47
|
+
"@opentelemetry/api": "^1.4.1",
|
|
48
|
+
"@opentelemetry/exporter-trace-otlp-grpc": "^0.40.0",
|
|
49
|
+
"@opentelemetry/instrumentation": "^0.40.0",
|
|
50
|
+
"@opentelemetry/resources": "^1.14.0",
|
|
51
|
+
"@opentelemetry/sdk-trace-base": "^1.14.0",
|
|
52
|
+
"@opentelemetry/sdk-trace-node": "^1.14.0",
|
|
53
|
+
"@opentelemetry/semantic-conventions": "^1.14.0",
|
|
54
|
+
"@prisma/instrumentation": "^4.16.0",
|
|
55
|
+
"@splitsoftware/splitio": "^10.22.5",
|
|
55
56
|
"fastify-metrics": "^10.3.0",
|
|
56
57
|
"fastify-plugin": "^4.5.0",
|
|
57
|
-
"tslib": "^2.5.
|
|
58
|
+
"tslib": "^2.5.3"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
|
60
|
-
"@fastify/request-context": "^
|
|
61
|
-
"fastify": "^4.
|
|
61
|
+
"@fastify/request-context": "^5.0.0",
|
|
62
|
+
"fastify": "^4.18.0",
|
|
62
63
|
"newrelic": "^10.1.1",
|
|
63
|
-
"
|
|
64
|
-
"pino": "^8.11.0"
|
|
64
|
+
"pino": "^8.14.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@fastify/request-context": "^
|
|
68
|
-
"@lokalise/node-core": "^5.
|
|
69
|
-
"@types/jest": "^29.5.
|
|
70
|
-
"@types/newrelic": "^9.
|
|
71
|
-
"@types/node": "^18.16.
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
73
|
-
"@typescript-eslint/parser": "^5.
|
|
67
|
+
"@fastify/request-context": "^5.0.0",
|
|
68
|
+
"@lokalise/node-core": "^5.8.1",
|
|
69
|
+
"@types/jest": "^29.5.2",
|
|
70
|
+
"@types/newrelic": "^9.14.0",
|
|
71
|
+
"@types/node": "^18.16.18",
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
73
|
+
"@typescript-eslint/parser": "^5.60.0",
|
|
74
74
|
"auto-changelog": "^2.4.0",
|
|
75
|
-
"eslint": "^8.
|
|
75
|
+
"eslint": "^8.43.0",
|
|
76
76
|
"eslint-config-prettier": "^8.8.0",
|
|
77
77
|
"eslint-plugin-import": "^2.27.5",
|
|
78
|
-
"eslint-plugin-jest": "^27.2.
|
|
78
|
+
"eslint-plugin-jest": "^27.2.2",
|
|
79
79
|
"eslint-plugin-prettier": "^4.2.1",
|
|
80
|
-
"fastify": "^4.
|
|
80
|
+
"fastify": "^4.18.0",
|
|
81
81
|
"jest": "^29.5.0",
|
|
82
|
-
"newrelic": "
|
|
82
|
+
"newrelic": "10.2.0",
|
|
83
83
|
"pino": "^8.14.1",
|
|
84
84
|
"prettier": "^2.8.8",
|
|
85
85
|
"shx": "^0.3.4",
|
|
86
86
|
"ts-jest": "^29.1.0",
|
|
87
87
|
"ts-node": "^10.9.1",
|
|
88
|
-
"typescript": "^5.
|
|
88
|
+
"typescript": "^5.1.3"
|
|
89
89
|
},
|
|
90
90
|
"engines": {
|
|
91
91
|
"node": ">=18"
|