Skip to content

build(deps-dev): bump jquery from 3.7.1 to 4.0.0 - #1083

Open
dependabot[bot] wants to merge 1 commit into
WEM-2.0from
dependabot/npm_and_yarn/jquery-4.0.0
Open

build(deps-dev): bump jquery from 3.7.1 to 4.0.0#1083
dependabot[bot] wants to merge 1 commit into
WEM-2.0from
dependabot/npm_and_yarn/jquery-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 8, 2026

Copy link
Copy Markdown
Contributor

Bumps jquery from 3.7.1 to 4.0.0.

Release notes

Sourced from jquery's releases.

Release 4.0.0

Changelog

https://blog.jquery.com/2026/01/17/jquery-4-0-0/

Ajax

  • Don't treat array data as binary (992a1911)
  • Allow processData: true even for binary data (ce264e07)
  • Support binary data (including FormData) (a7ed9a7b)
  • Support headers for script transport even when cross-domain (#5142, 6d136443)
  • Support null as success functions in jQuery.get (#4989, 74978b7e)
  • Don't auto-execute scripts unless dataType provided (#4822, 025da4dd)
  • Make responseJSON work for erroneous same-domain JSONP requests (68b4ec59)
  • Execute JSONP error script responses (#4771, a1e619b0)
  • Avoid CSP errors in the script transport for async requests (#3969, 07a8e4a1)
  • Drop the json to jsonp auto-promotion logic (#1799, #3376, e7b3bc48)
  • Overwrite s.contentType with content-type header value, if any (#4119, 7fb90a6b)
  • Deprecate AJAX event aliases, inline event/alias into deprecated (23d53928)
  • Do not execute scripts for unsuccessful HTTP responses (#4250, 50871a5a)
  • Simplify jQuery.ajaxSettings.xhr (#1967, abdc89ac)

Attributes

  • Make .attr( name, false ) remove for all non-ARIA attrs (#5388, 063831b6)
  • Shave off a couple of bytes (b40a4807)
  • Don't stringify attributes in the setter (#4948, 4250b628)
  • Drop the toggleClass(boolean|undefined) signature (#3388, a4421101)
  • Refactor val(): don't strip carriage return, isolate IE workarounds (ff281991)
  • Don't set the type attr hook at all outside of IE (9e66fe9a)

CSS

  • Fix dimensions of table <col> elements (#5628, eca2a564)
  • Drop the cache in finalPropName (640d5825)
  • Tests: Fix tests & support tests under CSS Zoom (#5489, 071f6dba)
  • Fix reliableTrDimensions support test for initially hidden iframes (b1e66a5f)
  • Selector: Align with 3.x, remove the outer selector.js wrapper (53cf7244)
  • Make the reliableTrDimensions support test work with Bootstrap CSS (#5270, 65b85031)
  • Make offsetHeight( true ), etc. include negative margins (#3982, bce13b72)
  • Return undefined for whitespace-only CSS variable values (#5120) (7eb00196)
  • Don’t trim whitespace of undefined custom property (#5105, ed306c02)
  • Skip falsy values in addClass( array ), compress code (#4998, a338b407)
  • Justify use of rtrim on CSS property values (655c0ed5)
  • Trim whitespace surrounding CSS Custom Properties values (#4926, efadfe99)
  • Include show, hide & toggle methods in the jQuery slim build (297d18dd)
  • Remove the opacity CSS hook (865469f5)
  • Workaround buggy getComputedStyle on table rows in IE/Edge (#4490, 26415e08)
  • Don't automatically add "px" to properties with a few exceptions (#2795, 00a9c2e5)

... (truncated)

Commits
  • 4f2fae0 Release: 4.0.0
  • c838cfb Release: remove dist files from main branch
  • 9752519 Release: 4.0.0-rc.2
  • c128d5d Release: Update AUTHORS.txt
  • 5fe9c29 Build: De-dupe three authors via mailmap
  • afdd032 Build: Post beta browser tests errors to jquery/dev on Matrix
  • 546a1eb Build: Bump the github-actions group with 4 updates
  • ec738b3 Build: Fix Chrome beta tests
  • c28c26a Build: Add periodic tests on beta versions of browsers
  • f513413 Build: Bump the github-actions group with 2 updates
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 8, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/jquery-4.0.0 branch 3 times, most recently from f0ed890 to 155fbd7 Compare May 10, 2026 22:32
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/jquery-4.0.0 branch 2 times, most recently from bbb8a23 to b10ecb0 Compare May 29, 2026 22:39
Bumps [jquery](https://github.com/jquery/jquery) from 3.7.1 to 4.0.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Changelog](https://github.com/jquery/jquery/blob/main/changelog.md)
- [Commits](jquery/jquery@3.7.1...4.0.0)

---
updated-dependencies:
- dependency-name: jquery
  dependency-version: 4.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump jquery from 3.7.1 to 4.0.0 build(deps-dev): bump jquery from 3.7.1 to 4.0.0 Jun 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/jquery-4.0.0 branch from b10ecb0 to f82ae23 Compare June 1, 2026 09:42
SMEWebify added a commit that referenced this pull request Aug 11, 2026
…sant CSS

Le plugin bootstrap-switch 3.3.4 (2016, depot archive en amont) appelle
$.isArray() dans _getClasses(), supprime de jQuery 4.0. Comme _getClasses()
tourne a chaque construction du widget, toute initialisation levait
"g.isArray is not a function" sous jQuery 4, ce qui bloquait la PR #1083.

Le composant <x-adminlte-input-switch> est desormais rendu par une surcharge
locale de la vue du paquet, sans jQuery : label + checkbox natif + :checked
en CSS. Le paquet PHP jeroennoten/laravel-adminlte n'est pas modifie et
aucune des 14 vues appelantes ne change.

Le style est volontairement autonome (classes prefixees wem-switch) plutot
que base sur .custom-switch (BS4) ou .form-switch (BS5) : les deux
frameworks coexistent selon les pages. Toutes les pages AdminLTE servent
adminlte.min.css (Bootstrap 4.6.1) car laravel_asset_bundling n'est pas
defini, et 5 vues chargent en plus Bootstrap 5.3.8 via @Vite. Aucune des
deux classes natives ne sait par ailleurs afficher de texte on/off, requis
par data-on-text / data-off-text.

Contrat inchange : name, value="true" postee, etat initial, libelles
traduits, couleurs, tailles sm/lg et is-invalid.

Le contournement jQuery de n2p-settings est supprime plutot que porte : il
n'existait que parce que le plugin ignorait l'attribut checked natif pose
par :checked="...", que le nouveau composant lit directement.

Verifie : npm run build et les 44 tests vitest passent, y compris apres
installation reelle de jquery@4.0.0 (ensuite revertee). Les 18 vues
touchees compilent en PHP valide. Les 2 echecs phpunit sur les buffers de
sortie sont preexistants (reproduits sur la base intacte).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants