]> source.dussan.org Git - jquery.git/commit
Build: upgrade dependencies, including eslint 9.4.0 and uglify 3.7.7
authorTimmy Willison <timmywil@users.noreply.github.com>
Sat, 15 Jun 2024 13:10:59 +0000 (09:10 -0400)
committerGitHub <noreply@github.com>
Sat, 15 Jun 2024 13:10:59 +0000 (09:10 -0400)
commitfc864c83c88179c519633330acbc48f16a6b3cd5
treecd8eb366dba436b99d94eb8ca611262fcc195204
parent8eb35e8513b0cb7a19677b6934ddd98ad7b6f16f
Build: upgrade dependencies, including eslint 9.4.0 and uglify 3.7.7

- Sinon is already at the latest version that supports IE9.
- Upgraded uglify to 3.7.7, which is the latest that worked with IE9.
  I tried 3.9.4, which we are using in jquery-migrate, and 3.8.1,
  but there were failures in traversing ("Permission denied" errors).
- Upgraded eslint to version 9, which required some changes.
  Mainly, unused arguments in catch expressions error by default in 9+.
  The config now makes use of `caughtErrorsIgnorePattern`,
  which is set to `"^_"`, the same as unused function params.
- Ignored main branch dist files when switching branches.

Closes gh-5508
20 files changed:
.gitignore
build/tasks/build.js
build/tasks/compare_size.mjs
build/tasks/promises_aplus_tests.js
eslint.config.js
package-lock.json
package.json
src/ajax.js
src/ajax/xhr.js
src/attributes/prop.js
src/core/parseXML.js
src/data.js
src/manipulation.js
src/selector.js
test/unit/ajax.js
test/unit/attributes.js
test/unit/css.js
test/unit/deprecated.js
test/unit/event.js
test/unit/manipulation.js