Uploaded image for project: 'Node Driver'
  1. Node Driver
  2. NODE-1891

JS-BSON: Fix Buffer dependency for Angular

    XMLWordPrintable

    Details

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

      Description

      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".

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: