aotrautils 0.0.592 → 0.0.593

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/09/2023-00:03:03)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/09/2023-00:06:26)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -518,13 +518,16 @@ window.aotestMethods.getScenariiInTest=function(test){
518
518
 
519
519
  valuePath=basePath+"."+itemNameOrIndex;
520
520
 
521
- if(isArray(item)){
522
- window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
523
- }else if(isObject(item)){
524
- window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
521
+ if(isValueFunction && isValueFunction(item)){
522
+ scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
525
523
  }else{
526
- if(!isValueFunction || isValueFunction(item))
524
+ if(isArray(item)){
525
+ window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
526
+ }else if(isObject(item)){
527
+ window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
528
+ }else{
527
529
  scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
530
+ }
528
531
  }
529
532
 
530
533
  });
@@ -4984,7 +4987,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4984
4987
 
4985
4988
 
4986
4989
 
4987
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/09/2023-00:03:03)»*/
4990
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/09/2023-00:06:26)»*/
4988
4991
  /*-----------------------------------------------------------------------------*/
4989
4992
  /* ## Utility global methods in a browser (htmljs) client environment.
4990
4993
  *
@@ -13251,7 +13254,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13251
13254
 
13252
13255
 
13253
13256
 
13254
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/09/2023-00:03:03)»*/
13257
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/09/2023-00:06:26)»*/
13255
13258
  /*-----------------------------------------------------------------------------*/
13256
13259
 
13257
13260
 
@@ -14490,7 +14493,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14490
14493
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14491
14494
 
14492
14495
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14493
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/09/2023-00:03:03)»*/
14496
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/09/2023-00:06:26)»*/
14494
14497
  /*-----------------------------------------------------------------------------*/
14495
14498
 
14496
14499
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.592",
3
+ "version": "0.0.593",
4
4
  "main": "aotrautils.build.js",
5
5
  "description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",