aotrautils-srv 0.0.797 → 0.0.798
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 (15/02/2024-00:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (15/02/2024-00:32:43)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5167,7 +5167,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5167
5167
|
|
|
5168
5168
|
|
|
5169
5169
|
|
|
5170
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (15/02/2024-00:
|
|
5170
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (15/02/2024-00:32:43)»*/
|
|
5171
5171
|
/*-----------------------------------------------------------------------------*/
|
|
5172
5172
|
|
|
5173
5173
|
|
|
@@ -6880,15 +6880,16 @@ performHTTPRequestNode=function(completeURL,httpMethod="GET",headers={},postRequ
|
|
|
6880
6880
|
// UNLESS YOU SPECIFY in options : hostname, port, path
|
|
6881
6881
|
const request = httpHandler.request(completeURL, options, (response) => {
|
|
6882
6882
|
|
|
6883
|
-
let
|
|
6883
|
+
let responseDataStr = "";
|
|
6884
6884
|
|
|
6885
6885
|
// A chunk of data has been received.
|
|
6886
6886
|
response.on("data", (chunk) => {
|
|
6887
|
-
|
|
6887
|
+
responseDataStr += chunk;
|
|
6888
6888
|
});
|
|
6889
6889
|
|
|
6890
6890
|
// The whole response has been received.
|
|
6891
6891
|
response.on("end", () => {
|
|
6892
|
+
const responseData=stringifyObject(responseDataStr);
|
|
6892
6893
|
resolve(responseData);
|
|
6893
6894
|
});
|
|
6894
6895
|
});
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.798",
|
|
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)",
|