Skip to content

Update dev dependencies - #20

Merged
wmantly merged 1 commit into
masterfrom
dep-updates
Jul 18, 2026
Merged

wmantly merged 1 commit into
masterfrom
dep-updates

Conversation

@wmantly

@wmantly wmantly commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Updates all devDependencies to latest: jQuery 3.7→4.0, chai 4→6, mocha 10→11, jsdom/global-jsdom 27→29, @rollup/plugin-terser 0.4→1.0, rollup 4.62
  • jQuery 4's main entry throws without a window, so test/setup.js now loads it via the new jquery/factory entry after globalJsdom() creates the DOM
  • Library code untouched; built dist is byte-identical; peer range (jquery >=3.0.0) unchanged — README notes the suite now tests against 4.x
  • jsdom 29 requires Node ^20.19 || ^22.13 || >=24, satisfied by the CI matrix (runners track latest minors)

Test plan

  • npm test — 64 passing (against jQuery 4)
  • npm run test:types — clean
  • npm run build — output identical

🤖 Generated with Claude Code

jQuery 4's main entry now throws without a window, so the test setup loads
it via the new jquery/factory entry after globalJsdom() creates the DOM.
All 64 tests pass against jQuery 4; peer range (>=3.0.0) is unchanged and
the built output is byte-identical.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@wmantly
wmantly merged commit 825538b into master Jul 18, 2026
3 checks passed
@wmantly
wmantly deleted the dep-updates branch July 18, 2026 15:17
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