@naturalcycles/js-lib 14.53.0 → 14.56.1

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.
Files changed (43) hide show
  1. package/dist/error/app.error.js +7 -3
  2. package/dist/error/assert.d.ts +1 -1
  3. package/dist/error/assert.js +1 -16
  4. package/dist/error/http.error.js +0 -15
  5. package/dist/error/try.d.ts +13 -1
  6. package/dist/error/try.js +22 -2
  7. package/dist/index.d.ts +3 -2
  8. package/dist/index.js +5 -1
  9. package/dist/json-schema/from-data/generateJsonSchemaFromData.d.ts +2 -2
  10. package/dist/json-schema/jsonSchema.model.d.ts +3 -3
  11. package/dist/json-schema/jsonSchemaBuilder.d.ts +5 -5
  12. package/dist/object/object.util.d.ts +23 -23
  13. package/dist/object/sortObject.d.ts +2 -1
  14. package/dist/promise/AggregatedError.js +1 -2
  15. package/dist/promise/pTuple.d.ts +1 -1
  16. package/dist/promise/pTuple.js +1 -5
  17. package/dist/string/url.util.d.ts +15 -0
  18. package/dist/string/url.util.js +30 -0
  19. package/dist/types.d.ts +1 -1
  20. package/dist-esm/error/app.error.js +7 -3
  21. package/dist-esm/error/assert.js +1 -16
  22. package/dist-esm/error/http.error.js +0 -15
  23. package/dist-esm/error/try.js +20 -1
  24. package/dist-esm/index.js +3 -2
  25. package/dist-esm/promise/AggregatedError.js +1 -2
  26. package/dist-esm/promise/pTuple.js +1 -5
  27. package/dist-esm/string/url.util.js +26 -0
  28. package/package.json +2 -3
  29. package/src/error/app.error.ts +11 -3
  30. package/src/error/assert.ts +1 -17
  31. package/src/error/http.error.ts +0 -16
  32. package/src/error/try.ts +24 -3
  33. package/src/index.ts +4 -1
  34. package/src/json-schema/from-data/generateJsonSchemaFromData.ts +3 -2
  35. package/src/json-schema/jsonSchema.model.ts +3 -5
  36. package/src/json-schema/jsonSchemaBuilder.ts +5 -6
  37. package/src/object/object.util.ts +23 -31
  38. package/src/object/sortObject.ts +2 -2
  39. package/src/promise/AggregatedError.ts +1 -2
  40. package/src/promise/pTuple.ts +4 -8
  41. package/src/string/url.util.ts +27 -0
  42. package/src/types.ts +1 -1
  43. package/CHANGELOG.md +0 -1321
package/CHANGELOG.md DELETED
@@ -1,1321 +0,0 @@
1
- # [14.53.0](https://github.com/NaturalCycles/js-lib/compare/v14.52.0...v14.53.0) (2021-10-21)
2
-
3
-
4
- ### Features
5
-
6
- * _ms to support "days" ([6329afe](https://github.com/NaturalCycles/js-lib/commit/6329afe2a319de68e0d4362d865db88e4b26e388))
7
-
8
- # [14.52.0](https://github.com/NaturalCycles/js-lib/compare/v14.51.0...v14.52.0) (2021-10-19)
9
-
10
-
11
- ### Features
12
-
13
- * ObjectWithId, AnyObjectWithId, CreatedUpdated, CreatedUpdatedId ([d7ca213](https://github.com/NaturalCycles/js-lib/commit/d7ca2137d80ea08af55c83b5e7ce02e49e558f2c))
14
-
15
- # [14.51.0](https://github.com/NaturalCycles/js-lib/compare/v14.50.0...v14.51.0) (2021-10-18)
16
-
17
-
18
- ### Features
19
-
20
- * _randomArrayItem ([aa31b5e](https://github.com/NaturalCycles/js-lib/commit/aa31b5e88b7a77d7e4b3fe8e9776ebc3898eef43))
21
-
22
- # [14.50.0](https://github.com/NaturalCycles/js-lib/compare/v14.49.0...v14.50.0) (2021-10-18)
23
-
24
-
25
- ### Features
26
-
27
- * _filterUndefinedValues ([1bcaa03](https://github.com/NaturalCycles/js-lib/commit/1bcaa03feea4e0dd79d7aa8459747092f85b58ae))
28
-
29
- # [14.49.0](https://github.com/NaturalCycles/js-lib/compare/v14.48.0...v14.49.0) (2021-10-15)
30
-
31
-
32
- ### Features
33
-
34
- * export Saved, Unsaved types ([6ca8194](https://github.com/NaturalCycles/js-lib/commit/6ca81943328d979646f0a566b4e4f77711d7da16))
35
-
36
- # [14.48.0](https://github.com/NaturalCycles/js-lib/compare/v14.47.0...v14.48.0) (2021-10-12)
37
-
38
-
39
- ### Features
40
-
41
- * AnyObject, AnyFunction convenience type ([454e5d1](https://github.com/NaturalCycles/js-lib/commit/454e5d1562f25f9af6fce8b44a2fa67d9245963d))
42
-
43
- # [14.47.0](https://github.com/NaturalCycles/js-lib/compare/v14.46.1...v14.47.0) (2021-10-04)
44
-
45
-
46
- ### Features
47
-
48
- * JsonSchemaRootObject ([d0b0d77](https://github.com/NaturalCycles/js-lib/commit/d0b0d774cdd3d95eeeaab6296992c7b485cb8d72))
49
-
50
- ## [14.46.1](https://github.com/NaturalCycles/js-lib/compare/v14.46.0...v14.46.1) (2021-10-01)
51
-
52
-
53
- ### Bug Fixes
54
-
55
- * small correction to generateJsonSchemaFromData ([fd0c540](https://github.com/NaturalCycles/js-lib/commit/fd0c54033a00f97b524a438bffede9cfc60263fa))
56
-
57
- # [14.46.0](https://github.com/NaturalCycles/js-lib/compare/v14.45.0...v14.46.0) (2021-10-01)
58
-
59
-
60
- ### Features
61
-
62
- * generateJsonSchemaFromData (experimental) ([87a74e9](https://github.com/NaturalCycles/js-lib/commit/87a74e9f033d8bb43d3137855044c09c63751b2c))
63
-
64
- # [14.45.0](https://github.com/NaturalCycles/js-lib/compare/v14.44.0...v14.45.0) (2021-10-01)
65
-
66
-
67
- ### Features
68
-
69
- * stringifyAnyOptions.maxLen default to 10_000 (was: 1000) ([1d7750f](https://github.com/NaturalCycles/js-lib/commit/1d7750f21b7cfad40d571f8e564b76398fbe3bcf))
70
-
71
- # [14.44.0](https://github.com/NaturalCycles/js-lib/compare/v14.43.0...v14.44.0) (2021-09-22)
72
-
73
-
74
- ### Features
75
-
76
- * export `is` (experimental) ([d83861c](https://github.com/NaturalCycles/js-lib/commit/d83861c7f65956eb2b67c5f6a86d1927f1ee7d3b))
77
-
78
- # [14.43.0](https://github.com/NaturalCycles/js-lib/compare/v14.42.1...v14.43.0) (2021-09-10)
79
-
80
-
81
- ### Features
82
-
83
- * jsonSchema.buffer() ([67cd330](https://github.com/NaturalCycles/js-lib/commit/67cd330e805870f65cdc35c3974eb23347ec8692))
84
-
85
- ## [14.42.1](https://github.com/NaturalCycles/js-lib/compare/v14.42.0...v14.42.1) (2021-09-04)
86
-
87
-
88
- ### Bug Fixes
89
-
90
- * extract JsonSchemaBuilder interface ([7525659](https://github.com/NaturalCycles/js-lib/commit/7525659c66d1f2939152adc73f286027c60d50cc))
91
-
92
- # [14.42.0](https://github.com/NaturalCycles/js-lib/compare/v14.41.0...v14.42.0) (2021-09-04)
93
-
94
-
95
- ### Features
96
-
97
- * clarify jsonSchema model and builder ([1bc1a78](https://github.com/NaturalCycles/js-lib/commit/1bc1a7863f47fb99a4ba3e7ab0d03109c9ee28f2))
98
-
99
- # [14.41.0](https://github.com/NaturalCycles/js-lib/compare/v14.40.0...v14.41.0) (2021-08-30)
100
-
101
-
102
- ### Features
103
-
104
- * _sortObject ([dddc4ba](https://github.com/NaturalCycles/js-lib/commit/dddc4ba67f58a5f6c350800c207b393bf9152312))
105
- * JSON_SCHEMA_ORDER ([132f010](https://github.com/NaturalCycles/js-lib/commit/132f010308f1c4ac90fd6c35d0962a753c91787d))
106
-
107
- # [14.40.0](https://github.com/NaturalCycles/js-lib/compare/v14.39.0...v14.40.0) (2021-08-28)
108
-
109
-
110
- ### Features
111
-
112
- * jsonSchema improvements ([5f04d66](https://github.com/NaturalCycles/js-lib/commit/5f04d663e91a35479f5937ed923121b02bf13050))
113
-
114
- # [14.39.0](https://github.com/NaturalCycles/js-lib/compare/v14.38.0...v14.39.0) (2021-08-28)
115
-
116
-
117
- ### Features
118
-
119
- * _substringBetweenLast, _replaceAll, _nl2br ([10c92f0](https://github.com/NaturalCycles/js-lib/commit/10c92f00125a69e07dc5779dd09ca1275594dd66))
120
-
121
- # [14.38.0](https://github.com/NaturalCycles/js-lib/compare/v14.37.0...v14.38.0) (2021-08-27)
122
-
123
-
124
- ### Features
125
-
126
- * _anyToError, _assertIsError ([bd15a9e](https://github.com/NaturalCycles/js-lib/commit/bd15a9e7a4ca278ad698a0e19d43bfc235ed926c))
127
-
128
- # [14.37.0](https://github.com/NaturalCycles/js-lib/compare/v14.36.2...v14.37.0) (2021-08-27)
129
-
130
-
131
- ### Features
132
-
133
- * adapt errors to be `unknown`, to match ts 4.4 behavior ([008257e](https://github.com/NaturalCycles/js-lib/commit/008257e8b25f831d1e9627ca64021220ff612c67))
134
-
135
- ## [14.36.2](https://github.com/NaturalCycles/js-lib/compare/v14.36.1...v14.36.2) (2021-08-24)
136
-
137
-
138
- ### Bug Fixes
139
-
140
- * include errorData in `_anyToErrorObject` ([aac4f0c](https://github.com/NaturalCycles/js-lib/commit/aac4f0cb46a4364420c14dfbc88bcdd4bdf9d6d2))
141
-
142
- ## [14.36.1](https://github.com/NaturalCycles/js-lib/compare/v14.36.0...v14.36.1) (2021-08-24)
143
-
144
-
145
- ### Bug Fixes
146
-
147
- * _anyToErrorObject to support generic ([bc6b724](https://github.com/NaturalCycles/js-lib/commit/bc6b724bed7f592865969dfb7a5b26032be2fa43))
148
-
149
- # [14.36.0](https://github.com/NaturalCycles/js-lib/compare/v14.35.0...v14.36.0) (2021-08-24)
150
-
151
-
152
- ### Features
153
-
154
- * StringifyAnyOptions.stringifyFn ([6977a48](https://github.com/NaturalCycles/js-lib/commit/6977a4873756edba47c2e40cd16ee25d34bfd765))
155
-
156
- # [14.35.0](https://github.com/NaturalCycles/js-lib/compare/v14.34.0...v14.35.0) (2021-08-24)
157
-
158
-
159
- ### Features
160
-
161
- * clarify assert/error functions ([c81bbc9](https://github.com/NaturalCycles/js-lib/commit/c81bbc992cf8938490c38182cd0944d716bbf241))
162
-
163
- # [14.34.0](https://github.com/NaturalCycles/js-lib/compare/v14.33.1...v14.34.0) (2021-08-21)
164
-
165
-
166
- ### Features
167
-
168
- * export KeyValueTuple, ObjectMapper, ObjectPredicate types ([a4add57](https://github.com/NaturalCycles/js-lib/commit/a4add5710731148d8e2dc324e6e08d35564d2c4b))
169
-
170
- ## [14.33.1](https://github.com/NaturalCycles/js-lib/compare/v14.33.0...v14.33.1) (2021-08-15)
171
-
172
-
173
- ### Bug Fixes
174
-
175
- * _stringifyAny to use maxLen and not fail ([de4dead](https://github.com/NaturalCycles/js-lib/commit/de4dead34a25b970724247e2be6803adced2883f))
176
-
177
- # [14.33.0](https://github.com/NaturalCycles/js-lib/compare/v14.32.1...v14.33.0) (2021-08-14)
178
-
179
-
180
- ### Features
181
-
182
- * refactor JsonSchemaBuilders ([ca65ae0](https://github.com/NaturalCycles/js-lib/commit/ca65ae06e30b4909aaa171edfdcadf6ef3f1aa6d))
183
-
184
- ## [14.32.1](https://github.com/NaturalCycles/js-lib/compare/v14.32.0...v14.32.1) (2021-08-14)
185
-
186
-
187
- ### Bug Fixes
188
-
189
- * jsonSchema generics ([2ba759a](https://github.com/NaturalCycles/js-lib/commit/2ba759a0572e54153ba3e251c784a06eec6022a9))
190
-
191
- # [14.32.0](https://github.com/NaturalCycles/js-lib/compare/v14.31.0...v14.32.0) (2021-08-14)
192
-
193
-
194
- ### Features
195
-
196
- * jsonSchema interfaces and builders (experimental!) ([ad7be25](https://github.com/NaturalCycles/js-lib/commit/ad7be25430e686206369d1fea20c8b97947b1779))
197
- * types ([2264978](https://github.com/NaturalCycles/js-lib/commit/2264978fe17d6e06b3d023cb70b8e020143fd014))
198
-
199
- # [14.31.0](https://github.com/NaturalCycles/js-lib/compare/v14.30.0...v14.31.0) (2021-08-06)
200
-
201
-
202
- ### Features
203
-
204
- * MemoOptions.cacheKeyFn ([71c05fe](https://github.com/NaturalCycles/js-lib/commit/71c05fe91298f8f3fd9c6fd8e62fe4158846051b))
205
-
206
- # [14.30.0](https://github.com/NaturalCycles/js-lib/compare/v14.29.0...v14.30.0) (2021-08-05)
207
-
208
-
209
- ### Features
210
-
211
- * _last ([18bc875](https://github.com/NaturalCycles/js-lib/commit/18bc87588524b4a54b602122fda7b5fca429746c))
212
-
213
- # [14.29.0](https://github.com/NaturalCycles/js-lib/compare/v14.28.0...v14.29.0) (2021-08-01)
214
-
215
-
216
- ### Features
217
-
218
- * _try (similar to pTuple but for sync functions) ([280b438](https://github.com/NaturalCycles/js-lib/commit/280b438bcc135827dc1d0e2de5feb044c4d0d197))
219
-
220
- # [14.28.0](https://github.com/NaturalCycles/js-lib/compare/v14.27.0...v14.28.0) (2021-07-04)
221
-
222
-
223
- ### Features
224
-
225
- * _filterEmptyArrays ([fa30feb](https://github.com/NaturalCycles/js-lib/commit/fa30feb16906af058ea1ffb316b88a2a632e9347))
226
-
227
- # [14.27.0](https://github.com/NaturalCycles/js-lib/compare/v14.26.2...v14.27.0) (2021-06-02)
228
-
229
-
230
- ### Features
231
-
232
- * export Class type (from type-fest) ([b457789](https://github.com/NaturalCycles/js-lib/commit/b457789e5d8a468e7fb4c5c019ca771150e767c5))
233
-
234
- ## [14.26.2](https://github.com/NaturalCycles/js-lib/compare/v14.26.1...v14.26.2) (2021-06-02)
235
-
236
-
237
- ### Bug Fixes
238
-
239
- * clarify output type of `_findKeyByValue` and `_invert` ([691be3a](https://github.com/NaturalCycles/js-lib/commit/691be3a901bae906eab838dd99eb55d6be10aadd))
240
-
241
- ## [14.26.1](https://github.com/NaturalCycles/js-lib/compare/v14.26.0...v14.26.1) (2021-05-31)
242
-
243
-
244
- ### Bug Fixes
245
-
246
- * revert pProps types as they were ([f050787](https://github.com/NaturalCycles/js-lib/commit/f0507877c306b14208ac857c25a08b7ecc3f4067))
247
-
248
- # [14.26.0](https://github.com/NaturalCycles/js-lib/compare/v14.25.1...v14.26.0) (2021-05-31)
249
-
250
-
251
- ### Bug Fixes
252
-
253
- * revert StringMap to have `| undefined` ([3dfb689](https://github.com/NaturalCycles/js-lib/commit/3dfb6898dff971f371a535eec3a0affa2bff3165))
254
-
255
-
256
- ### Features
257
-
258
- * ConditionalPick, ConditionalExcept types ([73556dd](https://github.com/NaturalCycles/js-lib/commit/73556ddc77a69a57ea71e9d06f992d2d7eb3ddf6))
259
-
260
- ## [14.25.1](https://github.com/NaturalCycles/js-lib/compare/v14.25.0...v14.25.1) (2021-05-31)
261
-
262
-
263
- ### Bug Fixes
264
-
265
- * export type-fest types differently ([f70585d](https://github.com/NaturalCycles/js-lib/commit/f70585d33395dc562d107319f84e29de68465170))
266
-
267
- # [14.25.0](https://github.com/NaturalCycles/js-lib/compare/v14.24.1...v14.25.0) (2021-05-31)
268
-
269
-
270
- ### Bug Fixes
271
-
272
- * improve pProps typings ([9a0ba38](https://github.com/NaturalCycles/js-lib/commit/9a0ba384ba36ba2ea93496f767a8e06178ef19f5))
273
-
274
-
275
- ### Features
276
-
277
- * deprecate _stringMap{Values,Entries} ([6b81fc2](https://github.com/NaturalCycles/js-lib/commit/6b81fc2d547940d09a1cf9d82ceacd6e1abd6813))
278
- * include selected types from `type-fest` ([b57403b](https://github.com/NaturalCycles/js-lib/commit/b57403b125fbe34b1fdefcdad0ad6fc7068926ef))
279
- * revert StringMap to not have undefined values ([a0624b0](https://github.com/NaturalCycles/js-lib/commit/a0624b08812e91517ac2746e04d35cce00a0efd9))
280
-
281
- ## [14.24.1](https://github.com/NaturalCycles/js-lib/compare/v14.24.0...v14.24.1) (2021-05-27)
282
-
283
-
284
- ### Bug Fixes
285
-
286
- * remove _times as too similar to _range ([f2596c6](https://github.com/NaturalCycles/js-lib/commit/f2596c6cdcdf26306ca872003a9f97ded6aa3915))
287
-
288
- # [14.24.0](https://github.com/NaturalCycles/js-lib/compare/v14.23.0...v14.24.0) (2021-05-26)
289
-
290
-
291
- ### Features
292
-
293
- * _times, _findKeyByValue (replaces _getKeyByValue) ([8cd5d44](https://github.com/NaturalCycles/js-lib/commit/8cd5d442b231dc19204f6a9d16b89f13bdda8c1a))
294
-
295
- # [14.23.0](https://github.com/NaturalCycles/js-lib/compare/v14.22.1...v14.23.0) (2021-05-26)
296
-
297
-
298
- ### Features
299
-
300
- * _sum, _sumBy, _clamp (exactly as per Lodash) ([f25950d](https://github.com/NaturalCycles/js-lib/commit/f25950d02d5950fcbb7d19d99d5a4d1f4a77dd71))
301
-
302
- ## [14.22.1](https://github.com/NaturalCycles/js-lib/compare/v14.22.0...v14.22.1) (2021-05-21)
303
-
304
-
305
- ### Bug Fixes
306
-
307
- * adopt eslint ([008352c](https://github.com/NaturalCycles/js-lib/commit/008352c2f386239fc1c0135e9e3e039918c4eb85))
308
-
309
- # [14.22.0](https://github.com/NaturalCycles/js-lib/compare/v14.21.1...v14.22.0) (2021-05-01)
310
-
311
-
312
- ### Features
313
-
314
- * _shuffle ([57c9f4f](https://github.com/NaturalCycles/js-lib/commit/57c9f4f160c818dff76ff8d70e719951133b8f85))
315
-
316
- ## [14.21.1](https://github.com/NaturalCycles/js-lib/compare/v14.21.0...v14.21.1) (2021-04-06)
317
-
318
-
319
- ### Bug Fixes
320
-
321
- * node>=14.15.0 in package.json (not 14.16+) ([12930a6](https://github.com/NaturalCycles/js-lib/commit/12930a679b8d3461cf2a0fb889f4b5703904dc6c))
322
-
323
- # [14.21.0](https://github.com/NaturalCycles/js-lib/compare/v14.20.0...v14.21.0) (2021-04-05)
324
-
325
-
326
- ### Features
327
-
328
- * allow _tryCatch onError to return a value ([e670019](https://github.com/NaturalCycles/js-lib/commit/e670019dc70d0e8cd187f81d4da4fb78283aff88))
329
-
330
- # [14.20.0](https://github.com/NaturalCycles/js-lib/compare/v14.19.0...v14.20.0) (2021-04-04)
331
-
332
-
333
- ### Features
334
-
335
- * _camelCase, _snakeCase, _kebabCase ([ba4d5ce](https://github.com/NaturalCycles/js-lib/commit/ba4d5ce20351facc67d79da84b262537206a4fc5))
336
-
337
- # [14.19.0](https://github.com/NaturalCycles/js-lib/compare/v14.18.2...v14.19.0) (2021-04-04)
338
-
339
-
340
- ### Features
341
-
342
- * make tslib a dependency (not peer) ([06f30ac](https://github.com/NaturalCycles/js-lib/commit/06f30ac8c391182ba49becdd27450bdd9d2c2269))
343
-
344
- ## [14.18.2](https://github.com/NaturalCycles/js-lib/compare/v14.18.1...v14.18.2) (2021-04-01)
345
-
346
-
347
- ### Bug Fixes
348
-
349
- * pRetry off-by-1 error with maxAttempts ([8a2245b](https://github.com/NaturalCycles/js-lib/commit/8a2245bcf07e9b1678c3e32a8adc155bcecabad0))
350
-
351
- ## [14.18.1](https://github.com/NaturalCycles/js-lib/compare/v14.18.0...v14.18.1) (2021-04-01)
352
-
353
-
354
- ### Bug Fixes
355
-
356
- * correct _createPromiseDecorator nullability in types ([6964cae](https://github.com/NaturalCycles/js-lib/commit/6964cae47f82bdf91a078235e974ceeb9c251d10))
357
-
358
- # [14.18.0](https://github.com/NaturalCycles/js-lib/compare/v14.17.0...v14.18.0) (2021-04-01)
359
-
360
-
361
- ### Features
362
-
363
- * _createPromiseDecorator to support PARAMS generic ([be297dd](https://github.com/NaturalCycles/js-lib/commit/be297ddf82dc86858de2f33eb8a970dbf492167c))
364
-
365
- # [14.17.0](https://github.com/NaturalCycles/js-lib/compare/v14.16.0...v14.17.0) (2021-03-26)
366
-
367
-
368
- ### Features
369
-
370
- * change commit message to trigger CI ([b664f89](https://github.com/NaturalCycles/js-lib/commit/b664f89a5fea8056963bbdacf4ef117eb9597de3))
371
-
372
- # [14.16.0](https://github.com/NaturalCycles/js-lib/compare/v14.15.0...v14.16.0) (2021-03-19)
373
-
374
-
375
- ### Features
376
-
377
- * add pTo promise wrapper ([bd98401](https://github.com/NaturalCycles/js-lib/commit/bd98401b7bb53c92e0d29ec7bdbe4e4895ed9fd8))
378
- * export pTo on index ([bee94c1](https://github.com/NaturalCycles/js-lib/commit/bee94c148523fb24a405bfadfcd16d372d9a9fe8))
379
-
380
- # [14.15.0](https://github.com/NaturalCycles/js-lib/compare/v14.14.0...v14.15.0) (2021-02-26)
381
-
382
-
383
- ### Features
384
-
385
- * pTimeout, @_Timeout ([87f0e27](https://github.com/NaturalCycles/js-lib/commit/87f0e27ae84d3ad8935be48eea9944e203a49790))
386
-
387
- # [14.14.0](https://github.com/NaturalCycles/js-lib/compare/v14.13.1...v14.14.0) (2021-02-23)
388
-
389
-
390
- ### Features
391
-
392
- * pRetry to have better default options ([3118ea7](https://github.com/NaturalCycles/js-lib/commit/3118ea726a9dcc6d24bde6c5d75c763d067c12ef))
393
-
394
- ## [14.13.1](https://github.com/NaturalCycles/js-lib/compare/v14.13.0...v14.13.1) (2021-02-23)
395
-
396
-
397
- ### Bug Fixes
398
-
399
- * pRetry predicate to have Error type, docs ([afb9a0d](https://github.com/NaturalCycles/js-lib/commit/afb9a0dbaa0f360295b0ee5b33f48eca758ee3fe))
400
-
401
- # [14.13.0](https://github.com/NaturalCycles/js-lib/compare/v14.12.0...v14.13.0) (2021-01-19)
402
-
403
-
404
- ### Features
405
-
406
- * _createDeterministicRandom() ([c9c6d57](https://github.com/NaturalCycles/js-lib/commit/c9c6d57c2c8f4cd0715710c406b904eeb0994a78))
407
-
408
- # [14.12.0](https://github.com/NaturalCycles/js-lib/compare/v14.11.1...v14.12.0) (2020-11-30)
409
-
410
-
411
- ### Features
412
-
413
- * ErrorData.originalMessage?: string ([49125f9](https://github.com/NaturalCycles/js-lib/commit/49125f9832eb752813e87e32db5edae5a1cee53a))
414
-
415
- ## [14.11.1](https://github.com/NaturalCycles/js-lib/compare/v14.11.0...v14.11.1) (2020-11-27)
416
-
417
-
418
- ### Bug Fixes
419
-
420
- * adopt isolatedModules=true ([119669e](https://github.com/NaturalCycles/js-lib/commit/119669edfe4c4b0053eb7bfb1eb73d7db40a090f))
421
-
422
- # [14.11.0](https://github.com/NaturalCycles/js-lib/compare/v14.10.2...v14.11.0) (2020-11-25)
423
-
424
-
425
- ### Features
426
-
427
- * bump es target es2017>es2019 for node an es2015>es2017 for browsers (esm) ([ec35823](https://github.com/NaturalCycles/js-lib/commit/ec35823e0de2191fdeab83b3eedebe1d31aecfbf))
428
-
429
- ## [14.10.2](https://github.com/NaturalCycles/js-lib/compare/v14.10.1...v14.10.2) (2020-11-22)
430
-
431
-
432
- ### Bug Fixes
433
-
434
- * testing function overloads (on _range right now) ([1a54106](https://github.com/NaturalCycles/js-lib/commit/1a541063215ffc51841b127d473c239ac444eb82))
435
-
436
- ## [14.10.1](https://github.com/NaturalCycles/js-lib/compare/v14.10.0...v14.10.1) (2020-11-19)
437
-
438
-
439
- ### Bug Fixes
440
-
441
- * typescript@4.1, noUncheckedIndexedAccess=true ([f8e074c](https://github.com/NaturalCycles/js-lib/commit/f8e074ce397ba825a3f0ab5965596313773f7716))
442
-
443
- # [14.10.0](https://github.com/NaturalCycles/js-lib/compare/v14.9.1...v14.10.0) (2020-11-13)
444
-
445
-
446
- ### Features
447
-
448
- * _mapToObject ([bc20b68](https://github.com/NaturalCycles/js-lib/commit/bc20b68f424d27462362b4b02bb4006fe9502263))
449
-
450
- ## [14.9.1](https://github.com/NaturalCycles/js-lib/compare/v14.9.0...v14.9.1) (2020-11-13)
451
-
452
-
453
- ### Bug Fixes
454
-
455
- * bug in _percentile ([f27f118](https://github.com/NaturalCycles/js-lib/commit/f27f118495760f18155281b042d07b7eef5f796c))
456
-
457
- # [14.9.0](https://github.com/NaturalCycles/js-lib/compare/v14.8.0...v14.9.0) (2020-11-13)
458
-
459
-
460
- ### Features
461
-
462
- * _toFixed, _toPrecision, _round ([b8bf81b](https://github.com/NaturalCycles/js-lib/commit/b8bf81bf29499e72a4bed885943787afb0b8cd0f))
463
-
464
- # [14.8.0](https://github.com/NaturalCycles/js-lib/compare/v14.7.0...v14.8.0) (2020-11-05)
465
-
466
-
467
- ### Features
468
-
469
- * _sortNumbers, _median, _percentile ([bb5e8f7](https://github.com/NaturalCycles/js-lib/commit/bb5e8f73e3770b24fad390a040840dbcea07ba68))
470
-
471
- # [14.7.0](https://github.com/NaturalCycles/js-lib/compare/v14.6.1...v14.7.0) (2020-11-02)
472
-
473
-
474
- ### Features
475
-
476
- * _average, _averageWeighted ([5fbc827](https://github.com/NaturalCycles/js-lib/commit/5fbc8279272b750885d7134181d361400e7c2e19))
477
-
478
- ## [14.6.1](https://github.com/NaturalCycles/js-lib/compare/v14.6.0...v14.6.1) (2020-10-26)
479
-
480
-
481
- ### Bug Fixes
482
-
483
- * _assert errorData as Partial<HttpErrorData> ([37b1e00](https://github.com/NaturalCycles/js-lib/commit/37b1e000e8cfde96911f5e9c7ea2ffae11f898a4))
484
-
485
- # [14.6.0](https://github.com/NaturalCycles/js-lib/compare/v14.5.5...v14.6.0) (2020-10-24)
486
-
487
-
488
- ### Features
489
-
490
- * _createPromiseDecorator (experimental) ([98dff3f](https://github.com/NaturalCycles/js-lib/commit/98dff3fc7a54721a27d6956db2a89f6390fadb89))
491
- * _stringifyAny now handles "Error with code" ([12652e0](https://github.com/NaturalCycles/js-lib/commit/12652e0454caec30f3a56afcf51e4c566a1fd69c))
492
-
493
- ## [14.5.5](https://github.com/NaturalCycles/js-lib/compare/v14.5.4...v14.5.5) (2020-10-22)
494
-
495
-
496
- ### Bug Fixes
497
-
498
- * define the "exports" field as conditional ([acc34c8](https://github.com/NaturalCycles/js-lib/commit/acc34c84f2313f1ca6c6ec2d009ab7d37e170ec9))
499
-
500
- ## [14.5.4](https://github.com/NaturalCycles/js-lib/compare/v14.5.3...v14.5.4) (2020-10-22)
501
-
502
-
503
- ### Bug Fixes
504
-
505
- * revert exports field ([42d07ee](https://github.com/NaturalCycles/js-lib/commit/42d07eee330322750a5f975fd865baa084a0494d))
506
-
507
- ## [14.5.3](https://github.com/NaturalCycles/js-lib/compare/v14.5.2...v14.5.3) (2020-10-22)
508
-
509
-
510
- ### Bug Fixes
511
-
512
- * experimental package.json "exports" field for ESM ([fb67d98](https://github.com/NaturalCycles/js-lib/commit/fb67d9849762e361e11f2b5c93160777efa495a3))
513
-
514
- ## [14.5.2](https://github.com/NaturalCycles/js-lib/compare/v14.5.1...v14.5.2) (2020-10-19)
515
-
516
-
517
- ### Bug Fixes
518
-
519
- * _assert* now allow httpStatusCode (HttpErrorData instead of ErrorData) ([03a0658](https://github.com/NaturalCycles/js-lib/commit/03a065824c3bcdeab5a41eb855178d44b9c0d1f5))
520
-
521
- ## [14.5.1](https://github.com/NaturalCycles/js-lib/compare/v14.5.0...v14.5.1) (2020-10-18)
522
-
523
-
524
- ### Bug Fixes
525
-
526
- * export Mapper, Predicate ([85f6bd6](https://github.com/NaturalCycles/js-lib/commit/85f6bd637d5c2f749869bfc2ff05c9b232b53b25))
527
-
528
- # [14.5.0](https://github.com/NaturalCycles/js-lib/compare/v14.4.0...v14.5.0) (2020-10-16)
529
-
530
-
531
- ### Features
532
-
533
- * _assertEquals, _assertDeepEquals ([33b338c](https://github.com/NaturalCycles/js-lib/commit/33b338cda1491d68ba6654fb2a08f55696bb6536))
534
-
535
- # [14.4.0](https://github.com/NaturalCycles/js-lib/compare/v14.3.2...v14.4.0) (2020-10-15)
536
-
537
-
538
- ### Features
539
-
540
- * _assert ([0ec4d0c](https://github.com/NaturalCycles/js-lib/commit/0ec4d0c4bfbc82683cf721ba02c5bce87cdd103a))
541
-
542
- ## [14.3.2](https://github.com/NaturalCycles/js-lib/compare/v14.3.1...v14.3.2) (2020-10-13)
543
-
544
-
545
- ### Bug Fixes
546
-
547
- * revert recent rename ([9ab6976](https://github.com/NaturalCycles/js-lib/commit/9ab697656258b8868a26c7320433f772c5cf4bed))
548
-
549
- ## [14.3.1](https://github.com/NaturalCycles/js-lib/compare/v14.3.0...v14.3.1) (2020-10-12)
550
-
551
-
552
- ### Bug Fixes
553
-
554
- * rename to _filterFalsy, _filterNullish, _filterEmpty ([8a44ccf](https://github.com/NaturalCycles/js-lib/commit/8a44ccfb79dad2a6ebb5cb2d90aa833bd3414452))
555
-
556
- # [14.3.0](https://github.com/NaturalCycles/js-lib/compare/v14.2.0...v14.3.0) (2020-09-21)
557
-
558
-
559
- ### Features
560
-
561
- * Reviver type ([f6d4af9](https://github.com/NaturalCycles/js-lib/commit/f6d4af90561aa103960452d001eb337aa5fd2687))
562
-
563
- # [14.2.0](https://github.com/NaturalCycles/js-lib/compare/v14.1.0...v14.2.0) (2020-08-24)
564
-
565
-
566
- ### Features
567
-
568
- * _isEmpty, _undefinedIfEmpty, _filterEmptyValues ([09b4fd9](https://github.com/NaturalCycles/js-lib/commit/09b4fd93b07dc468da32a878fe8335f41c31e160))
569
-
570
- # [14.1.0](https://github.com/NaturalCycles/js-lib/compare/v14.0.0...v14.1.0) (2020-08-19)
571
-
572
-
573
- ### Features
574
-
575
- * _groupBy ([d3e6371](https://github.com/NaturalCycles/js-lib/commit/d3e637142afb9bbf633c20983884e28d63e4f765))
576
-
577
- # [14.0.0](https://github.com/NaturalCycles/js-lib/compare/v13.3.0...v14.0.0) (2020-08-17)
578
-
579
-
580
- ### Features
581
-
582
- * _findLast, _takeWhile, _takeRightWhile, _dropWhile, _dropRightWhile, _countBy ([119a667](https://github.com/NaturalCycles/js-lib/commit/119a667664709d1d22b556c4c3e6f8ccb7a65a9c))
583
-
584
-
585
- ### BREAKING CHANGES
586
-
587
- * ^^^
588
-
589
- # [13.3.0](https://github.com/NaturalCycles/js-lib/compare/v13.2.1...v13.3.0) (2020-08-10)
590
-
591
-
592
- ### Features
593
-
594
- * _range to support 1-arg and 3-arg usage, aligned with lodash ([a16aefb](https://github.com/NaturalCycles/js-lib/commit/a16aefb5207b9f52d938810bc76809c3aa0acce9))
595
-
596
- ## [13.2.1](https://github.com/NaturalCycles/js-lib/compare/v13.2.0...v13.2.1) (2020-07-07)
597
-
598
-
599
- ### Bug Fixes
600
-
601
- * use StringMap instead of Record by default ([94b2750](https://github.com/NaturalCycles/js-lib/commit/94b27505f6c4ea9181ebf9cf77f677aedd417007))
602
-
603
- # [13.2.0](https://github.com/NaturalCycles/js-lib/compare/v13.1.5...v13.2.0) (2020-06-05)
604
-
605
-
606
- ### Features
607
-
608
- * _stringMapValues, _stringMapEntries ([8b880dc](https://github.com/NaturalCycles/js-lib/commit/8b880dc573d253f01832c8f8f479d39b05c57aed))
609
-
610
- ## [13.1.5](https://github.com/NaturalCycles/js-lib/compare/v13.1.4...v13.1.5) (2020-05-18)
611
-
612
-
613
- ### Bug Fixes
614
-
615
- * can't redefine non-configurable property "stack" in FF ([64734a1](https://github.com/NaturalCycles/js-lib/commit/64734a1496d1532064a6a16883c3049f27a27c93))
616
-
617
- ## [13.1.4](https://github.com/NaturalCycles/js-lib/compare/v13.1.3...v13.1.4) (2020-05-13)
618
-
619
-
620
- ### Bug Fixes
621
-
622
- * _jsonParseIfPossble reviver support ([5d4fa16](https://github.com/NaturalCycles/js-lib/commit/5d4fa168da7c317f25d67522124caa506ab036a0))
623
-
624
- ## [13.1.3](https://github.com/NaturalCycles/js-lib/compare/v13.1.2...v13.1.3) (2020-05-13)
625
-
626
-
627
- ### Bug Fixes
628
-
629
- * tslib as peerDependency ([ba2516f](https://github.com/NaturalCycles/js-lib/commit/ba2516fbf5dcb04b7c16acec68f3d674a13b7dab))
630
-
631
- ## [13.1.2](https://github.com/NaturalCycles/js-lib/compare/v13.1.1...v13.1.2) (2020-05-11)
632
-
633
-
634
- ### Bug Fixes
635
-
636
- * use the fruits of previous ts types improvement ([8344903](https://github.com/NaturalCycles/js-lib/commit/8344903aff6f33f4ff945a437644cb2b82015c86))
637
-
638
- ## [13.1.1](https://github.com/NaturalCycles/js-lib/compare/v13.1.0...v13.1.1) (2020-05-11)
639
-
640
-
641
- ### Bug Fixes
642
-
643
- * cool&modern ts types ([941f432](https://github.com/NaturalCycles/js-lib/commit/941f4326163ca2fe65d5502877031961a1f69a0d))
644
-
645
- # [13.1.0](https://github.com/NaturalCycles/js-lib/compare/v13.0.0...v13.1.0) (2020-04-28)
646
-
647
-
648
- ### Features
649
-
650
- * _intersection, _difference ([6bb2495](https://github.com/NaturalCycles/js-lib/commit/6bb24959af6eab951e54d33e33ee2de641be10d8))
651
-
652
- # [13.0.0](https://github.com/NaturalCycles/js-lib/compare/v12.0.1...v13.0.0) (2020-04-22)
653
-
654
-
655
- ### Features
656
-
657
- * StringMap values are now "nullable" ([ead49f0](https://github.com/NaturalCycles/js-lib/commit/ead49f010712b6eb634082c99bdd8fe2f28c26f1))
658
-
659
-
660
- ### BREAKING CHANGES
661
-
662
- * ^^^
663
-
664
- ## [12.0.1](https://github.com/NaturalCycles/js-lib/compare/v12.0.0...v12.0.1) (2020-04-19)
665
-
666
-
667
- ### Bug Fixes
668
-
669
- * clarify and export _isObject, also _isPrimitive ([d9d71ef](https://github.com/NaturalCycles/js-lib/commit/d9d71ef2807948ce4757a6d48ec97b3c77ba4f7c))
670
-
671
- # [12.0.0](https://github.com/NaturalCycles/js-lib/compare/v11.1.0...v12.0.0) (2020-04-19)
672
-
673
-
674
- ### Code Refactoring
675
-
676
- * unify _ naming convention, bootstrap docs ([f3e61eb](https://github.com/NaturalCycles/js-lib/commit/f3e61eb49c46a173bd2a45a394e2634e63e66dd2))
677
-
678
-
679
- ### BREAKING CHANGES
680
-
681
- * many function names changed to include _ prefix. Decorators are now also _ prefixed, and PascalCased.
682
-
683
- A couple of functions are made redundant and removed.
684
-
685
- # [11.1.0](https://github.com/NaturalCycles/js-lib/compare/v11.0.0...v11.1.0) (2020-04-13)
686
-
687
-
688
- ### Features
689
-
690
- * kb, mb, gb, hb (moved here from nodejs-lib) ([aeddc0c](https://github.com/NaturalCycles/js-lib/commit/aeddc0ce734ab9d9bd685bf01d5e3dbc105142f2))
691
-
692
- # [11.0.0](https://github.com/NaturalCycles/js-lib/compare/v10.4.0...v11.0.0) (2020-04-13)
693
-
694
-
695
- ### Features
696
-
697
- * loadScript moved away to frontend-lib ([a96ef0e](https://github.com/NaturalCycles/js-lib/commit/a96ef0e594339b7f5b04e22c9689328d0bd089a1))
698
-
699
-
700
- ### BREAKING CHANGES
701
-
702
- * ^^^
703
-
704
- # [10.4.0](https://github.com/NaturalCycles/js-lib/compare/v10.3.0...v10.4.0) (2020-04-13)
705
-
706
-
707
- ### Features
708
-
709
- * ms, since (moved here from time-lib) ([11dfd45](https://github.com/NaturalCycles/js-lib/commit/11dfd45b41e87814504e2777115e1c0c57d8cf32))
710
-
711
- # [10.3.0](https://github.com/NaturalCycles/js-lib/compare/v10.2.1...v10.3.0) (2020-04-13)
712
-
713
-
714
- ### Features
715
-
716
- * stringifyAny ([883edc7](https://github.com/NaturalCycles/js-lib/commit/883edc702f6e776c30f22552707b858298c8de30))
717
-
718
- ## [10.2.1](https://github.com/NaturalCycles/js-lib/compare/v10.2.0...v10.2.1) (2020-04-11)
719
-
720
-
721
- ### Bug Fixes
722
-
723
- * _pick and _omit REQUIRE props now ([8513bad](https://github.com/NaturalCycles/js-lib/commit/8513bad8eb3a6016426396026d7e0c2acc2233b8))
724
-
725
- # [10.2.0](https://github.com/NaturalCycles/js-lib/compare/v10.1.0...v10.2.0) (2020-03-31)
726
-
727
-
728
- ### Features
729
-
730
- * jsonParseIfPossible, isErrorObject & friends ([30f91d6](https://github.com/NaturalCycles/js-lib/commit/30f91d6de4f56fd5018f51f9b75f5b2454d7cfea))
731
-
732
- # [10.1.0](https://github.com/NaturalCycles/js-lib/compare/v10.0.0...v10.1.0) (2020-03-18)
733
-
734
-
735
- ### Features
736
-
737
- * _truncateMiddle ([47fbb5e](https://github.com/NaturalCycles/js-lib/commit/47fbb5e7cae8641d332b36aa4a491dcde4c43975))
738
-
739
- # [10.0.0](https://github.com/NaturalCycles/js-lib/compare/v9.0.1...v10.0.0) (2020-03-16)
740
-
741
-
742
- ### Features
743
-
744
- * transpile cjs to es2017 (keeping esm as es2015) ([3807aed](https://github.com/NaturalCycles/js-lib/commit/3807aed4ad265a1bc535fc1bff5c3ceec0c35ebe))
745
-
746
-
747
- ### BREAKING CHANGES
748
-
749
- * ^^^
750
-
751
- ## [9.0.1](https://github.com/NaturalCycles/js-lib/compare/v9.0.0...v9.0.1) (2020-03-01)
752
-
753
-
754
- ### Bug Fixes
755
-
756
- * allow DeferredPromise to resolve without value (with undefined) ([384ce54](https://github.com/NaturalCycles/js-lib/commit/384ce5459396a14d5023842e1bb392f2b82b1b9a))
757
-
758
- # [9.0.0](https://github.com/NaturalCycles/js-lib/compare/v8.13.1...v9.0.0) (2020-03-01)
759
-
760
-
761
- ### Features
762
-
763
- * merge pDefer and pDeferredPromise as pDefer ([f62ce02](https://github.com/NaturalCycles/js-lib/commit/f62ce02b6d4209c1c4dfaac91968f9330625bb3b))
764
-
765
-
766
- ### BREAKING CHANGES
767
-
768
- * ^^^
769
-
770
- ## [8.13.1](https://github.com/NaturalCycles/js-lib/compare/v8.13.0...v8.13.1) (2020-02-13)
771
-
772
-
773
- ### Bug Fixes
774
-
775
- * Deferred.resolve interface ([a152654](https://github.com/NaturalCycles/js-lib/commit/a152654d665bae348f1fb1038fd55b0c51f7adf4))
776
-
777
- # [8.13.0](https://github.com/NaturalCycles/js-lib/compare/v8.12.0...v8.13.0) (2020-01-14)
778
-
779
-
780
- ### Features
781
-
782
- * pDeferredPromise ([046b430](https://github.com/NaturalCycles/js-lib/commit/046b430216837b1712e680b1773372c0a73f25f4))
783
-
784
- # [8.12.0](https://github.com/NaturalCycles/js-lib/compare/v8.11.0...v8.12.0) (2019-12-05)
785
-
786
-
787
- ### Bug Fixes
788
-
789
- * _pick and _omit now return same object type ([9cb4638](https://github.com/NaturalCycles/js-lib/commit/9cb4638dd4e43e0a3b7d337d482c32650e8599af))
790
-
791
-
792
- ### Features
793
-
794
- * substringBefore/BeforeLast/After/AfterLast ([fb408d6](https://github.com/NaturalCycles/js-lib/commit/fb408d6c8795b1c6f92a76019cad419281777152))
795
-
796
- # [8.11.0](https://github.com/NaturalCycles/js-lib/compare/v8.10.0...v8.11.0) (2019-11-03)
797
-
798
-
799
- ### Features
800
-
801
- * passNothingPredicate, passUndefinedMapper ([5a66d02](https://github.com/NaturalCycles/js-lib/commit/5a66d02620273cb365ec6b522399ad86073fa6e8))
802
-
803
- # [8.10.0](https://github.com/NaturalCycles/js-lib/compare/v8.9.0...v8.10.0) (2019-11-03)
804
-
805
-
806
- ### Features
807
-
808
- * passthroughMapper, passthroughPredicate ([191e9d4](https://github.com/NaturalCycles/js-lib/commit/191e9d493a599c4b9174f30e933cf0b04b32acce))
809
-
810
- # [8.9.0](https://github.com/NaturalCycles/js-lib/compare/v8.8.1...v8.9.0) (2019-11-02)
811
-
812
-
813
- ### Features
814
-
815
- * Mapper, Predicate, ErrorMode, BatchResult ([9aeced4](https://github.com/NaturalCycles/js-lib/commit/9aeced495f0f6303025f8a9a0302a161bc32d772))
816
-
817
- ## [8.8.1](https://github.com/NaturalCycles/js-lib/compare/v8.8.0...v8.8.1) (2019-10-30)
818
-
819
-
820
- ### Bug Fixes
821
-
822
- * export Deferred ([01bdd03](https://github.com/NaturalCycles/js-lib/commit/01bdd0333d3aacb452304d7768ace1aac8142c4a))
823
-
824
- # [8.8.0](https://github.com/NaturalCycles/js-lib/compare/v8.7.1...v8.8.0) (2019-10-19)
825
-
826
-
827
- ### Features
828
-
829
- * pMap skipErrors option ([4121a4c](https://github.com/NaturalCycles/js-lib/commit/4121a4c))
830
-
831
- ## [8.7.1](https://github.com/NaturalCycles/js-lib/compare/v8.7.0...v8.7.1) (2019-09-20)
832
-
833
-
834
- ### Bug Fixes
835
-
836
- * deps, lint-all ([505af1a](https://github.com/NaturalCycles/js-lib/commit/505af1a))
837
-
838
- # [8.7.0](https://github.com/NaturalCycles/js-lib/compare/v8.6.1...v8.7.0) (2019-08-27)
839
-
840
-
841
- ### Features
842
-
843
- * _truncate ([bf0ccbf](https://github.com/NaturalCycles/js-lib/commit/bf0ccbf))
844
-
845
- ## [8.6.1](https://github.com/NaturalCycles/js-lib/compare/v8.6.0...v8.6.1) (2019-08-21)
846
-
847
-
848
- ### Bug Fixes
849
-
850
- * decorators as fn declarations, to support angular AOT ([dcfc085](https://github.com/NaturalCycles/js-lib/commit/dcfc085))
851
-
852
- # [8.6.0](https://github.com/NaturalCycles/js-lib/compare/v8.5.1...v8.6.0) (2019-08-20)
853
-
854
-
855
- ### Features
856
-
857
- * _sortBy ([7e94c27](https://github.com/NaturalCycles/js-lib/commit/7e94c27))
858
-
859
- ## [8.5.1](https://github.com/NaturalCycles/js-lib/compare/v8.5.0...v8.5.1) (2019-08-20)
860
-
861
-
862
- ### Bug Fixes
863
-
864
- * typings ([bdb00a4](https://github.com/NaturalCycles/js-lib/commit/bdb00a4))
865
-
866
- # [8.5.0](https://github.com/NaturalCycles/js-lib/compare/v8.4.0...v8.5.0) (2019-08-20)
867
-
868
-
869
- ### Features
870
-
871
- * _mapKeys, _mapValues, _mapObject, by(obj, predicate) ([db72c99](https://github.com/NaturalCycles/js-lib/commit/db72c99))
872
-
873
- # [8.4.0](https://github.com/NaturalCycles/js-lib/compare/v8.3.0...v8.4.0) (2019-08-18)
874
-
875
-
876
- ### Features
877
-
878
- * _debounce, _throttle based on lodash ([1ff92ff](https://github.com/NaturalCycles/js-lib/commit/1ff92ff))
879
- * @Debounce, @Throttle decorators ([31ad9f5](https://github.com/NaturalCycles/js-lib/commit/31ad9f5))
880
- * merge promise-lib functions into js-lib ([a32a8ba](https://github.com/NaturalCycles/js-lib/commit/a32a8ba))
881
- * pRetry, @Retry, _tryCatch, @TryCatch ([7eb9b2d](https://github.com/NaturalCycles/js-lib/commit/7eb9b2d))
882
-
883
- # [8.3.0](https://github.com/NaturalCycles/js-lib/compare/v8.2.1...v8.3.0) (2019-08-01)
884
-
885
-
886
- ### Features
887
-
888
- * proper/faster deepEquals implementation ([0412d7f](https://github.com/NaturalCycles/js-lib/commit/0412d7f))
889
-
890
- ## [8.2.1](https://github.com/NaturalCycles/js-lib/compare/v8.2.0...v8.2.1) (2019-07-18)
891
-
892
-
893
- ### Bug Fixes
894
-
895
- * export MemoizedFunction ([2e894b0](https://github.com/NaturalCycles/js-lib/commit/2e894b0))
896
-
897
- # [8.2.0](https://github.com/NaturalCycles/js-lib/compare/v8.1.0...v8.2.0) (2019-07-18)
898
-
899
-
900
- ### Features
901
-
902
- * memoFn ([65156f3](https://github.com/NaturalCycles/js-lib/commit/65156f3))
903
-
904
- # [8.1.0](https://github.com/NaturalCycles/js-lib/compare/v8.0.1...v8.1.0) (2019-07-16)
905
-
906
-
907
- ### Features
908
-
909
- * _merge with multiple sources ([e109b4f](https://github.com/NaturalCycles/js-lib/commit/e109b4f))
910
-
911
- ## [8.0.1](https://github.com/NaturalCycles/js-lib/compare/v8.0.0...v8.0.1) (2019-07-16)
912
-
913
-
914
- ### Bug Fixes
915
-
916
- * pick > _pick, omit > _omit ([878ab14](https://github.com/NaturalCycles/js-lib/commit/878ab14))
917
-
918
- # [8.0.0](https://github.com/NaturalCycles/js-lib/compare/v7.2.0...v8.0.0) (2019-07-16)
919
-
920
-
921
- ### Code Refactoring
922
-
923
- * align funciton names with lodash ([cddefe4](https://github.com/NaturalCycles/js-lib/commit/cddefe4))
924
-
925
-
926
- ### BREAKING CHANGES
927
-
928
- * renamed functions:
929
- invertObject > _invert
930
- mergeDeep > _merge
931
- unsetValue > _unset
932
- capitalizeFirstLetter > _upperFirst
933
- lowercaseFirstLetter > _lowerFirst
934
- arrayRange > _range
935
- dedupeArray > _uniq
936
- flatArray > _flatten
937
-
938
- New methods:
939
- _get
940
- _set
941
- _has
942
- _flattenDeep
943
- _chunk
944
- _uniqBy
945
- _capitalize
946
- _split
947
-
948
- # [7.2.0](https://github.com/NaturalCycles/js-lib/compare/v7.1.0...v7.2.0) (2019-07-09)
949
-
950
-
951
- ### Features
952
-
953
- * upgrade type-fest ([22ec963](https://github.com/NaturalCycles/js-lib/commit/22ec963))
954
-
955
- # [7.1.0](https://github.com/NaturalCycles/js-lib/compare/v7.0.0...v7.1.0) (2019-05-22)
956
-
957
-
958
- ### Features
959
-
960
- * IsoDate, IsoDateTime types ([0188864](https://github.com/NaturalCycles/js-lib/commit/0188864))
961
-
962
- # [7.0.0](https://github.com/NaturalCycles/js-lib/compare/v6.1.0...v7.0.0) (2019-05-19)
963
-
964
-
965
- ### Features
966
-
967
- * moved ms, since, deepFreeze, silentConsole to other libs ([58e0f2e](https://github.com/NaturalCycles/js-lib/commit/58e0f2e))
968
-
969
-
970
- ### BREAKING CHANGES
971
-
972
- * ^^^
973
-
974
- # [6.1.0](https://github.com/NaturalCycles/js-lib/compare/v6.0.0...v6.1.0) (2019-05-12)
975
-
976
-
977
- ### Features
978
-
979
- * removed [@memo](https://github.com/memo)Cache in favor of LRUMemoCache in nodejs-lib ([0dc0292](https://github.com/NaturalCycles/js-lib/commit/0dc0292))
980
-
981
- # [6.0.0](https://github.com/NaturalCycles/js-lib/compare/v5.5.0...v6.0.0) (2019-05-12)
982
-
983
-
984
- ### Code Refactoring
985
-
986
- * `[@memo](https://github.com/memo)` to combine all other memo decorators ([aaa4fd7](https://github.com/NaturalCycles/js-lib/commit/aaa4fd7))
987
-
988
-
989
- ### Features
990
-
991
- * logMillis > logMethod, since, ms ([23ccc88](https://github.com/NaturalCycles/js-lib/commit/23ccc88))
992
-
993
-
994
- ### BREAKING CHANGES
995
-
996
- * ^^^
997
-
998
- # [5.5.0](https://github.com/NaturalCycles/js-lib/compare/v5.4.0...v5.5.0) (2019-05-12)
999
-
1000
-
1001
- ### Features
1002
-
1003
- * removed DeepReadonly and ClassType in favor of type-fest ([53117c5](https://github.com/NaturalCycles/js-lib/commit/53117c5))
1004
-
1005
- # [5.4.0](https://github.com/NaturalCycles/js-lib/compare/v5.3.1...v5.4.0) (2019-05-12)
1006
-
1007
-
1008
- ### Features
1009
-
1010
- * InstanceId interface, getArgsSignature, getMethodSignature ([69da963](https://github.com/NaturalCycles/js-lib/commit/69da963))
1011
-
1012
- ## [5.3.1](https://github.com/NaturalCycles/js-lib/compare/v5.3.0...v5.3.1) (2019-05-10)
1013
-
1014
-
1015
- ### Bug Fixes
1016
-
1017
- * `[@log](https://github.com/log)Millis` array results ([469f862](https://github.com/NaturalCycles/js-lib/commit/469f862))
1018
- * revert `transformObject` to `transformValues` ([ab3e667](https://github.com/NaturalCycles/js-lib/commit/ab3e667))
1019
-
1020
- # [5.3.0](https://github.com/NaturalCycles/js-lib/compare/v5.2.0...v5.3.0) (2019-05-10)
1021
-
1022
-
1023
- ### Features
1024
-
1025
- * improve `[@log](https://github.com/log)Millis` ([82936c9](https://github.com/NaturalCycles/js-lib/commit/82936c9))
1026
-
1027
- # [5.2.0](https://github.com/NaturalCycles/js-lib/compare/v5.1.0...v5.2.0) (2019-05-10)
1028
-
1029
-
1030
- ### Features
1031
-
1032
- * [@log](https://github.com/log)Millis noLogResultLength ([80bef6c](https://github.com/NaturalCycles/js-lib/commit/80bef6c))
1033
- * [@memo](https://github.com/memo)Instance decorator ([00a4fd3](https://github.com/NaturalCycles/js-lib/commit/00a4fd3))
1034
-
1035
- # [5.1.0](https://github.com/NaturalCycles/js-lib/compare/v5.0.1...v5.1.0) (2019-05-10)
1036
-
1037
-
1038
- ### Features
1039
-
1040
- * omit(), as opposite of `pick()` ([89de5ae](https://github.com/NaturalCycles/js-lib/commit/89de5ae))
1041
-
1042
- ## [5.0.1](https://github.com/NaturalCycles/js-lib/compare/v5.0.0...v5.0.1) (2019-05-10)
1043
-
1044
-
1045
- ### Bug Fixes
1046
-
1047
- * export ValueOf ([28d2e11](https://github.com/NaturalCycles/js-lib/commit/28d2e11))
1048
-
1049
- # [5.0.0](https://github.com/NaturalCycles/js-lib/compare/v4.10.2...v5.0.0) (2019-05-10)
1050
-
1051
-
1052
- ### Code Refactoring
1053
-
1054
- * rename functions ([b019cf0](https://github.com/NaturalCycles/js-lib/commit/b019cf0))
1055
-
1056
-
1057
- ### Features
1058
-
1059
- * logMillis arg display improvement ([39d83bd](https://github.com/NaturalCycles/js-lib/commit/39d83bd))
1060
- * stricter return type for pick() ([425cb38](https://github.com/NaturalCycles/js-lib/commit/425cb38))
1061
- * ValuesOf type ([5b41c30](https://github.com/NaturalCycles/js-lib/commit/5b41c30))
1062
-
1063
-
1064
- ### BREAKING CHANGES
1065
-
1066
- * ^^^
1067
-
1068
- ## [4.10.2](https://github.com/NaturalCycles/js-lib/compare/v4.10.1...v4.10.2) (2019-05-08)
1069
-
1070
-
1071
- ### Bug Fixes
1072
-
1073
- * anyToAppError to keep stack ([a815f2d](https://github.com/NaturalCycles/js-lib/commit/a815f2d))
1074
-
1075
- ## [4.10.1](https://github.com/NaturalCycles/js-lib/compare/v4.10.0...v4.10.1) (2019-05-08)
1076
-
1077
-
1078
- ### Bug Fixes
1079
-
1080
- * [@log](https://github.com/log)Millis default to noLogStart ([d902d32](https://github.com/NaturalCycles/js-lib/commit/d902d32))
1081
-
1082
- # [4.10.0](https://github.com/NaturalCycles/js-lib/compare/v4.9.0...v4.10.0) (2019-05-08)
1083
-
1084
-
1085
- ### Features
1086
-
1087
- * [@log](https://github.com/log)Millis noLogStart, logResult, logResultFn ([b2c8c26](https://github.com/NaturalCycles/js-lib/commit/b2c8c26))
1088
- * anyToAppError ([5cc1035](https://github.com/NaturalCycles/js-lib/commit/5cc1035))
1089
- * resultToString ([a7944f8](https://github.com/NaturalCycles/js-lib/commit/a7944f8))
1090
-
1091
- # [4.9.0](https://github.com/NaturalCycles/js-lib/compare/v4.8.1...v4.9.0) (2019-05-08)
1092
-
1093
-
1094
- ### Features
1095
-
1096
- * [@log](https://github.com/log)Millis decorator ([e17d26f](https://github.com/NaturalCycles/js-lib/commit/e17d26f))
1097
-
1098
- ## [4.8.1](https://github.com/NaturalCycles/js-lib/compare/v4.8.0...v4.8.1) (2019-05-03)
1099
-
1100
-
1101
- ### Bug Fixes
1102
-
1103
- * still ship `@types/luxon` ([368d7a8](https://github.com/NaturalCycles/js-lib/commit/368d7a8))
1104
-
1105
- # [4.8.0](https://github.com/NaturalCycles/js-lib/compare/v4.7.0...v4.8.0) (2019-05-03)
1106
-
1107
-
1108
- ### Features
1109
-
1110
- * include `lru-cache` as dependency ([351ddbd](https://github.com/NaturalCycles/js-lib/commit/351ddbd))
1111
-
1112
- # [4.7.0](https://github.com/NaturalCycles/js-lib/compare/v4.6.0...v4.7.0) (2019-04-26)
1113
-
1114
-
1115
- ### Features
1116
-
1117
- * [@memo](https://github.com/memo)Promise decorator ([8f81f14](https://github.com/NaturalCycles/js-lib/commit/8f81f14))
1118
-
1119
- # [4.6.0](https://github.com/NaturalCycles/js-lib/compare/v4.5.1...v4.6.0) (2019-04-10)
1120
-
1121
-
1122
- ### Features
1123
-
1124
- * DeepReadonly type ([e597095](https://github.com/NaturalCycles/js-lib/commit/e597095))
1125
-
1126
- ## [4.5.1](https://github.com/NaturalCycles/js-lib/compare/v4.5.0...v4.5.1) (2019-04-08)
1127
-
1128
-
1129
- ### Bug Fixes
1130
-
1131
- * **memo:** disable 0-arg optimization ([56ff7d4](https://github.com/NaturalCycles/js-lib/commit/56ff7d4))
1132
-
1133
- # [4.5.0](https://github.com/NaturalCycles/js-lib/compare/v4.4.1...v4.5.0) (2019-03-30)
1134
-
1135
-
1136
- ### Features
1137
-
1138
- * arrayRange, dedupeArray, flatArray ([6f37293](https://github.com/NaturalCycles/js-lib/commit/6f37293))
1139
-
1140
- ## [4.4.1](https://github.com/NaturalCycles/js-lib/compare/v4.4.0...v4.4.1) (2019-03-26)
1141
-
1142
-
1143
- ### Bug Fixes
1144
-
1145
- * errorObjectToAppError, stack is readonly property in some envs ([e308f6e](https://github.com/NaturalCycles/js-lib/commit/e308f6e))
1146
-
1147
- # [4.4.0](https://github.com/NaturalCycles/js-lib/compare/v4.3.0...v4.4.0) (2019-03-24)
1148
-
1149
-
1150
- ### Features
1151
-
1152
- * isPrimitive() ([62507b4](https://github.com/NaturalCycles/js-lib/commit/62507b4))
1153
-
1154
-
1155
- ### Performance Improvements
1156
-
1157
- * memo() optimized ~100 times faster for 0 args ([6483acd](https://github.com/NaturalCycles/js-lib/commit/6483acd))
1158
-
1159
- # [4.3.0](https://github.com/NaturalCycles/js-lib/compare/v4.2.1...v4.3.0) (2019-03-15)
1160
-
1161
-
1162
- ### Features
1163
-
1164
- * improve anyToErrorMessage ([ef49957](https://github.com/NaturalCycles/js-lib/commit/ef49957))
1165
-
1166
- ## [4.2.1](https://github.com/NaturalCycles/js-lib/compare/v4.2.0...v4.2.1) (2019-03-15)
1167
-
1168
-
1169
- ### Bug Fixes
1170
-
1171
- * HttpError with generic DATA_TYPE ([12a7d40](https://github.com/NaturalCycles/js-lib/commit/12a7d40))
1172
-
1173
- # [4.2.0](https://github.com/NaturalCycles/js-lib/compare/v4.1.0...v4.2.0) (2019-03-15)
1174
-
1175
-
1176
- ### Features
1177
-
1178
- * HttpErrorResponse, Admin401ErrorData, Admin403ErrorData ([d159381](https://github.com/NaturalCycles/js-lib/commit/d159381))
1179
-
1180
- # [4.1.0](https://github.com/NaturalCycles/js-lib/compare/v4.0.0...v4.1.0) (2019-03-11)
1181
-
1182
-
1183
- ### Features
1184
-
1185
- * remove ErrorObject.name ([5557d4e](https://github.com/NaturalCycles/js-lib/commit/5557d4e))
1186
-
1187
- # [4.0.0](https://github.com/NaturalCycles/js-lib/compare/v3.2.0...v4.0.0) (2019-03-09)
1188
-
1189
-
1190
- ### Code Refactoring
1191
-
1192
- * "flatten" utils into functions ([eba7d97](https://github.com/NaturalCycles/js-lib/commit/eba7d97))
1193
-
1194
-
1195
- ### BREAKING CHANGES
1196
-
1197
- * all "utils" from this package are now flattened and just their functions are exported.
1198
- Example.
1199
- Before: objectUtil.by()
1200
- After: by()
1201
-
1202
- Before: import { objectUtil } from '@naturalcycles/js-lib'
1203
- After: import { by } from '@naturalcycles/js-lib'
1204
-
1205
- # [3.2.0](https://github.com/NaturalCycles/js-lib/compare/v3.1.0...v3.2.0) (2019-03-08)
1206
-
1207
-
1208
- ### Features
1209
-
1210
- * remove unused LogFunction, LOG_LEVEL ([148496b](https://github.com/NaturalCycles/js-lib/commit/148496b))
1211
-
1212
- # [3.1.0](https://github.com/NaturalCycles/js-lib/compare/v3.0.0...v3.1.0) (2019-02-25)
1213
-
1214
-
1215
- ### Features
1216
-
1217
- * errorSharedUtil.errorObjectToHttpError, appErrorToHttpError ([f9cf571](https://github.com/NaturalCycles/js-lib/commit/f9cf571))
1218
-
1219
- # [3.0.0](https://github.com/NaturalCycles/js-lib/compare/v2.2.2...v3.0.0) (2019-02-23)
1220
-
1221
-
1222
- ### Features
1223
-
1224
- * upgrade shared-module with jest24 ([4ae979a](https://github.com/NaturalCycles/js-lib/commit/4ae979a))
1225
-
1226
-
1227
- ### BREAKING CHANGES
1228
-
1229
- * removed `silentConsoleIfRunAll()`, cause now it's supported by `shared-module` automatically (and because it stopped working with jest24)
1230
-
1231
- ## [2.2.2](https://github.com/NaturalCycles/js-lib/compare/v2.2.1...v2.2.2) (2019-02-22)
1232
-
1233
-
1234
- ### Bug Fixes
1235
-
1236
- * err instanceof AppError, err instanceof Error ([19022ef](https://github.com/NaturalCycles/js-lib/commit/19022ef))
1237
-
1238
- ## [2.2.1](https://github.com/NaturalCycles/js-lib/compare/v2.2.0...v2.2.1) (2019-02-22)
1239
-
1240
-
1241
- ### Bug Fixes
1242
-
1243
- * fixing error.name for AppError, HttpError ([a2094e2](https://github.com/NaturalCycles/js-lib/commit/a2094e2))
1244
-
1245
- # [2.2.0](https://github.com/NaturalCycles/js-lib/compare/v2.1.0...v2.2.0) (2019-02-22)
1246
-
1247
-
1248
- ### Features
1249
-
1250
- * err.data.userMessage > err.data.userFriendly (boolean) ([27ff0ab](https://github.com/NaturalCycles/js-lib/commit/27ff0ab))
1251
-
1252
- # [2.1.0](https://github.com/NaturalCycles/js-lib/compare/v2.0.2...v2.1.0) (2019-02-16)
1253
-
1254
-
1255
- ### Features
1256
-
1257
- * export ClassType ([ce897fa](https://github.com/NaturalCycles/js-lib/commit/ce897fa))
1258
-
1259
- ## [2.0.2](https://github.com/NaturalCycles/js-lib/compare/v2.0.1...v2.0.2) (2019-02-10)
1260
-
1261
-
1262
- ### Bug Fixes
1263
-
1264
- * export ErrorObject ([2735e5e](https://github.com/NaturalCycles/js-lib/commit/2735e5e))
1265
-
1266
- ## [2.0.1](https://github.com/NaturalCycles/js-lib/compare/v2.0.0...v2.0.1) (2019-02-09)
1267
-
1268
-
1269
- ### Bug Fixes
1270
-
1271
- * use [@naturalcycles](https://github.com/naturalcycles)/semantic-release ([3e65c99](https://github.com/NaturalCycles/js-lib/commit/3e65c99))
1272
-
1273
- # [2.0.0](https://github.com/NaturalCycles/js-lib/compare/v1.0.0...v2.0.0) (2019-02-09)
1274
-
1275
-
1276
- ### Features
1277
-
1278
- * adopting semver ([988d16c](https://github.com/NaturalCycles/js-lib/commit/988d16c))
1279
-
1280
-
1281
- ### BREAKING CHANGES
1282
-
1283
- * bump major version
1284
-
1285
- # 1.0.0 (2019-02-09)
1286
-
1287
-
1288
- ### Bug Fixes
1289
-
1290
- * don't require yarn ([6d9b5cd](https://github.com/NaturalCycles/js-lib/commit/6d9b5cd))
1291
- * export error classes ([aed1a38](https://github.com/NaturalCycles/js-lib/commit/aed1a38))
1292
- * LRU import in memoCache() ([402c7cc](https://github.com/NaturalCycles/js-lib/commit/402c7cc))
1293
- * package.main missing ([3b7e442](https://github.com/NaturalCycles/js-lib/commit/3b7e442))
1294
- * prettier by upgrading shared-module [ci-skip] ([0ab2225](https://github.com/NaturalCycles/js-lib/commit/0ab2225))
1295
- * publish also as cjs ([c8a2707](https://github.com/NaturalCycles/js-lib/commit/c8a2707))
1296
- * remove custom errors ([478a0d5](https://github.com/NaturalCycles/js-lib/commit/478a0d5))
1297
- * remove promise utils ([155a28f](https://github.com/NaturalCycles/js-lib/commit/155a28f))
1298
- * remove unneeded runAllTests() ([c831ca8](https://github.com/NaturalCycles/js-lib/commit/c831ca8))
1299
- * revert - use cjs by default ([5f20729](https://github.com/NaturalCycles/js-lib/commit/5f20729))
1300
- * test ([cab39c1](https://github.com/NaturalCycles/js-lib/commit/cab39c1))
1301
- * transpile down to es5 ([7610097](https://github.com/NaturalCycles/js-lib/commit/7610097))
1302
- * use esm ([375a557](https://github.com/NaturalCycles/js-lib/commit/375a557))
1303
-
1304
-
1305
- ### Features
1306
-
1307
- * [@memo](https://github.com/memo) and [@memo](https://github.com/memo)Cache now support .dropCache() ([f102484](https://github.com/NaturalCycles/js-lib/commit/f102484))
1308
- * adopting semver ([ab54d70](https://github.com/NaturalCycles/js-lib/commit/ab54d70))
1309
- * common error classes ([853cc28](https://github.com/NaturalCycles/js-lib/commit/853cc28))
1310
- * distribute as es2015 (was: es5) ([df75769](https://github.com/NaturalCycles/js-lib/commit/df75769))
1311
- * errorSharedUtil ([0774110](https://github.com/NaturalCycles/js-lib/commit/0774110))
1312
- * logFunction interface ([3b81e4b](https://github.com/NaturalCycles/js-lib/commit/3b81e4b))
1313
- * new error interfaces ([e77d39e](https://github.com/NaturalCycles/js-lib/commit/e77d39e))
1314
- * new error models ([b9e1d25](https://github.com/NaturalCycles/js-lib/commit/b9e1d25))
1315
- * silentConsole() to silent console.time() and console.table() ([ddabd4e](https://github.com/NaturalCycles/js-lib/commit/ddabd4e))
1316
- * transpiling ([e35f747](https://github.com/NaturalCycles/js-lib/commit/e35f747))
1317
-
1318
-
1319
- ### BREAKING CHANGES
1320
-
1321
- * introducing ErrorObject interface and transitions to/from stock js Error