-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 3.1.10
-
Component/s: None
bson@1 uses the deprecated new Buffer() constructor.
This are a) a security risk and b) slower on 10+.
I would recommend to switch to safe-buffer and use the new methods