Skip to content

Commit

Permalink
chore(release): 3.1.1 [skip ci]
Browse files Browse the repository at this point in the history
## [3.1.1](v3.1.0...v3.1.1) (2024-12-17)

### 🛠 Fixes

* Objects without prototype are now properly stringified ([a6d1c08](a6d1c08))
  • Loading branch information
semantic-release-bot committed Dec 17, 2024
1 parent a6d1c08 commit ed67293
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 34 deletions.
7 changes: 7 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [3.1.1](https://github.com/SkeLLLa/node-object-hash/compare/v3.1.0...v3.1.1) (2024-12-17)


### 🛠 Fixes

* Objects without prototype are now properly stringified ([a6d1c08](https://github.com/SkeLLLa/node-object-hash/commit/a6d1c0810ef14642bba6254708820cab795f6829))

## [3.1.0](https://github.com/SkeLLLa/node-object-hash/compare/v3.0.0...v3.1.0) (2024-12-17)


Expand Down
2 changes: 1 addition & 1 deletion docs/api/interfaces/hasher.Hashable.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ with the function toHash that return the same value will have the same hash

#### Defined in

[hasher.ts:38](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L38)
[hasher.ts:38](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L38)
6 changes: 3 additions & 3 deletions docs/api/interfaces/hasher.Hasher.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ hash string of an object

#### Defined in

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

---

Expand All @@ -65,7 +65,7 @@ sorted string from an object

#### Defined in

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

---

Expand Down Expand Up @@ -93,4 +93,4 @@ sorted string from an object

#### Defined in

[hasher.ts:60](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L60)
[hasher.ts:60](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L60)
10 changes: 5 additions & 5 deletions docs/api/interfaces/hasher.HasherOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Hash algorithm to use

#### Defined in

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

---

Expand All @@ -61,7 +61,7 @@ true;

#### Defined in

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

---

Expand All @@ -79,7 +79,7 @@ String encoding for hash

#### Defined in

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

---

Expand All @@ -102,7 +102,7 @@ true;

#### Defined in

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

---

Expand All @@ -125,4 +125,4 @@ false;

#### Defined in

[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L182)
[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L182)
20 changes: 10 additions & 10 deletions docs/api/interfaces/objectSorter.CoerceOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -85,7 +85,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -115,7 +115,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -145,7 +145,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -177,7 +177,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -209,7 +209,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -239,7 +239,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -271,7 +271,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -303,7 +303,7 @@ true;

#### Defined in

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

---

Expand Down Expand Up @@ -335,4 +335,4 @@ true;

#### Defined in

[objectSorter.ts:65](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L65)
[objectSorter.ts:65](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L65)
12 changes: 6 additions & 6 deletions docs/api/interfaces/objectSorter.SortOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If `true` sort array entries before hash

#### Defined in

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

---

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

#### Defined in

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

---

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

#### Defined in

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

---

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

#### Defined in

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

---

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

#### Defined in

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

---

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

#### Defined in

[objectSorter.ts:128](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L128)
[objectSorter.ts:128](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L128)
6 changes: 3 additions & 3 deletions docs/api/interfaces/objectSorter.SorterOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ true;

#### Defined in

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

---

Expand All @@ -56,7 +56,7 @@ true;

#### Defined in

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

---

Expand All @@ -75,4 +75,4 @@ false;

#### Defined in

[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L182)
[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L182)
4 changes: 2 additions & 2 deletions docs/api/interfaces/objectSorter.TrimOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If `true` replaces multiple space with one and trims whitespaces in function bod

#### Defined in

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

---

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

#### Defined in

[objectSorter.ts:154](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L154)
[objectSorter.ts:154](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L154)
2 changes: 1 addition & 1 deletion docs/api/modules/hasher.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ hasher instance

#### Defined in

[hasher.ts:68](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/hasher.ts#L68)
[hasher.ts:68](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/hasher.ts#L68)
4 changes: 2 additions & 2 deletions docs/api/modules/objectSorter.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

#### Defined in

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

## Functions

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

#### Defined in

[objectSorter.ts:192](https://github.com/SkeLLLa/node-object-hash/blob/89ac590/src/objectSorter.ts#L192)
[objectSorter.ts:192](https://github.com/SkeLLLa/node-object-hash/blob/a6d1c08/src/objectSorter.ts#L192)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-object-hash",
"version": "3.1.0",
"version": "3.1.1",
"description": "Node.js object hash library with properties/arrays sorting to provide constant hashes",
"keywords": [
"hash",
Expand Down

0 comments on commit ed67293

Please sign in to comment.