aotrautils-srv 0.0.64 → 0.0.65
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 SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-01:
|
|
3
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-01:44:15)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -224,17 +224,17 @@ WebsocketImplementation={
|
|
|
224
224
|
// https://stackoverflow.com/questions/6599470/node-js-socket-io-with-ssl
|
|
225
225
|
// https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener
|
|
226
226
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
227
|
+
if(typeof(socketIO)==="undefined"){
|
|
228
|
+
// TRACE
|
|
229
|
+
console.log("«socket.io» SERVER library not called yet, calling it now.");
|
|
230
|
+
socketIO=require("socket.io");
|
|
231
|
+
return socketIO;
|
|
232
|
+
}
|
|
233
|
+
if(typeof(socketIO)==="undefined"){
|
|
234
|
+
// TRACE
|
|
235
|
+
console.log("ERROR : «socket.io» SERVER library not found. Cannot launch nodejs server. Aborting.");
|
|
236
|
+
return null;
|
|
237
|
+
}
|
|
238
238
|
|
|
239
239
|
// *********************************************************************************
|
|
240
240
|
|
|
@@ -1301,7 +1301,7 @@ function getListManager(config){
|
|
|
1301
1301
|
|
|
1302
1302
|
|
|
1303
1303
|
|
|
1304
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-01:
|
|
1304
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-01:44:15)»*/
|
|
1305
1305
|
/*-----------------------------------------------------------------------------*/
|
|
1306
1306
|
|
|
1307
1307
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.65",
|
|
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)",
|