aotrautils-srv 0.0.563 → 0.0.565

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 (07/08/2023-03:21:42)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (07/08/2023-03:29:08)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -506,16 +506,15 @@ window.aotestMethods.getScenariiInTest=function(test){
506
506
 
507
507
  };
508
508
 
509
- // UNUSED
510
509
  /*public*/window.aotestMethods.iterateOverValues=function(scenario, doOnIterationForValue, visited=[]){
511
510
 
512
511
  foreach(scenario,(item, itemNameOrIndex)=>{
513
512
  if(contains(visited,item)) return "continue";
514
513
  visited.push(item);
515
514
  if(isArray(item)){
516
- self.iterateOverValues(item, result[itemNameOrIndex], visited);
515
+ window.aotestMethods.iterateOverValues(item, scenario[itemNameOrIndex], visited);
517
516
  }else if(isObject(item)){
518
- self.iterateOverValues(item, result[itemNameOrIndex], visited);
517
+ window.aotestMethods.iterateOverValues(item, scenario[itemNameOrIndex], visited);
519
518
  }else{
520
519
  scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex);
521
520
  }
@@ -4976,7 +4975,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4976
4975
 
4977
4976
 
4978
4977
 
4979
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/08/2023-03:21:42)»*/
4978
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/08/2023-03:29:08)»*/
4980
4979
  /*-----------------------------------------------------------------------------*/
4981
4980
 
4982
4981
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.563",
3
+ "version": "0.0.565",
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)",