aotrautils 0.0.593 → 0.0.595

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:06:26)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/09/2023-00:13:36)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -518,8 +518,18 @@ window.aotestMethods.getScenariiInTest=function(test){
518
518
 
519
519
  valuePath=basePath+"."+itemNameOrIndex;
520
520
 
521
- if(isValueFunction && isValueFunction(item)){
522
- scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
521
+ if(isValueFunction){
522
+ if(isValueFunction(item)){
523
+ scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
524
+ }else{
525
+ if(isArray(item)){
526
+ window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
527
+ }else if(isObject(item)){
528
+ window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
529
+ }else{
530
+ scenario[itemNameOrIndex]=item;
531
+ }
532
+ }
523
533
  }else{
524
534
  if(isArray(item)){
525
535
  window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath, isValueFunction);
@@ -4987,7 +4997,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4987
4997
 
4988
4998
 
4989
4999
 
4990
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/09/2023-00:06:26)»*/
5000
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/09/2023-00:13:36)»*/
4991
5001
  /*-----------------------------------------------------------------------------*/
4992
5002
  /* ## Utility global methods in a browser (htmljs) client environment.
4993
5003
  *
@@ -13254,7 +13264,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13254
13264
 
13255
13265
 
13256
13266
 
13257
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/09/2023-00:06:26)»*/
13267
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/09/2023-00:13:36)»*/
13258
13268
  /*-----------------------------------------------------------------------------*/
13259
13269
 
13260
13270
 
@@ -14493,7 +14503,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14493
14503
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14494
14504
 
14495
14505
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14496
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/09/2023-00:06:26)»*/
14506
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/09/2023-00:13:36)»*/
14497
14507
  /*-----------------------------------------------------------------------------*/
14498
14508
 
14499
14509
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.593",
3
+ "version": "0.0.595",
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)",