aotrautils-srv 0.0.996 → 0.0.998

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 (16/06/2024-23:22:07)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (17/06/2024-22:31:55)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -1900,7 +1900,7 @@ window.nothing=function(nullable, insist=false){
1900
1900
  return false;
1901
1901
  }
1902
1902
 
1903
- window.getOrCreateAttribute=function(parentObject, attributeNameOrAttributesName){
1903
+ window.getOrCreateSimpleObjectAttribute=function(parentObject, attributeNameOrAttributesName){
1904
1904
  if(nothing(parentObject)) return null;
1905
1905
  if(nothing(attributeNameOrAttributesName)) return parentObject;
1906
1906
  if(isString(attributeNameOrAttributesName) || (isArray(attributeNameOrAttributesName) && attributeNameOrAttributesName.length===1)){
@@ -1927,7 +1927,7 @@ window.getOrCreateAttribute=function(parentObject, attributeNameOrAttributesName
1927
1927
  parentObject[attributeName]=DEFAULT_VALUE;
1928
1928
  }
1929
1929
  const sliced=attributeNameOrAttributesName.slice(1);
1930
- let foundOrCreatedChild=getOrCreateAttribute(parentObject[attributeName], sliced);
1930
+ let foundOrCreatedChild=getOrCreateSimpleObjectAttribute(parentObject[attributeName], sliced);
1931
1931
  return foundOrCreatedChild;
1932
1932
  }
1933
1933
  return null; // (case no child found nor could be created.)
@@ -5353,7 +5353,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5353
5353
 
5354
5354
 
5355
5355
 
5356
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (16/06/2024-23:22:07)»*/
5356
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (17/06/2024-22:31:55)»*/
5357
5357
  /*-----------------------------------------------------------------------------*/
5358
5358
 
5359
5359
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.996",
3
+ "version": "0.0.998",
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)",