In 446775 we introduced a mw.hook allowing 3rd parties to extend the entity selector suggestions.
PropertySuggester could now use this hook to avoid monkey patching here:
https://github.com/Wikidata-lib/PropertySuggester/blob/master/modules/ext.PropertySuggester.EntitySelector.js