Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5738

Lookbehind regex in mongodb-connection-string-url is unsupported in Atlas supported browsers

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.34.0
    • Affects Version/s: None
    • Component/s: Atlas, Plugins, Tech debt
    • None
    • 1
    • Iteration Kraken
    • Not Needed

      Cloud is trying to update compass-aggregations plugin to latest in their application, but this seems to be blocked on us using unsupported (and seemingly unpolyfillable) lookbehind regex in a transitive dependency of the plugin. (it's supported almost everywhere, but not in Safari which Cloud seems to support based on this wiki page)

      compass-aggregation depends on compas-export-to-language depends on mongodb-connection-string-url that uses these for the redaction logic

      Seems like the part of code that uses these will be never hit by the actual code of the plugin so we should either find a way to use a compatible regex or if it's not possible work around the issue to at least avoid syntax errors on browser parsing

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: