The outdated package is causing problems with updating jQuery to >= 4.x. The most problematic part of the code is related to tags, specifically the monster "init_search_selection" function in oioioi/problems/static/common/tag_selection.js. The function is long, complicated, and appears to depend tightly on the library's internals, so rewriting it might be quite difficult.
A possible replacement is https://www.npmjs.com/package/corejs-typeahead, which is a more recently updated fork of Twitter's typeahead.js.
The outdated package is causing problems with updating jQuery to >= 4.x. The most problematic part of the code is related to tags, specifically the monster "init_search_selection" function in oioioi/problems/static/common/tag_selection.js. The function is long, complicated, and appears to depend tightly on the library's internals, so rewriting it might be quite difficult.
A possible replacement is https://www.npmjs.com/package/corejs-typeahead, which is a more recently updated fork of Twitter's typeahead.js.