You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2026/08/30 05:46:57 UTC

(ofbiz-framework) branch release24.09 updated (adc29886fa -> 6af76d1f93)

This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a change to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


    from adc29886fa Bump org.mustangproject:library from 2.8.0 to 2.26.0 (#1803)
     new aff99e378c Bump jquery in /themes/common-theme/webapp/common-theme/js
     new 314d9fc221 Bump jquery-migrate from 3.6.0 to 4.0.2 in /themes/common-theme/webapp/common-theme/js
     new 6af76d1f93 Replace removed jQuery.isArray/parseJSON with native equivalents in the three live call sites (fieldlookup.js, OfbizUtil.js autocomplete + inplace-edit)

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../webapp/common-theme/js/package-lock.json       | 27 ++++++++++++++--------
 .../webapp/common-theme/js/package.json            |  4 ++--
 .../webapp/common-theme/js/util/OfbizUtil.js       |  4 ++--
 .../webapp/common-theme/js/util/fieldlookup.js     |  2 +-
 4 files changed, 22 insertions(+), 15 deletions(-)


(ofbiz-framework) 03/03: Replace removed jQuery.isArray/parseJSON with native equivalents in the three live call sites (fieldlookup.js, OfbizUtil.js autocomplete + inplace-edit)

Posted by mr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 6af76d1f93a13115432b95b440f636053e88eb36
Author: Mridul Pathak <mr...@gmail.com>
AuthorDate: Sun Aug 30 09:26:26 2026 +0530

    Replace removed jQuery.isArray/parseJSON with native equivalents in the three live call sites (fieldlookup.js, OfbizUtil.js autocomplete + inplace-edit)
---
 themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js   | 4 ++--
 themes/common-theme/webapp/common-theme/js/util/fieldlookup.js | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

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 47a6ef3b08..3ca223e702 100644
--- a/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
+++ b/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js
@@ -943,7 +943,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] = jQuery(DOMPurify.sanitize(args[i]).val())
                     }
@@ -1236,7 +1236,7 @@ function ajaxInPlaceEditDisplayField(element, url, options) {
             value = value.replace(/\n/g, " ");
             value = value.replace(/\"/g, "&quot;");
 
-            var resultField = jQuery.parseJSON('{"' + settings.name + '":"' + value + '"}');
+            var resultField = JSON.parse('{"' + settings.name + '":"' + value + '"}');
             // merge both parameter objects together
             jQuery.extend(settings.submitdata, resultField);
             jQuery.ajax({
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 75eb22005d..0892052cdb 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 + "=" + jQuery(DOMPurify.sanitize(options.args[i])).val();
             }


(ofbiz-framework) 01/03: Bump jquery in /themes/common-theme/webapp/common-theme/js

Posted by mr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit aff99e378ce121699f9ff7911d561ce6b7ab8b9a
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Tue Mar 24 12:56:46 2026 +0000

    Bump jquery in /themes/common-theme/webapp/common-theme/js
    
    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](https://github.com/jquery/jquery/compare/3.7.1...4.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: jquery
      dependency-version: 4.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
---
 .../common-theme/webapp/common-theme/js/package-lock.json  | 14 ++++++++++----
 themes/common-theme/webapp/common-theme/js/package.json    |  2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)

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 f65367ee8d..63652e9cfc 100644
--- a/themes/common-theme/webapp/common-theme/js/package-lock.json
+++ b/themes/common-theme/webapp/common-theme/js/package-lock.json
@@ -12,7 +12,7 @@
                 "featherlight": "^1.7.14",
                 "flot": "^4.2.6",
                 "inputmask": "^5.0.10",
-                "jquery": "^3.7.1",
+                "jquery": "^4.0.0",
                 "jquery-migrate": "^3.5.2",
                 "jquery-ui-dist": "^1.13.3",
                 "jquery-validation": "^1.21.0",
@@ -63,9 +63,9 @@
             "license": "MIT"
         },
         "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": {
@@ -86,6 +86,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",
diff --git a/themes/common-theme/webapp/common-theme/js/package.json b/themes/common-theme/webapp/common-theme/js/package.json
index 5d8f46b405..c0fc215f7b 100644
--- a/themes/common-theme/webapp/common-theme/js/package.json
+++ b/themes/common-theme/webapp/common-theme/js/package.json
@@ -9,7 +9,7 @@
         "featherlight": "^1.7.14",
         "flot": "^4.2.6",
         "inputmask": "^5.0.10",
-        "jquery": "^3.7.1",
+        "jquery": "^4.0.0",
         "jquery-migrate": "^3.5.2",
         "jquery-ui-dist": "^1.13.3",
         "jquery-validation": "^1.21.0",


(ofbiz-framework) 02/03: Bump jquery-migrate from 3.6.0 to 4.0.2 in /themes/common-theme/webapp/common-theme/js

Posted by mr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 314d9fc2216ae0db74d18356f7272789125489b8
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Sun Aug 30 10:12:27 2026 +0530

    Bump jquery-migrate from 3.6.0 to 4.0.2 in /themes/common-theme/webapp/common-theme/js
---
 .../common-theme/webapp/common-theme/js/package-lock.json   | 13 +++++++------
 themes/common-theme/webapp/common-theme/js/package.json     |  2 +-
 2 files changed, 8 insertions(+), 7 deletions(-)

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 63652e9cfc..aedf7da1ef 100644
--- a/themes/common-theme/webapp/common-theme/js/package-lock.json
+++ b/themes/common-theme/webapp/common-theme/js/package-lock.json
@@ -13,7 +13,7 @@
                 "flot": "^4.2.6",
                 "inputmask": "^5.0.10",
                 "jquery": "^4.0.0",
-                "jquery-migrate": "^3.5.2",
+                "jquery-migrate": "^4.0.2",
                 "jquery-ui-dist": "^1.13.3",
                 "jquery-validation": "^1.21.0",
                 "jquery.browser": "^0.1.0",
@@ -66,15 +66,16 @@
             "version": "4.0.0",
             "resolved": "https://registry.npmjs.org/jquery/-/jquery-4.0.0.tgz",
             "integrity": "sha512-TXCHVR3Lb6TZdtw1l3RTLf8RBWVGexdxL6AC8/e0xZKEpBflBsjh9/8LXw+dkNFuOyW9B7iB3O1sP7hS0Kiacg==",
-            "license": "MIT"
+            "license": "MIT",
+            "peer": true
         },
         "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": {
diff --git a/themes/common-theme/webapp/common-theme/js/package.json b/themes/common-theme/webapp/common-theme/js/package.json
index c0fc215f7b..ff86360546 100644
--- a/themes/common-theme/webapp/common-theme/js/package.json
+++ b/themes/common-theme/webapp/common-theme/js/package.json
@@ -10,7 +10,7 @@
         "flot": "^4.2.6",
         "inputmask": "^5.0.10",
         "jquery": "^4.0.0",
-        "jquery-migrate": "^3.5.2",
+        "jquery-migrate": "^4.0.2",
         "jquery-ui-dist": "^1.13.3",
         "jquery-validation": "^1.21.0",
         "jquery.browser": "^0.1.0",