aotrautils 0.0.583 → 0.0.585
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.
- aotrautils/aotrautils.build.js +11 -8
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (11/09/2023-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (11/09/2023-01:08:22)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -506,17 +506,20 @@ window.aotestMethods.getScenariiInTest=function(test){
|
|
|
506
506
|
|
|
507
507
|
};
|
|
508
508
|
|
|
509
|
-
/*public*/window.aotestMethods.iterateOverValues=function(scenario, doOnIterationForValue, visited=[]){
|
|
509
|
+
/*public*/window.aotestMethods.iterateOverValues=function(scenario, doOnIterationForValue, visited=[], valuePath=""){
|
|
510
510
|
|
|
511
511
|
foreach(scenario,(item, itemNameOrIndex)=>{
|
|
512
512
|
if(contains(visited,item)) return "continue";
|
|
513
513
|
visited.push(item);
|
|
514
|
+
|
|
515
|
+
valuePath+="."+itemNameOrIndex;
|
|
516
|
+
|
|
514
517
|
if(isArray(item)){
|
|
515
|
-
window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited);
|
|
518
|
+
window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath);
|
|
516
519
|
}else if(isObject(item)){
|
|
517
|
-
window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited);
|
|
520
|
+
window.aotestMethods.iterateOverValues(item, doOnIterationForValue, visited, valuePath);
|
|
518
521
|
}else{
|
|
519
|
-
scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex);
|
|
522
|
+
scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
|
|
520
523
|
}
|
|
521
524
|
});
|
|
522
525
|
|
|
@@ -4975,7 +4978,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4975
4978
|
|
|
4976
4979
|
|
|
4977
4980
|
|
|
4978
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (11/09/2023-
|
|
4981
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (11/09/2023-01:08:22)»*/
|
|
4979
4982
|
/*-----------------------------------------------------------------------------*/
|
|
4980
4983
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4981
4984
|
*
|
|
@@ -13242,7 +13245,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13242
13245
|
|
|
13243
13246
|
|
|
13244
13247
|
|
|
13245
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (11/09/2023-
|
|
13248
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (11/09/2023-01:08:22)»*/
|
|
13246
13249
|
/*-----------------------------------------------------------------------------*/
|
|
13247
13250
|
|
|
13248
13251
|
|
|
@@ -14481,7 +14484,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14481
14484
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14482
14485
|
|
|
14483
14486
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14484
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (11/09/2023-
|
|
14487
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (11/09/2023-01:08:22)»*/
|
|
14485
14488
|
/*-----------------------------------------------------------------------------*/
|
|
14486
14489
|
|
|
14487
14490
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.585",
|
|
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)",
|