aotrautils 0.0.1161 → 0.0.1162

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 (20/03/2025-13:33:18)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (20/03/2025-13:45:44)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -2958,6 +2958,9 @@ window.empty=function(sizable,/*OPTIONAL*/insist=false){
2958
2958
  if(nothing(sizable, insist))
2959
2959
  return true;
2960
2960
 
2961
+ if(typeof(sizable.length)!="undefined" && sizable.length!=null)
2962
+ return (0<sizable.length);
2963
+
2961
2964
  // NEW :
2962
2965
  const result=(countKeys(sizable)==0);
2963
2966
  return result;
@@ -4819,7 +4822,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4819
4822
 
4820
4823
 
4821
4824
 
4822
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
4825
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (20/03/2025-13:45:44)»*/
4823
4826
  /*-----------------------------------------------------------------------------*/
4824
4827
  /* ## Utility global methods in a browser (htmljs) client environment.
4825
4828
  *
@@ -13391,7 +13394,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
13391
13394
 
13392
13395
 
13393
13396
 
13394
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
13397
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (20/03/2025-13:45:44)»*/
13395
13398
  /*-----------------------------------------------------------------------------*/
13396
13399
 
13397
13400
 
@@ -14630,7 +14633,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14630
14633
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14631
14634
 
14632
14635
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14633
- /*utils AI library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
14636
+ /*utils AI library associated with aotra version : «1_29072022-2359 (20/03/2025-13:45:44)»*/
14634
14637
  /*-----------------------------------------------------------------------------*/
14635
14638
 
14636
14639
 
@@ -14774,7 +14777,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
14774
14777
 
14775
14778
 
14776
14779
 
14777
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
14780
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (20/03/2025-13:45:44)»*/
14778
14781
  /*-----------------------------------------------------------------------------*/
14779
14782
 
14780
14783
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1161",
3
+ "version": "0.0.1162",
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)",