-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: bson-4.2.1
-
Component/s: js-bson
-
Empty show more show less
-
Not Needed
Since 5167be2 (fixing NODE-2848) binary fields have been broken for users minifying their source.
The .buffer attribute would contain the raw BSON blob, rather than just the field's value. This was because isBuffer would return false, as the name of the Buffer class would have been minified down to a single character.