Prerequisites
Fastify version
5.4.0
Plugin version
11.1.1
Node.js version
22.x
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
ubuntu 22
Description
After updating the cookie package in #361 commonjs require breaks as cookie package v2 completely migrated to ES Modules (ESM).
I believe this should be reverted and release the changes under a different major version as it is a breaking change
Link to code that reproduces the bug
/
Expected Behavior
No response
Prerequisites
Fastify version
5.4.0
Plugin version
11.1.1
Node.js version
22.x
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
ubuntu 22
Description
After updating the cookie package in #361 commonjs require breaks as cookie package v2 completely migrated to ES Modules (ESM).
I believe this should be reverted and release the changes under a different major version as it is a breaking change
Link to code that reproduces the bug
/
Expected Behavior
No response