aotrautils 0.0.1159 → 0.0.1160

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 (19/03/2025-23:40:54)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -1880,12 +1880,15 @@ window.nothing=function(nullable, insist=false){
1880
1880
 
1881
1881
  if(nullable === true)
1882
1882
  return false;
1883
+
1884
+ if(nullable === false)
1885
+ return false;
1883
1886
 
1884
1887
  // To avoid the case where the nullable is a number and equal to zero, in which case it is not considered as the same as null ! :
1885
1888
  if(nullable===0)
1886
1889
  return false;
1887
1890
 
1888
- if((!nullable) || (typeof nullable === "undefined") || nullable === null || nullable === false){
1891
+ if((!nullable) || (typeof nullable === "undefined") || nullable === null){
1889
1892
  return true;
1890
1893
  }
1891
1894
  if(typeof nullable === "string" && insist && (nullable + "").trim() === ""){
@@ -4816,7 +4819,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4816
4819
 
4817
4820
 
4818
4821
 
4819
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
4822
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
4820
4823
  /*-----------------------------------------------------------------------------*/
4821
4824
  /* ## Utility global methods in a browser (htmljs) client environment.
4822
4825
  *
@@ -13388,7 +13391,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
13388
13391
 
13389
13392
 
13390
13393
 
13391
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
13394
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
13392
13395
  /*-----------------------------------------------------------------------------*/
13393
13396
 
13394
13397
 
@@ -14627,7 +14630,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14627
14630
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14628
14631
 
14629
14632
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14630
- /*utils AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
14633
+ /*utils AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
14631
14634
  /*-----------------------------------------------------------------------------*/
14632
14635
 
14633
14636
 
@@ -14771,7 +14774,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
14771
14774
 
14772
14775
 
14773
14776
 
14774
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
14777
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
14775
14778
  /*-----------------------------------------------------------------------------*/
14776
14779
 
14777
14780
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1159",
3
+ "version": "0.0.1160",
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)",