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