aotrautils-srv 0.0.1155 → 0.0.1157
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:
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/03/2025-23:55:29)»*/
|
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
|
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 AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:
|
4822
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:55:29)»*/
|
4820
4823
|
/*-----------------------------------------------------------------------------*/
|
4821
4824
|
|
4822
4825
|
|
@@ -4960,7 +4963,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
4960
4963
|
|
4961
4964
|
|
4962
4965
|
|
4963
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:
|
4966
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:55:29)»*/
|
4964
4967
|
/*-----------------------------------------------------------------------------*/
|
4965
4968
|
|
4966
4969
|
|
aotrautils-srv/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils-srv",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1157",
|
4
4
|
"main": "aotrautils-srv.build.js",
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|