aotrautils-srv 0.0.1272 → 0.0.1273
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 (03/04/2025-
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (03/04/2025-01:04:26)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -493,11 +493,6 @@ window.aotestMethods.iterateOverScenariiInTest=function(test, doOnEachIteration=
|
|
493
493
|
return loopResultI;
|
494
494
|
}
|
495
495
|
|
496
|
-
// CAUTION !!! BUG : WE CANNOT USE foreach() INSIDE THE ITERATION FUNCTION OF THIS FUNCTION !!!
|
497
|
-
// USE THIS INSTEAD :
|
498
|
-
// for (const key of Object.keys(obj)) {
|
499
|
-
// const item=obj[key];
|
500
|
-
// }
|
501
496
|
/*public*/window.aotestMethods.iterateOverScenarii=function(allTests, doOnIteration, testsType=null, filter=null, mustTerminate=null){
|
502
497
|
|
503
498
|
if(testsType){
|
@@ -2033,6 +2028,7 @@ window.pushInArrayAsQueue=function(array, maxSize, item){
|
|
2033
2028
|
|
2034
2029
|
|
2035
2030
|
/*KNOWN LIMITATIONS : You will have an incomplete browsing loop if there are the string values "break" or "continue" in your array or associative array !*/
|
2031
|
+
// (Alternatively, you can use this instead : for (const key of Object.keys(obj)) { const item=obj[key]; ... })
|
2036
2032
|
// CAUTION : Only use «return foreach» syntax in client code loops with SINGLE-LEVEL nested loops ONLY !
|
2037
2033
|
window.foreach=function(arrayOfValues,doOnEachFunction,
|
2038
2034
|
/*OPTIONAL*/filterFunction=null,
|
@@ -4902,7 +4898,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4902
4898
|
|
4903
4899
|
|
4904
4900
|
|
4905
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (03/04/2025-
|
4901
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (03/04/2025-01:04:26)»*/
|
4906
4902
|
/*-----------------------------------------------------------------------------*/
|
4907
4903
|
|
4908
4904
|
|
@@ -5046,7 +5042,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
5046
5042
|
|
5047
5043
|
|
5048
5044
|
|
5049
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (03/04/2025-
|
5045
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (03/04/2025-01:04:26)»*/
|
5050
5046
|
/*-----------------------------------------------------------------------------*/
|
5051
5047
|
|
5052
5048
|
|
aotrautils-srv/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils-srv",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1273",
|
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)",
|