-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecated @types/mongodb package causes error #554
Comments
I can confirm that the
Environment:
Step to reproduce:
WorkaroundEdit the {
"compilerOptions": {
"skipLibCheck": true,
}
}
|
why is @types/mongodb package not updated to latest yet? |
Describe the bug
multer-gridfs-storage
uses the deprecated@types/mongodb
package as a dependency. There are conflicts with themongodb
package in version >= 5:Environment
I'm using
multer-gridfs-storage
package version 5.0.2 withmongodb
package version 5.0.1My installed MongoDb version is 6.0.1
I have Multer 1.4.5-lts.1 installed to upload files
The Node version used to run the code is 16.17.0
To Reproduce
Integrate the above packages into any project and try to build the project.
Expected behavior
Since mongodb now comes with its own types, the deprecated
@types/mongodb
package can be dispensed with altogether.The text was updated successfully, but these errors were encountered: