mongodb/js-bson 7.3.0 or higher fails on bun

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Blocker - P1
    • None
    • Affects Version/s: 7.3.0, 7.4.0
    • Component/s: BSON
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

        1. Description

      Since bson is depended by mongodb which is depended by mongoose. None of these packages are usable on Bun currently. Normally I would report this to Bun, but due to their migration to Rust, they have not made a release for a while. And I dont think they will make another release anytime soon.

      So, kindly fix this if possible. If this stays as it, it causes throws errors and exits across all Bun latest runtimes. And since no happened release for a while, most Bun users are basically on latest already.

       

       

        1. ss.png
          104 kB
          touhidurrr N/A (EXT)

            Assignee:
            Unassigned
            Reporter:
            touhidurrr N/A (EXT)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: