js-bson mis-handles binary values when minified

XMLWordPrintableJSON

    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Neal Beeken
            Reporter:
            Stefano Rivera
            None
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: