From dff02a502543189e426ca049ed3dbb8475ecf795 Mon Sep 17 00:00:00 2001 From: Cedric Lionnet Date: Tue, 22 Oct 2024 09:48:39 +0200 Subject: [PATCH] fix: require 'fastify>=5.x' --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 84cd8e0..9f1bd52 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const fp = require('fastify-plugin') const { inferIPVersion, isIP, isIPv4, isIPv6 } = require('./lib/ip') const plugin = fp(fastifyIp, { - fastify: '>=4.x', + fastify: '>=5.x', name: 'fastify-ip' })