@naturalcycles/js-lib 14.52.0 → 14.56.0

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