-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.34.1
-
Component/s: CLI
-
None
-
Environment:macOS
-
2
-
Iteration Porpoise
-
Not Needed
Problem Statement/Rationale
When I start Compass from the command line, Compass displays the following warning:
> /Applications/MongoDB\ Compass.app/Contents/MacOS/MongoDB\ CompassĀ (node:68272) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `MongoDB Compass Beta Helper (Renderer) --trace-deprecation ...` to show where the warning was created)
Expected Results
Compass does not show any warnings on startup.
Actual Results
Compass shows this warning on startup. The application still starts normally, this warning is just shown in the console.
Additional Notes
This warning could be seen as a security risk to users unfamiliar with what's going on behind the scenes.
- is related to
-
COMPASS-6151 Running compass as CLI leads to errors printed from native code
- Open