-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforcement: stop importing events system in bidders #11071
Comments
Need to define what the extended scope would be. Bidders have control over their code and can already do what they wish with errors they generate. Looking at those adapters:
This leaves ix. they intend to capture error logs and rendering failures related to their adapter. I don't think their approach works, but besides that:
|
#11141 partially fixes |
Summary of to do: fix holid adapter, add a linting rule for bidders not to import events using a no-restricted-imports rule on es lint |
Also add linting rule to exclude bidders from importing adLoader |
Type of issue
feature request
Description
to prevent the need for any adaptor to import the events system, we should expand the scope of onBidderError to more than just network errors, potentially to support use cases such as failing to understand the response or something of this nature.
The following bidders currently import events
Prebid.js/modules/holidBidAdapter.js
Line 8 in 9270339
We should add the linter rule
The text was updated successfully, but these errors were encountered: