aotrautils-srv 0.0.1156 → 0.0.1158
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 (
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (20/03/2025-00:04:17)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -2049,7 +2049,7 @@ window.foreach=function(arrayOfValues,doOnEachFunction,
|
|
2049
2049
|
if(filterFunction && !filterFunction(item,i)) continue;
|
2050
2050
|
}
|
2051
2051
|
var returnedObjectOrCommand=doOnEachFunction(item,i);
|
2052
|
-
if(returnedObjectOrCommand){
|
2052
|
+
if(!nothing(returnedObjectOrCommand)){
|
2053
2053
|
if(returnedObjectOrCommand==="continue"){
|
2054
2054
|
continue;
|
2055
2055
|
}else if(returnedObjectOrCommand==="break" || returnedObjectOrCommand==="return"){
|
@@ -2112,7 +2112,7 @@ window.foreach=function(arrayOfValues,doOnEachFunction,
|
|
2112
2112
|
if(filterFunction && !filterFunction(item,key)) continue;
|
2113
2113
|
}
|
2114
2114
|
var returnedObjectOrCommand=doOnEachFunction(item,key,cnt);
|
2115
|
-
if(returnedObjectOrCommand){
|
2115
|
+
if(!nothing(returnedObjectOrCommand)){
|
2116
2116
|
if(returnedObjectOrCommand==="continue"){
|
2117
2117
|
continue;
|
2118
2118
|
}else if(returnedObjectOrCommand==="break" || returnedObjectOrCommand==="return"){
|
@@ -4819,7 +4819,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4819
4819
|
|
4820
4820
|
|
4821
4821
|
|
4822
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
4822
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (20/03/2025-00:04:17)»*/
|
4823
4823
|
/*-----------------------------------------------------------------------------*/
|
4824
4824
|
|
4825
4825
|
|
@@ -4963,7 +4963,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
4963
4963
|
|
4964
4964
|
|
4965
4965
|
|
4966
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
4966
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (20/03/2025-00:04:17)»*/
|
4967
4967
|
/*-----------------------------------------------------------------------------*/
|
4968
4968
|
|
4969
4969
|
|
aotrautils-srv/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils-srv",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1158",
|
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)",
|