Skip to content

Phase 6: jQuery matrix, jQuery 4 fixes and manifest checks - #627

Merged
kevindb merged 14 commits into
mainfrom
phase-6-deps
Oct 30, 2026
Merged

kevindb merged 14 commits into
mainfrom
phase-6-deps

Conversation

@kevindb

@kevindb kevindb commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Summary

phase-6-deps
  test harness   JQUERY_FILE loads any jQuery build; CI matrix 1.7.2 / 3.7.1 / 4.0.0 (all gating)
  src            $.trim, $.isFunction, $.isArray -> native; eval JSON fallback -> JSON.parse
  manifests      files list in package.json; stale devDependencies out of form.jquery.json; manifests.test.js
  docs           jquery-matrix, 4x-behavior-changes, selector-context-delegation, metrics, plan

No dev dependency had an upgrade available; npm audit reports 0 vulnerabilities. Coverage thresholds were re-baselined (98.13 / 96.4 / 98.24 / 98.16): the same code is uncovered, the removed eval fallback only shrank the denominator.

Evidence

  • Before: jQuery 4.0.0 suite 119 failed ($.trim, $.isFunction, $.isArray); 1.7.2 aborted after about 149 of 189 tests.
    After: 1.7.2 180 passed / 2 skipped, 3.7.1 and 4.0.0 182 passed, each with the 6 expected it.fails. CI run 40992583331 is green on test and all three matrix jobs.
  • npm test passes locally; git diff -- dist is empty apart from the rebuilt output committed with the src/ changes.

Merge Danger

Door: two-way

Consumer-visible changes (full list in docs/research/4x-behavior-changes.md): JSON responses that only eval accepted now throw; the npm tarball carries only dist and src.

Blast Radius: small

Known and not fixed: delegation: true is not selector-scoped on jQuery 3+, and ajaxForm before DOM ready is dropped (docs/research/selector-context-delegation.md). The exports map is deferred to 5.0.

@kevindb
kevindb marked this pull request as ready for review October 25, 2026 21:27
@kevindb kevindb changed the title Phase 6: dependency modernization Phase 6: jQuery matrix, jQuery 4 fixes and manifest checks Oct 30, 2026
@kevindb
kevindb merged commit 9566926 into main Oct 30, 2026
4 checks passed
@kevindb
kevindb deleted the phase-6-deps branch October 30, 2026 02:59
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