aotrautils 0.0.538 → 0.0.540

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 (05/07/2023-22:31:39)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (05/07/2023-23:18:55)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -470,7 +470,7 @@ window.aotestMethods.getScenariiInTest=function(test){
470
470
  if(mustTerminate && mustTerminate(scenario))
471
471
  return scenario;
472
472
 
473
- },(scenario, scenarioName)=>filter && filter(scenario));
473
+ },(scenario, scenarioName)=>!filter || filter(scenario));
474
474
 
475
475
  if(loopResultK)
476
476
  return loopResultK;
@@ -488,20 +488,23 @@ window.aotestMethods.getScenariiInTest=function(test){
488
488
  /*public*/window.aotestMethods.iterateOverScenarii=function(allTests, doOnIteration, testsType=null, filter=null, mustTerminate=null){
489
489
 
490
490
  if(testsType){
491
+
492
+ if(testsType==="*"){
493
+ return foreach(allTests,(allTestsByType,t)=>{
494
+ const loopResultH=window.aotestMethods.doForAllTestsByType(allTestsByType,doOnIteration, filter, mustTerminate);
495
+ if(loopResultH)
496
+ return loopResultH;
497
+ });
498
+
499
+ }
491
500
 
492
501
  const allTestsByType=allTests[testsType];
493
502
  return window.aotestMethods.doForAllTestsByType(allTestsByType,doOnIteration, filter, mustTerminate);
503
+ }
494
504
 
495
- }else{
496
-
497
- return foreach(allTests,(allTestsByType,t)=>{
498
- const loopResultH=window.aotestMethods.doForAllTestsByType(allTestsByType,doOnIteration, filter, mustTerminate);
499
- if(loopResultH)
500
- return loopResultH;
501
- });
505
+ const allTestsByType=allTests;
506
+ return window.aotestMethods.doForAllTestsByType(allTestsByType,doOnIteration, filter, mustTerminate);
502
507
 
503
- }
504
-
505
508
  };
506
509
 
507
510
 
@@ -4929,7 +4932,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4929
4932
 
4930
4933
 
4931
4934
 
4932
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (05/07/2023-22:31:39)»*/
4935
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (05/07/2023-23:18:55)»*/
4933
4936
  /*-----------------------------------------------------------------------------*/
4934
4937
  /* ## Utility global methods in a browser (htmljs) client environment.
4935
4938
  *
@@ -13196,7 +13199,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13196
13199
 
13197
13200
 
13198
13201
 
13199
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (05/07/2023-22:31:39)»*/
13202
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (05/07/2023-23:18:55)»*/
13200
13203
  /*-----------------------------------------------------------------------------*/
13201
13204
 
13202
13205
 
@@ -14435,7 +14438,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14435
14438
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14436
14439
 
14437
14440
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14438
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (05/07/2023-22:31:39)»*/
14441
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (05/07/2023-23:18:55)»*/
14439
14442
  /*-----------------------------------------------------------------------------*/
14440
14443
 
14441
14444
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.538",
3
+ "version": "0.0.540",
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)",