-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.0.0
-
Component/s: BSON
-
Empty show more show less
When loading bson from TypeScript as import bson from 'bson';, that breaks with bson@4.2.0, because TypeScript sees that `lib/bson.js` was generated from a TypeScript module without a default export. (This does not affect genuine ES6 modules, only TypeScript modules.)
Adding a default export back, at least for bson@4.x.x, should fix this.
- depends on
-
NODE-2848 bson@4.2.0 breaks serialization with bson@1.x
- Backlog
- is depended on by
-
COMPASS-4426 JSON export does not represent binary data properly
- Closed
-
COMPASS-4502 Update bson to real version in compass-import-export
- Closed