aotrautils-srv 0.0.743 → 0.0.745
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.
aotrautils-srv/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
Aotrautils library server-side
|
|
1
|
+
# Aotrautils library server-side
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
4
|
The aotrautils-srv library to be used in plain javascript or nodejs projects. Provides useful functions like foreach, the aotest automated testing framework, and the flat map to json and json to flap map converter utils.
|
|
5
5
|
Plus some useful server-side exclusive functions and methods.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
## Project license text
|
|
8
|
+
see doc/HGPL_LICENSE.txt file
|
|
9
|
+
## Author name
|
|
10
|
+
Jérémie Ratomposon (massively helped by his native country free education system)
|
|
11
|
+
## Author email
|
|
12
|
+
info@alqemia.com
|
|
13
|
+
## Organization name
|
|
14
|
+
Alqemia
|
|
15
|
+
## Organization email
|
|
16
|
+
info@alqemia.com
|
|
17
|
+
## Organization website
|
|
18
|
+
https://alqemia.com
|
|
15
19
|
|
|
16
20
|
## Installation
|
|
17
|
-
|
|
18
21
|
`npm install --save aotrautils-srv`
|
|
19
22
|
|
|
20
23
|
## Usage
|
|
21
|
-
|
|
22
24
|
`require("aotrautils-srv");`
|
|
23
25
|
|
|
24
26
|
## Tests
|
|
25
|
-
|
|
26
27
|
Tested with a dedicated yesbot server. TODO : <add public yesbot brian results URL>
|
|
27
28
|
|
|
28
29
|
## Contributing
|
|
29
|
-
|
|
30
30
|
At maintainer's discretion.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (12/11/2023-00:49:33)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4094,7 +4094,7 @@ window.areEquivalentSimple=function(obj1Param,obj2Param, caseSensitive=true){
|
|
|
4094
4094
|
return (str1===str2);
|
|
4095
4095
|
}
|
|
4096
4096
|
|
|
4097
|
-
//
|
|
4097
|
+
// CAUTION : WAY SLOWER...(for simple objects, use areEquivalentSimple(...) instead):
|
|
4098
4098
|
window.areEquivalent=function(obj1Param,obj2Param,flattenBeforeCompute=false, UUID_ATTR_NAME=DEFAULT_UUID_ATTR_NAME,POINTER_TO_ATTR_NAME=DEFAULT_POINTER_TO_ATTR_NAME){
|
|
4099
4099
|
|
|
4100
4100
|
if((obj1Param!=null)!==(obj2Param!=null) || typeof(obj1Param)!==typeof(obj2Param)) return false;
|
|
@@ -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 (
|
|
5170
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (12/11/2023-00:49:33)»*/
|
|
5171
5171
|
/*-----------------------------------------------------------------------------*/
|
|
5172
5172
|
|
|
5173
5173
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.745",
|
|
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)",
|
|
File without changes
|