[COMPASS-5738] Lookbehind regex in mongodb-connection-string-url is unsupported in Atlas supported browsers Created: 14/Apr/22  Updated: 29/Oct/23  Resolved: 30/Sep/22

Status: Closed
Project: Compass
Component/s: Atlas, Plugins, Tech debt
Affects Version/s: None
Fix Version/s: 1.34.0

Type: Bug Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to COMPASS-5723 Investigate compass-aggregations / co... Closed
related to COMPASS-6066 Implement protectConnectionStrings op... Closed
Story Points: 1
Documentation Changes: Not Needed
Sprint: Iteration Kraken

 Description   

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



 Comments   
Comment by Githook User [ 19/Oct/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump mongodb-connection-string-url to 2.5.4 COMPASS-5738 (#3536)
Branch: COMPASS-6064-implement-readonly-option
https://github.com/mongodb-js/compass/commit/0e512600a044eeec87cf6ff985f31378046dc79f

Comment by Githook User [ 10/Oct/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump mongodb-connection-string-url to 2.5.4 COMPASS-5738 (#3536)
Branch: 6069-dev
https://github.com/mongodb-js/compass/commit/0e512600a044eeec87cf6ff985f31378046dc79f

Comment by Githook User [ 10/Oct/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump mongodb-connection-string-url to 2.5.4 COMPASS-5738 (#3536)
Branch: 6113-dev
https://github.com/mongodb-js/compass/commit/0e512600a044eeec87cf6ff985f31378046dc79f

Comment by Githook User [ 05/Oct/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump mongodb-connection-string-url to 2.5.4 COMPASS-5738 (#3536)
Branch: 1.34-releases
https://github.com/mongodb-js/compass/commit/0e512600a044eeec87cf6ff985f31378046dc79f

Comment by Githook User [ 03/Oct/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump mongodb-connection-string-url to 2.5.4 COMPASS-5738 (#3536)
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/0e512600a044eeec87cf6ff985f31378046dc79f

Comment by Githook User [ 30/Sep/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump mongodb-connection-string-url to 2.5.4 COMPASS-5738 (#3536)
Branch: main
https://github.com/mongodb-js/compass/commit/0e512600a044eeec87cf6ff985f31378046dc79f

Comment by Githook User [ 30/Sep/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: chore(deps): bump mongodb-connection-string-url to 2.5.4 COMPASS-5738
Branch: 5738-dev
https://github.com/mongodb-js/compass/commit/aa54ba43e54d79f3a6e7bdd4cf3f8ad195a60a66

Comment by Anna Henningsen [ 30/Sep/22 ]

julia.oppenheim@mongodb.com I don't remember why we assigned this to you in triage, but I think I'm running into a situation in which I need to take care of this anyway, so I'll try to pick it up in the upcoming sprint.

Generated at Wed Feb 07 22:40:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.