aotrautils 0.0.634 → 0.0.636
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 -9
- 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 (04/10/2023-21:22:59)»*/
|
|
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
|
-
|
|
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 CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
5107
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (04/10/2023-21:22:59)»*/
|
|
5106
5108
|
/*-----------------------------------------------------------------------------*/
|
|
5107
5109
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5108
5110
|
*
|
|
@@ -13337,7 +13339,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13337
13339
|
|
|
13338
13340
|
|
|
13339
13341
|
|
|
13340
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
13342
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (04/10/2023-21:22:59)»*/
|
|
13341
13343
|
/*-----------------------------------------------------------------------------*/
|
|
13342
13344
|
|
|
13343
13345
|
|
|
@@ -14576,7 +14578,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14576
14578
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14577
14579
|
|
|
14578
14580
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14579
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
|
14581
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (04/10/2023-21:22:59)»*/
|
|
14580
14582
|
/*-----------------------------------------------------------------------------*/
|
|
14581
14583
|
|
|
14582
14584
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.636",
|
|
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)",
|