[COMPASS-6764] Remove dependency on unsupported request library Created: 24/Apr/23  Updated: 26/Jul/23  Resolved: 26/Jul/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Story Priority: Major - P3
Reporter: Jack Weir Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Documentation Changes: Not Needed
Sprint: Up for triaging

 Description   

Please remove dependency on unsupported request library https://www.npmjs.com/package/request

Dependency Chain:

1) request:2.88.2 <-- ampersand-sync:5.1.0 <-- ampersand-collection-rest-mixin:6.0.0 <-- ampersand-rest-collection:6.0.0 <-- compass-preferences-model:2.7.0 <-- @mongodb-js/compass-aggregations
2) request:2.88.2 <-- ampersand-sync:5.1.0 <-- ampersand-collection-rest-mixin:6.0.0 <-- ampersand-rest-collection:6.0.0 <-- compass-preferences-model:2.7.0 <-- @mongodb-js/compass-crud
3) request:2.88.2 <-- ampersand-sync:5.1.0 <-- ampersand-collection-rest-mixin:6.0.0 <-- ampersand-rest-collection:6.0.0 <-- compass-preferences-model:2.7.0 <-- @mongodb-js/compass-query-bar
4) request:2.88.2 <-- ampersand-sync:5.1.0 <-- ampersand-collection-rest-mixin:6.0.0 <-- ampersand-rest-collection:6.0.0 <-- compass-preferences-model:2.7.0 <-- @mongodb-js/compass-maybe-protect-connection-string:0.3.1 <-- @mongodb-js/compass-export-to-language



 Comments   
Comment by Jessica Sigafoos [ 26/Jul/23 ]

The workaround for this is setting the ampersand-sync to false, and webpack will exclude it in this case.

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