aotrautils-srv 0.0.1159 → 0.0.1161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (20/03/2025-
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (20/03/2025-13:45:48)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -2958,6 +2958,9 @@ window.empty=function(sizable,/*OPTIONAL*/insist=false){
|
|
2958
2958
|
if(nothing(sizable, insist))
|
2959
2959
|
return true;
|
2960
2960
|
|
2961
|
+
if(typeof(sizable.length)!="undefined" && sizable.length!=null)
|
2962
|
+
return (0<sizable.length);
|
2963
|
+
|
2961
2964
|
// NEW :
|
2962
2965
|
const result=(countKeys(sizable)==0);
|
2963
2966
|
return result;
|
@@ -4819,7 +4822,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4819
4822
|
|
4820
4823
|
|
4821
4824
|
|
4822
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (20/03/2025-
|
4825
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (20/03/2025-13:45:48)»*/
|
4823
4826
|
/*-----------------------------------------------------------------------------*/
|
4824
4827
|
|
4825
4828
|
|
@@ -4963,7 +4966,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
4963
4966
|
|
4964
4967
|
|
4965
4968
|
|
4966
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (20/03/2025-
|
4969
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (20/03/2025-13:45:48)»*/
|
4967
4970
|
/*-----------------------------------------------------------------------------*/
|
4968
4971
|
|
4969
4972
|
|
aotrautils-srv/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils-srv",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1161",
|
4
4
|
"main": "aotrautils-srv.build.js",
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|