@types/mongodb older version #64241
Unanswered
kobi-co
asked this question in
Issues with a @types package
Replies: 2 comments
-
Hi, we could not find a reference to the types you are talking about in this discussion. E.g.
By doing this, I can ping the folks who maintain the types you are referring to. |
Beta Was this translation helpful? Give feedback.
0 replies
-
For future visitors - I was able to overcome this issue by pinning a specific version of BSON to if using NPM add to "overrides": {
"@types/bson": "4.0.5"
} if using PNPM add to "pnpm": {
"overrides": {
"@types/bson": "4.0.5"
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
After the latest release of mongo db 5.0.0
It seems like the @types/mongodb has some issues.
The issue is that in version 3.6.20 of @types/mongodb, it has a dependency for
"@types/bson": "*"
The latest
@types/bson
has removed ObjectID and it causes issues with@types/mongodb
.Is there any chance to patch
@types/mongodb
to have a dependency to@types/bson:4.0.5
or something like that ?Thanks for the support
Beta Was this translation helpful? Give feedback.
All reactions