This is an automated email from the ASF dual-hosted git repository.
mridulpathak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new fe9dfa738c Bump jquery from 3.7.1 to 4.0.0 in
/themes/common-theme/webapp/common-theme/js (#941)
fe9dfa738c is described below
commit fe9dfa738c9d3dcdb11c1beff66252c487e279b2
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Sun Aug 30 09:17:09 2026 +0530
Bump jquery from 3.7.1 to 4.0.0 in
/themes/common-theme/webapp/common-theme/js (#941)
Bumps [jquery](https://github.com/jquery/jquery) from 3.7.1 to 4.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jquery/jquery/releases">jquery's
releases</a>.</em></p>
<blockquote>
<h2>Release 4.0.0</h2>
<h1>Changelog</h1>
<p><a
href="https://blog.jquery.com/2026/01/17/jquery-4-0-0/">https://blog.jquery.com/2026/01/17/jquery-4-0-0/</a></p>
<h2>Release</h2>
<ul>
<li>remove dist files from main branch (<a
href="https://github.com/jquery/jquery/commit/c838cfb5bb0c6cd17cfaa1dd83aca8d20589de99">c838cfb5</a>)</li>
</ul>
<h2>Release 4.0.0-rc.2</h2>
<h1>Changelog</h1>
<p><a
href="https://blog.jquery.com/2026/01/17/jquery-4-0-0/">https://blog.jquery.com/2026/01/17/jquery-4-0-0/</a></p>
<h2>Build</h2>
<ul>
<li>De-dupe three authors via mailmap (<a
href="https://github.com/jquery/jquery/commit/5fe9c298c0538f7cffc1c92c3abc8fadca644dde">5fe9c298</a>)</li>
<li>Post beta browser tests errors to jquery/dev on Matrix (<a
href="https://github.com/jquery/jquery/commit/afdd032fdbc90e22f49a69627f4dec0dd3a2f0a4">afdd032f</a>)</li>
<li>Bump the github-actions group with 4 updates (<a
href="https://github.com/jquery/jquery/commit/546a1eb03c345e1bafb72ae1aeb898abb5b3e51b">546a1eb0</a>)</li>
<li>Fix Chrome beta tests (<a
href="https://github.com/jquery/jquery/commit/ec738b3190a3b67d08f51451e1faa15f1f4bf916">ec738b31</a>)</li>
<li>Add periodic tests on beta versions of browsers (<a
href="https://github.com/jquery/jquery/commit/c28c26aef0b3238f578690d73703382951cb355d">c28c26ae</a>)</li>
<li>Bump the github-actions group with 2 updates (<a
href="https://github.com/jquery/jquery/commit/f513413ac81acabe68769e8879ce19c10eff1f59">f513413a</a>)</li>
<li>Update glob form 10.4.5 to 10.5.0 (<a
href="https://github.com/jquery/jquery/commit/4dbe321ad8bfc3ae199385db36dae0063a7ca509">4dbe321a</a>)</li>
<li>Upgrade all dev dependencies (except sinon & eslint) (<a
href="https://github.com/jquery/jquery/commit/9572ae8a645c4d0c91a4a1f65e909420d9bbde0f">9572ae8a</a>)</li>
<li>Update jtr to 0.2.8; fixes Edge in IE mode (<a
href="https://github.com/jquery/jquery/commit/5169d8f03c7a45bc005435437091d22fc1f81f67">5169d8f0</a>)</li>
<li>Verify release using dist repo tarball; Node 24.x (<a
href="https://redirect.github.com/jquery/jquery/issues/5719">#5719</a>)
(<a
href="https://github.com/jquery/jquery/commit/dda0a0229f26ac48a0f4a3bd98c00642d57aea3a">dda0a022</a>)</li>
<li>Bump the github-actions group with 2 updates (<a
href="https://redirect.github.com/jquery/jquery/issues/5718">#5718</a>)
(<a
href="https://github.com/jquery/jquery/commit/fa41fe50e70f61f2d5872bcc8ce18adccbda7e4e">fa41fe50</a>)</li>
<li>Separate Node.js & Browser Tests, update tested Node.js versions
(<a
href="https://github.com/jquery/jquery/commit/98cc8c837ed39c0a4dfb9ce3255754029a8c2a4f">98cc8c83</a>)</li>
<li>Update browsers tested in BrowserStack (<a
href="https://github.com/jquery/jquery/commit/1c29724140966e2817b7ee75307f5a066c1d3f6d">1c297241</a>)</li>
<li>Bump the github-actions group with 2 updates (<a
href="https://github.com/jquery/jquery/commit/d6c1e2388420d97b5291f9bd45f362bedc0a8bcd">d6c1e238</a>)</li>
<li>Migrate lockbot to GitHub Actions (<a
href="https://github.com/jquery/jquery/commit/ef743289e635b1634ba7678c33699ecd387c80f8">ef743289</a>)</li>
<li>Simplify caching in CI, use <code>npm ci</code> (<a
href="https://github.com/jquery/jquery/commit/110e46572a85f070700f68d70df2e4f7fc2574ef">110e4657</a>)</li>
<li>Bump the github-actions group with 3 updates (<a
href="https://github.com/jquery/jquery/commit/607b25eb0835bc9a78fe59da2ac8a0f9fb40f2f2">607b25eb</a>)</li>
<li>Bump tmp and <code>@​inquirer/editor</code> (<a
href="https://github.com/jquery/jquery/commit/9c84195b9445645ba22f1c88d464d0b7d5ba22dd">9c84195b</a>)</li>
</ul>
<h2>Docs</h2>
<ul>
<li>Fix some minor issues in comments (<a
href="https://github.com/jquery/jquery/commit/e4d4dd81bfb0c27a9c557746035738319253a30c">e4d4dd81</a>)</li>
<li>update herodevs link in README (<a
href="https://redirect.github.com/jquery/jquery/issues/5695">#5695</a>,
<a
href="https://github.com/jquery/jquery/commit/093e63f92a5843c2d73fd953454cc6307fe8025c">093e63f9</a>)</li>
</ul>
<h2>Release</h2>
<ul>
<li>Update AUTHORS.txt (<a
href="https://github.com/jquery/jquery/commit/c128d5d8a8fd9e9b3dcd3efa493e71f6a1649bd8">c128d5d8</a>)</li>
<li>Fix release issues uncovered during the 4.0.0-rc.1 release (<a
href="https://github.com/jquery/jquery/commit/a5b0c4318df748e5a0fe27d23820c60029d26b90">a5b0c431</a>)</li>
<li>remove dist files from main branch (<a
href="https://github.com/jquery/jquery/commit/9d06c6dd6f84bb0ae49e7c7445282ebb93b7b226">9d06c6dd</a>)</li>
</ul>
<h2>Selector</h2>
<ul>
<li>Remove the workaround for <code>:has</code>; test both on iPhone
& iPad (<a
href="https://github.com/jquery/jquery/commit/65e35450c9954173dc1ddd3576242a913d8efb88">65e35450</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jquery/jquery/blob/main/changelog.md">jquery's
changelog</a>.</em></p>
<blockquote>
<ul>
<li>4.0.0 (<a
href="https://github.com/jquery/jquery/commit/4f2fae08f23b54ce09322e62e73cce6161b8d3cb">4f2fae08</a>)</li>
<li>remove dist files from main branch (<a
href="https://github.com/jquery/jquery/commit/c838cfb5bb0c6cd17cfaa1dd83aca8d20589de99">c838cfb5</a>)</li>
<li>4.0.0-rc.2 (<a
href="https://github.com/jquery/jquery/commit/97525193735ed32c332f0dbaf2f782df8b1b949b">97525193</a>)</li>
<li>Update AUTHORS.txt (<a
href="https://github.com/jquery/jquery/commit/c128d5d8a8fd9e9b3dcd3efa493e71f6a1649bd8">c128d5d8</a>)</li>
<li>Fix release issues uncovered during the 4.0.0-rc.1 release (<a
href="https://github.com/jquery/jquery/commit/a5b0c4318df748e5a0fe27d23820c60029d26b90">a5b0c431</a>)</li>
<li>remove dist files from main branch (<a
href="https://github.com/jquery/jquery/commit/9d06c6dd6f84bb0ae49e7c7445282ebb93b7b226">9d06c6dd</a>)</li>
<li>4.0.0-rc.1 (<a
href="https://github.com/jquery/jquery/commit/586182f35e818c318046dac1cbaa31ee7a07ee21">586182f3</a>)</li>
<li>Run <code>npm publish</code> in the post-release phase (<a
href="https://github.com/jquery/jquery/commit/ff1f0eaafd0dbcd4c063c3c557d9cee0a461f89d">ff1f0eaa</a>)</li>
<li>Only run browserless tests during the release (<a
href="https://github.com/jquery/jquery/commit/fb5ab0f546e0e25ccb5feb3d51ca2ea743b06efc">fb5ab0f5</a>)</li>
<li>Temporarily disable running tests on release (<a
href="https://github.com/jquery/jquery/commit/3f79644b72e928c529febc1aaee081a6c4b96be3">3f79644b</a>)</li>
<li>publish tmp/release/dist folder when releasing (<a
href="https://redirect.github.com/jquery/jquery/issues/5658">#5658</a>,
<a
href="https://github.com/jquery/jquery/commit/a865212dea22d44bf2bea3e2c618c4a25c63c6a6">a865212d</a>)</li>
<li>correct build date in verification; other improvements (<a
href="https://github.com/jquery/jquery/commit/53ad94f319930a5bf8cb9bd935ebd4e028741903">53ad94f3</a>)</li>
<li>remove dist files from main branch (<a
href="https://github.com/jquery/jquery/commit/be048a027d0581746f71df7c8eb3ce1d9bd10a40">be048a02</a>)</li>
<li>4.0.0-beta.2 (<a
href="https://github.com/jquery/jquery/commit/51fffe9f7395f86fb24c59115c9b98855c39fc07">51fffe9f</a>)</li>
<li>ensure builds have the proper version (<a
href="https://github.com/jquery/jquery/commit/3e612aeeb3821c657989e67b43c9b715f5cd32e2">3e612aee</a>)</li>
<li>set preReleaseBase in config file (<a
href="https://github.com/jquery/jquery/commit/1fa8df5dbd5d84cf55882a38eb6e571abd0aa938">1fa8df5d</a>)</li>
<li>fix running pre/post release scripts in windows (<a
href="https://github.com/jquery/jquery/commit/5518b2da1816b379b573abc55ba92f02776a3486">5518b2da</a>)</li>
<li>update AUTHORS.txt (<a
href="https://github.com/jquery/jquery/commit/862e7a1882f3f737db7dde1b5ecda9766d61694a">862e7a18</a>)</li>
<li>migrate release process to release-it (<a
href="https://redirect.github.com/jquery/jquery-release/issues/114">jquery/jquery-release#114</a>,
<a
href="https://github.com/jquery/jquery/commit/2646a8b07fcc2cf7cf384724f622eb0c27f9166c">2646a8b0</a>)</li>
<li>add factory files to release distribution (<a
href="https://redirect.github.com/jquery/jquery/issues/5411">#5411</a>,
<a
href="https://github.com/jquery/jquery/commit/1a324b0792ba8d032b89dd8bf78bbf5caa535367">1a324b07</a>)</li>
<li>use buildDefaultFiles directly and pass version (<a
href="https://github.com/jquery/jquery/commit/b507c8648f701acd1c48b3c38054ad38d76fd1ca">b507c864</a>)</li>
<li>copy dist-module folder as well (<a
href="https://github.com/jquery/jquery/commit/63767650b5b171b4671304fd2bb2f2890431929f">63767650</a>)</li>
<li>only published versioned files to cdn (<a
href="https://github.com/jquery/jquery/commit/3a0ca684eb21d64a13d7591ce1891b1990e0339c">3a0ca684</a>)</li>
<li>remove scripts and dev deps from dist package.json (<a
href="https://github.com/jquery/jquery/commit/7eac932da7177104546abef595adf4429eb829b3">7eac932d</a>)</li>
<li>update build command in Release.generateArtifacts (<a
href="https://github.com/jquery/jquery/commit/3b963a21662061e0f39ad90f146e73e2223c2b86">3b963a21</a>)</li>
<li>add support for md5 sums in windows (<a
href="https://github.com/jquery/jquery/commit/f088c36631df3d5dc98408debd147ea5d3618557">f088c366</a>)</li>
<li>remove the need to install grunt globally (<a
href="https://github.com/jquery/jquery/commit/b2bbaa36d4d37bd48f954ed3cdbd50d3461a523d">b2bbaa36</a>)</li>
<li>upgrade release dependencies (<a
href="https://github.com/jquery/jquery/commit/967af73203378db0cc3637adee85c442e246e05a">967af732</a>)</li>
<li>Remove an unused chalk dependency (<a
href="https://github.com/jquery/jquery/commit/bfb6897c558dfdccff7ac5fc377b08e806525be3">bfb6897c</a>)</li>
<li>Use an in-repository dist README fixture (<a
href="https://github.com/jquery/jquery/commit/358b769a00c3a09a8ec621b8dcb2d5e31b7da69a">358b769a</a>)</li>
<li>Update AUTHORS.txt (<a
href="https://github.com/jquery/jquery/commit/1b74660f730d34bf728094c33080ff406427f41e">1b74660f</a>)</li>
<li>update AUTHORS.txt (<a
href="https://github.com/jquery/jquery/commit/cf9fe0f6a104a0f527c7c3f441485c19e2b19c69">cf9fe0f6</a>)</li>
</ul>
<h2>Selector</h2>
<ul>
<li>Remove the workaround for <code>:has</code>; test both on iPhone
& iPad (<a
href="https://github.com/jquery/jquery/commit/65e35450c9954173dc1ddd3576242a913d8efb88">65e35450</a>)</li>
<li>Properly deprecate <code>jQuery.expr[ ":"
]</code>/<code>jQuery.expr.filters</code> (<a
href="https://github.com/jquery/jquery/commit/329661fd538a07993a2fcfa2a75fdd7f5667f86c">329661fd</a>)</li>
<li>Make <code>selector.js</code> module depend on
<code>attributes/attr.js</code> (<a
href="https://redirect.github.com/jquery/jquery/issues/5379">#5379</a>,
<a
href="https://github.com/jquery/jquery/commit/e06ff08849057cd099365bf43598c8952fe9956d">e06ff088</a>)</li>
<li>Eliminate <code>selector.js</code> depenencies from various modules
(<a
href="https://github.com/jquery/jquery/commit/e8b7db4b0f1e1b8e08578641b30a92b955ccc4ec">e8b7db4b</a>)</li>
<li>Re-expose jQuery.find.{tokenize,select,compile,setDocument} (<a
href="https://redirect.github.com/jquery/jquery/issues/5259">#5259</a>,
<a
href="https://github.com/jquery/jquery/commit/338de3599039a3ba906214e656bcbe637430c37d">338de359</a>)</li>
<li>Stop relying on CSS.supports( "selector(...)" ) (<a
href="https://redirect.github.com/jquery/jquery/issues/5194">#5194</a>,
<a
href="https://github.com/jquery/jquery/commit/68aa2ef7571e2d9f91fad1aa9e5f956c04dc9ee9">68aa2ef7</a>)</li>
<li>Backport jQuery selection context logic to selector-native (<a
href="https://redirect.github.com/jquery/jquery/issues/5185">#5185</a>,
<a
href="https://github.com/jquery/jquery/commit/2e644e845051703775b35b358eec5d3608a9465f">2e644e84</a>)</li>
<li>Make selector lists work with <code>qSA</code> again (<a
href="https://redirect.github.com/jquery/jquery/issues/5177">#5177</a>,
<a
href="https://github.com/jquery/jquery/commit/09d988b774e7ff4acfb69c0cde2dab373559aaca">09d988b7</a>)</li>
<li>Implement the <code>uniqueSort</code> chainable method (<a
href="https://redirect.github.com/jquery/jquery/issues/5166">#5166</a>,
<a
href="https://github.com/jquery/jquery/commit/5266f23cf49c9329bddce4d4af6cb5fbbd1e0383">5266f23c</a>)</li>
<li>Re-introduce selector-native.js (<a
href="https://github.com/jquery/jquery/commit/4c1171f2ed62584211250df0af8302d34c04621a">4c1171f2</a>)</li>
<li>Manipulation: Fix DOM manip within template contents (<a
href="https://redirect.github.com/jquery/jquery/issues/5147">#5147</a>,
<a
href="https://github.com/jquery/jquery/commit/3299236c898136dc1aa57dc5148811203e931895">3299236c</a>)</li>
<li>Drop support for legacy pseudos, test custom pseudos (<a
href="https://github.com/jquery/jquery/commit/8c7da22caeae8c2c3f7e9869d5f47414669f106c">8c7da22c</a>)</li>
<li>Use jQuery <code>:has</code> if
<code>CSS.supports(selector(...))</code> non-compliant (<a
href="https://redirect.github.com/jquery/jquery/issues/5098">#5098</a>,
<a
href="https://github.com/jquery/jquery/commit/d153c375e67f2c2dba82c2fb079c36b8d795e66a">d153c375</a>)</li>
<li>Remove the "a:enabled" workaround for Chrome <=77 (<a
href="https://github.com/jquery/jquery/commit/c1ee33aded44051b8f1288b59d2efdc68d0413cc">c1ee33ad</a>)</li>
<li>Make empty attribute selectors work in IE again (<a
href="https://redirect.github.com/jquery/jquery/issues/4435">#4435</a>,
<a
href="https://github.com/jquery/jquery/commit/05184cc448f4ed7715ddd6a5d724e167882415f1">05184cc4</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jquery/jquery/commit/4f2fae08f23b54ce09322e62e73cce6161b8d3cb"><code>4f2fae0</code></a>
Release: 4.0.0</li>
<li><a
href="https://github.com/jquery/jquery/commit/c838cfb5bb0c6cd17cfaa1dd83aca8d20589de99"><code>c838cfb</code></a>
Release: remove dist files from main branch</li>
<li><a
href="https://github.com/jquery/jquery/commit/97525193735ed32c332f0dbaf2f782df8b1b949b"><code>9752519</code></a>
Release: 4.0.0-rc.2</li>
<li><a
href="https://github.com/jquery/jquery/commit/c128d5d8a8fd9e9b3dcd3efa493e71f6a1649bd8"><code>c128d5d</code></a>
Release: Update AUTHORS.txt</li>
<li><a
href="https://github.com/jquery/jquery/commit/5fe9c298c0538f7cffc1c92c3abc8fadca644dde"><code>5fe9c29</code></a>
Build: De-dupe three authors via mailmap</li>
<li><a
href="https://github.com/jquery/jquery/commit/afdd032fdbc90e22f49a69627f4dec0dd3a2f0a4"><code>afdd032</code></a>
Build: Post beta browser tests errors to jquery/dev on Matrix</li>
<li><a
href="https://github.com/jquery/jquery/commit/546a1eb03c345e1bafb72ae1aeb898abb5b3e51b"><code>546a1eb</code></a>
Build: Bump the github-actions group with 4 updates</li>
<li><a
href="https://github.com/jquery/jquery/commit/ec738b3190a3b67d08f51451e1faa15f1f4bf916"><code>ec738b3</code></a>
Build: Fix Chrome beta tests</li>
<li><a
href="https://github.com/jquery/jquery/commit/c28c26aef0b3238f578690d73703382951cb355d"><code>c28c26a</code></a>
Build: Add periodic tests on beta versions of browsers</li>
<li><a
href="https://github.com/jquery/jquery/commit/f513413ac81acabe68769e8879ce19c10eff1f59"><code>f513413</code></a>
Build: Bump the github-actions group with 2 updates</li>
<li>Additional commits viewable in <a
href="https://github.com/jquery/jquery/compare/3.7.1...4.0.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mridul Pathak <[email protected]>
Co-authored-by: Mridul Pathak <[email protected]>
---
themes/common-theme/webapp/common-theme/js/.npmrc | 1 +
.../webapp/common-theme/js/package-lock.json | 30 +++++++++++++++-------
.../webapp/common-theme/js/package.json | 4 +--
.../webapp/common-theme/js/util/OfbizUtil.js | 2 +-
.../webapp/common-theme/js/util/fieldlookup.js | 2 +-
5 files changed, 26 insertions(+), 13 deletions(-)
diff --git a/themes/common-theme/webapp/common-theme/js/.npmrc
b/themes/common-theme/webapp/common-theme/js/.npmrc
new file mode 100644
index 0000000000..521a9f7c07
--- /dev/null
+++ b/themes/common-theme/webapp/common-theme/js/.npmrc
@@ -0,0 +1 @@
+legacy-peer-deps=true
diff --git a/themes/common-theme/webapp/common-theme/js/package-lock.json
b/themes/common-theme/webapp/common-theme/js/package-lock.json
index 2b0099c6b8..e0a842ba87 100644
--- a/themes/common-theme/webapp/common-theme/js/package-lock.json
+++ b/themes/common-theme/webapp/common-theme/js/package-lock.json
@@ -15,8 +15,8 @@
"flot": "^4.2.6",
"inputmask": "^5.0.10",
"jgrowl": "^1.5.1",
- "jquery": "^3.7.1",
- "jquery-migrate": "^3.6.0",
+ "jquery": "^4.0.0",
+ "jquery-migrate": "^4.0.2",
"jquery-ui-dist": "^1.13.3",
"jquery-validation": "^1.22.1",
"jquery.browser": "^0.1.0",
@@ -100,18 +100,18 @@
}
},
"node_modules/jquery": {
- "version": "3.7.1",
- "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
- "integrity":
"sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-4.0.0.tgz",
+ "integrity":
"sha512-TXCHVR3Lb6TZdtw1l3RTLf8RBWVGexdxL6AC8/e0xZKEpBflBsjh9/8LXw+dkNFuOyW9B7iB3O1sP7hS0Kiacg==",
"license": "MIT"
},
"node_modules/jquery-migrate": {
- "version": "3.6.0",
- "resolved":
"https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-3.6.0.tgz",
- "integrity":
"sha512-2k3GMQXXEellCOkj8tczgCd/Y0KMm7LErz4rE6CkHIZV1JTUDlgs7XFN+GpwGKXDQtw/HsjtJuE+CS8IfEOnPg==",
+ "version": "4.0.2",
+ "resolved":
"https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-4.0.2.tgz",
+ "integrity":
"sha512-J15ilpECoAsObLv2robklj0qf1qt9QCnZwwNcJAXkM7dIiOgcac2dqC3HgDtUF0fmRwKZa/ggTkxTj9S4Vk+HQ==",
"license": "MIT",
"peerDependencies": {
- "jquery": ">=3 <4"
+ "jquery": ">=4 <5"
}
},
"node_modules/jquery-ui-dist": {
@@ -123,6 +123,12 @@
"jquery": ">=1.8.0 <4.0.0"
}
},
+ "node_modules/jquery-ui-dist/node_modules/jquery": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
+ "integrity":
"sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==",
+ "license": "MIT"
+ },
"node_modules/jquery-validation": {
"version": "1.22.1",
"resolved":
"https://registry.npmjs.org/jquery-validation/-/jquery-validation-1.22.1.tgz",
@@ -156,6 +162,12 @@
"jquery": "^3.5.0"
}
},
+ "node_modules/jstree/node_modules/jquery": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
+ "integrity":
"sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==",
+ "license": "MIT"
+ },
"node_modules/moment": {
"version": "2.30.1",
"resolved":
"https://registry.npmjs.org/moment/-/moment-2.30.1.tgz",
diff --git a/themes/common-theme/webapp/common-theme/js/package.json
b/themes/common-theme/webapp/common-theme/js/package.json
index 1488d45820..f2eef2f816 100644
--- a/themes/common-theme/webapp/common-theme/js/package.json
+++ b/themes/common-theme/webapp/common-theme/js/package.json
@@ -11,9 +11,9 @@
"featherlight": "^1.7.14",
"flot": "^4.2.6",
"inputmask": "^5.0.10",
- "jquery": "^3.7.1",
+ "jquery": "^4.0.0",
"jgrowl": "^1.5.1",
- "jquery-migrate": "^3.6.0",
+ "jquery-migrate": "^4.0.2",
"jquery-ui-dist": "^1.13.3",
"jquery-validation": "^1.22.1",
"jquery.browser": "^0.1.0",
diff --git a/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
b/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
index 75ab44cb88..642400491e 100644
--- a/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
+++ b/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
@@ -940,7 +940,7 @@ function ajaxAutoCompleter(areaCsvString, showDescription,
defaultMinLength, def
delay: defaultDelay,
source: function (request, response) {
var queryArgs = { "term": request.term };
- if (typeof args == "object" && jQuery.isArray(args)) {
+ if (typeof args == "object" && Array.isArray(args)) {
for (var i = 0; i < args.length; i++) {
queryArgs["parm" + i] =
DOMPurify.sanitize(jQuery(args[i]).val())
}
diff --git a/themes/common-theme/webapp/common-theme/js/util/fieldlookup.js
b/themes/common-theme/webapp/common-theme/js/util/fieldlookup.js
index 70f63c20b9..b9d266fa60 100644
--- a/themes/common-theme/webapp/common-theme/js/util/fieldlookup.js
+++ b/themes/common-theme/webapp/common-theme/js/util/fieldlookup.js
@@ -302,7 +302,7 @@ var Lookup = function(options) {
_lookupContainer.empty();
var queryArgs = "presentation=" + options.presentation;
- if (typeof options.args == "object" && jQuery.isArray(options.args)) {
+ if (typeof options.args == "object" && Array.isArray(options.args)) {
for ( var i = 0; i < options.args.length; i++) {
queryArgs += "&parm" + i + "=" +
DOMPurify.sanitize(jQuery(options.args[i]).val());
}