Closed rtritto closed 2 months ago
mongodb-query-parser@npm:4.2.4 doesn't provide bson to @mongodb-js/shell-bson-parser
yarn init
yarn set version berry
yarn add mongodb-query-parser
No warning on yarn console
bson:
bson
mongodb-query-parser
@mongodb-js/shell-bson-parser
Add bson as peer dependency.
Bug Report
Current Behavior
Code/Gist
yarn init
yarn set version berry
yarn add mongodb-query-parser
Expected Behavior/Code
No warning on yarn console
Reasons
bson
:mongodb-query-parser
only use bson in stringify.ts for types@mongodb-js/shell-bson-parser
Solution
Add
bson
as peer dependency.