@contrast/protect 1.59.0 → 1.60.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.
|
@@ -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: '>=3 <
|
|
77
|
+
depHooks.resolve({ name: 'fastify', version: '>=3 <6' }, (fastify) => patcher.patch(fastify, {
|
|
78
78
|
name: 'fastify',
|
|
79
79
|
patchType,
|
|
80
80
|
post(data) {
|
|
@@ -36,7 +36,7 @@ module.exports = (core) => {
|
|
|
36
36
|
* registers a depHook for fastify module instrumentation
|
|
37
37
|
*/
|
|
38
38
|
function install() {
|
|
39
|
-
depHooks.resolve({ name: 'fastify', version: '>=3 <
|
|
39
|
+
depHooks.resolve({ name: 'fastify', version: '>=3 <6' }, (fastify) => patcher.patch(fastify, {
|
|
40
40
|
name: 'fastify.build',
|
|
41
41
|
patchType,
|
|
42
42
|
post({ result: server, funcKey }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/protect",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.60.0",
|
|
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)",
|