aotrautils-srv 0.0.1271 → 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-00:52:04)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (03/04/2025-01:04:26)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -493,7 +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
496
  /*public*/window.aotestMethods.iterateOverScenarii=function(allTests, doOnIteration, testsType=null, filter=null, mustTerminate=null){
498
497
 
499
498
  if(testsType){
@@ -2029,6 +2028,7 @@ window.pushInArrayAsQueue=function(array, maxSize, item){
2029
2028
 
2030
2029
 
2031
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]; ... })
2032
2032
  // CAUTION : Only use «return foreach» syntax in client code loops with SINGLE-LEVEL nested loops ONLY !
2033
2033
  window.foreach=function(arrayOfValues,doOnEachFunction,
2034
2034
  /*OPTIONAL*/filterFunction=null,
@@ -4898,7 +4898,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4898
4898
 
4899
4899
 
4900
4900
 
4901
- /*utils AI library associated with aotra version : «1_29072022-2359 (03/04/2025-00:52:04)»*/
4901
+ /*utils AI library associated with aotra version : «1_29072022-2359 (03/04/2025-01:04:26)»*/
4902
4902
  /*-----------------------------------------------------------------------------*/
4903
4903
 
4904
4904
 
@@ -5042,7 +5042,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
5042
5042
 
5043
5043
 
5044
5044
 
5045
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (03/04/2025-00:52:04)»*/
5045
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (03/04/2025-01:04:26)»*/
5046
5046
  /*-----------------------------------------------------------------------------*/
5047
5047
 
5048
5048
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1271",
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)",