generated from fastify/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the bug has not already been reported
Fastify version
Plugin version
2.3.0
Node.js version
v14.21.3
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
12.7.4
Description
The changes in 6c97e35
seems to break packages which using it as example via webpack in the browser. I'm not 100% sure if this package was created to work inside browser but thought I would report it if it should.
Currently because of node:url the ajv is failing now which is package used for json schema validation in some cases as we in @sulu using it in browser: ajv-validator/ajv#2446
Link to code that reproduces the bug
Expected Behavior
Should work inside the browser / web apps compiles with webpack 4 / 5.
Workaround
For all coming from ajv-validator/ajv#2446 you can downgrade ajv to a version not using fast-uri:
npm install "ajv@8.14.*" --save
or downgrade fast-uro to:
npm install "fast-uri@2.2.*" --save
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working