Skip to content

refactor: cleanup - #1959

Merged
mdjastrzebski merged 12 commits into
next/event-systemfrom
refactor/cleanup
Nov 5, 2026
Merged

mdjastrzebski merged 12 commits into
next/event-systemfrom
refactor/cleanup

Conversation

@mdjastrzebski

Copy link
Copy Markdown
Member

Summary

Promote to stable

Test plan

mdjastrzebski and others added 12 commits November 5, 2026 17:14
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…xed check order

The facade's modern-path argument handling (on-prefix stripping, arity check,
prefix warning) was split between inline facade code and a generic
src/events/utils.ts, and the null-instance check ran after the arity check.
normalizeModernFireEventArgs() in src/events/fire-event-args.ts now runs them
in a fixed order: strip prefix, check instance, check arity, warn on prefix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.96%. Comparing base (27ccdc2) to head (c665618).

Additional details and impacted files
@@                  Coverage Diff                  @@
##           next/event-system    #1959      +/-   ##
=====================================================
+ Coverage              98.91%   98.96%   +0.04%     
=====================================================
  Files                    105      107       +2     
  Lines                   2313     2324      +11     
  Branches                 617      614       -3     
=====================================================
+ Hits                    2288     2300      +12     
+ Misses                    24       23       -1     
  Partials                   1        1              

☔ View full report in Codecov by Harness.
📢 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.

@mdjastrzebski
mdjastrzebski merged commit 8eac001 into next/event-system Nov 5, 2026
37 checks passed
@mdjastrzebski
mdjastrzebski deleted the refactor/cleanup branch November 5, 2026 17:05
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