aotrautils 0.0.1832 → 0.0.1833
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 (04/04/2026-17:54:28)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -2292,11 +2292,11 @@ window.findInArray=function(collection, equalsFunction, returnFunction=null){
|
|
|
2292
2292
|
}, equalsFunction);
|
|
2293
2293
|
}
|
|
2294
2294
|
|
|
2295
|
-
window.getKeyAt=function(associativeOrNormalArray,index){
|
|
2295
|
+
window.getKeyAt=function(associativeOrNormalArray,index=0){
|
|
2296
2296
|
return getAt(associativeOrNormalArray,index,true);
|
|
2297
2297
|
}
|
|
2298
2298
|
|
|
2299
|
-
window.getAt=function(associativeOrNormalArray,index,returnKey=false){
|
|
2299
|
+
window.getAt=function(associativeOrNormalArray,index=0,returnKey=false){
|
|
2300
2300
|
if(empty(associativeOrNormalArray)) return null;
|
|
2301
2301
|
let i=0;
|
|
2302
2302
|
// CAUTION : Only use this «return foreach» syntax with SINGLE-LEVEL nested loops ONLY !
|
|
@@ -5140,7 +5140,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5140
5140
|
|
|
5141
5141
|
|
|
5142
5142
|
|
|
5143
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
5143
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (04/04/2026-17:54:28)»*/
|
|
5144
5144
|
/*-----------------------------------------------------------------------------*/
|
|
5145
5145
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5146
5146
|
*
|
|
@@ -5818,7 +5818,7 @@ function escapeHTML(str){
|
|
|
5818
5818
|
}
|
|
5819
5819
|
|
|
5820
5820
|
|
|
5821
|
-
|
|
5821
|
+
window.startsWithUpperCase=(str)=>{
|
|
5822
5822
|
if(nothing(str)) return false;
|
|
5823
5823
|
return str[0].toUpperCase()===str[0];
|
|
5824
5824
|
}
|
|
@@ -13225,7 +13225,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13225
13225
|
|
|
13226
13226
|
|
|
13227
13227
|
|
|
13228
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
13228
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (04/04/2026-17:54:28)»*/
|
|
13229
13229
|
/*-----------------------------------------------------------------------------*/
|
|
13230
13230
|
|
|
13231
13231
|
|
|
@@ -14554,10 +14554,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14554
14554
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14555
14555
|
|
|
14556
14556
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14557
|
-
/*utils 3D library associated with aotra version : «1_29072022-2359 (
|
|
14557
|
+
/*utils 3D library associated with aotra version : «1_29072022-2359 (04/04/2026-17:54:28)»*/
|
|
14558
14558
|
/*-----------------------------------------------------------------------------*/
|
|
14559
14559
|
|
|
14560
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
|
14560
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (04/04/2026-17:54:28)»*/
|
|
14561
14561
|
/*-----------------------------------------------------------------------------*/
|
|
14562
14562
|
|
|
14563
14563
|
|
|
@@ -14703,7 +14703,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
|
14703
14703
|
|
|
14704
14704
|
|
|
14705
14705
|
|
|
14706
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (
|
|
14706
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (04/04/2026-17:54:28)»*/
|
|
14707
14707
|
/*-----------------------------------------------------------------------------*/
|
|
14708
14708
|
|
|
14709
14709
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1833",
|
|
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)",
|