Skip to content

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Sep 10, 2025

This PR provides the option if installing a polypill for the Object.hasOwn() method, since that seems to be the only significant thing that we are using that isn't in ES2017 or earlier. The default is false, since this modifies global objects, and the page author should ned to opt-in for that.

@dpvc dpvc added this to the v4.0.1 milestone Sep 10, 2025
@dpvc dpvc requested a review from zorkow September 10, 2025 17:44
Copy link

codecov bot commented Sep 10, 2025

Codecov Report

❌ Patch coverage is 41.66667% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.71%. Comparing base (afaf1ea) to head (5651923).

Files with missing lines Patch % Lines
components/mjs/startup/hasown.js 30.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1351      +/-   ##
===========================================
- Coverage    86.72%   86.71%   -0.01%     
===========================================
  Files          337      338       +1     
  Lines        84145    84157      +12     
  Branches      3140     4771    +1631     
===========================================
+ Hits         72971    72976       +5     
- Misses       11174    11181       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant