@esfaenza/extensions 11.2.7 → 11.2.11

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.
@@ -15,13 +15,25 @@ export declare class HashingService {
15
15
  * @param {number} level Livello di ricorsione nel caso venga effettuato l'hash di un oggetto che contiene altri oggetti
16
16
  * @param {boolean} navigateFullDepth Indica se navigare l'oggetto per l'intera lunghezza. In caso contrario si ferma al secondo livello
17
17
  *
18
- * @returns {string} md5 generato per l'oggetto in questione
18
+ * @returns {string} Hash generato per l'oggetto in questione
19
19
  */
20
- hashObject(o: any, level?: number, navigateFullDepth?: boolean): string;
20
+ hashObject(o: any, level?: number, navigateFullDepth?: boolean, precise?: boolean): string;
21
+ /**
22
+ * Hash più semplice e più veloce dell'md5, ma meno sicuro... vediamo come va
23
+ *
24
+ * @param {string} str Stringa di cui calcolare l'hash
25
+ */
26
+ private simpleHash;
27
+ /**
28
+ * Hash più semplice e più veloce dell'md5, ma meno sicuro... vediamo come va
29
+ *
30
+ * @param {string} str Stringa di cui calcolare l'hash
31
+ */
32
+ private superSimpleHash;
21
33
  /**
22
34
  * Blacklist dei tipi da ignorare quando si effettua l'hashing degli oggetti
23
35
  */
24
- private ObjectHashingBlacklist;
36
+ private objBlacklist;
25
37
  /**
26
38
  * Genera una stringa che identifica univocamente l'oggetto in questione
27
39
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/extensions",
3
- "version": "11.2.7",
3
+ "version": "11.2.11",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },