Repository navigation
chore(deps): Upgrade @1natsu/wait-element to v5 - #2642
Conversation
v5 checks once per MutationObserver callback instead of once per MutationRecord, so autoMount no longer re-resolves the anchor hundreds of times when a page makes a burst of unrelated mutations. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
@wxt-dev/analytics
@wxt-dev/auto-icons
@wxt-dev/browser
@wxt-dev/i18n
@wxt-dev/is-background
@wxt-dev/module-react
@wxt-dev/module-solid
@wxt-dev/module-svelte
@wxt-dev/module-vue
@wxt-dev/runner
@wxt-dev/storage
@wxt-dev/unocss
@wxt-dev/webextension-polyfill
wxt
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2642 +/- ##
==========================================
- Coverage 80.03% 80.00% -0.03%
==========================================
Files 134 134
Lines 4072 4072
Branches 944 944
==========================================
- Hits 3259 3258 -1
Misses 718 718
- Partials 95 96 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@nishu-murmu If you approving something, make it from start to end. Now PR isn't mergable because of the failed pipeline. I can do it, but that's your responsibility, if you want to join it to Your approval have real impact now. Do it in all places, where you've approved changes, becuase after quick review of PRs, i see there's plenty of approved by you, with broken pipeline. |
|
@PatrykKuniczak apologies for some misunderstanding |
|
Still the checks are failing :( |
That's mean, there was a breaking changes between versions and @prichey need to figured it out. If you'll have some trouble there or somewhere else, let's touch me on Discord 😄 @prichey You're on the home stretch with this one, let's resolve conflicts between versions. |
@1natsu/wait-element to v5@1natsu/wait-element to v5
@1natsu/wait-element to v5@1natsu/wait-element to v5
|
And that wasn't "fix", i've changed title already. |
* generating the .wxt folder which would prevent the type errors.
|
@PatrykKuniczak the build errors are fixed. We're facing some weird errors on Basic Check CI/CD, in |
|
Thanks for helping make WXT better! |
|
Thanks for the quick merge! I appreciate it 🙇 |
Overview
Upgrades
@1natsu/wait-elementfrom^4.1.2to^5.0.0. The previous range couldn't resolve 5.x.v5 (release notes) runs the detector once per
MutationObservercallback instead of once perMutationRecord. Before,autoMountre-resolved its anchor for every record in a batch, which is expensive on pages that make many mutations at once. v5's breaking change only affects custom detectors that depend on non-DOM state, so WXT's usage (customMatcherwithisExist/isNotExist) is unaffected.Also adds a test that
autoMountresolves the anchor once per mutation batch.Manual Testing
bun run --filter wxt test runandbun run --filter wxt checkpass.5.0.0.autoMountUIs mount and unmount as before, and the anchor re-resolution cost on busy pages is gone.Related Issue
Follow-up to 1natsu172/wait-element#208.
🤖 Generated with Claude Code