Skip to content

Commit e9d4744

Browse files
committed
fix(shell-bson): allow bson 7.x as a peer dependency
The interface is largely unchanged from 6.x, so consumers can use 7.x as a plug-in replacement for 6.x here already.
1 parent 1dc6afe commit e9d4744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shell-bson/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@mongosh/errors": "^2.4.4"
4141
},
4242
"peerDependencies": {
43-
"bson": "^6.10.4"
43+
"bson": "^6.10.4 || ^7.0.0"
4444
},
4545
"devDependencies": {
4646
"@mongodb-js/eslint-config-mongosh": "^1.0.0",

0 commit comments

Comments
 (0)