aotrautils 0.0.641 → 0.0.643
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 -12
- 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 (
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (08/10/2023-18:32:25)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -503,7 +503,7 @@ window.aotestMethods.getScenariiInTest=function(test){
|
|
|
503
503
|
return window.aotestMethods.doForAllTestsByType(allTestsByType, doOnIteration, filter, mustTerminate);
|
|
504
504
|
};
|
|
505
505
|
|
|
506
|
-
/*public*/window.aotestMethods.
|
|
506
|
+
/*public*/window.aotestMethods.iterateOverValuesOnClonedObject=function(scenarioParam, doOnIterationForValue, visited=[], valuePath="", isValueFunction=null){
|
|
507
507
|
|
|
508
508
|
// CAUTION : We ABSOLUTELY need to iterate over a deep copy, or else it will create weird incomprehensible bugs
|
|
509
509
|
// if we do another recursive browsing on the initial object !!!
|
|
@@ -523,18 +523,18 @@ window.aotestMethods.getScenariiInTest=function(test){
|
|
|
523
523
|
scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
|
|
524
524
|
}else{
|
|
525
525
|
if(isArray(item)){
|
|
526
|
-
window.aotestMethods.
|
|
526
|
+
window.aotestMethods.iterateOverValuesOnClonedObject(item, doOnIterationForValue, visited, valuePath, isValueFunction);
|
|
527
527
|
}else if(isObject(item)){
|
|
528
|
-
window.aotestMethods.
|
|
528
|
+
window.aotestMethods.iterateOverValuesOnClonedObject(item, doOnIterationForValue, visited, valuePath, isValueFunction);
|
|
529
529
|
}else{
|
|
530
530
|
scenario[itemNameOrIndex]=item;
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}else{
|
|
534
534
|
if(isArray(item)){
|
|
535
|
-
window.aotestMethods.
|
|
535
|
+
window.aotestMethods.iterateOverValuesOnClonedObject(item, doOnIterationForValue, visited, valuePath, isValueFunction);
|
|
536
536
|
}else if(isObject(item)){
|
|
537
|
-
window.aotestMethods.
|
|
537
|
+
window.aotestMethods.iterateOverValuesOnClonedObject(item, doOnIterationForValue, visited, valuePath, isValueFunction);
|
|
538
538
|
}else{
|
|
539
539
|
scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
|
|
540
540
|
}
|
|
@@ -660,9 +660,8 @@ window.aotest=function(parameters,functionDefinition=null,ignoreTest=false,CLASS
|
|
|
660
660
|
if(!mainInstance) functionDefinition=window[functionNameParam];
|
|
661
661
|
else{
|
|
662
662
|
|
|
663
|
-
//
|
|
664
|
-
//
|
|
665
|
-
|
|
663
|
+
// // DBG
|
|
664
|
+
// console.log("parameters:",parameters);
|
|
666
665
|
|
|
667
666
|
functionDefinition=mainInstance[functionNameParam];
|
|
668
667
|
|
|
@@ -5112,7 +5111,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5112
5111
|
|
|
5113
5112
|
|
|
5114
5113
|
|
|
5115
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
5114
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (08/10/2023-18:32:25)»*/
|
|
5116
5115
|
/*-----------------------------------------------------------------------------*/
|
|
5117
5116
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5118
5117
|
*
|
|
@@ -13347,7 +13346,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13347
13346
|
|
|
13348
13347
|
|
|
13349
13348
|
|
|
13350
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
13349
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (08/10/2023-18:32:25)»*/
|
|
13351
13350
|
/*-----------------------------------------------------------------------------*/
|
|
13352
13351
|
|
|
13353
13352
|
|
|
@@ -14586,7 +14585,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14586
14585
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14587
14586
|
|
|
14588
14587
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14589
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
|
14588
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (08/10/2023-18:32:25)»*/
|
|
14590
14589
|
/*-----------------------------------------------------------------------------*/
|
|
14591
14590
|
|
|
14592
14591
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.643",
|
|
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)",
|