@contrast/protect 1.6.3 → 1.6.4
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.
|
@@ -74,7 +74,7 @@ module.exports = function(core) {
|
|
|
74
74
|
* Instruments fastify in order to add our custom error handler.
|
|
75
75
|
*/
|
|
76
76
|
fastifyErrorHandler.install = function() {
|
|
77
|
-
depHooks.resolve({ name: 'fastify', version: '
|
|
77
|
+
depHooks.resolve({ name: 'fastify', version: '>=3 <5' }, (fastify) => patcher.patch(fastify, {
|
|
78
78
|
name: 'fastify',
|
|
79
79
|
patchType,
|
|
80
80
|
post(data) {
|
package/lib/index.d.ts
CHANGED
|
@@ -138,7 +138,8 @@ export interface Protect {
|
|
|
138
138
|
},
|
|
139
139
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
140
140
|
agentLib: any;
|
|
141
|
-
|
|
141
|
+
packageName: string;
|
|
142
|
+
version: string;
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
export default function(core: Core): ProtectMessage;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/protect",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"description": "Contrast service providing framework-agnostic Protect support",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@babel/types": "^7.16.8",
|
|
22
22
|
"@contrast/agent-lib": "^5.1.0",
|
|
23
23
|
"@contrast/common": "1.1.3",
|
|
24
|
-
"@contrast/core": "1.6.
|
|
25
|
-
"@contrast/esm-hooks": "1.2.
|
|
24
|
+
"@contrast/core": "1.6.1",
|
|
25
|
+
"@contrast/esm-hooks": "1.2.1",
|
|
26
26
|
"@contrast/scopes": "1.1.2",
|
|
27
27
|
"builtin-modules": "^3.2.0",
|
|
28
28
|
"ipaddr.js": "^2.0.1",
|