aotrautils-srv 0.0.424 → 0.0.425
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 (
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (13/01/2023-18:07:19)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -1979,6 +1979,11 @@ window.getAt=function(associativeOrNormalArray,index,returnKey=false){
|
|
|
1979
1979
|
});
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
+
window.getFirst=function(associativeOrNormalArray){
|
|
1983
|
+
if(empty(associativeOrNormalArray)) return null;
|
|
1984
|
+
return getAt(associativeOrNormalArray, 0);
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1982
1987
|
window.getLast=function(associativeOrNormalArray){
|
|
1983
1988
|
if(empty(associativeOrNormalArray)) return null;
|
|
1984
1989
|
return getAt(associativeOrNormalArray, getArraySize(associativeOrNormalArray)-1);
|
|
@@ -4851,7 +4856,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4851
4856
|
|
|
4852
4857
|
|
|
4853
4858
|
|
|
4854
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
|
4859
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (13/01/2023-18:07:19)»*/
|
|
4855
4860
|
/*-----------------------------------------------------------------------------*/
|
|
4856
4861
|
|
|
4857
4862
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.425",
|
|
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)",
|