aotrautils-srv 0.0.1900 → 0.0.1901

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 (26/07/2026-02:13:18)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (26/07/2026-02:34:46)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -29,7 +29,7 @@ if(typeof(window)==="undefined") window=global;
29
29
 
30
30
  //=========================================================================
31
31
  // GLOBAL CONSTANTS :
32
- PERFORM_TESTS_ON_LIBRARY=false;
32
+ window.PERFORM_TESTS_ON_LIBRARY=false;
33
33
 
34
34
  //FLATTEN / UNFLATTEN JSON CONSTANTS :
35
35
 
@@ -2690,7 +2690,7 @@ window.startsWith=window.aotest({
2690
2690
  scenario2ok : [ [ "https://example.com", "http://" ], false ]
2691
2691
  }, function(str, subStr){
2692
2692
  return str.lastIndexOf(subStr, 0) === 0;
2693
- }, !PERFORM_TESTS_ON_LIBRARY);
2693
+ }, !window.PERFORM_TESTS_ON_LIBRARY);
2694
2694
 
2695
2695
 
2696
2696
 
@@ -2860,7 +2860,7 @@ scenario4 : [ [ " test1 \r\r\ntest2", "compactHTML" ], "test1 \n\n\ntest2" ]
2860
2860
 
2861
2861
  // «Soft» mode is default mode :
2862
2862
  return str.replace(/[\s\t\n\r]+/igm, " ").trim();
2863
- }, !PERFORM_TESTS_ON_LIBRARY);
2863
+ }, !window.PERFORM_TESTS_ON_LIBRARY);
2864
2864
 
2865
2865
 
2866
2866
  window.dec2hex=function(d){
@@ -3414,7 +3414,7 @@ window.aotest({
3414
3414
  dummy : "obj1"
3415
3415
  } ], false ]
3416
3416
 
3417
- }, isArray, !PERFORM_TESTS_ON_LIBRARY);
3417
+ }, isArray, !window.PERFORM_TESTS_ON_LIBRARY);
3418
3418
 
3419
3419
  window.arraysEqual=function(array1, array2){
3420
3420
  if(!array1 && !array2)
@@ -3500,7 +3500,7 @@ window.aotest({
3500
3500
  dummy : "tab8"
3501
3501
  } ], true ]
3502
3502
 
3503
- }, arraysEqual, !PERFORM_TESTS_ON_LIBRARY);
3503
+ }, arraysEqual, !window.PERFORM_TESTS_ON_LIBRARY);
3504
3504
 
3505
3505
  window.objectsEqual=window.aotest({
3506
3506
  name : "objectsEqual",
@@ -3575,7 +3575,7 @@ window.objectsEqual=window.aotest({
3575
3575
  }
3576
3576
 
3577
3577
  return true;
3578
- }, !PERFORM_TESTS_ON_LIBRARY);
3578
+ }, !window.PERFORM_TESTS_ON_LIBRARY);
3579
3579
 
3580
3580
 
3581
3581
 
@@ -3698,7 +3698,7 @@ Math.coerceInRange=window.aotest({
3698
3698
  value=Math.abs(value);
3699
3699
  }
3700
3700
  return Math.min(Math.max(value, min), max);
3701
- }, !PERFORM_TESTS_ON_LIBRARY);
3701
+ }, !window.PERFORM_TESTS_ON_LIBRARY);
3702
3702
 
3703
3703
 
3704
3704
  Math.getMinMax=function(strMinMaxRange, separator="¬>"){
@@ -5470,7 +5470,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5470
5470
 
5471
5471
 
5472
5472
 
5473
- /*utils AI library associated with aotra version : «1_29072022-2359 (26/07/2026-02:13:18)»*/
5473
+ /*utils AI library associated with aotra version : «1_29072022-2359 (26/07/2026-02:34:46)»*/
5474
5474
  /*-----------------------------------------------------------------------------*/
5475
5475
 
5476
5476
 
@@ -5730,7 +5730,7 @@ getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProviderName=DE
5730
5730
 
5731
5731
 
5732
5732
 
5733
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (26/07/2026-02:13:18)»*/
5733
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (26/07/2026-02:34:46)»*/
5734
5734
  /*-----------------------------------------------------------------------------*/
5735
5735
 
5736
5736
 
@@ -7376,7 +7376,7 @@ window.getCurrentLevelPrototypeNameForAORTACServerCell=()=>{
7376
7376
 
7377
7377
 
7378
7378
  // COMPATIBILITY browser javascript / nodejs environment :
7379
- if(typeof(window)==="undefined") window=global;
7379
+ if(typeof(window)==="undefined") window=global;
7380
7380
 
7381
7381
 
7382
7382
  // ==================================================================================================================
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1900",
3
+ "version": "0.0.1901",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "aotrautils-srv",
9
- "version": "0.0.1900",
9
+ "version": "0.0.1901",
10
10
  "license": "HGPL-1.0",
11
11
  "dependencies": {
12
12
  "atob": "^2.1.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1900",
3
+ "version": "0.0.1901",
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)",