aotrautils-srv 0.0.1153 → 0.0.1154

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 (19/03/2025-23:30:13)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:57)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -458,7 +458,7 @@ window.aotestMethods.iterateOverScenariiInTest=function(test, doOnEachIteration=
458
458
  if(!doOnEachIteration) return;
459
459
  return foreach(test,(scenario,scenarioName)=>{
460
460
  const result=doOnEachIteration(test,scenario,scenarioName);
461
- if(result) return result;
461
+ if(!nothing(result)) return result;
462
462
  },(scenario,scenarioName)=>{ return window.aotestMethods.isScenarioName(scenarioName); });
463
463
  };
464
464
 
@@ -1896,6 +1896,7 @@ window.nothing=function(nullable, insist=false){
1896
1896
  // classical (ie. non-associative) array...:
1897
1897
  // NO : USE empty() instead: if(isArray(nullable)) return (nullable.length <= 0);
1898
1898
 
1899
+ // Case parameter is something :
1899
1900
  return false;
1900
1901
  }
1901
1902
 
@@ -4815,7 +4816,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4815
4816
 
4816
4817
 
4817
4818
 
4818
- /*utils AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:30:13)»*/
4819
+ /*utils AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:57)»*/
4819
4820
  /*-----------------------------------------------------------------------------*/
4820
4821
 
4821
4822
 
@@ -4959,7 +4960,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
4959
4960
 
4960
4961
 
4961
4962
 
4962
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:30:13)»*/
4963
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:57)»*/
4963
4964
  /*-----------------------------------------------------------------------------*/
4964
4965
 
4965
4966
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1153",
3
+ "version": "0.0.1154",
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)",