Commit Graph

20 Commits

Author SHA1 Message Date
Aaron Jensen
dcee2038b6
Format code with prettier 2017-04-18 17:55:46 -07:00
Shaun Dern
fce13afbf6 Add omitBy (#60) 2016-05-30 14:11:21 -07:00
Thai Pangsakulyanont
b20135c356 Allow updeep to be require()’d from CommonJS 2016-03-17 18:30:58 +07:00
Aaron Jensen
287c4fefad Add u.constant for replacing an object outright
Fixes #10
2015-08-12 22:19:32 -07:00
Aaron Jensen
571102d947 Add u._ 2015-08-12 08:35:10 -07:00
Aaron Jensen
3ce001a4f6 Replace lodash curry with our own
lodash's curry is great and does a lot, but we don't need it all. This
is quite a bit faster.

Currently, it does away with placeholder support.

updeep curry partial call x 9,951,410 ops/sec ±1.61% (62 runs sampled)
lodash curry partial call x 988,949 ops/sec ±1.36% (62 runs sampled)
2015-08-11 23:58:54 -07:00
Aaron Jensen
b6b2daf824 Add u.update as alias to u 2015-08-06 21:40:57 -07:00
Aaron Jensen
333ca47cfd Rename u.in to u.updateIn
With u.if and u.is, it was too confusing. Originally I thought that because
u stood for update, it would make sense, but as I add more functions,
I think that was wrong.
2015-08-06 20:52:06 -07:00
Aaron Jensen
5c0855b9df Add u.is 2015-08-06 20:48:04 -07:00
Aaron Jensen
ddd5c84d49 Add u.ifElse
Fixes #12
2015-08-05 23:10:16 -07:00
Aaron Jensen
b1e000b06d Freeze objects returned by helper methods 2015-08-05 04:44:14 -07:00
Aaron Jensen
78c30e038a Rename obj to object 2015-08-05 00:31:10 -07:00
Aaron Jensen
1a1e2b313a Add u.map 2015-08-05 00:25:34 -07:00
Aaron Jensen
750200df76 Add u.if 2015-08-04 23:57:01 -07:00
Aaron Jensen
8013605e7b Actually expose u.in 2015-08-04 22:34:06 -07:00
Aaron Jensen
7a84944f99 Add u.freeze
Fixes #7
2015-08-04 21:56:01 -07:00
Aaron Jensen
772e92789b Freeze results by default 2015-08-02 00:32:32 -07:00
Aaron Jensen
743b603216 Convert to es6 modules 2015-08-01 08:13:25 -07:00
Aaron Jensen
35fe73e080 Add initial code, tests don't work yet. 2015-07-31 09:16:19 -07:00
Aaron Jensen
454dd69b53 Initial commit w/ yo node 2015-07-31 08:53:25 -07:00