Skip to content

Commit ed67293

Browse files
chore(release): 3.1.1 [skip ci]
## [3.1.1](v3.1.0...v3.1.1) (2024-12-17) ### 🛠 Fixes * Objects without prototype are now properly stringified ([a6d1c08](a6d1c08))
1 parent a6d1c08 commit ed67293

11 files changed

+41
-34
lines changed

docs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [3.1.1](https://github.com/SkeLLLa/node-object-hash/compare/v3.1.0...v3.1.1) (2024-12-17)
2+
3+
4+
### 🛠 Fixes
5+
6+
* Objects without prototype are now properly stringified ([a6d1c08](https://github.com/SkeLLLa/node-object-hash/commit/a6d1c0810ef14642bba6254708820cab795f6829))
7+
18
## [3.1.0](https://github.com/SkeLLLa/node-object-hash/compare/v3.0.0...v3.1.0) (2024-12-17)
29

310

docs/api/interfaces/hasher.Hashable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ with the function toHash that return the same value will have the same hash
3030

3131
#### Defined in
3232

33-
[hasher.ts:38](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L38)
33+
[hasher.ts:38](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L38)

docs/api/interfaces/hasher.Hasher.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ hash string of an object
4141

4242
#### Defined in
4343

44-
[hasher.ts:47](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L47)
44+
[hasher.ts:47](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L47)
4545

4646
---
4747

@@ -65,7 +65,7 @@ sorted string from an object
6565

6666
#### Defined in
6767

68-
[hasher.ts:53](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L53)
68+
[hasher.ts:53](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L53)
6969

7070
---
7171

@@ -93,4 +93,4 @@ sorted string from an object
9393

9494
#### Defined in
9595

96-
[hasher.ts:60](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L60)
96+
[hasher.ts:60](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L60)

docs/api/interfaces/hasher.HasherOptions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Hash algorithm to use
3838

3939
#### Defined in
4040

41-
[hasher.ts:24](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L24)
41+
[hasher.ts:24](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L24)
4242

4343
---
4444

@@ -61,7 +61,7 @@ true;
6161

6262
#### Defined in
6363

64-
[objectSorter.ts:170](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L170)
64+
[objectSorter.ts:170](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L170)
6565

6666
---
6767

@@ -79,7 +79,7 @@ String encoding for hash
7979

8080
#### Defined in
8181

82-
[hasher.ts:29](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L29)
82+
[hasher.ts:29](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L29)
8383

8484
---
8585

@@ -102,7 +102,7 @@ true;
102102

103103
#### Defined in
104104

105-
[objectSorter.ts:176](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L176)
105+
[objectSorter.ts:176](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L176)
106106

107107
---
108108

@@ -125,4 +125,4 @@ false;
125125

126126
#### Defined in
127127

128-
[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L182)
128+
[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L182)

docs/api/interfaces/objectSorter.CoerceOptions.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ true;
5151

5252
#### Defined in
5353

54-
[objectSorter.ts:43](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L43)
54+
[objectSorter.ts:43](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L43)
5555

5656
---
5757

@@ -85,7 +85,7 @@ true;
8585

8686
#### Defined in
8787

88-
[objectSorter.ts:21](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L21)
88+
[objectSorter.ts:21](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L21)
8989

9090
---
9191

@@ -115,7 +115,7 @@ true;
115115

116116
#### Defined in
117117

118-
[objectSorter.ts:105](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L105)
118+
[objectSorter.ts:105](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L105)
119119

120120
---
121121

@@ -145,7 +145,7 @@ true;
145145

146146
#### Defined in
147147

148-
[objectSorter.ts:96](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L96)
148+
[objectSorter.ts:96](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L96)
149149

150150
---
151151

@@ -177,7 +177,7 @@ true;
177177

178178
#### Defined in
179179

180-
[objectSorter.ts:76](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L76)
180+
[objectSorter.ts:76](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L76)
181181

182182
---
183183

@@ -209,7 +209,7 @@ true;
209209

210210
#### Defined in
211211

212-
[objectSorter.ts:32](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L32)
212+
[objectSorter.ts:32](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L32)
213213

214214
---
215215

@@ -239,7 +239,7 @@ true;
239239

240240
#### Defined in
241241

242-
[objectSorter.ts:114](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L114)
242+
[objectSorter.ts:114](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L114)
243243

244244
---
245245

@@ -271,7 +271,7 @@ true;
271271

272272
#### Defined in
273273

274-
[objectSorter.ts:54](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L54)
274+
[objectSorter.ts:54](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L54)
275275

276276
---
277277

@@ -303,7 +303,7 @@ true;
303303

304304
#### Defined in
305305

306-
[objectSorter.ts:87](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L87)
306+
[objectSorter.ts:87](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L87)
307307

308308
---
309309

@@ -335,4 +335,4 @@ true;
335335

336336
#### Defined in
337337

338-
[objectSorter.ts:65](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L65)
338+
[objectSorter.ts:65](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L65)

docs/api/interfaces/objectSorter.SortOptions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If `true` sort array entries before hash
2727

2828
#### Defined in
2929

30-
[objectSorter.ts:124](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L124)
30+
[objectSorter.ts:124](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L124)
3131

3232
---
3333

@@ -39,7 +39,7 @@ If `true` sort BigInt entries before hash
3939

4040
#### Defined in
4141

42-
[objectSorter.ts:144](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L144)
42+
[objectSorter.ts:144](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L144)
4343

4444
---
4545

@@ -51,7 +51,7 @@ If `true` sort map entries before hash
5151

5252
#### Defined in
5353

54-
[objectSorter.ts:140](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L140)
54+
[objectSorter.ts:140](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L140)
5555

5656
---
5757

@@ -63,7 +63,7 @@ If `true` sort object entries before hash
6363

6464
#### Defined in
6565

66-
[objectSorter.ts:132](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L132)
66+
[objectSorter.ts:132](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L132)
6767

6868
---
6969

@@ -75,7 +75,7 @@ If `true` sort set entries before hash
7575

7676
#### Defined in
7777

78-
[objectSorter.ts:136](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L136)
78+
[objectSorter.ts:136](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L136)
7979

8080
---
8181

@@ -87,4 +87,4 @@ If `true` sort TypedArray entries before hash
8787

8888
#### Defined in
8989

90-
[objectSorter.ts:128](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L128)
90+
[objectSorter.ts:128](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L128)

docs/api/interfaces/objectSorter.SorterOptions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ true;
3737

3838
#### Defined in
3939

40-
[objectSorter.ts:170](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L170)
40+
[objectSorter.ts:170](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L170)
4141

4242
---
4343

@@ -56,7 +56,7 @@ true;
5656

5757
#### Defined in
5858

59-
[objectSorter.ts:176](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L176)
59+
[objectSorter.ts:176](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L176)
6060

6161
---
6262

@@ -75,4 +75,4 @@ false;
7575

7676
#### Defined in
7777

78-
[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L182)
78+
[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L182)

docs/api/interfaces/objectSorter.TrimOptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If `true` replaces multiple space with one and trims whitespaces in function bod
2323

2424
#### Defined in
2525

26-
[objectSorter.ts:158](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L158)
26+
[objectSorter.ts:158](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L158)
2727

2828
---
2929

@@ -35,4 +35,4 @@ If `true` replaces multiple space with one and trims whitespaces in strings
3535

3636
#### Defined in
3737

38-
[objectSorter.ts:154](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L154)
38+
[objectSorter.ts:154](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L154)

docs/api/modules/hasher.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ hasher instance
3636

3737
#### Defined in
3838

39-
[hasher.ts:68](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L68)
39+
[hasher.ts:68](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L68)

docs/api/modules/objectSorter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
#### Defined in
4949

50-
[objectSorter.ts:185](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L185)
50+
[objectSorter.ts:185](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L185)
5151

5252
## Functions
5353

@@ -71,4 +71,4 @@ function that transforms object to strings
7171

7272
#### Defined in
7373

74-
[objectSorter.ts:192](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L192)
74+
[objectSorter.ts:192](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L192)

0 commit comments

Comments
 (0)