aotrautils-srv 0.0.581 → 0.0.582

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 (11/09/2023-01:08:27)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (11/09/2023-01:30:08)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -508,11 +508,12 @@ window.aotestMethods.getScenariiInTest=function(test){
508
508
 
509
509
  /*public*/window.aotestMethods.iterateOverValues=function(scenario, doOnIterationForValue, visited=[], valuePath=""){
510
510
 
511
+ const basePath=valuePath;
511
512
  foreach(scenario,(item, itemNameOrIndex)=>{
512
513
  if(contains(visited,item)) return "continue";
513
514
  visited.push(item);
514
515
 
515
- valuePath+="."+itemNameOrIndex;
516
+ valuePath=basePath+"."+itemNameOrIndex;
516
517
 
517
518
  if(isArray(item)){
518
519
  window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath);
@@ -4978,7 +4979,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4978
4979
 
4979
4980
 
4980
4981
 
4981
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (11/09/2023-01:08:27)»*/
4982
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (11/09/2023-01:30:08)»*/
4982
4983
  /*-----------------------------------------------------------------------------*/
4983
4984
 
4984
4985
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.581",
3
+ "version": "0.0.582",
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)",