aotrautils 0.0.998 → 0.0.1000
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
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 (14/06/2024-01:55:04)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -1678,7 +1678,9 @@ function encodeXORNoPattern(strToEncode,key){
|
|
|
1678
1678
|
return result;
|
|
1679
1679
|
}
|
|
1680
1680
|
|
|
1681
|
-
|
|
1681
|
+
// CAUTION : This method is declared this way because it's also used in a nodejs context!
|
|
1682
|
+
// TODO : FIXME : DO THIS FOR ALL OF THESE COMMON METHODS AND FUNCTIONS !
|
|
1683
|
+
generateRandomString=function(length,/*NULLABLE*/mode=null){
|
|
1682
1684
|
|
|
1683
1685
|
// This list must be very conservative, because we want to be able to pass it through GET URLs !
|
|
1684
1686
|
// OLD (not enough conservative ?) : const ALLOWED_CHARS="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0912346789_-£¢¤¬²³¼½¾";
|
|
@@ -1823,7 +1825,7 @@ window.generateRandomString(length,/*NULLABLE*/mode=null){
|
|
|
1823
1825
|
}
|
|
1824
1826
|
|
|
1825
1827
|
return result;
|
|
1826
|
-
}
|
|
1828
|
+
};
|
|
1827
1829
|
|
|
1828
1830
|
generateRandomStringFromOriginalString=function (str, randomFactor=1, mode=null){
|
|
1829
1831
|
const strLength=str.length;
|
|
@@ -5351,7 +5353,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5351
5353
|
|
|
5352
5354
|
|
|
5353
5355
|
|
|
5354
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
5356
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (14/06/2024-01:55:04)»*/
|
|
5355
5357
|
/*-----------------------------------------------------------------------------*/
|
|
5356
5358
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5357
5359
|
*
|
|
@@ -13562,7 +13564,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13562
13564
|
|
|
13563
13565
|
|
|
13564
13566
|
|
|
13565
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
13567
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (14/06/2024-01:55:04)»*/
|
|
13566
13568
|
/*-----------------------------------------------------------------------------*/
|
|
13567
13569
|
|
|
13568
13570
|
|
|
@@ -14801,7 +14803,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14801
14803
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14802
14804
|
|
|
14803
14805
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14804
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
|
14806
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (14/06/2024-01:55:04)»*/
|
|
14805
14807
|
/*-----------------------------------------------------------------------------*/
|
|
14806
14808
|
|
|
14807
14809
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1000",
|
|
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)",
|