aotrautils-srv 0.0.630 → 0.0.632

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 (03/10/2023-00:14:06)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (04/10/2023-21:23:03)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -1562,7 +1562,7 @@ aotest.profile=function(rootObject,methodName,visited=[]){
1562
1562
  // NOT AOTESTABLE !
1563
1563
  //TODO : develop :
1564
1564
  //getHashedString=monitorProgression(100000,
1565
- window.getHashedString=function(str,/*OPTIONAL*/isHeavyTreatment){
1565
+ window.getHashedString=function(str,/*OPTIONAL*/isHeavyTreatment=false){
1566
1566
 
1567
1567
  //CAUTION : YOU MUST *NOT* CHANGE THIS VALUE, UNLESS THE HASH HEAVY TREATMENT VALUE IN YOUR AOTRA SERVER-SIDE CODEIS THE SAME !
1568
1568
  const HEAVY_TREATMENT_LOOP_COUNT=100000;
@@ -3873,10 +3873,8 @@ JSON.parseRecycle=function(str){
3873
3873
 
3874
3874
 
3875
3875
  window.clone=function(obj){
3876
-
3877
- let str=JSON.stringifyDecycle(obj);
3878
- let newObj=JSON.parseRecycle(str);
3879
-
3876
+ const str=JSON.stringifyDecycle(obj);
3877
+ const newObj=JSON.parseRecycle(str);
3880
3878
  return newObj;
3881
3879
  };
3882
3880
 
@@ -4093,6 +4091,10 @@ window.areEquivalent=function(o1,o2,flattenBeforeCompute=false, UUID_ATTR_NAME=D
4093
4091
 
4094
4092
  let s1=getSignatureOnNonCycledObject(o1,false,ignoredAttributes);
4095
4093
  let s2=getSignatureOnNonCycledObject(o2,false,ignoredAttributes);
4094
+
4095
+ // DBG
4096
+ lognow("SIGNATURE 1:",s1);
4097
+ lognow("SIGNATURE 2:",s2);
4096
4098
 
4097
4099
  return s1===s2;
4098
4100
  }
@@ -5102,7 +5104,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5102
5104
 
5103
5105
 
5104
5106
 
5105
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (03/10/2023-00:14:06)»*/
5107
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (04/10/2023-21:23:03)»*/
5106
5108
  /*-----------------------------------------------------------------------------*/
5107
5109
 
5108
5110
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.630",
3
+ "version": "0.0.632",
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)",