Skip to content
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

Linter checks: dom manipulation, network traffic, and direct storage access && bugfixes: unauthorized storage access #11884

Merged
merged 75 commits into from
Jul 4, 2024

Conversation

patmmccann
Copy link
Collaborator

@patmmccann patmmccann commented Jun 28, 2024

related: #11853 which should replace with storage manager

note: this isn't currently working, the linter isnt failing any files for any of these new checks, including relevate health, which is bypassing consent checks

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

github-actions bot commented Jul 1, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

github-actions bot commented Jul 1, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

github-actions bot commented Jul 1, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

github-actions bot commented Jul 1, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

github-actions bot commented Jul 1, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

github-actions bot commented Jul 1, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

github-actions bot commented Jul 1, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link

github-actions bot commented Jul 1, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

Copy link
Contributor

@spotxslagle spotxslagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

github-actions bot commented Jul 4, 2024

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

@patmmccann patmmccann merged commit a4cc27c into master Jul 4, 2024
1 of 3 checks passed
@patmmccann patmmccann deleted the patmmccann-patch-10 branch July 4, 2024 11:03
DecayConstant pushed a commit to mediavine/Prebid.js that referenced this pull request Jul 18, 2024
…access && bugfixes: unauthorized storage access (prebid#11884)

* relevatehealthBidAdapter.js: bugfix for storage used without consent

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update relevatehealthBidAdapter.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update .eslintrc.js

* Update index.js

* Update relevatehealthBidAdapter.js

* Update 33acrossAnalyticsAdapter.js

* Update index.js

* Update index.js

* Update 33acrossAnalyticsAdapter.js

* Update index.js

* Update ampliffyBidAdapter.js

* Update index.js

* Update invibesBidAdapter.js

* Update growthCodeAnalyticsAdapter.js

* Update fintezaAnalyticsAdapter.js

* Update growthCodeAnalyticsAdapter.js

* Update etargetBidAdapter.js

* Update dspxBidAdapter.js

* Update cwireBidAdapter.js

* Update cwireBidAdapter.js

* Update ampliffyBidAdapter.js

* Update etargetBidAdapter.js

* Update dspxBidAdapter.js

* Update fintezaAnalyticsAdapter.js

* Update ampliffyBidAdapter.js

* Update adlooxAnalyticsAdapter.js

* Update invibesBidAdapter.js

* Update fintezaAnalyticsAdapter.js

* Update dspxBidAdapter.js

* Update connectIdSystem.js

* Update automatadAnalyticsAdapter.js

* Update sonobiBidAdapter.js

* Update contxtfulRtdProvider.js

* Update sonobiBidAdapter.js

* Update contxtfulRtdProvider.js

* Update index.js

* Update cleanioRtdProvider.js

* Update connectIdSystem.js

* Update geoedgeRtdProvider.js

* Update growthCodeRtdProvider.js

* Update sirdataRtdProvider.js

* Update sirdataRtdProvider.js

* Update contxtfulRtdProvider_spec.js

* Update contxtfulRtdProvider_spec.js

* Update index.js

Fix duplication

* Update index.js

* refactor custom linter rules

* use TODO and comments instead of quietly removing rule-breaking code

* Add linter GH action

* Fix linter workflow name

* Run npm ci on linter check

* Filter out missing (new) files

* Do not fail on linter failure

* swap continue-on-error

* remove spurious condition

* Improve comment

* Fix links for duplication checker comments

* Filter out negative deltas

* Update linter warning comment

* Update .eslintrc.js

---------

Co-authored-by: Demetrio Girardi <[email protected]>
mefjush pushed a commit to adhese/Prebid.js that referenced this pull request Jul 19, 2024
…access && bugfixes: unauthorized storage access (prebid#11884)

* relevatehealthBidAdapter.js: bugfix for storage used without consent

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update relevatehealthBidAdapter.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update .eslintrc.js

* Update index.js

* Update relevatehealthBidAdapter.js

* Update 33acrossAnalyticsAdapter.js

* Update index.js

* Update index.js

* Update 33acrossAnalyticsAdapter.js

* Update index.js

* Update ampliffyBidAdapter.js

* Update index.js

* Update invibesBidAdapter.js

* Update growthCodeAnalyticsAdapter.js

* Update fintezaAnalyticsAdapter.js

* Update growthCodeAnalyticsAdapter.js

* Update etargetBidAdapter.js

* Update dspxBidAdapter.js

* Update cwireBidAdapter.js

* Update cwireBidAdapter.js

* Update ampliffyBidAdapter.js

* Update etargetBidAdapter.js

* Update dspxBidAdapter.js

* Update fintezaAnalyticsAdapter.js

* Update ampliffyBidAdapter.js

* Update adlooxAnalyticsAdapter.js

* Update invibesBidAdapter.js

* Update fintezaAnalyticsAdapter.js

* Update dspxBidAdapter.js

* Update connectIdSystem.js

* Update automatadAnalyticsAdapter.js

* Update sonobiBidAdapter.js

* Update contxtfulRtdProvider.js

* Update sonobiBidAdapter.js

* Update contxtfulRtdProvider.js

* Update index.js

* Update cleanioRtdProvider.js

* Update connectIdSystem.js

* Update geoedgeRtdProvider.js

* Update growthCodeRtdProvider.js

* Update sirdataRtdProvider.js

* Update sirdataRtdProvider.js

* Update contxtfulRtdProvider_spec.js

* Update contxtfulRtdProvider_spec.js

* Update index.js

Fix duplication

* Update index.js

* refactor custom linter rules

* use TODO and comments instead of quietly removing rule-breaking code

* Add linter GH action

* Fix linter workflow name

* Run npm ci on linter check

* Filter out missing (new) files

* Do not fail on linter failure

* swap continue-on-error

* remove spurious condition

* Improve comment

* Fix links for duplication checker comments

* Filter out negative deltas

* Update linter warning comment

* Update .eslintrc.js

---------

Co-authored-by: Demetrio Girardi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants