Closed
Description
If you have conflicting versions of packages in your project for whatever reason, then requiring them 'relatively' is dangerous as the file structure might be different.
For example, in connection-fast
at line 15, you have
const { parse, serialize } = require('../../pg-protocol/dist')
This relies on these packages being installed inside the same node_modules
folder, which I believe isn't a safe assumption
Metadata
Metadata
Assignees
Labels
No labels