aotrautils-srv 0.0.587 → 0.0.588

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 (18/09/2023-23:43:29)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/09/2023-00:03:12)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -518,13 +518,13 @@ window.aotestMethods.getScenariiInTest=function(test){
518
518
 
519
519
  valuePath=basePath+"."+itemNameOrIndex;
520
520
 
521
- const isValue=(isValueFunction && isValueFunction(item));
522
- if(isArray(item) && !isValue){
521
+ if(isArray(item)){
523
522
  window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
524
- }else if(isObject(item) && !isValue){
523
+ }else if(isObject(item)){
525
524
  window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
526
525
  }else{
527
- scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
526
+ if(!isValueFunction || isValueFunction(item))
527
+ scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
528
528
  }
529
529
 
530
530
  });
@@ -4984,7 +4984,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4984
4984
 
4985
4985
 
4986
4986
 
4987
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (18/09/2023-23:43:29)»*/
4987
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/09/2023-00:03:12)»*/
4988
4988
  /*-----------------------------------------------------------------------------*/
4989
4989
 
4990
4990
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.587",
3
+ "version": "0.0.588",
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)",