aotrautils-srv 0.0.924 → 0.0.926

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 (07/04/2024-18:00:03)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (07/04/2024-18:39:03)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5317,7 +5317,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5317
5317
 
5318
5318
 
5319
5319
 
5320
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/04/2024-18:00:03)»*/
5320
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/04/2024-18:39:03)»*/
5321
5321
  /*-----------------------------------------------------------------------------*/
5322
5322
 
5323
5323
 
@@ -7004,7 +7004,7 @@ getListManager=function(config){
7004
7004
  // USE THIS INSTEAD :
7005
7005
  performHTTPRequestNode=function(completeURL,httpMethod="GET",headers={},requestBodyOrNamedArgs=null,addCORSHeader=ADD_CORS_HEADER){
7006
7006
 
7007
- if(!require){
7007
+ if(typeof(require)=="undefined"){
7008
7008
  // TODO : FIXME : Support also a browser context!!
7009
7009
  lognow("ERROR : require() not found, this may need we are not running in a nodejs context. This is currently not supported. Aborting");
7010
7010
  throw new Error("Unsupported context non-nodejs for performHTTPRequestNode().");
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.924",
3
+ "version": "0.0.926",
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)",