Commit Graph

844 Commits

Author SHA1 Message Date
Aaron Jensen
be84ec72cd 0.10.0 2015-09-11 23:53:22 -07:00
Aaron Jensen
2dfa674124 Add support for wildcards to u.updateIn
Fixes #27
2015-09-11 22:48:10 -07:00
Aaron Jensen
98a2037f8a Update changelog 2015-09-11 12:00:02 -07:00
Aaron Jensen
bf07c89c16 0.9.0 2015-09-11 11:58:08 -07:00
Aaron Jensen
b8ca7f5407 Use identity with u.if's false condition
Fixes #35
2015-09-11 11:57:39 -07:00
Aaron Jensen
396f0a7bf2 Add change log links 2015-08-30 21:07:53 -07:00
Andy Brown
d28c2fb4b1 0.8.0 2015-08-30 17:11:18 -07:00
Andy Brown
e762b29984 Update README.md 2015-08-30 17:10:45 -07:00
Andy Brown
36fffaa992 Update CHANGELOG.md 2015-08-30 17:03:30 -07:00
Andy Brown
12bf952d64 Merge pull request #34 from substantial/default-to-array
Default to array
2015-08-30 17:00:43 -07:00
Andy Brown
0b0f6dc376 default to array when update keys are integers 2015-08-30 16:54:22 -07:00
Aaron Jensen
7a35404ae1 Add wallaby.js support, holy crap 2015-08-26 19:45:12 -07:00
Aaron Jensen
358406f12b Add spec for reject by index 2015-08-23 10:54:30 -07:00
Aaron Jensen
6437d98f73 Eek out some file size 2015-08-22 11:03:38 -07:00
Andy Brown
01b9e772d8 0.7.2 2015-08-21 13:34:28 -07:00
Andy Brown
e746ff66b0 Update CHANGELOG.md 2015-08-21 09:33:18 -07:00
Andy Brown
5a95c2c9dc Merge pull request #32 from substantial/curried-function-arity
report correct arity for curried functions
2015-08-21 09:24:03 -07:00
Andy Brown
932da9f7d5 report correct arity for curried functions
fixes #31
2015-08-21 09:11:16 -07:00
Aaron Jensen
dea78333ff Add some jsdoc 2015-08-19 07:29:06 -07:00
Aaron Jensen
fe1d881412 Update README 2015-08-19 05:58:08 -07:00
Aaron Jensen
53eb8e15aa Speed up eslint 2015-08-19 00:31:06 -07:00
Aaron Jensen
0cf608c2c4 Revert "Replace chai with expect"
This reverts commit f7e570934d.

Fixes #30
2015-08-19 00:24:32 -07:00
Aaron Jensen
bc81dcd852 0.7.1 2015-08-18 04:28:43 -07:00
Aaron Jensen
c083f4a330 Allow update to preserve empty objects
fixes #29
2015-08-18 04:28:19 -07:00
Aaron Jensen
e53aa11b27 Add more examples for u.updateIn 2015-08-13 20:57:57 -07:00
Aaron Jensen
7d03d350be Merge pull request #25 from substantial/simplify-map-documentation-example
remove unnecessary function from docs example
2015-08-13 06:52:25 -07:00
Aaron Jensen
62f12884fb Update README.md 2015-08-13 06:52:07 -07:00
Derek Maffett
af623a5be4 remove unnecessary function from docs example 2015-08-13 00:38:31 -07:00
Aaron Jensen
f7e570934d Replace chai with expect
Fixes #17
2015-08-12 22:31:01 -07:00
Aaron Jensen
f0648c89f9 0.7.0 2015-08-12 22:20:49 -07:00
Aaron Jensen
75b5ca2fee Update changelog 2015-08-12 22:20:45 -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
5b58b8cfc8 Fix handling null differently than undefined.
`u` and friends will now coerce null to an object if there are updates for it.

Fixes #20
2015-08-12 22:04:31 -07:00
Aaron Jensen
e99d575972 Update curry benchmark 2015-08-12 21:19:09 -07:00
Aaron Jensen
9b1b6bb44a Merge pull request #21 from substantial/add-placeholder
Add u._
2015-08-12 08:54:35 -07:00
Aaron Jensen
571102d947 Add u._ 2015-08-12 08:35:10 -07:00
Aaron Jensen
f32dba4a03 Clean up benchmarks 2015-08-12 07:22:45 -07:00
Aaron Jensen
3857d33d1b Add spec for curry4 2015-08-12 00:53:29 -07:00
Aaron Jensen
50fe8155e1 Update CHANGELOG.md 2015-08-12 00:34:31 -07:00
Aaron Jensen
cfe2a8e317 Update CHANGELOG.md 2015-08-12 00:30:19 -07:00
Aaron Jensen
7fcd5719dd 0.6.0 2015-08-12 00:26:04 -07:00
Aaron Jensen
a6b39fb21e Update changelog 2015-08-12 00:25:55 -07:00
Aaron Jensen
324b165e2a Use lodash's map, it's faster 2015-08-12 00:23:51 -07:00
Aaron Jensen
1e9e43b118 Add lots of benchmark stuff 2015-08-12 00:08:36 -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
ff195645cd Add curry 2015-08-11 23:55:23 -07:00
Aaron Jensen
70d8d1d1e3 Update README.md 2015-08-11 22:17:19 -07:00
Aaron Jensen
7fff8982e2 Update README.md 2015-08-11 22:16:07 -07:00
Aaron Jensen
efb669f017 Use lodash's forEach
It's a lot faster
2015-08-10 00:02:49 -07:00
Aaron Jensen
167760fb24 Do not use update in map if iteratee is a function
Performance bump, especially while curry is slow.
2015-08-10 00:02:49 -07:00