aotrautils-srv 0.0.539 → 0.0.541

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 (22/07/2023-03:14:05)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (22/07/2023-03:18:17)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -612,11 +612,10 @@ window.aotest=function(parameters,functionDefinition=null,ignoreTest=false,CLASS
612
612
  if(ignoreTest)
613
613
  return functionDefinition;
614
614
 
615
- var DEBUG_TRACE=true;
615
+ const DEBUG_TRACE=true;
616
616
 
617
617
  // Parameters :
618
618
  // Tested function/method name :
619
- var functionName;
620
619
  const functionNameParam=parameters.functionName;
621
620
 
622
621
 
@@ -654,7 +653,7 @@ window.aotest=function(parameters,functionDefinition=null,ignoreTest=false,CLASS
654
653
  console.log("ERROR : No function definition found for function named «"+nonull(functionNameParam, "<unknown name function>")+"», aborting test registration.");
655
654
  return null;
656
655
  }
657
- functionName=getFunctionName(functionDefinition);
656
+ let functionName=getFunctionName(functionDefinition);
658
657
 
659
658
  // Current method context initialization :
660
659
  // Test parameters population :
@@ -668,9 +667,9 @@ window.aotest=function(parameters,functionDefinition=null,ignoreTest=false,CLASS
668
667
  currentTest.name=nameParam;
669
668
 
670
669
  // (optional) Func (ie. function name) :
671
- let functionName=parameters["functionName"];
672
- if(!!functionName /*(forced to boolean)*/){
673
- currentTest["functionName"]=functionName;
670
+ let func=parameters["functionName"];
671
+ if(!!func /*(forced to boolean)*/){
672
+ currentTest["functionName"]=func;
674
673
  }
675
674
 
676
675
  // We add to the global context :
@@ -4931,7 +4930,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4931
4930
 
4932
4931
 
4933
4932
 
4934
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (22/07/2023-03:14:05)»*/
4933
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (22/07/2023-03:18:17)»*/
4935
4934
  /*-----------------------------------------------------------------------------*/
4936
4935
 
4937
4936
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.539",
3
+ "version": "0.0.541",
4
4
  "main": "aotrautils-srv.build.js",
5
5
  "description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",