Replace use of query-string
dependency for URLSearchParams
#571
Labels
good first issue
A good task for a newcomer to start with
help wanted
Ready to be picked up by anyone in the community
Upgrading to
query-string
v8+ has been a pain point for codebases, and Learner Dashboard is no exception.What I've discovered is that our use for
query-string
in Learner Dashboard can be fulfilled with URLSearchParams, which occurs in two files (hook.js and src/data/services/lms/utils.js), and so instead of trying to fix the failed tests for upgradingquery-string
to v9, I suggest replacing it completely.This will require updating the tests for both files and removing the
query-string
dependency frompackage.json
.The text was updated successfully, but these errors were encountered: