aotrautils-srv 0.0.1420 → 0.0.1422

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/04/2025-22:49:28)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/04/2025-23:07:44)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -2715,7 +2715,7 @@ scenario4 : [ [ " test1 \r\r\ntest2", "compactHTML" ], "test1 \n\n\ntest2" ]
2715
2715
  // dangerous substitution, but necessary, unfortunately...
2716
2716
  // (so we have to compensate it somewhere else IF NECESSARY, with the
2717
2717
  // APOSTROPHE character for apostrophe in text.)
2718
- .replace(/'/gim, '"').trim();
2718
+ .replace(/'/gim, "ʼ").trim();
2719
2719
 
2720
2720
  return result;
2721
2721
  }
@@ -4815,7 +4815,7 @@ window.parseJSON=function(strParam){
4815
4815
  return null;
4816
4816
  var str=toOneSimplifiedLine(strParam.trim())
4817
4817
  // OLD : Safer, but necessited to never use «'» in literal strings, and use «´» acute character instead !
4818
- .replace(/'/gim, "\\"");
4818
+ .replace(/'/gim, "ʼ");
4819
4819
  // DOES NOT WORK :
4820
4820
  // .replace(/,'/gim, ",\"")
4821
4821
  // .replace(/:'/gim, ":\"")
@@ -4894,7 +4894,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4894
4894
 
4895
4895
 
4896
4896
 
4897
- /*utils AI library associated with aotra version : «1_29072022-2359 (19/04/2025-22:49:28)»*/
4897
+ /*utils AI library associated with aotra version : «1_29072022-2359 (19/04/2025-23:07:44)»*/
4898
4898
  /*-----------------------------------------------------------------------------*/
4899
4899
 
4900
4900
 
@@ -5040,7 +5040,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
5040
5040
 
5041
5041
 
5042
5042
 
5043
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/04/2025-22:49:28)»*/
5043
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/04/2025-23:07:44)»*/
5044
5044
  /*-----------------------------------------------------------------------------*/
5045
5045
 
5046
5046
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1420",
3
+ "version": "0.0.1422",
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)",