Skip to content

Commit 191197c

Browse files
chore(release): 3.0.0 [skip ci]
## [3.0.0](v2.3.10...v3.0.0) (2023-04-14) ### ⚠ BREAKING CHANGES * removed namespaces and refactored import format ### 🛠 Fixes * remove npm package lock ([a082cb9](a082cb9)) * update lockfile ([e44e27b](e44e27b)) * **ci:** update release action ([22b763e](22b763e)) ### 🚀 Features * typescript 5 migration ([debf48f](debf48f))
1 parent 22b763e commit 191197c

12 files changed

+62
-45
lines changed

Diff for: docs/CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## [3.0.0](https://github.com/SkeLLLa/node-object-hash/compare/v2.3.10...v3.0.0) (2023-04-14)
2+
3+
4+
### ⚠ BREAKING CHANGES
5+
6+
* removed namespaces and refactored import format
7+
8+
### 🛠 Fixes
9+
10+
* remove npm package lock ([a082cb9](https://github.com/SkeLLLa/node-object-hash/commit/a082cb973171e0813216365d51df148fc2791807))
11+
* update lockfile ([e44e27b](https://github.com/SkeLLLa/node-object-hash/commit/e44e27bd25cbb1b1476b76e7b732c20681acf910))
12+
* **ci:** update release action ([22b763e](https://github.com/SkeLLLa/node-object-hash/commit/22b763e107ce3039b5a458bc2131c23e8a618b9e))
13+
14+
15+
### 🚀 Features
16+
17+
* typescript 5 migration ([debf48f](https://github.com/SkeLLLa/node-object-hash/commit/debf48fc0e8d3f2746455925e0d975b39873c4e1))

Diff for: docs/api/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Node object hash
2-
31
# Node object hash
42

3+
# # Node object hash
4+
55
## Table of contents
66

77
### Modules

Diff for: docs/api/interfaces/hasher.Hashable.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / [hasher](../modules/hasher.md) / Hashable
1+
[# Node object hash](../README.md) / [hasher](../modules/hasher.md) / Hashable
22

33
# Interface: Hashable
44

@@ -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/56d25e0/src/hasher.ts#L38)
33+
[hasher.ts:38](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/hasher.ts#L38)

Diff for: docs/api/interfaces/hasher.Hasher.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / [hasher](../modules/hasher.md) / Hasher
1+
[# Node object hash](../README.md) / [hasher](../modules/hasher.md) / Hasher
22

33
# Interface: Hasher<T\>
44

@@ -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/56d25e0/src/hasher.ts#L47)
44+
[hasher.ts:47](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/hasher.ts#L53)
68+
[hasher.ts:53](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/hasher.ts#L60)
96+
[hasher.ts:60](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/hasher.ts#L60)

Diff for: docs/api/interfaces/hasher.HasherOptions.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / [hasher](../modules/hasher.md) / HasherOptions
1+
[# Node object hash](../README.md) / [hasher](../modules/hasher.md) / HasherOptions
22

33
# Interface: HasherOptions
44

@@ -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/56d25e0/src/hasher.ts#L24)
41+
[hasher.ts:24](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L170)
64+
[objectSorter.ts:170](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/hasher.ts#L29)
82+
[hasher.ts:29](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L176)
105+
[objectSorter.ts:176](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L182)
128+
[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/objectSorter.ts#L182)

Diff for: docs/api/interfaces/objectSorter.CoerceOptions.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / CoerceOptions
1+
[# Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / CoerceOptions
22

33
# Interface: CoerceOptions
44

@@ -51,7 +51,7 @@ true;
5151

5252
#### Defined in
5353

54-
[objectSorter.ts:43](https://github.com/SkeLLLa/node-object-hash/blob/56d25e0/src/objectSorter.ts#L43)
54+
[objectSorter.ts:43](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L21)
88+
[objectSorter.ts:21](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L105)
118+
[objectSorter.ts:105](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L96)
148+
[objectSorter.ts:96](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L76)
180+
[objectSorter.ts:76](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L32)
212+
[objectSorter.ts:32](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L114)
242+
[objectSorter.ts:114](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L54)
274+
[objectSorter.ts:54](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L87)
306+
[objectSorter.ts:87](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L65)
338+
[objectSorter.ts:65](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/objectSorter.ts#L65)

Diff for: docs/api/interfaces/objectSorter.SortOptions.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / SortOptions
1+
[# Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / SortOptions
22

33
# Interface: SortOptions
44

@@ -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/56d25e0/src/objectSorter.ts#L124)
30+
[objectSorter.ts:124](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L144)
42+
[objectSorter.ts:144](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L140)
54+
[objectSorter.ts:140](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L132)
66+
[objectSorter.ts:132](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L136)
78+
[objectSorter.ts:136](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L128)
90+
[objectSorter.ts:128](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/objectSorter.ts#L128)

Diff for: docs/api/interfaces/objectSorter.SorterOptions.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / SorterOptions
1+
[# Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / SorterOptions
22

33
# Interface: SorterOptions
44

@@ -37,7 +37,7 @@ true;
3737

3838
#### Defined in
3939

40-
[objectSorter.ts:170](https://github.com/SkeLLLa/node-object-hash/blob/56d25e0/src/objectSorter.ts#L170)
40+
[objectSorter.ts:170](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L176)
59+
[objectSorter.ts:176](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L182)
78+
[objectSorter.ts:182](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/objectSorter.ts#L182)

Diff for: docs/api/interfaces/objectSorter.TrimOptions.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / TrimOptions
1+
[# Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / TrimOptions
22

33
# Interface: TrimOptions
44

@@ -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/56d25e0/src/objectSorter.ts#L158)
26+
[objectSorter.ts:158](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L154)
38+
[objectSorter.ts:154](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/objectSorter.ts#L154)

Diff for: docs/api/modules/hasher.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / hasher
1+
[# Node object hash](../README.md) / hasher
22

33
# Module: hasher
44

@@ -36,4 +36,4 @@ hasher instance
3636

3737
#### Defined in
3838

39-
[hasher.ts:68](https://github.com/SkeLLLa/node-object-hash/blob/56d25e0/src/hasher.ts#L68)
39+
[hasher.ts:68](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/hasher.ts#L68)

Diff for: docs/api/modules/objectSorter.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Node object hash](../README.md) / objectSorter
1+
[# Node object hash](../README.md) / objectSorter
22

33
# Module: objectSorter
44

@@ -47,7 +47,7 @@
4747

4848
#### Defined in
4949

50-
[objectSorter.ts:185](https://github.com/SkeLLLa/node-object-hash/blob/56d25e0/src/objectSorter.ts#L185)
50+
[objectSorter.ts:185](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/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/56d25e0/src/objectSorter.ts#L192)
74+
[objectSorter.ts:192](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/objectSorter.ts#L192)

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-object-hash",
3-
"version": "2.3.10",
3+
"version": "3.0.0",
44
"description": "Node.js object hash library with properties/arrays sorting to provide constant hashes",
55
"keywords": [
66
"hash",

0 commit comments

Comments
 (0)