JS-BSON: Fix Buffer dependency for Angular

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-4.0.2
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As pointed out by https://github.com/mongodb/stitch-js-sdk/issues/240 the js-bson library currently cannot parse BSON.Binary in Angular. Trying to call EJSON.parse() on a document with binary data will fail with the error: "ReferenceError: Can't find variable: Buffer".

            Assignee:
            Daniel Aprahamian (Inactive)
            Reporter:
            Tyler Kaye
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: