Benjamin Tan
f299b52f39
Bump to v4.17.21
2021-02-20 23:33:48 +08:00
Michał Lipiński
c4847ebe7d
Improve performance of toNumber, trim and trimEnd on large input strings
...
This prevents potential ReDoS attacks using `_.toNumber` and `_.trim*`
as potential attack vectors.
Closes #5065 .
2021-02-20 17:18:39 +08:00
Christophe Coevoet
3469357cff
Prevent command injection through _.template's variable option
...
Closes #5085 .
2021-02-20 16:28:01 +08:00
Benjamin Tan
ded9bc6658
Bump to v4.17.20.
2020-08-14 00:52:55 +08:00
Benjamin Tan
63150ef764
Documentation fixes.
2020-08-14 00:36:26 +08:00
Benjamin Tan
00f0f62a97
test.js: Remove trailing comma.
2020-07-26 19:38:01 +08:00
Benjamin Tan
846e434c7a
Temporarily use a custom fork of lodash-cli.
2020-07-26 19:37:20 +08:00
Benjamin Tan
5d046f39cb
Re-enable Travis tests on 4.17 branch.
2020-07-26 19:35:19 +08:00
Benjamin Tan
aa816b36d4
Remove /npm-package.
2020-07-26 19:34:22 +08:00
Mathias Bynens
d7fbc52ee0
Bump to v4.17.19
2020-07-08 19:14:09 +02:00
Mathias Bynens
2e1c0f22f4
Add npm-package
2020-07-08 19:10:23 +02:00
Mathias Bynens
1b6c282299
Bump to v4.17.18
2020-07-08 18:04:03 +02:00
Mathias Bynens
a370ac8140
Bump to v4.17.17
2020-07-08 14:00:48 +02:00
Mathias Bynens
1144918f35
Rebuild lodash and docs
2020-07-08 10:08:29 +02:00
Mathias Bynens
3a3b0fd339
Bump to v4.17.16
2020-07-08 09:44:35 +02:00
Jakub Mikulas
c84fe82760
fix(zipObjectDeep): prototype pollution ( #4759 )
2020-07-02 14:47:49 -07:00
Alex Brasetvik
e7b28ea6cb
Sanitize sourceURL so it cannot affect evaled code ( #4518 )
2020-06-03 23:36:12 -07:00
Chinedum Ukejianya
0cec225778
Fix lodash.isEqual for circular references ( #4320 ) ( #4515 )
2019-10-16 14:43:11 -07:00
Artemy Tregubenko
94c3a8133c
Document matches* shorthands for over* methods ( #4510 ) ( #4514 )
2019-10-13 10:54:27 -07:00
Michał Lipiński
659e8c019c
Ensure orderBy will accept iteratee path arrays #4438 ( #4513 )
2019-10-10 13:04:37 -07:00
Graeme Yeates
602cc3f03d
(4.17) Short circuit sortedIndexBy methods for empty arrays ( #4497 )
2019-10-04 10:23:55 -07:00
max
b281ddecc4
change documentation, show clearly how sortBy work with two iteratees ( #4467 )
2019-09-16 21:31:36 -07:00
John-David Dalton
ddfd9b11a0
Bump to v4.17.15.
2019-07-17 10:06:33 -07:00
John-David Dalton
b185fcee26
Rebuild lodash and docs.
2019-07-17 10:05:47 -07:00
John-David Dalton
be87d30394
Bump to v4.17.14.
2019-07-10 06:33:09 -07:00
John-David Dalton
a6fe6b1e17
Rebuild lodash and docs.
2019-07-10 06:32:17 -07:00
John-David Dalton
e37182845f
Bump to v4.17.13.
2019-07-09 15:16:26 -07:00
John-David Dalton
357e899e68
Rebuild lodash and docs.
2019-07-09 15:15:19 -07:00
John-David Dalton
fd9a062d57
Bump to v4.17.12.
2019-07-09 13:42:00 -07:00
John-David Dalton
e77d68121f
Rebuild lodash and docs.
2019-07-09 13:34:41 -07:00
John-David Dalton
629d186579
Update OpenJS references.
2019-07-09 13:31:30 -07:00
John-David Dalton
2406eac542
Fix minified build.
2019-07-09 13:30:56 -07:00
John-David Dalton
17a34bc585
Fix test bootstrap for core build.
2019-07-09 12:48:18 -07:00
John-David Dalton
53838a38f8
Fix tests in older browsers.
2019-07-09 12:43:33 -07:00
John-David Dalton
29e258497b
Fix style:test lint nits.
2019-07-09 09:53:48 -07:00
John-David Dalton
8f4d3eb018
Update deps.
2019-07-09 09:36:22 -07:00
John-David Dalton
02b3295a63
Format nit.
2019-07-09 09:34:08 -07:00
John-David Dalton
52ab48c054
Use nativeIsFinite() instead of Number.isFinite().
2019-07-09 09:33:04 -07:00
John-David Dalton
f8dc2149f7
Whitespace nit.
2019-07-09 09:32:38 -07:00
John-David Dalton
deb65de218
Revert "perf(toNumber): use +value to convert binary/octal/hexadecimal string ( #4230 )"
...
This reverts commit 7084300d34 .
2019-07-09 09:29:54 -07:00
Alex Brasetvik
60eb517911
Prevent prototype pollution chaining to code execution via _.template ( #4355 )
2019-07-09 09:09:55 -07:00
Kirill
1f8ea07746
fix: prototype pollution in _.defaultsDeep ( #4336 )
2019-06-24 09:17:55 -07:00
Erick Calder
e42cd97dae
Fixes issue with Object prototype and the chaining syntax. [ closes #4247 ]
2019-05-09 13:54:13 -07:00
Jeff Friesen
343456d696
Round Infinity with a precision argument returns Infinity ( #4272 )
...
* Round Infinity with a precision argument returns Infinity
* Also making sure this is true for -Infinity
* Tested with _.round(), _.floor() and _.ceil()
* Switch to using isFinite to check if number should be rounded
* Add tests for rounding NaN now that there is an isFinite check
2019-04-18 13:04:18 -07:00
Marc Hassan
0b8592a35c
mergeWith: stack passed to customizer should always be defined ( #4244 )
...
Summary:
If the first values encountered in the `object` in mergeWith are not objects, `stack` is undefined when passed to the `customizer`. Once the first object-ish value is encountered, `stack` gets initialized, and all further calls to `customizer` include a defined `stack`. This PR makes `stack` always defined, even before the first object-ish value is encountered.
2019-03-21 20:54:53 -07:00
Amu
7084300d34
perf(toNumber): use +value to convert binary/octal/hexadecimal string ( #4230 )
2019-03-13 22:47:28 -07:00
liang feng
15b156512f
cancel old timer ( #4139 )
2019-02-11 22:49:02 -08:00
John-David Dalton
bda6f2795f
Update wording of fp wiki template for method spread rule exceptions.
2018-12-04 20:26:22 -08:00
John-David Dalton
1cb18dfada
Revert "Ensure _.pick paths aren't interpolated twice. [ closes #3952 ]"
...
This reverts commit 39a7eae40d .
2018-11-21 10:23:00 -06:00
John-David Dalton
39a7eae40d
Ensure _.pick paths aren't interpolated twice. [ closes #3952 ]
2018-09-17 22:38:33 -07:00
John-David Dalton
e0cbb4c8e6
Ensure map and set clones contain custom properties of source values. [ closes #3951 ]
2018-09-17 22:31:34 -07:00
John-David Dalton
0843bd46ef
Bump to v4.17.11.
2018-09-12 10:44:07 -07:00
John-David Dalton
3ac4b261e4
Rebuild lodash and docs.
2018-09-12 10:44:01 -07:00
John-David Dalton
eaa9f36e91
Commit package-lock.json.
2018-08-31 16:22:41 -07:00
John-David Dalton
552f94a7db
Lint nits.
2018-08-31 15:35:06 -07:00
John-David Dalton
d8ddc1a15f
Add test for indirectly merging Object properties.
2018-08-31 15:34:45 -07:00
John-David Dalton
e5f9af5418
Remove prototype property check in safeGet().
2018-08-31 15:22:17 -07:00
John-David Dalton
2de676fe76
Ensure placeholder properties are set for fp.convert() results. [ closes #3440 ]
2018-08-30 23:57:31 -07:00
John-David Dalton
278c6dd33d
Cleanup _.merge tests for function properties.
2018-08-30 22:58:11 -07:00
sina
79b9d20a91
Fix inconsistent merging of multiple sources to function property
2018-08-30 22:35:04 -07:00
John-David Dalton
6e62e1e8df
Cleanup ReDoS test.
2018-08-30 22:33:55 -07:00
Manuel Jasso
5c08f18d36
Prevent ReDoS
...
To fix https://github.com/lodash/lodash/issues/3359 , modified reHasUnicodeWord to remove an unnecessary comma which made the regex greedy, this is only a test regex and not a matching regex. Added unit tests, this now should run under 5 ms instead of over 1000 ms for huge 50k+ char words.
2018-08-30 22:07:27 -07:00
John-David Dalton
90e6199a16
Ensure Object.prototype is not augmented by _.merge.
2018-08-30 22:06:15 -07:00
John-David Dalton
67389a8c78
Bump to v4.17.10.
2018-04-24 15:27:33 -07:00
John-David Dalton
a65fd33603
Rebuild lodash and docs.
2018-04-24 15:26:43 -07:00
John-David Dalton
b002100433
Bump to v4.17.9.
2018-04-24 10:29:57 -07:00
John-David Dalton
4680cdacc0
Rebuild lodash and docs.
2018-04-24 10:29:50 -07:00
John-David Dalton
852988e04a
Use util.types to migrate DEP0103 in Node.js.
...
PR: #3704
2018-04-24 10:28:01 -07:00
John-David Dalton
97e9edc53d
Bump to v4.17.5.
2018-02-03 22:35:31 -08:00
John-David Dalton
ce32a89e3e
Rebuild lodash and docs.
2018-02-03 22:35:25 -08:00
John-David Dalton
5e58cd216c
Fix style nits.
2018-02-03 21:25:41 -08:00
John-David Dalton
5adb4ee95c
Make _.defaults avoid accessing property values it doesn't need to. [ closes #2983 ]
2018-02-03 21:25:41 -08:00
John-David Dalton
a73b92b58e
Avoid using the values toString method in _.invert if it’s not a function. [ closes #3260 ]
2018-02-03 21:25:41 -08:00
John-David Dalton
a1b53054d6
Add 4.17.5 branch to travis.
2018-02-03 21:25:31 -08:00
John-David Dalton
dac890a211
Enable _.words to detect ordinals in compound words. [ closes #3561 ]
2018-02-02 18:10:02 -08:00
John-David Dalton
7167a78644
Replacing a regex in stringToPath with a quick character code check. ( #3308 )
2018-02-02 18:10:01 -08:00
John-David Dalton
f83197727b
Avoid shadowing result in remainingWait. ( #3280 )
2018-02-02 18:10:01 -08:00
John-David Dalton
20c5307542
stringToPath: avoid shadowing variable. ( #3226 )
2018-02-02 18:10:01 -08:00
John-David Dalton
45ac7f3bcc
Support symbols in property paths of set. [ closes #3189 ]
2018-02-02 18:10:01 -08:00
John-David Dalton
7cb477a3a0
Use new to create the array clone.
2018-02-02 18:10:01 -08:00
John-David Dalton
b8c719d3be
Fix cloneDeep with circularly dependent Sets/Maps. [ closes #3122 ]
2018-02-02 18:09:54 -08:00
John-David Dalton
d8e069cc34
Avoid merging properties on to __proto__ objects.
2018-01-30 23:21:12 -08:00
John-David Dalton
5a3ff73997
Ensure cloneByPath preserves uncloneable values. [ closes #3203 ]
2017-06-14 07:17:44 -07:00
John-David Dalton
912d6b04a1
Bump to v4.17.4.
2017-01-06 07:51:17 -08:00
John-David Dalton
165572022d
Rebuild lodash and docs.
2017-01-06 07:50:36 -08:00
John-David Dalton
ae467c7313
Update deps.
2017-01-06 07:50:36 -08:00
John-David Dalton
1e80c19b0f
Remove dead “modern environments” link from readme. [ci skip]
2017-01-06 07:50:29 -08:00
John-David Dalton
6eeafd3dc2
Update kitchen sink size. [ci skip]
2016-12-31 00:52:52 -06:00
John-David Dalton
e33b15674d
Ensure _.omit doesn’t mutate object with deep paths. [ closes #2912 ]
2016-12-30 18:09:11 -06:00
John-David Dalton
a23b918bef
Increment package version to enable ci tests.
2016-12-30 18:07:58 -06:00
John-David Dalton
ef618992b5
Bump to v4.17.3.
2016-12-26 10:43:11 -06:00
John-David Dalton
708b962860
Rebuild lodash and docs.
2016-12-26 10:43:11 -06:00
John-David Dalton
da2d08d771
Update deps.
2016-12-26 10:43:11 -06:00
John-David Dalton
30863e5fa6
Fix conversion of npm package and source doc links. [ci skip]
2016-12-26 10:43:05 -06:00
John-David Dalton
6672a4f942
Update fp doc template for fp.reduceRight iteratee argument order. [ci skip]
2016-12-24 11:21:51 -06:00
John-David Dalton
f7263047bf
Use a strict undefined check for arity in createWrap.
2016-12-21 15:23:54 -06:00
John-David Dalton
02fdf4e673
Wrap in ternary value within hashHas in parens for clarity.
2016-12-21 15:23:54 -06:00
John-David Dalton
e2c703a96f
Avoid more coercion.
2016-12-21 15:23:54 -06:00
John-David Dalton
32fdfcc1e5
Avoid coercing position in _.startsWith, if it’s undefined.
2016-12-21 12:34:28 -06:00
John-David Dalton
6c1ae0b54d
Update Safari in sauce.
2016-12-21 00:19:59 -06:00
John-David Dalton
0c1c87b046
Update Firefox in sauce.
2016-12-20 16:54:40 -06:00
John-David Dalton
b51786e72e
Fix lazy sequence test fails.
2016-12-20 16:54:40 -06:00
John-David Dalton
5ee5099af1
Update code skipped on the coverage run.
2016-12-20 16:54:40 -06:00
John-David Dalton
482dc9478b
Remove array length limit for lay evaluation. [ closes #2874 ]
2016-12-20 16:54:40 -06:00
John-David Dalton
528b6a98a9
Minor doc space nit. [ci skip]
2016-12-06 15:15:09 +09:00
John-David Dalton
a8bcb5f3d5
ES6 to ES2015 nit. [ci skip]
2016-12-06 15:15:09 +09:00
Dave Wasmer
d429f90ec5
Mention ES6 delimiters in templateSettings docs ( #2857 )
2016-12-06 15:15:09 +09:00
John-David Dalton
72f559e1a3
Exit early from getSymbols if object is nullish.
2016-11-25 00:16:37 -06:00
Ophir LOJKINE
2f92d55024
Clarify _.isEqual docs on comparing functions and DOM nodes. [ closes #2849 ] [ci skip]
2016-11-25 00:16:05 -06:00
John-David Dalton
5a86b67263
Minor engines field format nit.
2016-11-24 23:58:40 -06:00
John-David Dalton
bea4b29bc4
Remove unneeded Object coercions.
2016-11-24 23:41:10 -06:00
John-David Dalton
0cd4134bc6
Fix Android 5.1 test fails.
2016-11-24 23:41:10 -06:00
John-David Dalton
ec74813be6
Add non-enumerable symbol tests.
2016-11-24 00:07:26 -06:00
John-David Dalton
67926a4df2
Minor test nit.
2016-11-24 00:07:26 -06:00
John-David Dalton
40a591d0c0
Test _.isEqual crawls symbol properties.
2016-11-24 00:07:26 -06:00
John-David Dalton
783e03ffa3
Simplify baseIsEqualDeep now that getSymbols returns only enumerable symbols.
2016-11-24 00:07:26 -06:00
John-David Dalton
1dddf27a39
Include only enumerable symbols in getSymbols result. [ closes #2845 ]
2016-11-24 00:07:26 -06:00
John-David Dalton
2890eabf66
Replace isObject use with isObjectLike in baseIsEqual.
2016-11-21 23:34:21 -06:00
John-David Dalton
a3e077324a
Add support for comparing symbol properties to _.isEqual. [ closes #2840 ]
2016-11-21 23:34:21 -06:00
John-David Dalton
86ee93650d
Flip iteratee arguments for fp.reduceRight.
2016-11-21 23:34:21 -06:00
John-David Dalton
dd0d984d37
Add customOmitClone helper.
2016-11-21 23:34:21 -06:00
John-David Dalton
eba18891e5
Rename private spread helper to flatSpread.
2016-11-21 23:34:20 -06:00
John-David Dalton
5cb80a0a84
Disable headings link icons in marky-markdown.
2016-11-19 23:39:27 -06:00
John-David Dalton
db14f324f6
Increment package version to enable ci tests.
2016-11-19 23:39:27 -06:00
John-David Dalton
238defb150
Bump to v4.17.2.
2016-11-19 23:39:27 -06:00
John-David Dalton
53ba1e0c3c
Rebuild lodash and docs.
2016-11-19 23:39:19 -06:00
John-David Dalton
95d3477c22
Fix code style nits.
2016-11-15 22:04:15 -08:00
John-David Dalton
a06d1a0313
Add _.omit and _.pick tests for keys over paths.
2016-11-15 21:47:03 -08:00
John-David Dalton
330c8cb46e
Cleanup path tests.
2016-11-15 21:46:14 -08:00
John-David Dalton
da2e8a1030
Minor var order nit.
2016-11-15 20:18:53 -08:00
John-David Dalton
5bc9e6b8bd
Avoid double cloning for the common case in _.omit.
2016-11-15 18:19:11 -08:00
John-David Dalton
9a02bd5fc7
Simplify baseUnset.
2016-11-15 18:07:27 -08:00
John-David Dalton
89656fdf4a
Don’t treat a picked path as deep if it exists as a property of the object. [ closes #2826 ]
2016-11-15 10:41:11 -08:00
John-David Dalton
4cb7bea97d
Ensure _.spread doesn’t include arguments after those spread. [ closes #2825 ]
2016-11-15 10:41:11 -08:00
John-David Dalton
eb4861c3cd
Increment package version to enable ci tests.
2016-11-15 10:41:11 -08:00
John-David Dalton
170c13b5ba
Bump to v4.17.1.
2016-11-14 20:37:42 -08:00
John-David Dalton
26a6117889
Rebuild lodash and docs.
2016-11-14 20:31:46 -08:00
John-David Dalton
014982cb2c
Remove isKey use from invokeMap.
2016-11-14 17:32:52 -08:00
John-David Dalton
058361e222
Move the isKey check into castPath.
2016-11-14 15:37:46 -08:00
John-David Dalton
e344b66af9
Cleanup _.omit.
2016-11-14 12:04:52 -08:00
John-David Dalton
54cb3599e3
Fix yarn runs in travis by pinning to v0.16.1.
2016-11-14 10:41:38 -08:00
John-David Dalton
6c427b7a26
Avoid deep cloning of _.omit result.
2016-11-14 09:57:39 -08:00
John-David Dalton
ce093845e1
Ensure _.pick supports path arrays. [ closes #2809 ]
2016-11-14 01:06:35 -08:00
John-David Dalton
102c5f00d7
Ensure _.pickBy doesn’t treat keys with dots as deep paths. [ closes #2808 ]
2016-11-14 00:49:47 -08:00
John-David Dalton
13d315a93b
Increment package version to enable ci tests.
2016-11-14 00:49:41 -08:00
John-David Dalton
2cc247ddf8
Bump to v4.17.0.
2016-11-13 22:49:29 -08:00
John-David Dalton
5488644658
Rebuild lodash and docs.
2016-11-11 09:40:37 -08:00
John-David Dalton
1fe9042953
Update coveralls and platform.js deps.
2016-11-11 09:40:33 -08:00
John-David Dalton
8bde34dda0
Update optional marky-markdown dep to 9.0.1.
2016-11-10 13:50:35 -08:00
greenkeeper[bot]
98720bea4a
Update optional-dev-dependency to 2.0.0.
2016-11-10 13:32:10 -08:00
John-David Dalton
032637bba1
Update core error text. [ci skip]
2016-11-10 11:39:18 -08:00
John-David Dalton
dadde87cab
Consolidate ternary in baseClone.
2016-11-08 08:36:02 -08:00
John-David Dalton
fcd0bbfc56
Correct bitmask flag order. [ci skip]
2016-11-08 07:35:20 -08:00
John-David Dalton
600fbbadfb
Cleanup _.omit.
2016-11-08 01:03:41 -08:00
John-David Dalton
3d0df11e50
Add bitmask to baseClone.
2016-11-07 23:00:31 -08:00
John-David Dalton
2e4c997dba
Use more clear condition in unclonable test.
2016-11-07 23:00:31 -08:00
John-David Dalton
5aaf7e40ae
Cleanup deep path tests.
2016-11-07 23:00:21 -08:00
John-David Dalton
57703b040d
Rename param props to paths.
2016-11-06 18:07:49 -08:00
John-David Dalton
c6ff776147
Use baseGet and baseSet in basePickBy.
2016-11-06 17:15:38 -08:00
Aviv Rosental
9ac729e1bc
Add deep functionality for _.omit and _.pick. ( #2794 )
2016-11-06 17:02:41 -08:00
Jhen-Jie Hong
6d951ccc87
Fix freeProcess.binding(util) usage ( #2793 )
2016-11-06 11:11:01 -08:00
John-David Dalton
3217118fab
Add more _.spread tests.
2016-11-06 00:39:13 -07:00
John-David Dalton
6ef973ae33
Avoid trailing slice unless needed.
2016-11-06 00:13:16 -07:00
John-David Dalton
e0a65ac34a
Cleanup fp tests.
2016-11-06 00:11:53 -07:00
John-David Dalton
b833d83a3e
Add tests for “AllWith” fp methods.
2016-11-06 00:11:53 -07:00
John-David Dalton
220713109c
Capitalize Lodash in header. [ci skip]
2016-11-06 00:11:53 -07:00
John-David Dalton
cafb9822ce
Refine combo mark ranges.
2016-11-06 00:11:48 -07:00
John-David Dalton
1b3815928d
Ensure fp.mergeAllWith accepts more than 2 sources. [ closes #2786 ]
2016-11-04 01:10:54 -07:00
greenkeeper[bot]
fbb67f9dbe
Update deps.
2016-11-03 08:24:04 -07:00
John-David Dalton
8d24f393ac
Increment package version to enable ci tests.
2016-11-01 00:55:43 -07:00
John-David Dalton
7759376b91
Bump to v4.16.6.
2016-10-31 23:00:14 -07:00
John-David Dalton
ccc3081be0
Rebuild lodash and docs.
2016-10-31 22:58:47 -07:00
John-David Dalton
62b66305f2
Adjust conditional assignments.
2016-10-31 20:34:49 -07:00
John-David Dalton
65daae2043
Remove unneeded var assignment in baseXor.
2016-10-31 16:32:58 -07:00
John-David Dalton
0fcf43b02b
Ensure _.xor returns an empty array when comparing the same array. [ closes #2776 ]
2016-10-31 16:32:58 -07:00
John-David Dalton
46d1f53ee9
Increment package version to enable ci tests.
2016-10-31 16:32:52 -07:00
John-David Dalton
fc22665dd8
Bump to v4.16.5.
2016-10-30 22:56:07 -07:00
John-David Dalton
7862e5ce2d
Rebuild lodash and docs.
2016-10-30 22:56:04 -07:00
John-David Dalton
7cbffd5ebf
Update deps.
2016-10-30 22:55:59 -07:00
John-David Dalton
5028267c72
Fix broken builds.
2016-10-29 18:32:24 -07:00
John-David Dalton
6f03ef955c
Drop Node 4 testing in travis.
2016-10-29 18:32:24 -07:00
John-David Dalton
f75bf13ad1
Use ~ instead of $HOME.
2016-10-29 18:32:23 -07:00
John-David Dalton
d7dbf0951d
Add another _.xor test for multiple arrays.
2016-10-29 18:32:23 -07:00
John-David Dalton
daf6de6a46
Add uncloneable Proxy constructor test.
2016-10-29 18:32:23 -07:00
John-David Dalton
7d4c3ed404
Add async function detection to _.isFunction.
2016-10-29 18:32:23 -07:00
John-David Dalton
a9fd17950a
Add clear to the Map interface note of _.memoize. [ci skip]
2016-10-29 18:32:23 -07:00
John-David Dalton
b91a515258
Cleanup test labels.
2016-10-27 00:06:59 -07:00
John-David Dalton
bc5729a9de
Use consistent nullish checks.
2016-10-27 00:06:59 -07:00
John-David Dalton
729d1a57aa
Ensure _.xor works with more than two arrays. [ closes #2758 ]
2016-10-27 00:06:59 -07:00
John-David Dalton
73e2562cd1
Add Node 7 testing to travis.
2016-10-26 00:51:34 -07:00
John-David Dalton
849423c9d8
Param doc format nits. [ci skip]
2016-10-25 23:13:40 -07:00
Richard Gibson
1c9a9f364d
Avoid object mutation in getRawTag. [ closes #2755 ]
2016-10-25 23:13:34 -07:00
John-David Dalton
e485e16d28
Update deps.
2016-10-25 14:30:33 -07:00
John-David Dalton
bc49e7fe18
Bump Chrome testing in Sauce.
2016-10-24 16:15:31 -07:00
John-David Dalton
6a9337434f
Use travis jwt addon.
2016-10-24 16:15:31 -07:00
John-David Dalton
0c89b9aeb5
Update uglify-js to 2.7.4.
2016-10-24 10:17:49 -07:00
Josh Soref
6f7a8501cb
Spelling. ( #2745 )
2016-10-20 12:15:15 -07:00
John-David Dalton
7a03898ffe
Bump HOT_COUNT limit to improve fp debugging.
2016-10-19 16:22:32 -07:00
John-David Dalton
609ae34b4e
Rename jQuery Foundation to JS Foundation. [ci skip]
2016-10-19 08:41:40 -07:00
John-David Dalton
2d21faf68a
Update async to 2.1.2.
2016-10-19 08:41:36 -07:00
John-David Dalton
26ee0c5c2a
Cleanup PhantomJS upgrade.
2016-10-15 23:32:13 -07:00
John-David Dalton
cafb5e1331
Avoid leaked var in _.before test.
2016-10-15 18:10:55 -07:00
John-David Dalton
7717b8aa64
Remove more quotes.
2016-10-15 18:10:55 -07:00
John-David Dalton
c82322c490
Fix amd test fails.
2016-10-15 18:10:50 -07:00
John-David Dalton
4af0c066ec
Update async to 2.1.1.
2016-10-15 12:17:20 -07:00
John-David Dalton
d2b10de40b
Bump Edge testing in Sauce.
2016-10-13 12:30:51 -07:00
John-David Dalton
26bfb74a60
Continue to configure npm.
2016-10-13 00:59:02 -07:00
John-David Dalton
ef129e4c8c
Use semicolons in place of &&.
2016-10-13 00:48:07 -07:00
John-David Dalton
0b04309ea5
Use yarn.
2016-10-12 22:42:58 -07:00
John-David Dalton
fb4852f6db
More travis cleanup.
2016-10-12 22:21:35 -07:00
John-David Dalton
5046943020
Remove extraneous quotes from travis.yml.
2016-10-12 19:50:55 -07:00
John-David Dalton
14d7f89f75
Remove mapping shortcut references.
2016-10-12 07:03:02 -07:00
John-David Dalton
d431e97030
fp.convert should handle aliased and remapped methods. [closes #2728 ]
2016-10-11 22:40:20 -07:00
John-David Dalton
8f06ea259a
Tweak exit early in _.isFunction.
2016-10-10 10:34:38 -07:00
John-David Dalton
0a0fa58e2d
Use isObjectLike instead of isObject.
2016-10-10 10:28:16 -07:00
John-David Dalton
286f1abb87
Use empty string instead of undefined.
2016-10-10 10:27:57 -07:00
John-David Dalton
a621ba236a
Remove try-catches in tests where possible.
2016-10-10 08:13:15 -07:00
John-David Dalton
a041a3782d
Remove unneeded IE conditional comments test.
2016-10-10 08:12:35 -07:00
John-David Dalton
9f8064a8b5
Add read-only Symbol.toStringTag test.
2016-10-09 23:35:46 -07:00
John-David Dalton
729f424622
Minor formatting nit. [ci skip]
2016-10-09 22:40:40 -07:00
John-David Dalton
6a8e978fd7
Remove unneeded _.isPlainObject test.
2016-10-09 22:32:20 -07:00
John-David Dalton
aea509c230
Add Symbol.toStringTag test for _.isPlainObject.
2016-10-09 22:25:33 -07:00
John-David Dalton
21113b8c87
Minor hyphen nit. [ci skip]
2016-10-09 22:25:01 -07:00
John-David Dalton
dcf6d382c4
Add missing realm.element.
2016-10-09 21:27:25 -07:00
John-David Dalton
c541598f40
Cleanup testing arguments objects.
2016-10-09 21:09:50 -07:00
John-David Dalton
bd8e38518f
Add more _.isElement tests.
2016-10-09 20:24:48 -07:00
John-David Dalton
067036a359
Simplify isElement.
2016-10-09 20:24:36 -07:00
John-David Dalton
22b51ed232
Refine _.isError checks to avoid false positives on plain objects.
2016-10-09 20:06:03 -07:00
John-David Dalton
054e78572b
Add support for ordinals to _.words.
2016-10-09 16:43:44 -07:00
John-David Dalton
31cb06a643
Move Symbol.toStringTag workaround to getRawTag.
2016-10-09 16:43:36 -07:00
John-David Dalton
ee4a5a2604
Make objectToString its own helper function.
2016-10-09 12:59:28 -07:00
John-David Dalton
05b60871c5
Minor toSource param description nit. [ci skip]
2016-10-09 12:37:22 -07:00
John-David Dalton
03a194fcb9
Make toStringTag checks resistant to spoofing.
2016-10-08 10:59:01 -07:00
John-David Dalton
52e96c38dc
Exit early from _.isEmpty for nullish values.
2016-10-08 10:42:21 -07:00
John-David Dalton
f5dd98cac4
Clarify lodash build.
2016-10-08 10:41:35 -07:00
John-David Dalton
b890d40b54
Remove unneeded capture phase param from addEventListener.
2016-10-08 10:41:21 -07:00
John-David Dalton
457a0dc703
Update glob to 7.1.1.
2016-10-07 15:31:47 -07:00
John-David Dalton
e4837cd75d
Increment package version to enable ci tests.
2016-10-07 08:15:21 -07:00
John-David Dalton
67b2c6f900
Bump to v4.16.4.
2016-10-05 23:20:11 -07:00
John-David Dalton
260a84c4d8
Rebuild lodash and docs.
2016-10-05 23:19:24 -07:00
John-David Dalton
4b0db6ec6c
Update qunit-extras to 3.0.0.
2016-10-05 23:19:24 -07:00
John-David Dalton
9c4c194bb5
Replace Object.create mock with undefined to hit more bizarro code paths.
2016-10-05 23:19:24 -07:00
John-David Dalton
ac74a1ea15
Remove unneeded shim juggle.
2016-10-05 23:19:24 -07:00
John-David Dalton
e4ddf3e155
Add nested check to _.merge test for non-plain object source values.
2016-10-05 23:19:23 -07:00
John-David Dalton
896b27ef73
Remove unneeded bizarro tests.
2016-10-05 23:19:23 -07:00
John-David Dalton
bdf0b9f288
Cleanup Babel workaround.
2016-10-05 23:19:10 -07:00
John-David Dalton
1665e5cbff
Add bizarro _.create test.
2016-10-05 17:22:31 -07:00
John-David Dalton
6e8c0de1ff
Add buffer test for _.merge.
2016-10-05 15:36:36 -07:00
John-David Dalton
4fb41ac6a9
Update removed snippets for the coverage run.
2016-10-05 12:13:25 -07:00
John-David Dalton
af983b2dd3
Ensure _.negate test for multiple arguments hits the 4 arguments case.
2016-10-05 11:09:37 -07:00
John-David Dalton
405d5875b8
Add _.isEmpty test for prototype objects.
2016-10-05 11:09:37 -07:00
John-David Dalton
b30f979ec7
Wrap arguments in case IIFE is removed.
2016-10-05 10:34:20 -07:00
John-David Dalton
836bd258a0
Ensure _.toString works on an array of symbols.
2016-10-05 09:07:51 -07:00
John-David Dalton
d2f74ee245
Minor _.toString doc typo fix. [ci skip]
2016-10-05 08:16:03 -07:00
John-David Dalton
45f668b416
Add baseIsArguments.
2016-10-04 22:28:17 -07:00
John-David Dalton
d29d74f687
Move baseClamp use to arraySampleSize and baseSampleSize.
2016-10-04 22:28:16 -07:00
John-David Dalton
9fba7be296
Add comments to arrayLikeKeys. [ci skip]
2016-10-04 08:41:32 -07:00
John-David Dalton
f30851bac1
Simplify _.isArguments more.
2016-10-04 01:08:05 -07:00
John-David Dalton
d308bce09f
Add isTypedArray check to _.isEmpty.
2016-10-04 00:32:15 -07:00
John-David Dalton
3d7dbd140c
Remove unused variable.
2016-10-04 00:23:34 -07:00
John-David Dalton
15bd64a1b4
Normalize keys of buffers and typed arrays.
2016-10-04 00:23:00 -07:00
John-David Dalton
3c30100837
Use baseFor in baseMerge.
2016-10-03 22:32:30 -07:00
John-David Dalton
81bdb9da43
Cleanup array type juggling.
2016-10-03 20:34:37 -07:00
John-David Dalton
60e3a93a30
Simplify _.isArguments.
2016-10-03 20:33:39 -07:00
John-David Dalton
158f2839fd
Remove Safari 8.1 note. [ci skip]
2016-10-03 20:30:46 -07:00
John-David Dalton
c7b9df4286
Cleanup branching for array-likes in baseMergeDeep.
2016-10-03 18:06:07 -07:00
John-David Dalton
0eca941e22
Add isBuffer checks to baseMerge and _.transform.
2016-10-03 18:05:32 -07:00
John-David Dalton
8592f4163f
Fix _.merge regression with buffers. [ closes #2699 ]
2016-10-03 17:07:45 -07:00
John-David Dalton
29e2598a39
Remove duplicate operator. [ci skip]
2016-10-03 14:57:06 -07:00
John-David Dalton
32e75acb9f
Indentation nit. [ci skip]
2016-10-03 14:56:32 -07:00
John-David Dalton
b54501a771
Increment package version to enable ci tests.
2016-10-03 10:34:46 -07:00
John-David Dalton
6062860628
Bump to v4.16.3.
2016-10-02 20:22:53 -07:00
John-David Dalton
a12c3797fb
Rebuild lodash and docs.
2016-10-02 20:22:06 -07:00
John-David Dalton
48bc8b4f1a
Update Firefox in sauce.
2016-10-02 19:19:10 -07:00
John-David Dalton
e861681963
Cleanup buffer tests.
2016-10-02 13:57:42 -07:00
John-David Dalton
9985e81808
Add _.isEqual test for buffers.
2016-10-02 13:37:47 -07:00
John-David Dalton
ffde99b216
Minor test formatting nit. [ci skip]
2016-10-01 23:35:30 -07:00
John-David Dalton
492caa4fd2
Add _.isFunction test for the Proxy constructor.
2016-10-01 23:34:45 -07:00
John-David Dalton
01c0950ae8
Add existence check for runInContext. [ closes #2694 ]
2016-09-30 15:33:12 -07:00
John-David Dalton
20fa52309c
Add proxyTag check to _.isFunction for Safari 10 support of the Proxy constructor. [ closes #2689 ]
2016-09-29 14:54:09 -07:00
John-David Dalton
7a345b5606
Clarify fp spread methods description. [ closes #2687 ] [ci skip]
2016-09-29 13:06:04 -07:00
John-David Dalton
b6d8116882
Indentation nit in readme. [ci skip]
2016-09-28 14:03:24 -07:00
John-David Dalton
4495e74f77
Treat buffers separately from typed arrays.
2016-09-28 12:54:11 -07:00
John-David Dalton
c009349d99
Use only one defineProperty reference.
2016-09-27 14:36:41 -07:00
John-David Dalton
26d5ba992c
Fix prototype typo.
2016-09-27 14:04:06 -07:00
John-David Dalton
320ef6f933
Cleanup assignment test.
2016-09-26 21:43:49 -07:00
John-David Dalton
b678bb4a74
Make _.defaultsDeep and _.merge consistent with _.defaults in assigning undefined values. [ closes #2676 ]
2016-09-26 21:43:49 -07:00
John-David Dalton
c1c394ac60
Increment package version to enable ci tests.
2016-09-26 21:43:49 -07:00
John-David Dalton
70d3057e17
Bump to v4.16.2.
2016-09-25 13:24:51 -07:00
John-David Dalton
3d27920226
Rebuild lodash and docs.
2016-09-25 13:24:51 -07:00
John-David Dalton
33a43a5f93
Update Node usage example. [ci skip]
2016-09-25 13:24:51 -07:00
John-David Dalton
fac9501840
Refine ext detection.
2016-09-25 13:19:48 -07:00
John-David Dalton
4d6aade733
Rename param to size.
2016-09-25 13:19:48 -07:00
John-David Dalton
d9e2c1cc34
Remove MAX_ARRAY_LENGTH use in arrayShuffle and baseShuffle.
2016-09-25 13:19:48 -07:00
John-David Dalton
c8c6a7e7b1
Fix arraySample description. [ci skip]
2016-09-25 13:19:48 -07:00
John-David Dalton
69addb855e
Add baseSample, baseSampleSize, and baseShuffle.
2016-09-25 13:19:48 -07:00
John-David Dalton
55fb0172c0
Move thrower from v4 to move to v3.
2016-09-25 13:19:43 -07:00
John-David Dalton
2026cbeebd
Add thrower helper.
2016-09-24 10:57:38 -07:00
John-David Dalton
d6d01cdfa0
Remove the need for es-sham.
2016-09-23 19:25:46 -07:00
John-David Dalton
cb07604dc6
Fix local failing PhantomJS 2 test.
2016-09-23 16:51:21 -07:00
John-David Dalton
549def0e48
Use Buffer.allocUnsafe when available.
2016-09-23 16:48:36 -07:00
John-David Dalton
a3c215919d
Create more error text constants.
2016-09-23 16:48:02 -07:00
John-David Dalton
ab904a1047
Add error to encourage users to shim when needed.
2016-09-23 14:39:03 -07:00
John-David Dalton
60381f4d6c
Update deps.
2016-09-22 16:02:49 -07:00
John-David Dalton
8f607295ae
Increment package version to enable ci tests.
2016-09-20 15:13:43 -07:00
John-David Dalton
27218a95af
Bump to v4.16.1.
2016-09-20 09:40:52 -07:00
John-David Dalton
8e150ad6bc
Rebuild lodash and docs.
2016-09-20 09:40:52 -07:00
John-David Dalton
c8914a890c
Excuse more Underscore _.escape tests.
2016-09-20 09:40:52 -07:00
John-David Dalton
b25a86f352
Use lodashStable.escape in more places.
2016-09-20 07:49:59 -07:00
John-David Dalton
ec8e279235
Add _.escape and _.unescape tests for backticks.
2016-09-20 07:49:40 -07:00
John-David Dalton
1cc16029db
Avoid attempting to (un)escape backticks. [ closes #2660 ]
2016-09-20 07:31:21 -07:00
John-David Dalton
5c912bcc62
Wrap runInContext in parentheses as a hint to avoid deferred parsing.
2016-09-19 17:13:18 -07:00
John-David Dalton
b3742c8d3c
Update coveralls to 2.11.14.
2016-09-19 17:13:18 -07:00
John-David Dalton
c3a7516712
Increment package version to enable ci tests.
2016-09-19 17:13:18 -07:00
John-David Dalton
12319d5775
Bump to v4.16.0.
2016-09-17 22:13:04 -07:00
John-David Dalton
45e1965936
Rebuild lodash and docs.
2016-09-17 22:10:52 -07:00
John-David Dalton
6091c8ec49
Remove outdated _.runInContext example. [ci skip]
2016-09-17 19:12:45 -07:00
John-David Dalton
cfb7dab0f3
Update deps.
2016-09-17 18:42:43 -07:00
John-David Dalton
2d9f3cde0f
Add greenkeeper ignore field to packagre.json. [ci skip]
2016-09-17 16:28:15 -07:00
John-David Dalton
e5f4770247
Break out _.sampleSize and _.shuffle into array helpers.
2016-09-16 08:27:46 -07:00
Greenkeeper
dc7c321514
Update coveralls to 2.11.13.
2016-09-15 10:55:21 -07:00
John-David Dalton
40164659b1
Simplify changelog reference. [ci skip]
2016-09-15 10:16:59 -07:00
Mark Stosberg
7829f3d224
Add CHANGELOG in the expected place and link it to where it's actually maintained. ( #2648 )
...
Ref: https://github.com/lodash/lodash/issues/875
2016-09-15 10:10:09 -07:00
John-David Dalton
92359257c1
Update tested Chrome version in sauce.
2016-09-14 11:15:34 -07:00
John-David Dalton
d2a2b3a8c4
Reduce n_ note. [ci skip]
2016-09-10 21:05:32 -07:00
John-David Dalton
4019eb65f2
Use jsdelivr combo src for fp example. [ci skip]
2016-09-10 14:22:38 -07:00
John-David Dalton
4c5bead5c6
Update Node usage comments. [ci skip]
2016-09-10 13:34:07 -07:00
John-David Dalton
0163aae357
Trim code snippet comments.
2016-09-10 13:08:45 -07:00
John-David Dalton
8fa23a94a0
Use nullish checks instead of coercing to booleans.
2016-09-10 10:48:36 -07:00
John-David Dalton
8176d56c72
Move arraySample definition to fix builds.
2016-09-06 14:24:53 -07:00
John-David Dalton
5add168743
Update requirejs.
2016-09-06 13:00:59 -07:00
John-David Dalton
27e59404d3
Add engines field to package.json.
2016-09-06 12:43:28 -07:00
John-David Dalton
54f5ac7b8d
Simplify nested highlights selector.
2016-09-06 08:04:38 -07:00
John-David Dalton
5c688cc0b7
Remove rogue html-minifier reference.
2016-09-05 23:20:37 -07:00
John-David Dalton
86efb0ea09
Use an arrow function.
2016-09-05 23:18:39 -07:00
John-David Dalton
bc13666222
Reduce highlights further.
2016-09-05 22:49:26 -07:00
John-David Dalton
d1abde7d1a
Remove broken HTML escaping.
2016-09-05 02:08:07 -07:00
John-David Dalton
691db4d406
Refine the auto-link selector.
2016-09-05 01:54:33 -07:00
John-David Dalton
fb833b0c19
Cleanup build-site.js.
2016-09-04 22:32:21 -07:00
John-David Dalton
4d2181ad83
Use template string literals in build-doc.js.
2016-09-04 22:26:48 -07:00
John-David Dalton
9dd291a96e
Move html-minifier use to lodash.github.io.
2016-09-04 01:23:16 -07:00
John-David Dalton
1344803e7e
Minify highlights snippets.
2016-09-03 09:22:57 -07:00
John-David Dalton
4a5f8fa974
Split _.sample out to arraySample.
2016-09-01 20:03:40 -07:00
John-David Dalton
212e4a6407
Add more doc notes on the order of results. [ci skip] [ closes #2622 ]
2016-09-01 11:41:38 -07:00
John-David Dalton
d47123779e
Avoid inserting empty details.
2016-09-01 01:30:29 -07:00
John-David Dalton
fc734a6371
Increase the HOT_COUNT to avoid shorting out setting fp toString methods.
2016-09-01 01:12:12 -07:00
John-David Dalton
02be5b808e
Rename “_” id references to “lodash”.
2016-08-30 22:32:32 -07:00
John-David Dalton
0d757fdc40
Ensure _.has returns the correct result for nested sparse arrays. [ closes #2614 ]
2016-08-30 19:20:52 -07:00
John-David Dalton
0263a879c4
Add _.template note for disabling the ES template literal delimiter. [ci skip]
2016-08-29 16:19:23 -07:00
John-David Dalton
c309ed1c49
Add collapse_vars to the Uglify options.
2016-08-29 08:23:37 -07:00
John-David Dalton
e58de14437
Add memoizeCapped.
2016-08-29 08:07:34 -07:00
John-David Dalton
78a7fa1d14
Add Node.js test note. [ci skip]
2016-08-29 08:07:34 -07:00
John-David Dalton
77178a9583
Replace chaining _.forEach doc example with regular usage. [ci skip]
2016-08-29 07:37:47 -07:00
Georgii Dolzhykov
d2ab33eb52
Minor doc fix for mergeWith. [ closes #2610 ] [ci skip]
2016-08-29 07:23:14 -07:00
John-David Dalton
7b3194660c
Fix failing _.memoize test in IE 11.
2016-08-28 18:46:19 -07:00
John-David Dalton
f627b25e9d
Remove cache.clear existance check.
2016-08-28 18:46:19 -07:00
John-David Dalton
1bbb7c9d3b
Add _.memoize tests for max cache size and immutable maps.
2016-08-28 18:46:19 -07:00
John-David Dalton
08a4ae1f56
Add _.memoize tests for max cache size.
2016-08-28 18:46:19 -07:00
John-David Dalton
7c398f8019
Add Stack#size.
2016-08-28 18:46:03 -07:00
John-David Dalton
6651023f7f
Unescape delete properties.
2016-08-27 19:58:03 -07:00
John-David Dalton
021df666a3
Cleanup test method flags.
2016-08-27 19:43:44 -07:00
John-David Dalton
d7e60cb6d0
Add more object assignments tests.
2016-08-27 19:29:41 -07:00
John-David Dalton
4cd26e6860
Add more “__proto__” assignment tests.
2016-08-27 19:17:11 -07:00
John-David Dalton
946a3bf5c8
Remove unneeded value guards in tests.
2016-08-27 18:36:40 -07:00
John-David Dalton
b10e6a01b2
Add _.memoize cache limit.
2016-08-27 18:21:42 -07:00
John-David Dalton
e23341a118
Fix deburred long S value. [ closes #2606 ]
2016-08-27 16:52:46 -07:00
John-David Dalton
4446fb13a3
Change postfix increment operators to prefix.
2016-08-27 15:46:40 -07:00
John-David Dalton
4dfbde7716
Add shortOut helper.
2016-08-27 15:35:36 -07:00
John-David Dalton
3c03d4a1f3
Add castRest, flatRest, and overRest helpers.
2016-08-27 11:26:42 -07:00
John-David Dalton
a0ecdfff0b
Minor _.defer doc example nit. [ci skip]
2016-08-27 11:26:41 -07:00
John-David Dalton
60023a23df
Exit concat early if no arguments are provided.
2016-08-27 10:44:18 -07:00
John-David Dalton
e96442631c
Scope markdown-doctest to the doc folder.
2016-08-27 09:17:45 -07:00
John-David Dalton
94750bfa3c
Use ES6 in lib files.
2016-08-27 08:54:37 -07:00
John-David Dalton
5cc02555d0
Update Chrome and Firefox in sauce.
2016-08-25 15:44:26 -07:00
John-David Dalton
6e2f7e2f38
Update glob to 7.0.6.
2016-08-25 07:29:29 -07:00
John-David Dalton
de92cc32e6
Add __proto__ guards to more methods.
2016-08-25 07:00:40 -07:00
John-David Dalton
e97205409d
Make the readme mimic the homepage more. [ci skip]
2016-08-24 08:22:27 -07:00
Zakaria Ridouh
091d8e3dbf
add npm install guide ( #2592 )
2016-08-23 17:04:03 -07:00
John-David Dalton
171ca53c29
Split defineProperty to nativeDefineProperty.
2016-08-23 12:26:44 -07:00
John-David Dalton
5be61796d9
Use quotes instead of backticks.
2016-08-22 23:24:10 -07:00
John-David Dalton
1aee1c6cb8
Fix IE11 test fail.
2016-08-22 23:09:41 -07:00
John-David Dalton
343f48b08c
Ensure __proto__ is treated as a regular key in assignments. [ closes #2591 ]
2016-08-22 11:06:02 -07:00
John-David Dalton
358ecfd2eb
Add writable descriptor to setToString.
2016-08-22 10:56:07 -07:00
John-David Dalton
8066ad7e65
Rename bash to shell. [ci skip]
2016-08-22 00:09:05 -07:00
John-David Dalton
7ae0d0099d
Reduce highlights class names.
2016-08-21 23:58:28 -07:00
John-David Dalton
2e4fc41c9b
Update marky-markdown to 8.1.0.
2016-08-21 21:04:37 -07:00
Greenkeeper
71247ff556
Update deps.
2016-08-21 19:07:06 -07:00
John-David Dalton
5ef163f143
Drop lesser used or soon to be unsupported Node.js versions from travis.
2016-08-21 19:06:24 -07:00
John-David Dalton
510cbfaa3f
Cleanup fp test labels.
2016-08-18 10:45:08 -07:00
John-David Dalton
bd3fcab9c0
Add fp.rangeStep and fp.rangeStepRight. [ closes #2584 ]
2016-08-18 10:45:08 -07:00
John-David Dalton
9841e6aa4c
Use cacheHas in equalArrays.
2016-08-17 12:04:07 -07:00
John-David Dalton
1bf125eebd
Add strictIndexOf and strictLastIndexOf helpers.
2016-08-17 12:04:06 -07:00
John-David Dalton
f9936b8b54
Add setToString helper.
2016-08-17 12:04:06 -07:00
John-David Dalton
d11aa6de06
Update _.sortBy doc example with preferred usage. [ci skip]
2016-08-17 12:04:06 -07:00
John-David Dalton
1c4fccc0fd
Remove Edge note since it’s covered by the IE 11 note. [ci skip]
2016-08-17 12:04:06 -07:00
John-David Dalton
aa0323f04d
Update Node.js compat comment. [ci skip]
2016-08-17 12:04:06 -07:00
John-David Dalton
2916e9dd11
Remove nonEnumShadows.
2016-08-13 14:17:41 -07:00
John-David Dalton
6958d7abd4
Newline nits. [ci skip]
2016-08-13 14:13:46 -07:00
John-David Dalton
9e661cb858
Excuse more Underscore tests.
2016-08-13 14:13:34 -07:00
John-David Dalton
a972026c67
Drop Node 0.10 testing in travis.
2016-08-13 13:52:20 -07:00
John-David Dalton
2b1bda7418
Remove old Chrome and Firefox fixes.
2016-08-13 13:50:21 -07:00
John-David Dalton
a6a3f3ed80
Remove isHostObject helper.
2016-08-13 13:29:41 -07:00
John-David Dalton
5cca51e978
Remove escaping backticks.
2016-08-13 13:29:41 -07:00
John-David Dalton
7c971587dc
Increment package version to enable ci tests.
2016-08-13 13:29:41 -07:00
John-David Dalton
40a13d4b86
Bump to v4.15.0.
2016-08-12 07:20:51 -07:00
John-David Dalton
a0971d016d
Rebuild lodash and docs.
2016-08-11 23:09:09 -07:00
John-David Dalton
410e9e3eb8
Update _.deburr tests.
2016-08-11 23:05:31 -07:00
John-David Dalton
37813c3826
Add _.negate test for accepting multiple arguments.
2016-08-11 23:05:28 -07:00
John-David Dalton
e00c243662
Update bug comments. [ci skip]
2016-08-11 23:05:27 -07:00
John-David Dalton
f504f5aac5
Minor comment nit. [ci skip]
2016-08-10 23:51:13 -07:00
John-David Dalton
0b63f2c259
Implement reAsciiWord by a negated character class to match more when unicode is dropped.
2016-08-10 23:18:15 -07:00
John-David Dalton
14fb27ce77
Update _.debounce test to hit code branch.
2016-08-10 18:44:46 -07:00
John-David Dalton
7da7d7b7e0
Update ecstatic to 2.1.0.
2016-08-10 18:44:21 -07:00
John-David Dalton
907add6acc
Have travis cache the npm cache instead of node_modules.
2016-08-10 12:51:04 -07:00
John-David Dalton
f110e3ddcd
Add Latin Extended-A support to comments/docs. [ci skip]
2016-08-10 12:51:04 -07:00
John-David Dalton
ed206e5611
Added latin extended-a block support to _.deburr. [ closes #2511 ]
2016-08-10 12:50:57 -07:00
John-David Dalton
e4d8af175b
Remove String reference.
2016-08-09 20:15:51 -07:00
John-David Dalton
ba7ddc8cdc
Minor format nit. [ci skip]
2016-08-09 18:18:45 -07:00
John-David Dalton
389f5790a7
Remove npm update —dev from travis.
2016-08-09 18:17:59 -07:00
John-David Dalton
6071982dd9
Rework ascii and unicode helpers.
2016-08-09 18:08:20 -07:00
Greenkeeper
f71c0bd4c3
Update ecstatic to 2.0.0.
2016-08-09 12:22:47 -07:00
John-David Dalton
50b45d013a
Fix typo in FP doc template. [ci skip]
2016-08-09 07:49:17 -07:00
John-David Dalton
93a047e77c
Remove chatty npm update from lodash-cli in travis.
2016-08-09 00:01:22 -07:00
John-David Dalton
a3bf0e8888
Simplify _.size.
2016-08-08 23:39:02 -07:00
John-David Dalton
d8fa2f3e89
Fix safari test.
2016-08-08 20:47:21 -07:00
John-David Dalton
e361c5a5b3
Preserve lodash-cli node_modules in travis.
2016-08-08 18:58:46 -07:00
John-David Dalton
3ef032cbaf
Add npm prune and update to travis.
2016-08-08 17:14:12 -07:00
John-David Dalton
36cf5a7ff3
Remove _.isFunction use from _.toNumber.
2016-08-08 16:38:56 -07:00
John-David Dalton
6d930d6920
Simplify _.isEmpty.
2016-08-08 16:38:51 -07:00
John-David Dalton
f676a8c9c1
Increment package version to enable ci tests.
2016-08-08 15:52:44 -07:00
John-David Dalton
941ffee2d3
Bump to v4.14.2.
2016-08-07 21:46:32 -07:00
John-David Dalton
0a71f3372f
Rebuild lodash and docs.
2016-08-07 20:56:55 -07:00
John-David Dalton
f817f68487
Update docdown to 0.7.1.
2016-08-07 16:07:06 -07:00
John-David Dalton
826975f392
Add trailing newline to generated docs.
2016-08-07 14:40:28 -07:00
John-David Dalton
5f244d3c31
Remove em elements from code blocks.
2016-08-07 14:14:23 -07:00
John-David Dalton
71be34859f
Wrap doc site in raw tags.
2016-08-07 13:55:38 -07:00
John-David Dalton
f9a4705c9c
Add node_modules to travis cache.
2016-08-06 23:01:52 -07:00
John-David Dalton
a546842792
Upgrade travis to phantom.js v2.
2016-08-06 20:38:08 -07:00
John-David Dalton
ba86e20179
Fix IE 9 test fails.
2016-08-06 20:08:43 -07:00
John-David Dalton
b32fc6f6e6
Minor function/method nit. [ci skip]
2016-08-06 17:15:54 -07:00
John-David Dalton
1f13a34687
Add nativeKeysIn and cleanup object coercion.
2016-08-06 17:07:45 -07:00
John-David Dalton
f212b4850d
Update links to ecma-262/7.0. [ci skip]
2016-08-04 21:54:03 -07:00
John-David Dalton
1b4555afb6
Restructure keys methods.
2016-08-04 21:53:55 -07:00
John-David Dalton
358013c67e
Cleanup overArg description. [ci skip]
2016-08-04 09:40:01 -07:00
John-David Dalton
a98667ca05
Remove old JIT and engine bug guards.
2016-08-03 22:06:03 -07:00
John-David Dalton
02e9f4c333
Simplify _.isEmpty.
2016-08-03 21:42:52 -07:00
John-David Dalton
d7951db01b
Fix test fail in es builds.
2016-08-03 17:22:20 -07:00
John-David Dalton
21fba2df9f
Reduce deps of _.initial and _.tail.
2016-08-03 13:04:10 -07:00
John-David Dalton
a4947139a6
Overwrite primitives in paths of set methods. [ closes #2558 ]
2016-08-03 10:48:22 -07:00
John-David Dalton
c01e7580cd
Avoid error in Edge accessing localStorage when loading tests via the file: protocol.
2016-08-03 08:34:40 -07:00
John-David Dalton
8b4f22ed75
Update marky-markdown wrapping fix.
2016-08-02 12:07:06 -07:00
John-David Dalton
669b76bf99
Update marky-markdown.
2016-08-02 00:16:07 -07:00
Greenkeeper
efee02ace7
Update docdown to 0.7.0.
2016-08-01 20:20:31 -07:00
John-David Dalton
cd8adf5611
Minor doc formatting nits. [ci skip]
2016-08-01 17:28:22 -07:00
John-David Dalton
d216106b88
Add private tag to unexposed functions. [ci skip]
2016-08-01 17:25:16 -07:00
John-David Dalton
6dd8fb12ad
Ensure fp.nthArg returns a curried function.
2016-08-01 16:55:12 -07:00
John-David Dalton
a4999575d0
Cleanup npm link creation.
2016-08-01 14:39:37 -07:00
John-David Dalton
fcaff8ff28
Update timeout related doc type tags. [ closes #2553 ] [ci skip]
2016-08-01 08:53:30 -07:00
John-David Dalton
cf0b3e3212
Update docdown options.
2016-07-31 22:16:11 -07:00
John-David Dalton
bccb4150fd
Add _.every doc note on matching empty collections. [ci skip]
2016-07-31 16:32:55 -07:00
John-David Dalton
9a297b0eb5
Cleanup partial comparison notes. [ci skip]
2016-07-31 16:32:08 -07:00
Dan J Miller
9c4baf7645
Clarify how comparison with empty sources is handled by _.matches, _.isMatch and _.matchesProperty. ( #2548 )
2016-07-31 00:54:48 -07:00
John-David Dalton
73b2f20509
Use lodash-doc-globals.
2016-07-30 23:48:17 -07:00
John-David Dalton
642690e692
Fix failing amd test.
2016-07-30 12:10:46 -07:00
John-David Dalton
1468c74c36
Make doubley sure Date.now, clearTimeout, and setTimeout are mockable.
2016-07-30 12:10:46 -07:00
Greenkeeper
0bfa1ec2d0
Update lodash to 4.14.1.
2016-07-30 12:10:46 -07:00
John-David Dalton
7c74464d7a
Remove prepublish hook because we don’ publish this branch. [ci skip]
2016-07-30 12:10:46 -07:00
John-David Dalton
de051ac1ac
Increment package version to enable ci tests.
2016-07-30 12:10:46 -07:00
John-David Dalton
ba0c4c413d
Bump to v4.14.1.
2016-07-29 00:40:38 -07:00
John-David Dalton
7e6f5ef4f5
Rebuild lodash and docs.
2016-07-29 00:40:38 -07:00
John-David Dalton
712eeb009f
Add missing semicolon. [ci skip]
2016-07-29 00:40:38 -07:00
Johannes Scharlach
b54e28deb7
Prevent failing circular reference detection. ( #2543 )
2016-07-28 23:12:53 -07:00
John-David Dalton
1f44cebac3
Update coveralls to 2.11.12.
2016-07-28 23:12:53 -07:00
John-David Dalton
9c05e8392b
Add stack.delete for other in equalArrays and equalObjects.
2016-07-28 23:12:53 -07:00
John-David Dalton
9a67fec48a
Remove stack.delete from baseMergeDeep.
2016-07-28 23:12:53 -07:00
John-David Dalton
1966ac7979
Prevent failed circular reference detection in _.defaultsDeep. [ closes #2537 ]
2016-07-28 23:12:53 -07:00
John-David Dalton
8b624217c5
Cleanup _.debounce and _.throttle docs. [ci skip]
2016-07-28 23:12:53 -07:00
John-David Dalton
40499af9b9
Fix freeModule typo.
2016-07-28 23:12:53 -07:00
John-David Dalton
b3bd359a0d
Use stubArray for easier readability.
2016-07-28 23:12:52 -07:00
John-David Dalton
de07e3f874
Add keys methods tests for array-like values.
2016-07-28 23:12:52 -07:00
John-David Dalton
c7e8953b68
Cleanup array-like tests.
2016-07-28 23:12:52 -07:00
John-David Dalton
80e7fe4bf9
Remove freeGlobal prerequisite for freeExports. [ closes #2527 ]
2016-07-28 23:12:52 -07:00
John-David Dalton
2bc199d7fc
Move method equivalence notes. [ci skip]
2016-07-28 23:12:52 -07:00
John-David Dalton
9b710d8e81
Use _.toFinite in random and range methods.
2016-07-28 23:12:52 -07:00
John-David Dalton
cc6a0ee98d
Minor .gitignore cleanup.
2016-07-28 23:12:52 -07:00
Brad Buchanan
c9492d79a1
Document behavior of _.debounce when wait is 0 ( #2530 )
...
Clarify that when `leading` is false a debounced method with `wait=0` will not invoke immediately, but on the next tick (like `setTimeout`), but when `leading` is true the invocation will be immediate.
2016-07-28 23:12:52 -07:00
Brad Buchanan
94c4719c0d
Fix missing semicolon ( #2529 )
...
I started on a documentation change but `npm run validate` after my initial pull revealed this linting error:
```
> jscs lodash.js
requireSemicolons: Missing semicolon after statement at lodash.js :
5864 | function isFlattenable(value) {
5865 | return isArray(value) || isArguments(value) ||
5866 | !!(spreadableSymbol && value && value[spreadableSymbol])
-----------------------------------------------------------------------^
5867 | }
5868 |
```
2016-07-28 23:12:51 -07:00
John-David Dalton
c253e8d7b8
Ensure paths with consecutive empty brackets or dots are parsed correctly.
2016-07-28 23:12:51 -07:00
John-David Dalton
98f12fb8e1
Update qunitjs to 2.0.1.
2016-07-28 23:12:51 -07:00
John-David Dalton
e05a40bb16
Bump to v4.14.0.
2016-07-28 23:12:51 -07:00
John-David Dalton
c73bb67486
Rebuild lodash and docs.
2016-07-28 23:12:40 -07:00
John-David Dalton
3ad0cbc86d
Minor _.includes test cleanup.
2016-07-24 08:38:09 -07:00
John-David Dalton
6402af7db9
Use String#slice instead of String#indexOf for _.endsWith and _.startsWith.
2016-07-24 08:38:09 -07:00
John-David Dalton
6a41a79ded
Move switch optimization to negate.
2016-07-23 23:33:30 -07:00
John-David Dalton
fbd9a804a9
Use negate in reject.
2016-07-23 22:11:34 -07:00
John-David Dalton
694e1175a1
Remove arity hint from lazy reject.
2016-07-23 22:11:34 -07:00
John-David Dalton
80dbd4cbfa
Add props param to basePickBy.
2016-07-23 22:11:34 -07:00
John-David Dalton
d459f4ac7c
Add more arity hints.
2016-07-23 22:11:34 -07:00
John-David Dalton
2c5c4bfbea
Remove switch statement from baseRest.
2016-07-22 21:06:15 -07:00
John-David Dalton
a1a68bb5d7
Update async to 2.0.1 and request to 2.74.0.
2016-07-22 18:51:57 -07:00
John-David Dalton
984a10c1b1
Add isConcatSpreadable to flatten methods.
2016-07-22 18:51:57 -07:00
John-David Dalton
3c4c06cb5e
Update benchmark.js to 2.1.1.
2016-07-21 08:39:58 -07:00
John-David Dalton
8d28a5ca3f
Minor var palcement nit.
2016-07-19 17:58:58 -07:00
John-David Dalton
801c4a56c3
Remove old browser addListener helper.
2016-07-19 17:58:26 -07:00
John-David Dalton
ea000e6ce7
Style nit in sauce helper.
2016-07-19 17:58:26 -07:00
John-David Dalton
6723cdfa07
Update tested firefox version in sauce.
2016-07-18 11:29:43 -07:00
John-David Dalton
2cf10711f5
Remove toc links from site.
2016-07-18 09:01:25 -07:00
John-David Dalton
bde171e947
Update doc options.
2016-07-18 09:01:25 -07:00
John-David Dalton
2696615523
Update docdown to 0.6.1 and jscs to 3.0.7.
2016-07-18 09:01:13 -07:00
John-David Dalton
f98028d1d8
Cleanup doc notes. [ci skip]
2016-07-17 21:33:41 -07:00
John-David Dalton
97475fc365
Remove checkGlobal helper.
2016-07-17 20:10:01 -07:00
John-David Dalton
ea7aa52ea3
Cleanup “coerce arguments” bits of function descriptions.
2016-07-17 20:10:01 -07:00
John-David Dalton
ec4ae5978b
Add baseRest.
2016-07-17 20:10:01 -07:00
Samuel Greene
90d73143e1
Don't rearg zipObjectDeep ( #2503 )
2016-07-17 20:10:01 -07:00
John-David Dalton
249f0cd72c
Add _.isEqual test for transitive equivalence.
2016-07-17 20:10:01 -07:00
John-David Dalton
232cc1ab34
Minor comment typo. [ci skip]
2016-07-17 20:10:01 -07:00
Greenkeeper
2cea31cb1b
Update async to version 2.0.0 and coveralls to 2.11.11.
2016-07-17 20:10:01 -07:00
John-David Dalton
02c4d60861
Remove thisGlobal use.
2016-07-17 20:10:01 -07:00
John-David Dalton
8c9073308a
Add back excused Underscore isSet test for IE11.
2016-07-17 20:10:01 -07:00
John-David Dalton
8cb5455671
Add fp.zipAll.
2016-07-17 20:10:00 -07:00
John-David Dalton
8bc44e3bff
Update qunit-extras to 2.1.0.
2016-07-17 20:10:00 -07:00
John-David Dalton
73f84baaec
Add more excused underscore debounce tests.
2016-07-17 20:10:00 -07:00
John-David Dalton
d3acace1c4
Update uglify options to disable negate_iffe.
2016-07-17 20:10:00 -07:00
Greenkeeper
7f3539d001
Update request to 2.73.0.
2016-07-17 20:10:00 -07:00
John-David Dalton
3ef19f1ab1
Add lodash-webpack-plugin reference to readme. [ci skip]
2016-07-17 20:10:00 -07:00
John-David Dalton
749b2db846
Update jquery to 3.1.0 and marky-markdown to 7.0.2.
...
chore(package): update jquery to version 3.1.0 (#2483 )
https://greenkeeper.io/
2016-07-17 20:10:00 -07:00
John-David Dalton
a3e99b5d89
Use optional-dev-dependency.
2016-07-17 20:10:00 -07:00
John-David Dalton
dbbb3fbb55
Add comments and cleanup build-site.js.
2016-07-17 20:10:00 -07:00
John-David Dalton
6eeac45d23
Update vendors.
2016-07-17 20:10:00 -07:00
John-David Dalton
5669cc0a0b
Remove hrs.
2016-07-17 20:09:59 -07:00
John-David Dalton
d986901a1c
Narrow header anchor selector.
2016-07-17 20:09:59 -07:00
John-David Dalton
5394bbf06a
Make newline formatting explicit.
2016-07-17 20:09:59 -07:00
John-David Dalton
d7b2f922b5
Remove "v" prefix from version.
2016-07-17 20:09:59 -07:00
John-David Dalton
9ab55443eb
Fix _.isEqualWith and _.isMatchWith test fails.
2016-07-17 20:09:59 -07:00
John-David Dalton
67c7a43e6f
Move marky-markdown to an optional dep.
2016-07-17 20:09:59 -07:00
Alex Wachira
26a4bfb838
Make "lodash/fp" doc link point to untagged branch. [ci skip]
2016-07-17 20:09:59 -07:00
John-David Dalton
e7a16b2e64
Make "Contributing" doc link point to untagged branch. [ci skip]
2016-07-17 20:09:45 -07:00
John-David Dalton
a5612ed668
Update uglify-js to 2.7.0 and jscs to 3.0.6.
2016-07-17 20:09:03 -07:00
John-David Dalton
f55d15692b
Remove more markymark meta data.
2016-07-17 20:08:13 -07:00
John-David Dalton
107994859b
Remove markymark links from h4s.
2016-07-17 20:08:13 -07:00
John-David Dalton
a8d3689061
Ensure _.isEqual works more consistently with circular references.
2016-07-17 20:08:12 -07:00
Y-Less
4fb4ec5328
Links to creation equivalents for in-place modification functions. ( #2468 )
...
See issue #2467
2016-07-17 20:08:12 -07:00
John-David Dalton
9bc8519656
Cleanup build-site script.
2016-07-17 20:08:12 -07:00
Benjamin Tan
af36d2d8e5
Ensure proper tags are generated. ( #2465 )
2016-07-17 20:08:12 -07:00
Zack Hall
6b0069f10f
Add doc-site build script ( #2461 )
2016-07-17 20:08:12 -07:00
John-David Dalton
a64b629333
Combine _.isMatch and _.matches tests.
2016-06-29 12:31:07 -07:00
John-David Dalton
fc4cc977ed
Remove backticks from package name.
2016-06-29 12:31:07 -07:00
John-David Dalton
7483520c8c
Cleanup .gitignore.
2016-06-29 12:31:07 -07:00
John-David Dalton
5d18fb8c70
Simplify uglify options.
2016-06-29 12:31:07 -07:00
John-David Dalton
1163bfac5c
Add _.conformsTo tests.
2016-06-29 12:31:07 -07:00
John-David Dalton
d643bbd7e4
Add conformsTo to lodash doc block. [ci skip]
2016-06-26 09:55:47 -07:00
Dan J Miller
32158935f8
Change second param of _.invokeMap as path in docs. [ci skip]
2016-06-24 19:41:01 -07:00
John-David Dalton
50bf1ea784
Ensure _.first supports shortcut fusion. [ closes #2447 ]
2016-06-24 07:05:27 -07:00
Greenkeeper
fa29123c5e
Update deps.
2016-06-22 07:15:55 -07:00
John-David Dalton
314c652818
Update Chrome versions in sauce.
2016-06-22 07:15:45 -07:00
John-David Dalton
a3dd60370e
Cleanup fp tests.
2016-06-18 22:31:45 -07:00
John-David Dalton
3d82567118
Add isEvenIndex helper to fp tests.
2016-06-18 22:31:45 -07:00
John-David Dalton
eaac5e02c0
Add fp.propertyOf test.
2016-06-18 21:59:56 -07:00
John-David Dalton
3bd5703bdb
Downgrade QUnit for Backbone test support.
2016-06-18 21:30:38 -07:00
John-David Dalton
bf80a75474
Make fp.propertyOf and remap of fp.get.
2016-06-18 12:49:48 -07:00
John-David Dalton
bea7016223
Make fp.property and alias of fp.get.
2016-06-18 12:49:48 -07:00
John-David Dalton
c8ff2b4612
Update qunit to 2.0.0.
2016-06-18 12:49:48 -07:00
John-David Dalton
6c673cd19b
Cleanup wrapper details helpers.
2016-06-18 12:49:47 -07:00
John-David Dalton
c1ae43e041
Update glob to 7.0.4 and markdown-doctest to 0.8.0.
2016-06-18 12:49:38 -07:00
Brandon Horst
9605072200
Formalize which value is picked by _.unionBy and _.unionWith to pick the result from the first array in which it occurs.
2016-06-18 12:47:44 -07:00
John-David Dalton
9cabc7c222
Ensute _.assignWith respects customizer results of undefined. [ closes #2424 ]
2016-06-18 12:47:44 -07:00
Dan J Miller
b2b3391827
Fixed display of transforms param in overArgs docs. ( #2422 )
2016-06-18 12:47:43 -07:00
John-David Dalton
19e94b8889
Move split out functions.
2016-06-18 12:47:43 -07:00
John-David Dalton
4bee8c9ead
Add docs for split out functions. [ci skip]
2016-06-18 12:47:43 -07:00
John-David Dalton
3f1ae77306
Assign pair[0] to a variable.
2016-06-18 12:47:43 -07:00
John-David Dalton
9f6d6d7b37
Remove isFlattenableIteratee predicate to resolve regression. [ closes #2418 ]
2016-06-18 12:47:43 -07:00
John-David Dalton
adac412f58
Split out setWrapToString.
2016-06-18 12:47:43 -07:00
John-David Dalton
31ca38515a
Make wrap functions more debuggable.
2016-06-18 12:47:43 -07:00
John-David Dalton
4a35929979
Cleanup wrap comments.
2016-06-18 12:47:42 -07:00
John-David Dalton
4a0610f107
Replace _.result use with _.get.
2016-06-18 12:47:42 -07:00
John-David Dalton
9a1b3d813a
Rename wrapper function.
2016-06-18 12:47:42 -07:00
John-David Dalton
a7a4862491
Add missing context references.
2016-06-18 12:47:42 -07:00
John-David Dalton
5783536837
Update dojo to 1.11.2 and jquery to 3.0.0.
2016-06-18 12:47:42 -07:00
John-David Dalton
f8646d1a5d
Minor space nit.
2016-06-10 12:19:28 -07:00
John-David Dalton
39bb7064e7
Minor doc nits. [ci skip]
2016-06-10 12:19:28 -07:00
John-David Dalton
388bf6934d
Ensure fp.rearg returns a curried function. [ closes #2413 ]
2016-06-08 23:55:25 -07:00
John-David Dalton
5122e9271c
Add conforms to aliasToReal fp mapping.
2016-06-08 23:26:57 -07:00
John-David Dalton
32b36435f8
Add baseIsXyz helpers.
2016-06-08 10:53:49 -07:00
John-David Dalton
807ad48bbc
Add compat note to addSetEntry. [ci skip]
2016-06-07 12:19:35 -07:00
John-David Dalton
b5842314b4
Make LARGE_ARRAY_SIZE check in stackSet align with others.
2016-06-07 08:33:48 -07:00
John-David Dalton
efb4db2b86
Isolate caches of tests.
2016-06-07 07:20:01 -07:00
John-David Dalton
ecbf8cd722
Add map cache test for changing values.
2016-06-07 07:08:33 -07:00
John-David Dalton
9992144130
Cleanup clone tests.
2016-06-07 07:08:14 -07:00
Greenkeeper
1f9cba6f53
Update markdown-doctest to 0.7.0.
2016-06-06 23:46:34 -07:00
John-David Dalton
2465a6bdbd
Add fp.mergeAllWith test.
2016-06-06 23:46:06 -07:00
John-David Dalton
1a7199fd6b
Cleanup fp tests.
2016-06-06 23:20:13 -07:00
John-David Dalton
57f0a4c6d7
Add conformsTo to fp aryMethod mapping.
2016-06-06 20:00:15 -07:00
John-David Dalton
138cf77916
Add fp.assignAllWith, fp.extendAllWith, and fp.mergeAllWith.
2016-06-06 19:58:51 -07:00
John-David Dalton
43d1ca89c2
Add _.ary and _.unary tests for this binding and minimum arg count.
2016-06-06 17:49:33 -07:00
John-David Dalton
51e619b18f
Cleanup this binding test labels.
2016-06-06 17:48:35 -07:00
John-David Dalton
21df7426e2
Ensure _.divide and _.multiply return 1 when no arguments are specified. [ closes #2405 ]
2016-06-06 15:58:24 -07:00
John-David Dalton
2f6b2ca0c7
Add back clearTimeout use for debounced.cancel.
2016-06-06 10:03:43 -07:00
John-David Dalton
cf1b9f9595
Update jscs to 3.0.4.
2016-06-05 22:55:57 -07:00
John-David Dalton
b0ec8339fa
Cleanup and simplify doc examples. [ci skip]
2016-06-05 16:43:19 -07:00
John-David Dalton
762748684e
Add _.conformsTo.
2016-06-05 15:08:39 -07:00
John-David Dalton
bdfd5880e9
Adjust freeExports and freeModule assignment.
2016-06-03 10:01:46 -07:00
John-David Dalton
9e55e5bcea
Move root exposure back to the AMD branch.
2016-06-03 06:27:30 -07:00
John-David Dalton
887576e4a5
Update sauce-tunnel to 2.5.0.
2016-06-02 15:31:48 -07:00
John-David Dalton
ccd1d6ab29
Simplify _.isBuffer.
2016-06-02 14:48:25 -07:00
John-David Dalton
fcbb63ad60
Ensure helpers work when provided < 1 or > 1 argument.
2016-06-02 09:06:02 -07:00
John-David Dalton
1607e7914c
Use faster C++ helpers when available.
2016-06-02 08:42:00 -07:00
John-David Dalton
68e98397ab
Add matches to aliasToReal fp mapping.
2016-06-01 07:33:57 -07:00
John-David Dalton
3983d4f473
Update whereEq alias.
2016-06-01 00:19:19 -07:00
John-David Dalton
9eda959489
Another round of fp aliases.
2016-06-01 00:18:49 -07:00
John-David Dalton
4880f9923c
Add fp.assignAll, fp.assignInAll, fp.defaultsAll, fp.defaultsDeepAll, and fp.mergeAll.
2016-06-01 00:02:23 -07:00
John-David Dalton
87e8a4290e
Add more fp aliases.
2016-05-31 20:37:50 -07:00
John-David Dalton
fd96d59963
Add strict mode directive to a few more files.
2016-05-31 10:47:29 -07:00
John-David Dalton
1a1771f0b5
Align method descriptions with "This method" instead of "A method". [ci skip]
2016-05-31 10:46:57 -07:00
John-David Dalton
22ed53260f
Add basePropertyOf helper.
2016-05-31 08:27:24 -07:00
John-David Dalton
77cf88a3bf
Add util.pitch.
2016-05-30 22:00:20 -07:00
John-David Dalton
695d74d7c5
Add jsdocs to fp build modules.
2016-05-29 17:14:01 -07:00
John-David Dalton
a164735369
Shorten return statement descriptions for isXyz methods. [ci skip]
2016-05-29 17:14:00 -07:00
John-David Dalton
6ccea636b1
Remove argument number specifier in methodSpread note. [ closes #2390 ] [ci skip]
2016-05-29 15:02:27 -07:00
John-David Dalton
0ccaf76661
Cleanup common lib docs. [ci skip]
2016-05-28 23:15:12 -07:00
John-David Dalton
593f6f9f86
Correct doc block for overArg helper in _baseConvert. [ci skip]
2016-05-28 10:16:28 -07:00
John-David Dalton
fbdda6df03
Add overArg helper.
2016-05-27 15:36:48 -07:00
John-David Dalton
a7dcce3e8d
Simplify jsdoc arg signatures.
2016-05-27 14:38:32 -07:00
John-David Dalton
ee5718003b
Simplify getSymbols fallback.
2016-05-27 13:46:00 -07:00
John-David Dalton
a43065ec08
Add baseGetTag helper.
2016-05-26 08:59:01 -07:00
John-David Dalton
1740ee91da
Minor space nit. [ci skip]
2016-05-26 07:15:18 -07:00
John-David Dalton
90f95306f9
Make _.defaultTo return the defaultValue for NaN and nullish values.
2016-05-26 07:15:18 -07:00
John-David Dalton
0964f9175e
Cleanup test descriptions with NaN. [ci skip]
2016-05-26 07:15:17 -07:00
John-David Dalton
dbde3f8826
Add link for sorted feature requests to contributing.md. [ci skip]
2016-05-26 07:15:17 -07:00
John-David Dalton
33e08baf3f
Update umd doc note. [ci skip]
2016-05-26 07:15:12 -07:00
John-David Dalton
6e67ebab05
Cleanup _.defaultTo.
2016-05-25 08:46:14 -07:00
Mateo Calle
5fbc5303ff
Added _.defaultTo. ( #2381 )
2016-05-24 21:35:56 -07:00
John-David Dalton
e582ad226a
Use heavy round-tipped rightwards arrow instead of the plain rightwards arrow.
2016-05-24 21:19:50 -07:00
John-David Dalton
dfb71a3a50
Pop stacks when possible.
2016-05-24 21:15:23 -07:00
John-David Dalton
5355f4f25e
Remove indexOfNaN in favor of baseFindIndex.
2016-05-24 12:42:14 -07:00
John-David Dalton
98c422d227
Avoid inspecting the entire key-value array when adding values to a stack.
2016-05-24 09:43:00 -07:00
John-David Dalton
e18b577d20
Add Map guard to stackSet.
2016-05-24 00:23:21 -07:00
John-David Dalton
7226df593e
Clarify createSet doc description. [ci skip]
2016-05-24 00:22:59 -07:00
John-David Dalton
8a376f647e
Cleanup iteratee arguments test labels.
2016-05-23 23:56:55 -07:00
John-David Dalton
050087f6c4
Cleanup "find" tests.
2016-05-23 23:56:23 -07:00
John-David Dalton
c67e347255
Make _.isEqual treat invalid dates as equiv.
2016-05-23 16:39:54 -07:00
John-David Dalton
3fdac985c7
Reduce createFind.
2016-05-23 16:39:04 -07:00
John-David Dalton
02ff3e6258
Remove "unique" mention from _.difference docs. [ci skip] [ closes #2372 ]
2016-05-23 11:03:10 -07:00
John-David Dalton
65ce1b0bb5
Remove unnecessary type tag. [ci skip]
2016-05-23 10:07:25 -07:00
John-David Dalton
7e8528104b
Increment package version to enable ci tests.
2016-05-23 10:07:25 -07:00
John-David Dalton
40ac55acb6
Bump to v4.13.1.
2016-05-23 08:58:01 -07:00
John-David Dalton
42c639d252
Rebuild lodash and docs.
2016-05-23 08:57:55 -07:00
John-David Dalton
d110b64ee4
Ensure _.find and _.findLast pass the correct key param to predicate. [ closes #2367 ]
2016-05-23 08:47:43 -07:00
John-David Dalton
a2617d810c
Add failing tests for #2367 .
2016-05-23 08:47:24 -07:00
John-David Dalton
90d07bc04c
Simplify isMaskable assignment.
2016-05-22 22:11:15 -07:00
John-David Dalton
013d9db86f
Bump to v4.13.0.
2016-05-22 19:30:21 -07:00
John-David Dalton
9d4d725bc7
Rebuild lodash and docs.
2016-05-22 19:30:13 -07:00
John-David Dalton
9881cc9e10
Add fp.unionBy, fp.unionWith, fp.uniqWith, fp.xorBy, and fp.xorWith tests.
2016-05-22 19:28:32 -07:00
John-David Dalton
01474fed0b
Add fp.intersectionBy and fp.intersectionWith tests.
2016-05-22 19:06:32 -07:00
John-David Dalton
024e6d8ae8
Add fp.differenceBy and fp.differenceWith tests.
2016-05-22 19:05:54 -07:00
John-David Dalton
607ba653f7
Update doc examples and tests for _.difference, _.intersection, _.union, _.uniq, and _.xor methods.
2016-05-22 19:04:32 -07:00
John-David Dalton
9090c1904f
Add _.property shorthand note to _.countBy docs. [ci skip]
2016-05-22 19:04:31 -07:00
John-David Dalton
158b762367
Split up "mutation" and "with" method tests.
2016-05-22 01:08:26 -07:00
John-David Dalton
e8b3b2dc31
Use isEven in _.remove test.
2016-05-22 01:08:26 -07:00
John-David Dalton
5d72eec742
Reorg find tests.
2016-05-22 01:08:26 -07:00
John-David Dalton
6fe020c920
Add fp.findFrom and fp.findLastFrom tests.
2016-05-22 01:08:26 -07:00
John-David Dalton
40c5a6af49
Remove without from skipRearg mapping. [ closes #2365 ]
2016-05-21 14:26:54 -07:00
John-David Dalton
803dce242b
Update sortedIndex method doc examples. [ci skip]
2016-05-21 11:57:02 -07:00
John-David Dalton
4ed722ccd8
Prefer array use for doc examples of params that accept arrays. [ci skip]
2016-05-21 11:57:02 -07:00
John-David Dalton
f35d479d5e
Update jquery to 2.2.4 and webpack to 1.13.1.
2016-05-20 21:52:55 -07:00
John-David Dalton
f3af61de97
Use stubs in mask functions.
2016-05-20 21:32:03 -07:00
John-David Dalton
077fb89083
Simplify getNative.
2016-05-20 21:32:03 -07:00
John-David Dalton
d4d4390846
Use _.stubFalse in _.isBuffer.
2016-05-20 21:32:03 -07:00
John-David Dalton
33e54546fe
Make stub functions hoistable.
2016-05-20 21:31:58 -07:00
John-David Dalton
bf008e0680
Add fp methodRearg mappings for set "with" and "by" methods. [ closes #2359 ]
2016-05-20 10:36:18 -07:00
John-David Dalton
08694bd709
Fix markdown-doctest run.
2016-05-20 09:00:45 -07:00
John-David Dalton
91242440fc
Should not ignore empty brackes and dots.
2016-05-20 08:42:03 -07:00
John-David Dalton
68ae6fc212
Ensure round methods don't return NaN for large precision values.
2016-05-20 08:15:24 -07:00
John-David Dalton
14a16c2a7a
Remove unnecessary doctrine fixes.
2016-05-19 22:18:51 -07:00
John-David Dalton
9cbb50d3a6
Remove unnecessary defineProperty guards.
2016-05-19 21:36:29 -07:00
John-David Dalton
47635b9978
Assign setTimeout to itself to avoid leak detection.
2016-05-19 21:35:44 -07:00
John-David Dalton
f90c3f2483
Ensure _.pullAll works with the same value for array and values. [ closes #2356 ]
2016-05-19 19:47:20 -07:00
John-David Dalton
5a67ecc142
Use setProperty to mock setTimeout to avoid global leak fails in older browsers.
2016-05-19 16:15:53 -07:00
John-David Dalton
a542f8ab54
Remove clearTimeout use.
2016-05-19 13:52:18 -07:00
John-David Dalton
f32349db7d
Skip setTimout mock test in PhantomJS.
2016-05-19 13:39:36 -07:00
John-David Dalton
32f5db3f72
Fix failing _.delay test.
2016-05-19 13:39:36 -07:00
John-David Dalton
670e3983b4
Cleanup _.delay and _.defer tests.
2016-05-19 13:39:35 -07:00
John-David Dalton
e1cc4d8552
Add mock Date.now and setTimeout tests.
2016-05-19 13:39:31 -07:00
John-David Dalton
8422bb37b0
Group clearTimeout and setTimeout.
2016-05-19 08:28:49 -07:00
Arend van Beelen jr
ebf9b64062
Little doc correction for _.endsWith(). ( #2355 )
2016-05-19 08:01:17 -07:00
John-David Dalton
56b397b506
Simplify _.conforms doc example. [ci skip]
2016-05-18 17:40:12 -07:00
John-David Dalton
de6cc79ac8
Shorten _.defer doc comment. [ci skip]
2016-05-18 17:39:37 -07:00
John-David Dalton
d28395fdb9
Replace toPairs with keys in getMatchData.
2016-05-18 14:51:54 -07:00
John-David Dalton
84b8ee7bda
Allow clearTimeout, setTimeout, and Date.now to be mocked.
2016-05-18 13:50:07 -07:00
John-David Dalton
b56c732332
Cleanup fp.findFrom and fp.indexOfFrom tests.
2016-05-18 00:31:25 -07:00
John-David Dalton
041c1b4586
Simplify find tests expected.
2016-05-17 23:23:53 -07:00
John-David Dalton
0edc480d17
Increment package version to enable ci tests.
2016-05-17 13:14:20 -07:00
John-David Dalton
1a3bcb4ebd
Add _.findLast tests for fromIndex values.
2016-05-17 00:52:38 -07:00
John-David Dalton
7d8c2a84b7
Cleanup up from fromIndex and length test labels.
2016-05-17 00:52:25 -07:00
John-David Dalton
4faac431c4
Make _.debounce and _.throttle tests align on dummy args.
2016-05-16 18:34:10 -07:00
John-David Dalton
df9ded3282
Fix _.throttle test for system time of 0.
2016-05-16 18:33:36 -07:00
John-David Dalton
1fe8d1679e
Add nullish guards to private methods used by lodash-webpack-plugin.
2016-05-16 18:31:33 -07:00
John-David Dalton
708505f2b1
Minor doc note fixes. [ci skip]
2016-05-16 18:31:02 -07:00
John-David Dalton
b2da5ee1a7
Add backticks to error message. [ci skip]
2016-05-16 18:30:12 -07:00
John-David Dalton
315e751f43
Add _.isNative doc note. [ci skip]
2016-05-16 18:29:30 -07:00
John-David Dalton
dc5544223f
Use new operator when throwing an error for consistency.
2016-05-16 15:56:03 -07:00
John-David Dalton
c14728d31a
More test cleanup.
2016-05-16 13:35:05 -07:00
John-David Dalton
7d4b154866
Use consistent results var name in debounce & throttle tests.
2016-05-16 10:47:27 -07:00
John-David Dalton
b69647a0c3
Add isModularize check for _.throttle test for system time of 0.
2016-05-16 10:37:00 -07:00
John-David Dalton
d054442e2c
Cleanup date mocks.
2016-05-16 10:31:20 -07:00
John-David Dalton
e50bf1fb44
Add _.throttle test for a system time of 0.
2016-05-16 08:38:20 -07:00
John-David Dalton
d40b6a75da
Test label cleanup for find methods.
2016-05-16 08:17:15 -07:00
John-David Dalton
e124e7fb5f
Init lastCallTime as undefined to avoid issues when the sytem time is 0. [ closes #2342 ]
2016-05-16 01:00:26 -07:00
John-David Dalton
7c3a163f9c
Add back _.includes test for strings with a fromIndex.
2016-05-15 22:29:32 -07:00
John-David Dalton
03af0791aa
Remove dead code from tests.
2016-05-15 21:46:33 -07:00
John-David Dalton
464885a539
Add getValue helper.
2016-05-15 20:57:10 -07:00
John-David Dalton
346579ac7a
Add interopRequire test helper.
2016-05-15 15:48:52 -07:00
John-David Dalton
76ed206e9b
Make _.isNative throw if core-js is detected.
2016-05-15 15:48:47 -07:00
John-David Dalton
06e7c963ef
Combine _.find and _.includes tests for fromIndex.
2016-05-14 23:16:38 -07:00
John-David Dalton
573d902026
Simplify umd and exports.
2016-05-14 13:11:58 -07:00
John-David Dalton
66cdfe5896
Update markdown-doctest to 0.6.0.
2016-05-13 20:04:36 -07:00
John-David Dalton
9afd4659c7
Add fake source key detection.
2016-05-13 20:03:13 -07:00
John-David Dalton
7249217600
Add "findFrom" methods to fp dep mappings.
2016-05-12 22:44:26 -07:00
John-David Dalton
2f20c672e0
Update _.times doc example to not duplicate _.stubTrue. [ci skip]
2016-05-12 16:29:16 -07:00
John-David Dalton
6d02a64c47
Add fromIndex param to _.find and _.findLast.
2016-05-12 16:19:35 -07:00
Jeroen Engels
3d078383cb
Add findIndexFrom, findLastIndexFrom, indexOfFrom, & lastIndexOfFrom in FP.
2016-05-12 15:08:05 -07:00
John-David Dalton
64e765bf7a
Fix _.stubFalse doc example typo. [ci skip]
2016-05-12 13:57:14 -07:00
John-David Dalton
b5b6125730
Minor space nit. [ci skip]
2016-05-12 13:54:56 -07:00
John-David Dalton
e45984f6b8
Add npm prepublish hook.
2016-05-12 07:59:42 -07:00
John-David Dalton
a95cf1c26c
Rename mock to stub.
2016-05-12 07:53:34 -07:00
Greenkeeper
4a19913726
Update markdown-doctest to 0.5.0.
2016-05-12 06:37:23 -07:00
John-David Dalton
52ae769bfa
Add default accumulator note to _.transform docs. [ci skip]
2016-05-11 22:11:08 -07:00
John-David Dalton
44d7c3887d
Rename test helper prop to resolve.
2016-05-11 00:28:36 -07:00
John-David Dalton
315271996c
Cleanup _.constant tests.
2016-05-11 00:28:36 -07:00
John-David Dalton
2357704540
Add _.mockArray, _.mockFalse, _.mockObject, _.mockString, and _.mockTrue.
2016-05-11 00:28:31 -07:00
John-David Dalton
262049f737
Remove extraneous _.toPath examples. [ci skip]
2016-05-10 23:33:27 -07:00
John-David Dalton
04d6e351a6
Add fromIndex param to _.findIndex and _.findLastIndex.
2016-05-10 23:33:21 -07:00
Greenkeeper
9fa86ec712
Update ecstatic to 1.4.1.
2016-05-10 19:09:47 -07:00
John-David Dalton
901e3dcff2
Flip "n" and "index" in _.nth and _.nthArg docs. [ci skip]
2016-05-08 16:50:38 -07:00
John-David Dalton
43fffe3200
Bump to v4.12.0.
2016-05-07 22:02:47 -07:00
John-David Dalton
1123e13072
Rebuild lodash and docs.
2016-05-07 22:02:40 -07:00
John-David Dalton
996636d25b
Update lodash dep.
2016-05-07 19:31:52 -07:00
John-David Dalton
8864095bab
Update firefox version in sauce.
2016-05-07 19:31:52 -07:00
John-David Dalton
def9f5d84a
Fix doc typo for _.toPairsIn. [ closes #2314 ]
2016-05-07 10:07:10 -07:00
John-David Dalton
47d024ae7b
Use "index" instead of "nth". [ closes #2313 ] [ci skip]
2016-05-07 06:55:24 -07:00
John-David Dalton
05135ca171
Update chrome version in sauce.
2016-05-06 22:58:22 -07:00
John-David Dalton
ca1f22a7c6
Ensure trailing function sources aren't skipping for _.assign, _.assignIn, _.defaults, & _.merge. [ closes #2311 ]
2016-05-06 21:24:57 -07:00
John-David Dalton
9a461a5e48
Add _.toFinite.
2016-05-04 21:09:28 -07:00
John-David Dalton
73e7bab839
Add tooling section. [ci skip]
2016-05-04 17:17:14 -07:00
John-David Dalton
572060aedc
Update fp description. [ci skip]
2016-05-04 17:17:01 -07:00
John-David Dalton
f1b63d41f8
Fix test fails for npm package builds.
2016-05-02 21:34:19 -07:00
John-David Dalton
9ee423edcf
Add _.toPairs test for sets.
2016-05-02 21:04:00 -07:00
John-David Dalton
70c8651182
Use consistent b values.
2016-05-02 21:03:13 -07:00
John-David Dalton
2b54f23dad
Add more stack tests.
2016-05-02 20:17:41 -07:00
John-David Dalton
67ef2bb008
Cleanup customizer test labels.
2016-05-02 20:17:13 -07:00
John-David Dalton
f2b5e58500
Minor hyphen nit.
2016-05-02 19:42:33 -07:00
John-David Dalton
b8fa0d9b29
Add large stack test to other cache tests.
2016-05-02 19:42:23 -07:00
John-David Dalton
264d68dec9
Add support for sets to _.toPairs methods.
2016-05-02 16:53:17 -07:00
John-David Dalton
71f5264ee1
Cleanup returns tags. [ci skip]
2016-05-02 16:51:59 -07:00
John-David Dalton
ce8a1feb94
Avoid paving modified lodash for coverage runs in travis.
2016-05-02 13:31:03 -07:00
John-David Dalton
05c32044e9
Remove extraneous isArrayLikeObject check from isFlattenable.
2016-05-02 13:08:51 -07:00
John-David Dalton
44927be6e2
Drop version from license header. [ci skip]
2016-05-02 10:52:53 -07:00
John-David Dalton
d1779d6cdd
Fix phantomjs test fails.
2016-05-02 10:01:17 -07:00
John-David Dalton
a13d640bcc
Test internal caches instead of cache modules.
2016-05-02 08:51:44 -07:00
John-David Dalton
c7d4106f66
Add private tags back to map methods. [ci skip]
2016-05-02 07:15:32 -07:00
John-David Dalton
2e59faad8f
Fix module paths.
2016-05-02 00:34:58 -07:00
John-David Dalton
6d70b64b2e
Ensure module tests ran for coverage.
2016-05-02 00:00:19 -07:00
John-David Dalton
767f9c6bce
Simplify module assignment.
2016-05-01 23:37:13 -07:00
John-David Dalton
edd7c2f0b1
Cleanup travis tests.
2016-05-01 23:24:30 -07:00
John-David Dalton
b9cfd31bd5
Add modular build to coverage tests.
2016-05-01 21:00:58 -07:00
John-David Dalton
6883f99141
Add tests for map caches.
2016-05-01 19:12:03 -07:00
John-David Dalton
c2aee218d2
Add promise case to code removal for coverage run.
2016-05-01 19:11:49 -07:00
Greenkeeper
8e44d73705
Update markdown-doctest to 0.4.0.
2016-05-01 19:10:44 -07:00
Anders D. Johnson
9e30cc4542
Fix docs typo space after sentence in _.merge.
2016-05-01 19:09:18 -07:00
John-David Dalton
963e2c23b0
Upgrade to qunit-extras 2.0.
2016-04-30 11:59:06 -07:00
Jeroen Engels
7ee4bf8d02
Remove duplicate method from FP mapping.
2016-04-30 10:43:42 -07:00
John-David Dalton
c3c6bc9666
Cleanup markdown-doctest-setup.
2016-04-29 11:57:41 -07:00
Nick Johnstone
ef1024bb60
Test documentation with markdown-doctest.
2016-04-29 10:32:43 -07:00
John-David Dalton
6c6e1c2be3
Use array and iteratee. [ci skip]
2016-04-28 22:08:28 -07:00
John-David Dalton
e9a08ba9a9
Use https for Alex's blog. [ci skip]
2016-04-28 21:30:22 -07:00
John-David Dalton
59546b9989
Update conduct link in contributing text. [ci skip]
2016-04-28 21:26:46 -07:00
John-David Dalton
816edcce2e
Rename getPlaceholder to getHolder.
2016-04-28 14:55:25 -07:00
Greenkeeper
8accfb3372
Update fs-extra to 0.30.0.
2016-04-28 10:56:16 -07:00
John-David Dalton
da146a9afd
Add map doc note to _.toPairs and _.toPairsIn. [ci skip]
2016-04-28 10:56:15 -07:00
John-David Dalton
cbcd5ffdc4
Add node_js v6 to travis.
2016-04-27 08:04:33 -07:00
Clinton Montague
6f600ebeac
Add _.flip bitmask value to createWrapper documentation. [ci skip]
2016-04-26 16:58:50 -07:00
John-David Dalton
9aa456f26f
Use lodashStable.toArray in more places.
2016-04-25 00:04:33 -07:00
John-David Dalton
dc77d7605d
Add _.toArray tests for maps.
2016-04-24 23:56:22 -07:00
John-David Dalton
f7c4410f41
Add support for converting maps to _.toPairs and _.toPairsIn.
2016-04-24 23:56:00 -07:00
John-David Dalton
9fa0ec00b8
Remove unneeded var assignment.
2016-04-23 11:43:15 -07:00
John-David Dalton
0125ff7303
Cleanup fp test labels and args tests.
2016-04-23 11:31:14 -07:00
John-David Dalton
fbc91cf7ae
Add iteratee arity hints to forEach methods. [ closes #2277 ]
2016-04-23 11:29:52 -07:00
John-David Dalton
43c26b5d6f
Ensure matches methods match arrays with duplicate values. [ closes #2270 ]
2016-04-22 23:02:54 -07:00
John-David Dalton
4e38f70e0e
Update cache implementations.
2016-04-22 23:02:46 -07:00
John-David Dalton
e2c86dac63
Ensure fp.update does not convert end of path to an object. [ closes #2271 ]
2016-04-22 08:46:35 -07:00
John-David Dalton
aebc0650f8
Simplify _.concat.
2016-04-22 08:32:19 -07:00
John-David Dalton
44cf971405
Bump to v4.11.2.
2016-04-21 08:29:44 -07:00
John-David Dalton
c0d7418054
Rebuild lodash and docs.
2016-04-21 08:29:44 -07:00
John-David Dalton
a0db54b53f
Add tests for _.sortedIndex with nulls and symbols.
2016-04-21 08:29:44 -07:00
John-David Dalton
32b813e42b
Ensure sortedIndex methods align with sortBy for symbols.
2016-04-21 06:56:07 -07:00
John-David Dalton
3c144b8601
Ensure _.sortBy moves symbols to the end.
2016-04-21 01:01:00 -07:00
John-David Dalton
076e4e6db5
Add math operator method tests for objects.
2016-04-21 01:00:59 -07:00
John-David Dalton
2ea08ccd36
Add math operator method tests for symbols.
2016-04-21 00:44:56 -07:00
John-David Dalton
fc48518f2b
Move toKey from baseProperty to property.
2016-04-20 18:12:16 -07:00
John-David Dalton
594c3b3406
Update @see tags. [ci skip]
2016-04-20 17:25:04 -07:00
John-David Dalton
38edd713e4
Ensure punctuation is not treated as words. [ closes #2268 ]
2016-04-20 16:23:46 -07:00
John-David Dalton
6987d70dc2
Only avoid converting -0 to 0 if comparator is provided.
2016-04-20 16:05:21 -07:00
John-David Dalton
0e4b307585
Update full build kb. [ci skip]
2016-04-20 07:49:45 -07:00
John-David Dalton
c81bbe95c6
Use an anchor title. [ci skip]
2016-04-20 07:49:44 -07:00
John-David Dalton
b21a87b50f
Fix createSet feature test for Safari 8.
2016-04-20 07:49:44 -07:00
John-David Dalton
e3566eb1ce
Use Set only if it coerces -0 correctly.
2016-04-20 01:24:00 -07:00
John-David Dalton
0429434dbb
Ensure -0 is treated as 0.
2016-04-20 00:51:25 -07:00
John-David Dalton
80f35ee713
Add _.uniq tests for -0.
2016-04-20 00:25:31 -07:00
John-David Dalton
224595c837
Move links to the top of the readme.
2016-04-19 23:59:20 -07:00
John-David Dalton
61ace9a24b
Remove code of conduct doc.
2016-04-19 23:59:14 -07:00
John-David Dalton
8c630ede7e
Cleanup package.json.
2016-04-19 23:07:06 -07:00
John-David Dalton
ca3b583695
Add wrapped values tests.
2016-04-19 17:42:46 -07:00
John-David Dalton
c2cbb06d57
Add _.difference and _.intersection tests for -0.
2016-04-19 16:57:41 -07:00
John-David Dalton
f6bf8d2e6d
Cleanup -0 tests.
2016-04-19 12:38:00 -07:00
John-David Dalton
60c89b2754
Add _.invoke test for -0 key.
2016-04-19 12:37:47 -07:00
John-David Dalton
b72fba911d
Cleanup wrapper resets and add assert for returning function object values.
2016-04-19 11:26:55 -07:00
John-David Dalton
3930c388e4
Fix Safari 9.0 flaky test fail.
2016-04-19 10:23:03 -07:00
John-David Dalton
ddf5ef0839
Add even more -0 tests.
2016-04-19 08:24:33 -07:00
John-David Dalton
c66947405b
Add omit and pick tests for -0 keys.
2016-04-19 00:24:09 -07:00
John-David Dalton
ad27b62343
Add tests for -0 keys.
2016-04-19 00:23:16 -07:00
John-David Dalton
5283b0f407
Use _.startCase.
2016-04-18 22:30:24 -07:00
John-David Dalton
af41f9267a
Add test for combining enclosing circle backslash.
2016-04-18 22:03:56 -07:00
John-David Dalton
6e8c984250
Use toKey in more functions.
2016-04-18 21:33:32 -07:00
John-David Dalton
c2e018b2ac
Avoid rate limiting by Sauce.
2016-04-18 21:23:09 -07:00
John-David Dalton
a47ce3cf13
Simplify building lodash.
2016-04-18 20:56:58 -07:00
John-David Dalton
ba58f35f37
Add arguments object test for values methods.
2016-04-18 17:48:26 -07:00
Greenkeeper
30fd1693ee
Update fs-extra to 0.28.0.
2016-04-18 08:30:33 -07:00
John-David Dalton
161c17ce7f
Consolidate returns in trim methods.
2016-04-17 21:55:43 -07:00
John-David Dalton
27dfe542bd
Use baseToString in _.truncate.
2016-04-17 07:18:39 -07:00
John-David Dalton
353113f17f
Start to add @see tags. [ci skip]
2016-04-16 21:48:22 -07:00
John-David Dalton
762e858c48
Use isSymbol instead of baseToNumber to fix _.toNumber test fails.
2016-04-16 20:45:10 -07:00
John-David Dalton
db49702046
Remove unsafe_comps uglify option to fix minified builds.
2016-04-16 20:16:38 -07:00
John-David Dalton
7239bf791f
Comma nit in _.inRange doc. [ci skip]
2016-04-16 18:16:27 -07:00
John-David Dalton
9cb75cae1d
Add jsdocs for baseToNumber and baseToString.
2016-04-16 18:00:31 -07:00
John-David Dalton
fdb4cf1208
Use baseToString in more places and refactor isIndex and isKeyable.
2016-04-16 07:32:06 -07:00
John-David Dalton
714cf7b18c
Add baseGt, baseLt, baseToNumber, baseToString, and createRelationalOperation.
2016-04-15 07:17:48 -07:00
John-David Dalton
1a1e0e1a6b
Ensure _.pullAt sorts indexes greater than 9 correctly. [ closes #2254 ]
2016-04-15 07:17:48 -07:00
John-David Dalton
f6c14ec31f
Add jscs "disallowUnusedVariables" rule.
2016-04-15 07:17:48 -07:00
John-David Dalton
da7f413f6f
Update jscs to 3.0.1 and fs-extra to 0.27.0.
2016-04-15 07:17:34 -07:00
John-David Dalton
3cf28953a7
Update code of conduct to point to the jQuery Foundation's policy. [ci skip]
2016-04-14 11:11:08 -07:00
John-David Dalton
080b761f7f
Update export doc note. [ci skip]
2016-04-14 08:37:19 -07:00
John-David Dalton
7f6ad484ec
Bump to v4.11.1.
2016-04-13 22:09:00 -07:00
John-David Dalton
391a930d49
Rebuild lodash and docs.
2016-04-13 22:09:00 -07:00
John-David Dalton
a532773703
Cleanup debounce and throttle tests.
2016-04-13 22:08:55 -07:00
John-David Dalton
49f8aa4289
Fix failing debounce test.
2016-04-13 18:17:07 -07:00
ben robbins
44b9b085c0
Add test for _.debounce with a wait of 0.
2016-04-13 18:16:50 -07:00
John-David Dalton
a447353977
Add pluck fp alias of map.
2016-04-13 14:22:40 -07:00
John-David Dalton
dea6ccbf43
Bump to v4.11.0.
2016-04-13 09:57:13 -07:00
John-David Dalton
0c4d8836e7
Rebuild lodash and docs.
2016-04-13 09:57:03 -07:00
Jeroen Engels
ef67e07732
Fix doc nits for _.nth. [ci skip]
2016-04-13 09:52:37 -07:00
John-David Dalton
7e885a4ddd
Add _.words unit test for contractions.
2016-04-13 08:21:17 -07:00
John-David Dalton
a3c1f42708
Add _.nth and _.nthArg tests.
2016-04-13 01:09:12 -07:00
John-David Dalton
d3ef5a3acb
Use noop instead of alwaysUndefined.
2016-04-13 01:09:12 -07:00
John-David Dalton
5098d63a22
Update qunit to 1.23.1.
2016-04-12 22:38:49 -07:00
John-David Dalton
4275a73170
Add support for contractions to case methods.
2016-04-12 21:48:52 -07:00
John-David Dalton
78a157d675
Move _.map test order around.
2016-04-12 21:48:52 -07:00
John-David Dalton
97a437e8e6
Return implicit undefined.
2016-04-12 10:02:24 -07:00
John-David Dalton
3c37f290a8
Add unwrapped chain test for nth.
2016-04-12 09:38:22 -07:00
John-David Dalton
dcd5d470e0
Use baseUnary to avoid passing incorrect arity hints to baseIteratee.
2016-04-12 08:27:41 -07:00
John-David Dalton
b424f3b60f
Ensure fp.over doesn't cap its iteratee args.
2016-04-12 08:14:04 -07:00
John-David Dalton
201ea9a9f0
Add shorthand tests for sortBy and over methods.
2016-04-11 22:46:38 -07:00
John-David Dalton
2469af6c3f
Add _.nth.
2016-04-11 22:46:33 -07:00
John-David Dalton
bfe6e06b5a
Ensure _.sortBy works with the matchesProperty shorthand.
2016-04-11 17:38:03 -07:00
John-David Dalton
091b5fbe30
Make _.head avoid accessing array when its length is 0.
2016-04-11 17:34:49 -07:00
John-David Dalton
93168e6018
Use references to String#replace and String#split.
2016-04-11 17:29:22 -07:00
John-David Dalton
16ed081818
Absorb copyObjectWith into copyObject.
2016-04-11 17:28:19 -07:00
John-David Dalton
c38b4b29cf
Avoid unnecessary array cloning in createRecurryWrapper and mergeData.
2016-04-11 17:27:04 -07:00
John-David Dalton
a20b88d114
Bump to v4.10.0.
2016-04-10 22:44:04 -07:00
John-David Dalton
87912a3b3f
Rebuild lodash and docs.
2016-04-10 22:42:52 -07:00
John-David Dalton
53bde1238c
Replace "invoking" with "and invokes". [ci skip]
2016-04-10 22:40:38 -07:00
John-David Dalton
fd365c27e2
Add doc comments to the minify file util. [ci skip]
2016-04-10 22:40:38 -07:00
John-David Dalton
4f43841699
Add doc comments to the common file util. [ci skip]
2016-04-10 22:40:38 -07:00
John-David Dalton
e60e97c03f
Ensure _.debounce queues a trailing call after maxWait. [ closes #2229 ]
2016-04-10 20:50:51 -07:00
Greenkeeper
e619f8ca83
Update webpack to 1.12.15.
2016-04-10 20:02:01 -07:00
John-David Dalton
cf2f538167
Add castSlice and rename cast related helpers.
2016-04-09 13:57:45 -07:00
John-David Dalton
17e1a6dbe8
Ensure _.slice handles a limit of 0 in Node 0.10.
2016-04-09 00:53:07 -07:00
John-David Dalton
74f6af8686
Update fp aliases.
2016-04-08 17:59:18 -07:00
John-David Dalton
351236f526
Rearrange regexp vars.
2016-04-08 16:32:15 -07:00
John-David Dalton
51ad056710
Remove redundant param descriptions. [ci skip]
2016-04-08 15:04:07 -07:00
John-David Dalton
6512b7f925
Update "over" method iteratee descriptions. [ci skip]
2016-04-08 15:03:06 -07:00
John-David Dalton
c7264e3f1f
Add isIterateeCall check to _.split.
2016-04-08 11:03:18 -07:00
John-David Dalton
349ec35c48
Add flow test for handling an empty array.
2016-04-08 11:03:18 -07:00
John-David Dalton
057dd5b0a8
Minor escapeRegExp test nit.
2016-04-08 11:03:18 -07:00
John-David Dalton
f6ac7cb1a1
Shorten chars string coersion.
2016-04-08 11:03:18 -07:00
John-David Dalton
c1958daf65
Update handling of limit to the current es6 draft.
2016-04-08 11:03:10 -07:00
John-David Dalton
ee73c9b436
Bump to v4.9.0.
2016-04-08 02:07:13 -07:00
John-David Dalton
fac5e727e6
Rebuild lodash and docs.
2016-04-08 02:07:13 -07:00
John-David Dalton
977264f55b
Fix split test fails across enviros.
2016-04-08 02:07:13 -07:00
John-David Dalton
e776e679af
Ensure _.split works with emojis.
2016-04-08 01:20:49 -07:00
John-David Dalton
23901dfd45
Update docdown.
2016-04-07 21:43:33 -07:00
John-David Dalton
87444e1a45
Add sumBy tests.
2016-04-07 21:43:33 -07:00
John-David Dalton
dc63bc2bd9
Fix dynamic test labels for groups of methods.
2016-04-07 21:43:33 -07:00
John-David Dalton
f4ff4f29b1
Simplify toSource.
2016-04-07 21:43:32 -07:00
John-David Dalton
06412d5f12
Remove Hash use from Uglify options because it breaks it.
2016-04-07 21:43:32 -07:00
John-David Dalton
bbc84903a7
Update istanbul to 0.4.3.
2016-04-07 21:43:32 -07:00
John-David Dalton
e014592ea0
Fix typo in Hash descripton. [ci skip]
2016-04-07 21:43:32 -07:00
John-David Dalton
4305ffde18
Add commas. [ci skip]
2016-04-07 21:43:32 -07:00
John-David Dalton
0588dcb3e9
Add Hash util and split out file helper.
2016-04-07 21:43:27 -07:00
John-David Dalton
58afd8c364
Update debounce article links. [ci skip]
2016-04-06 14:10:56 -07:00
John-David Dalton
e120d63ee2
Add doc note about group ordering of _.groupBy. [ci skip] [ closes #2212 ]
2016-04-06 07:59:05 -07:00
John-David Dalton
d7f43eba6a
Make exceptions to fp argument ordering stand out. [ci skip]
2016-04-05 23:53:05 -07:00
John-David Dalton
786a92669e
Update chaining note. [ci skip]
2016-04-05 23:53:05 -07:00
John-David Dalton
504aead673
Add placeholders section. [ci skip]
2016-04-05 23:52:49 -07:00
John-David Dalton
8c72ffc583
Add more fp browser usage examples. [ci skip]
2016-04-05 23:50:18 -07:00
John-David Dalton
27d3311b6a
Don't spell out two hundred. [ci skip]
2016-04-05 23:50:18 -07:00
John-David Dalton
5e2f113d50
Update vendor/backbone to v1.3.3.
2016-04-05 23:50:18 -07:00
Greenkeeper
55e7b8764e
Update jquery to 2.2.3.
2016-04-05 23:50:18 -07:00
John-David Dalton
513c0ae64d
Update list of fp methods with spread arguments. [ci skip]
2016-04-05 23:50:17 -07:00
John-David Dalton
f0f6a1e382
Simplify deep path doc examples. [ci skip]
2016-04-05 08:44:14 -07:00
John-David Dalton
6f3fb587e2
Simplify deep property tests.
2016-04-05 08:39:09 -07:00
John-David Dalton
083c5b703a
Add _.matchesProperty test for matching undefined values of nested objects.
2016-04-05 08:23:34 -07:00
John-David Dalton
3583c56067
Replace double quotes with ticks. [ci skip]
2016-04-05 08:08:31 -07:00
John-David Dalton
9999199d2b
Enable over methods to accept matchesProperty shorthands.
2016-04-05 08:06:44 -07:00
John-David Dalton
c084e358bd
Bump to v4.8.2.
2016-04-04 15:48:17 -07:00
John-David Dalton
238d45a2cb
Rebuild lodash and docs.
2016-04-04 15:48:17 -07:00
John-David Dalton
21d056c470
Break code comments up to display better in the wiki. [ci skip]
2016-04-04 15:48:16 -07:00
John-David Dalton
0308d4de62
Remove skipFixed methods from fixed arity listings. [ci skip]
2016-04-04 11:47:52 -07:00
John-David Dalton
f2a6f6ce6a
Update lodash dev dep.
2016-04-04 11:47:52 -07:00
John-David Dalton
cf5d6b5bc8
Revert #2193 .
2016-04-04 11:47:46 -07:00
John-David Dalton
7a6b64b2f6
Bump to v4.8.1.
2016-04-04 11:43:03 -07:00
John-David Dalton
bca11bd21e
Rebuild lodash and docs.
2016-04-04 11:42:50 -07:00
John-David Dalton
bf39a31907
Fix typo in _falseOptions.jst.
2016-04-04 08:51:04 -07:00
John-David Dalton
792bfbb604
Bump to v4.8.0.
2016-04-03 23:47:26 -07:00
John-David Dalton
1ef96896d5
Rebuild lodash and docs.
2016-04-03 23:47:26 -07:00
John-David Dalton
2293de07a7
Add _falseOptions module.
2016-04-03 23:47:26 -07:00
John-David Dalton
804ad3d805
Move private key higher. [ci skip]
2016-04-03 22:44:28 -07:00
John-David Dalton
c797f83ca5
Add fp convert test for unconverted methods.
2016-04-03 21:55:30 -07:00
John-David Dalton
a71ac53fa7
Add jsdoc comments to fp/_baseConvert. [ci skip]
2016-04-03 21:55:30 -07:00
John-David Dalton
7165ef6f5e
Minor doc tweak to _.rearg. [ci skip]
2016-04-03 21:55:30 -07:00
John-David Dalton
c01e0cd7d1
Simplify references to partial or provided arguments. [ci skip]
2016-04-03 21:55:30 -07:00
John-David Dalton
a5990a4c4e
Use thru instead of through in docs. [ci skip]
2016-04-03 21:55:30 -07:00
John-David Dalton
75d196b01b
Allow convert to work on methods that aren't converted by default.
2016-04-03 21:55:08 -07:00
John-David Dalton
69ce7cde7d
Convert methods not found in aryMethod mapping.
2016-04-02 22:49:17 -07:00
John-David Dalton
6861734010
Add matchesStrictComparable helper.
2016-04-02 14:49:25 -07:00
John-David Dalton
0f75d967d0
Add convert method to modules that pass thru.
2016-04-02 14:19:19 -07:00
John-David Dalton
012bff97e0
Add fp/placeholder module.
2016-04-02 14:19:13 -07:00
John-David Dalton
2b58525816
Update many es5 spec links to es6. [ci skip]
2016-04-02 10:33:13 -07:00
John-David Dalton
579cf00d10
Update _.isNaN doc note with a reference to Number.isNaN. [ci skip]
2016-04-02 08:02:36 -07:00
John-David Dalton
cfd25cec75
Minor Lodash letter case nit in readme. [ci skip]
2016-04-02 08:01:35 -07:00
John-David Dalton
c267c4e06b
Excuse Underscore _.chunk test.
2016-04-01 20:56:19 -07:00
John-David Dalton
c4a78445b3
Add _.isNative test for Promise.
2016-04-01 19:17:52 -07:00
John-David Dalton
4c8836a24a
Cleanup _.isNative.
2016-04-01 19:06:36 -07:00
John-David Dalton
972624297b
Add variation to falsey _.slice test.
2016-04-01 18:18:37 -07:00
John-David Dalton
ebf9904e8a
Add toSource helper.
2016-04-01 18:18:37 -07:00
John-David Dalton
64652c263f
Update _.map doc note on guarded methods. [ci skip]
2016-04-01 18:18:37 -07:00
John-David Dalton
58f93567fc
Make _.sampleSize default n to 1 instead of 0.
2016-04-01 18:18:37 -07:00
John-David Dalton
f599c4817a
Make _.chunk default size to 1 instead of 0.
2016-04-01 18:18:36 -07:00
John-David Dalton
930b034da5
Make _.repeat default n to 1 instead of 0.
2016-04-01 18:18:36 -07:00
John-David Dalton
c21174f7f9
Add bizarro test for _.isEmpty.
2016-04-01 18:18:36 -07:00
John-David Dalton
e22be612e2
Remove dataViewCtorString branch of getTag for coverage tests.
2016-04-01 18:18:36 -07:00
Craig Martin
669bc1520e
Run scripts synchronous in foreground.
2016-04-01 18:18:27 -07:00
John-David Dalton
b257bb9c9e
Allow over, overEvery, and overSome to accept matchesProperty shorthands. [ closes #2193 ]
2016-04-01 09:14:13 -07:00
John-David Dalton
b8096df6d8
Fix leaked var.
2016-04-01 09:13:54 -07:00
greenkeeperio-bot
43d530ead9
Update dojo to 1.11.1.
2016-04-01 09:10:36 -07:00
John-David Dalton
9dbd665d05
Space nit in _.toNumber. [ci skip]
2016-04-01 09:10:36 -07:00
John-David Dalton
3902fd1a67
Ensure has treats nested sparse arrays consistently.
2016-04-01 09:10:35 -07:00
John-David Dalton
642d248f99
Cleanup deep property tests of has methods.
2016-04-01 09:10:35 -07:00
John-David Dalton
8bd9a4d2c3
Ensure _.has returns false for nullish objects. [ closes #2190 ]
2016-04-01 09:10:24 -07:00
John-David Dalton
e96ee69f1c
Remove rogue comment delimiter from fp wiki template. [ci skip]
2016-04-01 09:10:24 -07:00
John-David Dalton
5bb899a700
Add array path examples to _.set and _.unset docs. [ci skip]
2016-04-01 09:10:24 -07:00
John-David Dalton
431e0fa2f6
Add line number to error message in web worker.
2016-04-01 09:10:24 -07:00
John-David Dalton
ec92292c38
Wrap funcToString call in _.isNative in a try-catch.
2016-04-01 09:10:24 -07:00
Oskar Segersvärd
45953b2ac1
Set the jsdoc type of apply's args parameter to Array. [ci skip]
2016-04-01 09:10:24 -07:00
John-David Dalton
d9f93d0895
Increment package version to enable ci tests.
2016-04-01 09:10:24 -07:00
John-David Dalton
252ea445ca
Bump to v4.7.0.
2016-03-31 00:51:19 -07:00
John-David Dalton
9826d9bd46
Rebuild lodash and docs.
2016-03-31 00:51:19 -07:00
John-David Dalton
b53f178c46
Sort reargs and aliases in fp wiki template.
2016-03-31 00:51:19 -07:00
John-David Dalton
5ad5eb8f5d
Add divide and multiply to lodash doc block. [ci skip]
2016-03-31 00:28:04 -07:00
John-David Dalton
7add87739a
Add _.concat test for shallow cloning array.
2016-03-30 23:32:21 -07:00
John-David Dalton
2cd12c38e3
Temporarily remove ghooks.
2016-03-30 21:27:19 -07:00
Jordan Eldredge
ad72b5b565
Simplify _.result.
2016-03-30 19:52:46 -07:00
Craig Martin
608e74a111
Ensure all background jobs finish before continuing.
2016-03-30 19:50:23 -07:00
John-David Dalton
c36d0af5cd
Avoid a JIT bug in Safari 9 for baseIteratee.
2016-03-30 19:50:13 -07:00
John-David Dalton
55c3299d5c
Use getIteratee in more places.
2016-03-30 12:17:28 -07:00
greenkeeperio-bot
7a3dda6105
Update ghooks to 1.1.1.
2016-03-30 08:43:30 -07:00
John-David Dalton
171d9eab78
Use copyArray in concat.
2016-03-30 08:43:30 -07:00
John-David Dalton
ab9d2056da
Add bindKey to fp aryMethod mapping.
2016-03-30 08:43:30 -07:00
John-David Dalton
4310329971
Add bind and bindKey to fp skipRearg mapping.
2016-03-30 08:43:30 -07:00
John-David Dalton
d038315f61
Add link to github reactions. [ci skip]
2016-03-30 00:54:28 -07:00
John-David Dalton
c0f91c9169
Minor newline nits.
2016-03-29 22:51:25 -07:00
John-David Dalton
519a02ff34
Update fred ages in doc examples. [ci skip]
2016-03-29 22:33:43 -07:00
John-David Dalton
643ce1da74
Revert createPadding behavior for chars that coerce to empty strings.
2016-03-29 22:23:00 -07:00
greenkeeperio-bot
4c789197f9
Update chalk to 1.1.3 and opt-cli to 1.4.0.
2016-03-29 22:22:12 -07:00
John-David Dalton
277c9bdc7c
Make shouldInvoke explicitly return true if it's the first call.
2016-03-29 09:53:35 -07:00
John-David Dalton
455eace9c5
Cleanup _.debounce tests.
2016-03-29 00:28:43 -07:00
John-David Dalton
f263a87983
Update excused Underscore tests.
2016-03-28 22:11:56 -07:00
John-David Dalton
4f92fb7007
Ensure cancel resets lastCallTime and lastInvokeTime.
2016-03-28 21:06:11 -07:00
John-David Dalton
4fd43f7fe7
Minor value consistency nits.
2016-03-28 19:27:55 -07:00
John-David Dalton
3fe2efa311
Ensure _.concat cases wraps nullish array values in an array.
2016-03-28 17:44:13 -07:00
John-David Dalton
a7bf3352df
Ensure _.concat casts non-array array values to arrays.
2016-03-28 12:34:09 -07:00
John-David Dalton
2ddd893ca2
Update vendor/underscore.
2016-03-28 09:35:41 -07:00
John-David Dalton
5d92b37550
Add updateWith to lodash sequence doc note. [ci skip]
2016-03-28 09:26:03 -07:00
John-David Dalton
dcec882262
Ensure _.words detects compound words where an all caps word is next to a capitalized word. [ closes #2163 ]
2016-03-28 07:57:37 -07:00
John-David Dalton
de53132692
Add args param doc for _.attempt. [ closes #2164 ] [ci skip]
2016-03-28 07:05:08 -07:00
greenkeeperio-bot
23a7871e2d
Update docdown to 0.5.0.
2016-03-27 16:32:20 -07:00
John-David Dalton
792347978a
Add shim path back to _.isEmpty.
2016-03-27 13:35:14 -07:00
John-David Dalton
61c740a4eb
Move isObjectLike condition up in _.isEmpty.
2016-03-27 13:07:28 -07:00
John-David Dalton
c3a614858b
Add support for maps and sets to _.isEmpty. [ closes #2159 ]
2016-03-27 13:04:51 -07:00
John-David Dalton
75727d073b
More pad optimizations.
2016-03-27 12:37:09 -07:00
John-David Dalton
b1d7450052
Fix typo in pad test label.
2016-03-27 12:31:14 -07:00
John-David Dalton
60e557b059
Reduce lines creeping over 80 characters in length.
2016-03-27 11:43:44 -07:00
John-David Dalton
071e13363c
Add "Array" to predicate types. [ci skip] [ closes #2157 ]
2016-03-27 09:59:48 -07:00
John-David Dalton
acf4651c0e
Minor newline nit. [ci skip]
2016-03-27 09:59:37 -07:00
John-David Dalton
9b15dc2017
Fix fail in PhantomJS.
2016-03-27 01:23:58 -07:00
John-David Dalton
f4f0791e0c
Fix fail in Node 0.10.
2016-03-27 01:23:58 -07:00
John-David Dalton
654976c826
Add DataView support to getTag.
2016-03-27 01:23:58 -07:00
John-David Dalton
50e86c70bd
Add other realm tests for comparing array views with _.isEqual.
2016-03-27 01:23:58 -07:00
Dan Levy
d135b846db
Adding support for cloning and comparing DataView.
2016-03-27 01:23:58 -07:00
John-David Dalton
ee2153364d
Add bizarro Promise test.
2016-03-27 01:23:58 -07:00
John-David Dalton
6d76cdc1b7
Update snippet removals for coverage runs.
2016-03-27 01:23:52 -07:00
John-David Dalton
259bdb6151
Add realm tests for maps, promises, and sets.
2016-03-26 14:09:36 -07:00
John-David Dalton
12438fa0d7
Ensure _.isEqual compares promises by reference.
2016-03-26 13:59:53 -07:00
John-David Dalton
654df6f7f8
Optimize createPadding for the common case.
2016-03-26 13:21:54 -07:00
John-David Dalton
0dfe176fe6
Make pad methods default to a chars of " " if chars is an empty string.
2016-03-26 12:14:02 -07:00
John-David Dalton
0f3338013e
Update sauce browsers.
2016-03-25 19:03:47 -07:00
John-David Dalton
dcc239b070
Add falsey iteratee tests.
2016-03-25 16:36:47 -07:00
John-David Dalton
613488eaf8
Use in instead of relying on behavior.
2016-03-25 15:50:49 -07:00
John-David Dalton
97193b9680
Update vendor/backbone.
2016-03-25 14:14:52 -07:00
greenkeeperio-bot
71c0861675
Update opt-cli to 1.3.0, coveralls to 2.11.9, & qunitjs to 1.23.0.
2016-03-25 14:13:42 -07:00
John-David Dalton
f3b35919ef
Add baseMean helper.
2016-03-25 14:13:42 -07:00
Tucker Whitehouse
06316f1d47
Add _.meanBy.
2016-03-24 21:41:41 -07:00
Federico De Giuli
271f64ee3f
Make _.isEmpty work as expected on buffers.
2016-03-24 21:41:41 -07:00
Kent C. Dodds
583b03ba5f
Add git hook instructions to CONTRIBUTING.md. [ci skip]
2016-03-24 21:41:35 -07:00
John-David Dalton
16e2c06ab4
Remove dead code from baseClone.
2016-03-24 10:54:23 -07:00
John-David Dalton
016de80ce7
Add debounce/throttle test for calling cancel and flush without anything queued.
2016-03-24 10:54:23 -07:00
John-David Dalton
577226bbd0
Add number object tests to number coercion methods.
2016-03-24 10:54:23 -07:00
John-David Dalton
1670800df3
Add test for crawling functions with _.result.
2016-03-24 10:54:23 -07:00
Kent C. Dodds
9674d67693
add opt-in githook to config
2016-03-23 10:18:57 -06:00
John-David Dalton
f65d36b3c1
Make _.result resolve values of functions as it deep crawls over them.
2016-03-23 00:44:36 -07:00
John-David Dalton
8d93455076
Add more options docs. [ci skip]
2016-03-22 22:26:34 -07:00
John-David Dalton
cfe5ea264d
Remove parens from default options value doc of _.truncate. [ci skip]
2016-03-22 08:44:23 -07:00
John-David Dalton
9a4e11f6f7
Add chars param fix to postprocess. [ci skip]
2016-03-21 22:11:40 -07:00
John-David Dalton
24cef1a919
Add other realm maps/sets tests for _.size.
2016-03-21 21:00:29 -07:00
John-David Dalton
5fe373f7aa
Add support for deep cloning maps and sets.
2016-03-21 21:00:19 -07:00
John-David Dalton
25eb4df563
Add support for maps and sets to _.size.
2016-03-21 20:16:15 -07:00
John-David Dalton
6d587bdf34
Add -0 test for math operator methods.
2016-03-21 20:04:46 -07:00
John-David Dalton
03dd9df78e
Remove unneeded assert in indexOf test.
2016-03-21 08:46:23 -07:00
greenkeeperio-bot
96c60bab46
Update dojo to 1.11.0.
2016-03-21 00:44:32 -07:00
John-David Dalton
811341efa1
Add code examples to fp wiki. [ci skip]
2016-03-20 14:18:24 -07:00
John-David Dalton
5f94723d7f
Add always fp alias.
2016-03-20 11:53:38 -07:00
John-David Dalton
9d1536799b
Add complement fp alias.
2016-03-20 11:43:32 -07:00
John-David Dalton
85057d588c
Move "Chaining" section lower. [ci skip]
2016-03-20 11:40:34 -07:00
John-David Dalton
234e693d92
Flip priority of "object" and "collection" in _.isEmpty doc description. [ci skip]
2016-03-20 11:29:22 -07:00
John-David Dalton
51833b91d0
Add invertObj and juxt fp aliases.
2016-03-20 11:23:12 -07:00
John-David Dalton
dfb7a4c078
Don't make without an alias so it can be reverted with convert.
2016-03-20 11:16:18 -07:00
John-David Dalton
04ddaf49f5
Organize aliases.
2016-03-20 11:13:24 -07:00
John-David Dalton
b7a6560d90
Add identical fp alias.
2016-03-20 11:13:06 -07:00
John-David Dalton
7d8531d6ed
Add _.divide and _.multiply tests.
2016-03-20 11:03:29 -07:00
John-David Dalton
ab77d9d83a
Add more math operation method tests.
2016-03-20 10:16:03 -07:00
John-David Dalton
37454b8f42
Add eq and isEqual to fp skipRearg mapping.
2016-03-20 10:02:46 -07:00
John-David Dalton
ef95f165ff
Fix npm build tests.
2016-03-20 01:10:23 -07:00
John-David Dalton
6494a072d2
Fix test fails in Safari.
2016-03-20 01:02:53 -07:00
John-David Dalton
984bcc556e
Add fp.isMatchWith test.
2016-03-20 00:26:58 -07:00
John-David Dalton
be77e7366c
Remove "with" methods from iterateeAry mapping.
2016-03-19 23:43:11 -07:00
John-David Dalton
01d961bad8
Ensure fp.isEqualWith rearg is (c,a,b). [ closes #2131 ]
2016-03-19 23:40:14 -07:00
John-David Dalton
6eb0cb1565
Add _.divide and _.multiply.
2016-03-19 23:01:40 -07:00
John-David Dalton
b2bff1ad45
Ensure array sequence methods don't error for falsey values.
2016-03-19 22:51:32 -07:00
John-David Dalton
6ed9c005d7
Make fp.invokeArgs and fp.invokeArgsMap arg signature (b,c,a).
2016-03-18 08:29:41 -07:00
John-David Dalton
6ef8693bf0
Update case examples.
2016-03-17 21:11:32 -07:00
John-David Dalton
8c5025f935
Move upperFirst definition lower.
2016-03-17 21:11:32 -07:00
John-David Dalton
9735961090
Ensure _.startCase only uppercases the first character of each word.
2016-03-17 21:11:32 -07:00
greenkeeperio-bot
8d7058e6ad
Update fs-extra to 0.26.7, jquery to 2.2.2, & requirejs to 2.2.0.
2016-03-17 21:10:36 -07:00
John-David Dalton
4d89d9a1b7
Add fp.convert to "Convert" section.
2016-03-17 21:10:36 -07:00
John-David Dalton
594f414b1a
Move the "Convert" section to the bottom.
2016-03-17 21:10:36 -07:00
John-David Dalton
b61d30da1a
Make fp.without an alias of fp.difference. [ closes #2122 ]
2016-03-17 21:10:36 -07:00
John-David Dalton
412e19006b
Fix fp aliases for all, any, and anyPass.
2016-03-17 21:10:36 -07:00
Jeroen Engels
b8ebceadaf
Add missing param for _.reverse. [ci skip]
2016-03-17 21:10:36 -07:00
John-David Dalton
2b4f271899
Add fp.invokeArgsMap.
2016-03-17 21:10:36 -07:00
John-David Dalton
c83857c42a
Minor non- nits. [ci skip]
2016-03-15 08:38:55 -07:00
John-David Dalton
b95d1d6123
Ensure _.mergeWith sources are cloned when customizer returns undefiend. [ closes #2111 ]
2016-03-15 08:32:23 -07:00
John-David Dalton
7d1d7d909a
Add fp padChars methods.
2016-03-14 22:17:46 -07:00
John-David Dalton
c89a80357c
Cleanup fp convert tests.
2016-03-14 22:16:20 -07:00
John-David Dalton
1bbb24fa0c
Add fp.convert.
2016-03-14 10:53:40 -07:00
John-David Dalton
dd0aa991ff
Add since tag to _.isArray. [ci skip]
2016-03-13 19:59:50 -07:00
John-David Dalton
6f9b1b1822
Simplify _.method example. [ci skip]
2016-03-13 16:35:52 -07:00
John-David Dalton
65fd579ed2
Add fp.invokeArgs.
2016-03-13 16:34:07 -07:00
John-David Dalton
f3279b7ee1
Wrap fp.getOr test in an IIFE.
2016-03-13 15:30:32 -07:00
John-David Dalton
4d185ae7b5
Add fp.restFrom and fp.spreadFrom.
2016-03-13 15:30:01 -07:00
John-David Dalton
81ee5d76b8
Use "sequence" to descript chaining in more places. [ci skip]
2016-03-13 14:49:28 -07:00
John-David Dalton
8bed7137c7
Add chaining note to fp wiki template. [ci skip]
2016-03-13 14:44:58 -07:00
libreninja
f8bcc5b917
Break before unnecessary string concats in _.repeat.
2016-03-13 12:39:05 -07:00
John-David Dalton
81f8518d15
Simplify assocIndexOf description. [ci skip]
2016-03-12 09:01:06 -08:00
John-David Dalton
f88d27ccda
Fix param descriptions for assocDelete, mapSet, and stackSet. [ci skip]
2016-03-11 20:00:08 -08:00
John-David Dalton
40ed92d2af
More _.debounce cleanup.
2016-03-11 08:04:39 -08:00
John-David Dalton
c7319d004d
Add non-function constructor tests for _.isMap, _.isSet, and _.isWeakMap.
2016-03-10 16:33:29 -08:00
John-David Dalton
51a3c5d4e8
Cleanup _.debounce.
2016-03-10 07:59:31 -08:00
John-David Dalton
ecfa002a05
Update Edge testing in Sauce.
2016-03-09 16:55:34 -08:00
John-David Dalton
62962791b3
Rename debounce helper to invokeFunc to fix builds.
2016-03-08 06:58:39 -08:00
Brandon Wallace
864e14cb20
Refactor debounce to simplify, reduce timers, fix bugs.
2016-03-07 22:24:04 -08:00
John-David Dalton
092f90d2fc
Cleanup sorting test results.
2016-03-07 08:11:59 -08:00
John-David Dalton
49b33d667d
Add toPairs test for inherited string keyed properties.
2016-03-07 08:04:11 -08:00
John-David Dalton
63b097329c
Minor curried label nits. [ci skip]
2016-03-07 07:41:18 -08:00
John-David Dalton
2c3ab276ea
Add _.entries and _.entriesIn aliases.
2016-03-06 22:56:48 -08:00
John-David Dalton
c30c43d69e
Add more since tags. [ci skip]
2016-03-06 22:12:42 -08:00
John-David Dalton
230c18d5d6
Add fp.flatMapDepth test.
2016-03-06 19:13:43 -08:00
John-David Dalton
c16e64cd36
Remove unneeded flatMap lazy chaining tests.
2016-03-06 19:12:47 -08:00
John-David Dalton
64704e16c1
Add _.flatMapDeep and _.flatMapDepth.
2016-03-06 11:15:04 -08:00
greenkeeperio-bot
b41103ee6b
Update glob to 7.0.3.
2016-03-05 18:35:22 -08:00
John-David Dalton
8ac1d54858
Add fast path for numbers in _.toNumber.
2016-03-05 16:56:59 -08:00
John-David Dalton
0a9af2968e
Add primitives tests.
2016-03-05 16:54:37 -08:00
John-David Dalton
7eba5a2221
Ensure _.toNumber works with symbol objects without a valueOf method.
2016-03-05 16:16:49 -08:00
John-David Dalton
19a8b3886e
Flip assignment order for consistency. [ci skip]
2016-03-05 08:43:42 -08:00
John-David Dalton
03716f62e8
Remove runInContext call in convert.
2016-03-05 08:39:00 -08:00
John-David Dalton
d38000bc33
Minor format nit for baseCastPath. [ci skip]
2016-03-05 08:38:34 -08:00
John-David Dalton
a6c88a173b
Ensure _.toPath returns a new array.
2016-03-04 18:02:28 -08:00
John-David Dalton
0bad210dec
Add tests for number coercion methods.
2016-03-04 18:00:05 -08:00
John-David Dalton
62cc7574fc
Remove dead code branch from baseCastPath.
2016-03-04 10:41:09 -08:00
John-David Dalton
f5a134bcbd
Remove unused baseForIn.
2016-03-04 10:37:29 -08:00
John-David Dalton
a7bb6b5383
Add getPrototype helper.
2016-03-04 09:17:00 -08:00
John-David Dalton
e02ce1ea8b
Ensure _.toPath works with symbols.
2016-03-04 08:09:39 -08:00
John-David Dalton
760a00b82f
Make a distinction between property names and identifiers. [ci skip]
2016-03-04 07:51:12 -08:00
John-David Dalton
e6929e801b
Add getAllKeysIn helper.
2016-03-04 07:50:40 -08:00
John-David Dalton
8682da4962
Update V8 bug links. [ci skip]
2016-03-04 07:33:32 -08:00
John-David Dalton
8e6f3e48d0
Ensure getOwnPropertySymbols is passed an object to avoid errors in V8.
2016-03-04 07:33:16 -08:00
John-David Dalton
0589dd6909
Ensure _.omit works with symbols.
2016-03-04 02:03:23 -08:00
John-David Dalton
1b8071d2c4
Replace Dojo Foundation references with jQuery Foundation in contributing.md. [ci skip]
2016-03-04 01:24:43 -08:00
John-David Dalton
4debf155d7
Update and add tests for fp convert method.
2016-03-04 00:55:59 -08:00
John-David Dalton
f6df126c43
Cleanup license urls.
2016-03-03 22:58:41 -08:00
Esa-Matti Suuronen
c406e33fcc
Add reconvert method to fp functions.
2016-03-03 22:47:30 -08:00
John-David Dalton
9e11ebb62a
Ensure _.isPlainObject returns false for objects with a custom [[Prototype]]. [ closes #2085 ]
2016-03-03 22:46:23 -08:00
John-David Dalton
16ed42b188
Add tests for symbol paths.
2016-03-03 22:42:58 -08:00
John-David Dalton
a19890469e
Minor format nit.
2016-03-03 22:42:29 -08:00
John-David Dalton
cc1c1c127e
Cleanup path test labels.
2016-03-03 22:41:56 -08:00
John-David Dalton
3c1e95a3c2
Cleanup foo references.
2016-03-03 22:41:22 -08:00
John-David Dalton
d4c0777d2c
Minor format nits for Foo test functions.
2016-03-03 20:40:20 -08:00
John-David Dalton
8f00000676
Minor format nit of isIterateeCall.
2016-03-03 20:07:10 -08:00
John-David Dalton
4240f737d1
Add symbol support to baseCastPath, isKey, and toNumber.
2016-03-03 20:04:37 -08:00
John-David Dalton
25121a86bb
Specify string keyed properties. [ closes #2081 ] [ci skip]
2016-03-03 18:02:47 -08:00
John-David Dalton
e4b3cde0a4
Memoize stringToPath.
2016-03-03 15:58:23 -08:00
Dave Methvin
cf74ebeb71
Update license to the jQuery Foundation. [ci skip]
2016-03-03 12:03:26 -08:00
Jeroen Engels
d682357189
Add @since to the method jsdocs. [ci skip]
2016-03-03 07:47:26 -08:00
John-David Dalton
ddd4c391a1
Add _.updateWith test for a customizer.
2016-03-02 22:25:51 -08:00
greenkeeperio-bot
930ee1d650
Update jscs to 2.11.0.
2016-03-02 14:15:50 -08:00
John-David Dalton
c5344d5336
Ensure _.has returns false for nested inherited properties. [ closes #2073 ]
2016-03-02 07:54:27 -08:00
John-David Dalton
d59c644a10
Use baseGet in parent and _.result.
2016-03-02 07:47:37 -08:00
John-David Dalton
28171945e9
Use smaller objects for _.assign bench.
2016-03-02 07:39:08 -08:00
John-David Dalton
ddf9354d26
Bump to v4.6.1.
2016-03-01 21:55:32 -08:00
John-David Dalton
5f58b65c04
Rebuild lodash and docs.
2016-03-01 21:55:09 -08:00
John-David Dalton
1ec20c5281
Use propertyIsEnumerable var.
2016-03-01 20:33:17 -08:00
John-David Dalton
3421fab58a
Update lodash dev dep.
2016-03-01 19:40:05 -08:00
John-David Dalton
deeaf27b54
Avoid cloning symbols internally.
2016-03-01 19:37:44 -08:00
John-David Dalton
429be57b8a
Bump to v4.6.0.
2016-03-01 10:58:13 -08:00
John-David Dalton
7f00e8f2f1
Rebuild lodash and docs.
2016-03-01 10:58:13 -08:00
John-David Dalton
89f891ac86
Ensure placeholder uses func when its a lib.
2016-03-01 10:58:13 -08:00
John-David Dalton
63147cd145
Update our code of conduct. [ci skip]
2016-02-29 22:04:07 -08:00
John-David Dalton
2c5f026d3c
Add doc note to associate _.merge with _.assign. [ci skip]
2016-02-29 08:17:10 -08:00
John-David Dalton
c10146e2f0
Set constructor of lodash.prototype.
2016-02-29 00:02:13 -08:00
John-David Dalton
548fe881d6
Add _.pullAllWith comparator test.
2016-02-28 20:05:54 -08:00
John-David Dalton
b560b7047b
Cleanup "With" tests.
2016-02-28 20:05:27 -08:00
John-David Dalton
6f470abdff
Add _.pullAllWith test.
2016-02-28 12:23:32 -08:00
John-David Dalton
eabe95c4e3
Add _.updateWith fp support.
2016-02-28 12:16:21 -08:00
John-David Dalton
fab50ec384
Add _.updateWith tests.
2016-02-28 11:55:09 -08:00
John-David Dalton
0f298de36a
Add _.updateWith.
2016-02-28 11:30:16 -08:00
John-David Dalton
f8132e3be4
Add more _.update tests.
2016-02-28 10:54:40 -08:00
John-David Dalton
dfd865dadc
Only use SetCache in baseIntersection only when arrays[0] is large.
2016-02-27 21:26:51 -08:00
John-David Dalton
98bdd67cf2
Simplify array mapping in basePullAll and baseOrderBy.
2016-02-27 18:42:24 -08:00
John-David Dalton
e842bec025
Optimize _.intersection to stop search once it matches the size of its smallest array.
2016-02-27 18:35:18 -08:00
John-David Dalton
8278d38a8e
Add update to lodash doc note. [ci skip]
2016-02-27 17:03:23 -08:00
John-David Dalton
0699d4cf3d
Simplify regexp test.
2016-02-27 17:00:56 -08:00
John-David Dalton
8865633ccd
Move baseUpdate and update definitions.
2016-02-27 17:00:46 -08:00
John-David Dalton
7066b9a5c7
Rearrange tests.
2016-02-27 17:00:11 -08:00
John-David Dalton
63f8b1dcec
Ensure _.defaultsDeep does not overwrite regexp values.
2016-02-27 14:35:20 -08:00
John-David Dalton
2e790fb865
Add IE 11 doc note to addMapEntry. [ci skip]
2016-02-27 11:13:51 -08:00
John-David Dalton
ac62c24c4a
Cleanup passing stack around since Stac#set returns the stack.
2016-02-27 11:06:01 -08:00
John-David Dalton
629de594d5
Avoid deep cloning source values if a customizer is provided.
2016-02-27 10:20:51 -08:00
John-David Dalton
7a69a45ccc
Add template sentence tweaks from the wiki.
2016-02-27 10:20:51 -08:00
greenkeeperio-bot
916431118e
Update coveralls to 2.11.8.
2016-02-27 10:20:50 -08:00
John-David Dalton
83e584d579
Split circular reference tests up.
2016-02-26 22:08:03 -08:00
Danny Fallon
bbd536fc04
Add test for mergeWith with multi-ref source object.
2016-02-26 22:07:24 -08:00
John-David Dalton
0b76654b71
Ensure stack is popped after recursive merge so that it doesn't affect sibling properties. [ closes #2060 ]
2016-02-26 09:42:42 -08:00
Jeroen Engels
ff7d79d5fc
Remove custom rearg for update.
2016-02-26 09:31:58 -08:00
Hassan Zamani
b40b555386
Add _.update.
2016-02-26 01:55:47 -08:00
John-David Dalton
efa1ebff16
Clarify result value order of _.xor. [ci skip]
2016-02-26 00:04:20 -08:00
John-David Dalton
8f0dcde98f
Clarify result value origin and order of difference methods. [ci skip]
2016-02-26 00:01:52 -08:00
John-David Dalton
3b1efb635b
Clarify result value origin and order of intersection methods. [ci skip]
2016-02-25 23:59:41 -08:00
John-David Dalton
055fdfa0b4
Add _.pullAllWith.
2016-02-25 23:24:13 -08:00
John-David Dalton
a5a21235dc
Add mdn references to _.toLower and _.toUpper. [ci skip]
2016-02-25 08:34:43 -08:00
Francis De Brabandere
dfbcfdb0ae
Clarify intersection docs on what is returned. [ci skip]
2016-02-24 10:24:40 -08:00
John-David Dalton
a1e917bac2
Remove the word "Added" from alias list. [ci skip]
2016-02-24 01:02:11 -08:00
John-David Dalton
62a9208944
Include aliases in lodash chain doc note. [ci skip] [ closes #2044 ]
2016-02-24 00:48:57 -08:00
John-David Dalton
1bf8eb8cac
Update qunit and qunit-extras.
2016-02-23 23:13:34 -08:00
John-David Dalton
893573485c
Escape bang in pattern.
2016-02-23 21:22:07 -08:00
John-David Dalton
d5231ad94b
Add source tests for _.assign and _.assignIn.
2016-02-23 21:16:32 -08:00
John-David Dalton
a578935621
Remove unhit condition in getNative.
2016-02-23 20:13:08 -08:00
Jeroen Engels
c88c7ff6bb
Fix order of arguments in FP docs. [ci skip]
2016-02-23 14:19:48 -08:00
John-David Dalton
21f9cfa6d3
Remove unneeded Ctor variables.
2016-02-23 10:58:27 -08:00
John-David Dalton
45d2fb8a30
Fix _.transform test fail in Safari 8.
2016-02-23 10:58:27 -08:00
John-David Dalton
9c162624fe
Cleanup symbolTag case in equalByTag.
2016-02-23 10:58:27 -08:00
John-David Dalton
80b5731709
Leak msWDfn in test/test-fp.js to prevent false fails in Edge on sauce.
2016-02-23 10:58:27 -08:00
John-David Dalton
bab4ffff62
Remove unstable test from local testing.
2016-02-23 08:31:04 -08:00
John-David Dalton
f644c82da4
Replace Symbol checks with Symbol methods as checks instead. [ closes #2039 ]
2016-02-23 08:30:48 -08:00
John-David Dalton
54294f15ef
Update _.assign and _.assignIn fast paths.
2016-02-23 08:23:13 -08:00
John-David Dalton
dfe77571fb
Remove _.keys fast path.
2016-02-23 08:23:05 -08:00
John-David Dalton
f40f66d29b
Remove a isTypedArray check and unnecessary stack creation from baseIsEqualDeep.
2016-02-22 23:38:19 -08:00
John-David Dalton
af06529283
Ensure _.isEqual works with maps and sets with circular references.
2016-02-22 23:38:18 -08:00
John-David Dalton
d8da7a2142
Use isFunction check without the typeof check.
2016-02-22 23:38:18 -08:00
John-David Dalton
c1f8e31775
Use typeof for function checks instead of isFunction.
2016-02-22 23:38:18 -08:00
John-David Dalton
cc4b49226b
Use postfix increment operators.
2016-02-22 23:38:18 -08:00
John-David Dalton
f9a2f74716
Optimize _.assign, _.assignIn, & _.keys.
2016-02-22 23:38:18 -08:00
John-David Dalton
a326a6badf
Update contributing text with 👍 's. [ci skip]
2016-02-22 23:38:18 -08:00
John-David Dalton
e21f4862e1
Update contributing link to tagged release. [ci skip]
2016-02-22 23:38:18 -08:00
greenkeeperio-bot
f0c3ac1789
Update jquery to 2.2.1, uglify-js to 2.6.2, and webpack to 1.12.14.
2016-02-22 23:37:38 -08:00
John-David Dalton
e24513e6e2
Clarify _.isEmpty docs. [ci skip]
2016-02-22 12:19:08 -08:00
John-David Dalton
a224b6f1b0
Add core.min.js and lodash.min.js to the fp module ignored list.
2016-02-22 10:28:34 -08:00
John-David Dalton
26299eb364
Update _.isEmpty doc param type for value. [ci skip]
2016-02-22 10:24:20 -08:00
John-David Dalton
772c461a33
Bump to v4.5.1.
2016-02-21 22:58:49 -08:00
John-David Dalton
110ca4d1b5
Rebuild lodash and docs.
2016-02-21 22:58:49 -08:00
John-David Dalton
aafb05b675
Update for lodash v4 api.
2016-02-21 22:58:49 -08:00
John-David Dalton
ff6fc56a15
Use _baseConvert in fp module.
2016-02-21 21:07:21 -08:00
John-David Dalton
2dfbe9fe77
Use minified lodash in fp module.
2016-02-21 21:07:09 -08:00
John-David Dalton
4a0fe2c17b
Use lodash in test/remove.js.
2016-02-21 19:35:08 -08:00
John-David Dalton
9f7e626b9a
Make build-module create core.min.js and lodash.min.js.
2016-02-21 19:35:08 -08:00
John-David Dalton
f2985bda5f
Add copyFile, minFile, and writeFile to lib/common/util.js.
2016-02-21 19:35:01 -08:00
John-David Dalton
1517745a6a
Update placeholder param description of createRecurryWrapper. [ci skip]
2016-02-21 16:57:06 -08:00
John-David Dalton
887cb55919
Add _.placeholder tests.
2016-02-21 13:48:46 -08:00
John-David Dalton
5c42d0ef31
Add intersection tests for two arrays.
2016-02-21 09:59:51 -08:00
John-David Dalton
837d47a309
Update lodash paths travis.yml, test/test.js, and test/index.html.
2016-02-20 23:53:35 -08:00
John-David Dalton
f3766cf889
Add getPlaceholder helper.
2016-02-20 18:07:11 -08:00
John-David Dalton
2b8b63e59f
Allow placeholders to persist through more than 1 curried call.
2016-02-20 18:07:05 -08:00
John-David Dalton
d64583b743
Cleanup bitmask groupings in mergeData.
2016-02-20 16:40:59 -08:00
John-David Dalton
9ec65d5ed5
Fix newHolders typo.
2016-02-20 11:28:11 -08:00
John-David Dalton
9fe6afcdcc
Use lodashStable.bind in unzip/zip test.
2016-02-20 11:28:11 -08:00
Benjamim Sonntag
6a4e0fb41b
Links _.remove and _.pull in the docs. [ci skip]
2016-02-20 11:28:00 -08:00
John-David Dalton
b570884bb3
Remove npm "prepublish" script to avoid running on npm i.
2016-02-19 10:51:48 -08:00
John-David Dalton
8f8f8e288c
Update internal module references in tests.
2016-02-19 10:39:38 -08:00
John-David Dalton
8698a5e0e8
Add tests for setting the [[Prototype]] of clones for values where constructor is incorrect.
2016-02-19 08:18:56 -08:00
John-David Dalton
ad5e30e189
Move _.merge test for augmenting objects.
2016-02-19 08:17:44 -08:00
Benjamin Tan
19ee0c74f8
Update link to CONTRIBUTING.md in readme. [ci skip]
2016-02-19 08:02:57 -08:00
John-David Dalton
007e5aa27a
Increment package version to enable ci tests.
2016-02-19 01:23:07 -08:00
John-David Dalton
2509f562b5
Update fp wiki template.
2016-02-19 01:23:02 -08:00
John-David Dalton
a58a276ffd
Replace "iteratee function" with "iteratee". [ci skip]
2016-02-19 01:04:36 -08:00
John-David Dalton
1a5b9dcce1
Add iteratee signature to _.mapKeys. [ci skip]
2016-02-19 01:04:19 -08:00
John-David Dalton
1240a0dfdd
Move contributing text to .github. [ci skip]
2016-02-19 00:46:06 -08:00
Henrik Hjelte
0194169e79
Clarify docs on omitBy predicate params. [ci skip]
2016-02-19 00:11:33 -08:00
John-David Dalton
a71c19e1b5
Avoid unnecessary cloning in fp set methods. [ closes #2017 ]
2016-02-19 00:11:20 -08:00
John-David Dalton
bfbfa719ff
Ensure assignValue assigns values if they aren't the same own value. [ closes #2022 ]
2016-02-19 00:01:33 -08:00
John-David Dalton
49389d0a2f
Ducktype in _.isError for ES6 support.
2016-02-18 21:52:53 -08:00
John-David Dalton
e380062403
Use getPrototypeOf to set inheritance when constructor is a function. [ closes #2018 ]
2016-02-18 21:52:19 -08:00
John-David Dalton
b83abfa9c1
Make fp arity for orderBy three instead of two. [ closes #2019 ]
2016-02-18 13:37:16 -08:00
John-David Dalton
48dbf203a5
Ensure fp pickBy and omitBy provide value and key arguments.
2016-02-18 01:08:19 -08:00
John-David Dalton
23768398c5
Add iterateeRearg fp mapping back for mapKeys.
2016-02-17 22:21:48 -08:00
John-David Dalton
ab73503859
Bump to v4.5.0.
2016-02-17 22:21:48 -08:00
John-David Dalton
a4f7d4cc2a
Rebuild lodash and docs.
2016-02-17 22:21:47 -08:00
Myles Borins
cca5ac60d6
Fix npm-test by removing the call to test-docs.
2016-02-17 22:21:47 -08:00
John-David Dalton
9f7f9fc3c5
Adjust heading order. [ci skip]
2016-02-17 01:26:28 -08:00
John-David Dalton
6e2fb92e9a
Remove unused baseArity.
2016-02-16 22:29:41 -08:00
John-David Dalton
4f702e2381
Specify utf8 encoding.
2016-02-16 22:04:47 -08:00
John-David Dalton
b188f903ce
Add fp tests for iteratee shorthands.
2016-02-16 21:27:08 -08:00
John-David Dalton
7b93dc9c32
Ensure clone methods clone expando properties of boolean, number, & string objects. [ closes #2008 ]
2016-02-16 21:27:03 -08:00
John-David Dalton
664d66a89e
Make string tests more consistent.
2016-02-16 20:44:55 -08:00
John-David Dalton
d9dc0e6fd1
Add _.invertBy tests.
2016-02-16 19:30:23 -08:00
John-David Dalton
53168e4cfd
Remove dup _.invertBy test.
2016-02-16 18:49:43 -08:00
John-David Dalton
7998632685
Add castArray chaining test.
2016-02-16 18:48:57 -08:00
John-David Dalton
86f2a1061c
Simplify readme. [ci skip]
2016-02-16 18:48:11 -08:00
John-David Dalton
9ca02a448e
Update cdn links. [ci skip]
2016-02-16 08:52:49 -08:00
John-David Dalton
17091d3a0e
Simplify shorthand test labels.
2016-02-16 08:42:29 -08:00
John-David Dalton
c94b1488e9
Make iteraeeAry pass thru non-functions. [ closes #2007 ]
2016-02-16 07:46:54 -08:00
John-David Dalton
7b2274cb44
Add methods to lodash doc notes. [ci skip]
2016-02-16 01:29:25 -08:00
John-David Dalton
7c27a6f51e
Make wording of entries align closer to their titles. [ci skip]
2016-02-16 01:29:25 -08:00
John-David Dalton
e91371d406
Increment package version to enable ci tests.
2016-02-16 01:29:25 -08:00
John-David Dalton
e878559fb9
Bump to v4.4.0.
2016-02-15 23:08:19 -08:00
John-David Dalton
36af8de116
Rebuild lodash and docs.
2016-02-15 23:07:07 -08:00
John-David Dalton
09dd3a8fea
Remove noConflict call from the node fp module template.
2016-02-15 23:07:07 -08:00
John-David Dalton
5dd6b90692
Minor comma nit from contributing.md. [ci skip]
2016-02-15 21:30:16 -08:00
John-David Dalton
97fd94744e
Add mapping section to fp wiki template. [ci skip]
2016-02-15 17:38:30 -08:00
John-David Dalton
0da3674d5e
Update fp doc template.
2016-02-15 17:00:01 -08:00
John-David Dalton
01d530d65e
Cleanup fp/build-modules.
2016-02-15 16:59:43 -08:00
John-David Dalton
10dd42b6e4
Restore bizarro tests for Object.create.
2016-02-15 16:47:31 -08:00
John-David Dalton
ba2d3f7704
Use != instead of !== when value is guaranteed to be a string.
2016-02-15 16:36:20 -08:00
Graeme Yeates
607fe2a5f6
Use Object.create in baseCreate (even if shimmed).
2016-02-15 16:35:20 -08:00
John-David Dalton
4643679d79
Remove fp caps mapping.
2016-02-15 13:51:20 -08:00
greenkeeperio-bot
04180c7c96
Update jscs to 2.10.1.
2016-02-15 11:12:14 -08:00
John-David Dalton
3846348f8a
Clarify how undefined source values are handled in _.merge. [ci skip]
2016-02-15 10:22:25 -08:00
John-David Dalton
dc2fc9428d
Cross reference _.matches and _.isMatch in docs. [ci skip]
2016-02-15 10:22:04 -08:00
John-David Dalton
6e399ce311
Cleanup long lines in isEqualWith docs. [ci skip]
2016-02-15 10:21:19 -08:00
John-David Dalton
641b544801
Add castArray to lodash chaining doc note. [ci skip]
2016-02-15 10:20:40 -08:00
John-David Dalton
761a100397
Ensure _.valuesIn returns results. [ closes #2000 ]
2016-02-15 09:14:10 -08:00
John-David Dalton
cf1a4f893f
Update fp doc generation.
2016-02-15 00:18:12 -08:00
John-David Dalton
19613be861
Add isArray to _util.jst.
2016-02-14 23:47:45 -08:00
John-David Dalton
c163659713
Rename fp mapping rename to remap.
2016-02-14 23:47:45 -08:00
John-David Dalton
aae02af265
Cleanup Date shims.
2016-02-14 19:20:17 -08:00
John-David Dalton
cb96bf15b7
Reduce the length of some lines.
2016-02-14 19:14:17 -08:00
John-David Dalton
c006c28f55
Add lib/common/util.
2016-02-14 12:57:34 -08:00
John-David Dalton
d358d00531
Ensure fp castArray shallow clones arrays.
2016-02-14 12:09:17 -08:00
John-David Dalton
abcebb4f48
Remove exposed castFunction and castPath.
2016-02-14 11:02:11 -08:00
John-David Dalton
6e74724c0f
Add _.compat test for lazy sequence with a custom _.iteratee.
2016-02-14 09:21:07 -08:00
John-David Dalton
c5f6c43326
Add default wrapper value to jsdoc of _.wrap. [ci skip]
2016-02-14 08:57:28 -08:00
John-David Dalton
a9e8c0ba76
Add changelog mention to the wiki link in readme. [ci skip]
2016-02-14 08:41:43 -08:00
John-David Dalton
5388d8a7b0
Rename _.asArray to _.castArray and add _.castFunction and _.castPath.
2016-02-13 13:40:04 -08:00
Graeme Yeates
ee499b36ea
Add _.asArray method.
2016-02-13 09:04:19 -08:00
John-David Dalton
13e4b959a4
Rename skipTest to skipAssert.
2016-02-13 08:32:47 -08:00
John-David Dalton
5a336403f9
Fix fp browser test fails.
2016-02-13 08:31:04 -08:00
John-David Dalton
26265c011a
Fix failing _.isError test in phantomjs.
2016-02-13 02:18:37 -08:00
John-David Dalton
4a390bca1c
Update tests for es6.
2016-02-13 02:18:15 -08:00
John-David Dalton
af46ead30d
Fix caller access in strict mode es6 modules.
2016-02-13 02:01:46 -08:00
John-David Dalton
de0f936e92
Ensure fp convert works with category modules.
2016-02-13 01:23:07 -08:00
John-David Dalton
bf9dcfe89c
Add jsdoc constructor tags. [ci skip]
2016-02-12 22:51:26 -08:00
John-David Dalton
df0ecd2a93
Ensure _.isError works with subclasses values. [ closes #1994 ]
2016-02-12 22:51:26 -08:00
John-David Dalton
b3ebb3c3d3
Add _.fromPairs to mention to _.toPairs and _.toPairsIn. [ci skip]
2016-02-12 22:51:26 -08:00
Jeroen Engels
0bead0c69a
Update closed issue link in contributing.md to link to enhancement issues. [ci skip]
2016-02-12 22:51:26 -08:00
John-David Dalton
a055b0a04f
Fix fp rearg order for zipWith.
2016-02-12 22:51:26 -08:00
John-David Dalton
d6f6007692
Add wiki link to "Further Reading" section of readme. [ci skip]
2016-02-12 22:51:26 -08:00
John-David Dalton
8ee7ffb2ab
Add more currying to fp tests.
2016-02-12 22:51:26 -08:00
John-David Dalton
40ff04911e
Remove unneeded copyArray from baseMergeDeep.
2016-02-12 22:51:25 -08:00
John-David Dalton
a3676618af
Reorg templates.
2016-02-12 22:51:19 -08:00
John-David Dalton
b1ed66c6f5
Add another fp.inRange test.
2016-02-11 22:57:25 -08:00
John-David Dalton
53b3f81abe
Ensure _.merge deep clones array/typed-array/plain-object sources. [ closes #1987 ]
2016-02-11 22:56:33 -08:00
John-David Dalton
bd2428dde5
Remove fp doc to be simplified in a later commit.
2016-02-11 21:02:44 -08:00
Jeroen Engels
b7ae5f0885
Add paragraph about making feature requests in docs [ci skip]
2016-02-11 19:57:04 -08:00
John-David Dalton
8c5b64c7d7
Have browser fp convert auto wrap lodash if found.
2016-02-11 15:49:32 -08:00
John-David Dalton
641112dd4d
Attempt two to fix bizarro buffer test in Node v0.12.
2016-02-11 10:55:26 -08:00
John-David Dalton
1c47acd040
Ensure maxWait isn't processed on a leading invocation ifleading is false and there isn't an max delay queued. [ closes #1964 ]
2016-02-11 00:18:08 -08:00
greenkeeperio-bot
d58d6f45cc
Update glob to 7.0.0.
2016-02-11 00:18:07 -08:00
Artur Baybulatov
7efa921bab
Add a note about browser usage of lodash-fp. [ci skip]
2016-02-10 10:54:40 -08:00
John-David Dalton
feafdb3c6a
Fix jsdoc type tags. [ closes #1976 ] [ci skip]
2016-02-10 08:26:43 -08:00
John-David Dalton
784ee6a086
Remove fp iterateeRearg mapping. [ closes #1971 ]
2016-02-10 08:19:59 -08:00
John-David Dalton
3014f20b6c
Remove copyArray dep from _.flattenDepth.
2016-02-10 00:43:03 -08:00
John-David Dalton
40bb035b09
Minor label cleanup.
2016-02-10 00:15:08 -08:00
John-David Dalton
ba32bf3b8d
Cleanup flatten methods and add more flattenDepth tests.
2016-02-10 00:14:10 -08:00
John-David Dalton
e9edc06aaf
Enable convert to work when given lodash and options.
2016-02-09 21:56:49 -08:00
Jordan Eldredge
c91196d240
Run style checks before publishing.
2016-02-09 19:39:32 -08:00
Jeroen Engels
08c7bf3c85
Fix code style error and doc nit. [ci skip]
2016-02-09 19:39:32 -08:00
Michael Morgan
046470a8db
Added _.flattenDepth for variable-depth flatten.
2016-02-09 19:39:32 -08:00
Billy Janitsch
2b1eedb036
Fix FP rearg for _.zipWith and _.inRange.
2016-02-09 19:39:31 -08:00
Jeroen Engels
02bea6534c
fp docs - Remove notes about mutation in description.
2016-02-09 19:36:37 -08:00
Jeroen Engels
6f4099c20b
fp docs - Split lib/doc/apply-fp-mapping into multiples files.
2016-02-09 19:36:37 -08:00
Jeroen Engels
39735df82f
fp docs - Inject default values and cap args.
2016-02-09 19:36:37 -08:00
Jeroen Engels
5062f22839
fp docs - Remove console.log() from examples.
2016-02-09 19:36:36 -08:00
Jeroen Engels
e397707dc9
fp docs - translate ...args to args[] in example and params.
2016-02-09 19:36:36 -08:00
Jeroen Engels
66d6e226a9
Add scripts to generate the docs for lodash/fp.
2016-02-09 19:36:36 -08:00
Benjamin Tan
fbfa578c11
Write fp docs to a different file.
2016-02-09 19:36:36 -08:00
John-David Dalton
5cd7208ef3
Fix test fail in phantomjs.
2016-02-09 17:11:02 -08:00
John-David Dalton
e5bc6a0315
Fix bizarro buffer test in Node v0.12.
2016-02-09 17:11:02 -08:00
John-David Dalton
495c890aac
Add bizarro test for _.isBuffer.
2016-02-09 17:11:02 -08:00
John-David Dalton
5fe4a1b05d
Add fp placeholder test for converted partial.
2016-02-09 17:11:02 -08:00
John-David Dalton
d8bf62995b
Ensure fp options works when applied individually.
2016-02-09 17:11:02 -08:00
John-David Dalton
e36f7e7161
Enable testing fp/convert in the browser.
2016-02-09 17:11:02 -08:00
John-David Dalton
285b667c3e
Update "Why Lodash" section of readme. [ci skip]
2016-02-09 17:11:02 -08:00
John-David Dalton
aefbdbb6d5
Increment package version to enable ci tests.
2016-02-08 00:31:19 -08:00
John-David Dalton
8debfc6e6c
Bump to v4.3.0.
2016-02-08 00:31:19 -08:00
John-David Dalton
c9ca772a32
Rebuild lodash and docs.
2016-02-08 00:31:19 -08:00
John-David Dalton
dc65792776
Add fp tests for add, subtract, gt, gte, lt, & lte.
2016-02-08 00:31:19 -08:00
John-David Dalton
18ae1d7c18
Ensure _.add and _.subtract return 0 when no arguments are given.
2016-02-08 00:31:19 -08:00
John-David Dalton
d790a1b3c6
Adjust "provided"/"given" use. [ci skip]
2016-02-08 00:31:18 -08:00
John-David Dalton
349c627110
Add options to baseConvert.
2016-02-08 00:31:13 -08:00
John-David Dalton
db23fcfe9f
Rename num params to n.
2016-02-07 22:47:15 -08:00
John-David Dalton
d5a6a75639
Clarify pull request notes in contributing.md. [ci skip]
2016-02-07 22:47:15 -08:00
Robert T. Stewart
404a7181a8
Add 'What is Lodash' section to README.md. [ci skip]
2016-02-07 22:47:15 -08:00
Corbacho
e392b8e240
Improve accuracy of _.throttle.
2016-02-07 22:47:14 -08:00
John-David Dalton
6752d75ad0
Add _.isMap, _.isSet, _.isWeakMap, & _.isWeakSet.
2016-02-07 22:47:14 -08:00
John-David Dalton
e00d9821a8
Add gt, gte, lt, lte to fp skipRearg mapping.
2016-02-07 22:47:14 -08:00
John-David Dalton
1cf7093f46
Allow undefined realm values.
2016-02-07 22:47:14 -08:00
John-David Dalton
88708ec00f
Minor test order nit.
2016-02-07 22:47:14 -08:00
John-David Dalton
984b0af883
Add deep clone test for buffers.
2016-02-07 22:47:14 -08:00
John-David Dalton
8810754ada
Add _.isArrayBuffer test.
2016-02-07 22:47:14 -08:00
John-David Dalton
0d340b378b
Add _.isBuffer test.
2016-02-07 22:47:14 -08:00
John-David Dalton
e30dc968ef
Move _.isNull test.
2016-02-07 22:47:13 -08:00
John-David Dalton
ea942b0642
Upgrade sauce tested versions of Chrome and Firefox.
2016-02-07 22:47:13 -08:00
Tyler Garrett
7e9d49b300
Fix DevDoc link in readme. [ci skip]
2016-02-07 22:47:13 -08:00
John-David Dalton
ce60ac4274
Add isDeep flag to cloneBuffer.
2016-02-07 22:47:13 -08:00
John-David Dalton
a04fc310b4
Fix buffer test fails.
2016-02-07 22:47:13 -08:00
John-David Dalton
4a805ea666
Add _.isArrayBuffer and _.isBuffer.
2016-02-07 22:47:13 -08:00
John-David Dalton
1595651780
Add support for cloning buffers. [ closes #1940 ]
2016-02-07 22:47:13 -08:00
John-David Dalton
fc85cac91d
Update sauce-tunnel and webpack deps.
2016-02-07 22:47:13 -08:00
John-David Dalton
73134f9dcc
Update the readme.
2016-02-07 22:47:13 -08:00
John-David Dalton
eb72bbe6f7
Update license to github formatting.
2016-02-07 22:47:12 -08:00
John-David Dalton
a5ae078f8f
Increment package version to enable ci tests.
2016-02-05 00:24:51 -08:00
John-David Dalton
1cd9dc49a9
Bump to v4.2.1.
2016-02-03 01:31:34 -08:00
John-David Dalton
d64a97195b
Rebuild lodash and docs.
2016-02-03 01:16:58 -08:00
John-David Dalton
c6a3ace553
Skip pseudo-private aliases.
2016-02-03 01:16:58 -08:00
John-David Dalton
497d57ca95
Ensure fp add and subtract don't have rearg applied.
2016-02-03 00:16:07 -08:00
John-David Dalton
3a07b411fb
Add fp tests for placeholders.
2016-02-03 00:16:07 -08:00
John-David Dalton
b0c2a8d5fd
Add fp _.partial tests for convert by name.
2016-02-03 00:16:06 -08:00
John-David Dalton
e404d214aa
Add _.placeholder support so wrapped functions may support placeholders.
2016-02-03 00:16:06 -08:00
Nathan Tran
7f295dc6e8
Make _baseConvert use spread and not rest.
2016-02-03 00:16:06 -08:00
Prayag Verma
d2a8203efb
Remove duplicate to and the words from docs. [ci skip]
2016-02-03 00:16:06 -08:00
John-David Dalton
33bfa8f961
Add trimChars fp mapping.
2016-02-03 00:16:06 -08:00
John-David Dalton
f944254cb8
Cleanup fp.curryN test label.
2016-02-03 00:16:06 -08:00
John-David Dalton
30339cfd86
Add fp.getOr test.
2016-02-03 00:16:06 -08:00
John-David Dalton
7dd5549b05
Increment lodash package version to enable ci tests.
2016-02-03 00:16:06 -08:00
John-David Dalton
b6b59d93d7
Bump to 4.2.0.
2016-02-02 00:33:16 -08:00
John-David Dalton
5af68bbf94
Rebuild lodash and docs.
2016-02-02 00:33:16 -08:00
John-David Dalton
db7debd3da
Move benchmark.js to a dev dep.
2016-02-02 00:33:16 -08:00
laispace
29bc8d965b
Fix _.sortedUniqBy doc example. [ci skip]
2016-02-01 23:55:34 -08:00
John-David Dalton
daeb55e99d
Rename mapping rekey to rename.
2016-02-01 23:53:19 -08:00
John-David Dalton
fa4d85897c
Add mutation notes to _.mergeWith, _.set, _.setWith, and _.unset. [ci skip]
2016-02-01 22:53:05 -08:00
John-David Dalton
983363e0cd
Cleanup readme. [ci skip]
2016-02-01 22:37:56 -08:00
John-David Dalton
d95dad76b8
Remove dead code.
2016-02-01 22:37:56 -08:00
John-David Dalton
18f74aa5b2
Rename spreadArgs to otherArgs.
2016-02-01 22:37:56 -08:00
John-David Dalton
e96a8f7bc6
Cleanup map tests.
2016-02-01 22:37:56 -08:00
John-David Dalton
29f39be6ad
Add _.flapMap tests for collections.
2016-02-01 22:37:56 -08:00
John-David Dalton
7a17967d79
Add _.spread tests for the start param.
2016-02-01 22:37:56 -08:00
John-David Dalton
de5bd32aba
Rename rp vars to rest.
2016-02-01 22:37:56 -08:00
Jason Trill
199b2e1a3a
Reword docs for _.tap and _.thru. [ci skip]
2016-02-01 22:37:56 -08:00
John-David Dalton
a43e4f10ef
Update vendors.
2016-02-01 22:37:55 -08:00
Trevor Hudson
5522e4641d
Update _.pickBy docs to include value as an iteratee param. [ci skip]
2016-02-01 22:37:55 -08:00
greenkeeperio-bot
6c82ea8fc3
Update qunitjs to 1.21.0.
2016-02-01 22:37:55 -08:00
John-David Dalton
b4b45b7139
Update docdown.
2016-02-01 22:37:55 -08:00
John-David Dalton
7ebb033016
Add _.at chaining test for objects with index keys.
2016-02-01 22:37:55 -08:00
John-David Dalton
163fdb46f0
Ensure fp _.partial and _.partialRight accept an args param.
2016-02-01 22:37:55 -08:00
John-David Dalton
b38cf204f7
Add start param to _.spread.
2016-02-01 22:37:55 -08:00
John-David Dalton
fe5381b0f4
Cleanup fp mapping.
2016-02-01 22:37:55 -08:00
John-David Dalton
c99e7f1337
Make _.flatMap a "Collection" method.
2016-02-01 22:37:55 -08:00
Mohammed Nauage
b61b674fec
Remove sorted behavior from _.indexOf docs. [ci skip]
2016-02-01 22:37:55 -08:00
John-David Dalton
3bdaf99cfa
Ensure _.iteratee clones sources for "_.matchesProperty" shorthand.
2016-02-01 22:37:54 -08:00
John-David Dalton
6c85e7015a
Add assocPath and dissocPath fp aliases.
2016-02-01 22:37:54 -08:00
John-David Dalton
9788f7101b
Ensure fp unset is immutable. [ closes #1913 ]
2016-02-01 22:37:54 -08:00
Billy Janitsch
d0d5a3802d
Alias set to assoc in FP.
2016-02-01 22:37:54 -08:00
John-David Dalton
1f160b31ff
Make doc code sample comments match source comment style. [ci skip]
2016-01-30 01:02:49 -08:00
Ivan Tanev
13659e87cb
Ensure _.attempt preserves custom errors.
2016-01-30 01:02:49 -08:00
John-David Dalton
ac9b0bfc1b
Increment package version to enable ci tests.
2016-01-30 01:02:48 -08:00
John-David Dalton
07f7a3f3c5
Bump to 4.1.0.
2016-01-29 14:22:08 -08:00
John-David Dalton
22984f4eb2
Rebuild lodash and docs.
2016-01-29 14:21:44 -08:00
John-David Dalton
2286283f98
Add babel-plugin-lodash mention to readme. [ci skip]
2016-01-29 14:21:37 -08:00
Florent Cailhol
5ca26e6ae0
Remove V8 JIT bug fix for _.isObject.
2016-01-29 01:09:23 -08:00
John-David Dalton
e7c3afc1e5
Add index.js and lodash.js to the list of ignored files when generating fp modules.
2016-01-28 23:58:16 -08:00
John-David Dalton
82e9b4197b
Add more fp mutation tests for deep objects.
2016-01-28 23:01:28 -08:00
John-David Dalton
820939f014
Update docdown.
2016-01-28 22:11:48 -08:00
John-David Dalton
e4c9916e17
Add default accumulator values to doc examples. [ci skip]
2016-01-28 22:11:43 -08:00
John-David Dalton
ce88b120eb
Use npm config shorthand.
2016-01-28 18:11:53 -08:00
John-David Dalton
23c5101227
Make doc postprocess fix for symbol identifers more generic.
2016-01-28 14:45:15 -08:00
Craig Martin
de3eeb2d47
Use npm pretest hook.
2016-01-28 12:36:13 -08:00
John-David Dalton
03f7205e6d
Ensure _.clone and _.cloneDeep work on prototype objects.
2016-01-28 01:05:25 -08:00
John-David Dalton
7bf7ab954b
Update vendors and dev deps.
2016-01-28 01:05:25 -08:00
John-David Dalton
97612f3b31
Disable npm progress bar in travis for quicker installs.
2016-01-27 07:38:08 -08:00
John-David Dalton
71702d058c
Ignore more files.
2016-01-27 01:19:03 -08:00
John-David Dalton
6a4164d9f3
Ensure remapped fp method modules are created.
2016-01-27 00:47:31 -08:00
John-David Dalton
d3b0eae84c
Use mapping for aliasToReal.
2016-01-27 00:47:31 -08:00
John-David Dalton
0105b93f38
Ensure fp convert can work with aliases as name.
2016-01-27 00:19:06 -08:00
John-David Dalton
cae0d2c707
Add aliasToReal fp mapping.
2016-01-27 00:19:06 -08:00
John-David Dalton
dcb1572240
Reorg fp tests.
2016-01-27 00:19:06 -08:00
John-David Dalton
e20f43018b
Separate fp _mapping into individual exports.
2016-01-27 00:19:06 -08:00
John-David Dalton
01e176694f
Correct fp arg order of assignWith, assignInWith, merge, mergeWith, defaults, and defaultsDeep.
2016-01-27 00:19:06 -08:00
John-David Dalton
a239ccaa9a
Add main:modules npm run script.
2016-01-26 21:32:22 -08:00
Jeroen Engels
b97a05b7f2
Add npm scripts to build docs.
2016-01-26 21:32:16 -08:00
John-David Dalton
c86754afde
Cleanup hasPath and indexKeys.
2016-01-26 18:20:51 -08:00
John-David Dalton
95da9c0dd4
Optimize _.isEmpty. [ closes #1888 ]
2016-01-26 18:20:50 -08:00
John-David Dalton
567171993b
Define trim_trailing_whitespace rule for all files.
2016-01-26 18:20:50 -08:00
Kent C. Dodds
60a0d554a0
Run scripts in parallel.
2016-01-26 10:10:16 -08:00
John-David Dalton
f87af6c642
Add more npm run-scripts.
2016-01-26 08:41:38 -08:00
John-David Dalton
df849e8698
Fix style nits.
2016-01-26 08:41:38 -08:00
John-David Dalton
7a8ef7aeb7
Ensure _.sum and _.sumBy return 0 for empty arrays. [ closes #1883 ]
2016-01-26 01:29:59 -08:00
John-David Dalton
25c7c8b153
Update dev deps.
2016-01-26 00:29:41 -08:00
John-David Dalton
8048f015e5
Ensure _.mergeWith overwrites primitives with source object clones. [ closes #1880 ]
2016-01-26 00:28:38 -08:00
John-David Dalton
8a7fce41bb
Add invokeMap to the excused methods in Backbone tests.
2016-01-26 00:28:38 -08:00
John-David Dalton
094a272443
Add _.invertBy.
2016-01-26 00:28:37 -08:00
John-David Dalton
552be2f5fb
Remove multiVal param from _.invert.
2016-01-26 00:28:37 -08:00
John-David Dalton
d99954133c
Add _.zipObjectDeep.
2016-01-26 00:28:37 -08:00
John-David Dalton
c49ace5587
Add back fp build-modules files.
2016-01-26 00:28:30 -08:00
John-David Dalton
258ad020ed
Bump to 4.0.1.
2016-01-25 00:33:25 -08:00
John-David Dalton
59de939c1d
Rebuild lodash and docs.
2016-01-25 00:33:25 -08:00
John-David Dalton
9d2d4f39bc
Reorg build, fp, and lib files.
2016-01-25 00:32:37 -08:00
John-David Dalton
f555cd2303
Update map references in precompile.js.
2016-01-25 00:24:36 -08:00
Esa-Matti Suuronen
fcb80e926d
Add precompile script for fp modules.
2016-01-25 00:24:36 -08:00
John-David Dalton
3f1fd98bef
Doc cleanup of aggregator methods. [ci skip]
2016-01-25 00:24:36 -08:00
John-David Dalton
e2280db917
Fix documented iteratee arg count of _.partition. [ci skip]
2016-01-25 00:24:36 -08:00
John-David Dalton
627e92e7e0
Remove empty line in baseInvoke jsdoc. [ci skip]
2016-01-25 00:24:36 -08:00
John-David Dalton
5a9ca34a92
Rename initFromArray and initFromCollection vars to initAccum.
2016-01-25 00:24:36 -08:00
John-David Dalton
880ffcb1f6
Add more fp tests for key methods.
2016-01-25 00:24:36 -08:00
John-David Dalton
4e35d970af
Avoid setting ary twice.
2016-01-25 00:24:36 -08:00
John-David Dalton
42a4e09f91
Minor capitalization nit in readme. [ci skip]
2016-01-25 00:24:36 -08:00
John-David Dalton
b13b17e801
Ensure fp key methods provide the key argument to their iteratees. [ closes #1842 ]
2016-01-25 00:24:36 -08:00
John-David Dalton
68d0238044
Remove omitBy and pickBy from funcMethods.
2016-01-25 00:24:35 -08:00
John-David Dalton
82b4f4147e
Add fp customizer test for _.setWith.
2016-01-25 00:24:35 -08:00
John-David Dalton
6cbd2c4188
Ensure _.concat treats nullish values as empty arrays.
2016-01-25 00:24:35 -08:00
John-David Dalton
78982f3074
Ensure _.concat returns an empty array for nullish array values. [ closes #1856 ]
2016-01-25 00:24:35 -08:00
John-David Dalton
345746f7ab
Add another test to help catch incorrect fp mapping.
2016-01-25 00:24:35 -08:00
John-David Dalton
741a7b9caa
Remove mean from fp aryMethod map.
2016-01-25 00:24:35 -08:00
John-David Dalton
7544c8fac8
Add propOr fp alias.
2016-01-25 00:24:35 -08:00
John-David Dalton
a46169329d
Fix fp test fails.
2016-01-25 00:24:35 -08:00
John-David Dalton
9aa56630ab
Ensure _.noConflict only restores _ if lodash is the current _ value.
2016-01-25 00:24:35 -08:00
Billy Janitsch
01819e7a5a
Disable fp concat rearg.
2016-01-25 00:24:34 -08:00
Billy Janitsch
bae497ec5a
Update fp property and get aliases.
2016-01-25 00:24:34 -08:00
John-David Dalton
68e0c78602
Remove baseClone use from mergeDefaults.
2016-01-25 00:24:34 -08:00
John-David Dalton
6296afd279
Ensure _.words treats all-lower and all-upper postfixs as separate words.
2016-01-25 00:24:34 -08:00
John-David Dalton
6d58fe912d
Ensure _.words captures all caped words. [ closes #1833 ]
2016-01-25 00:24:34 -08:00
Nacho Martín
0c45957096
Fix iteratee arg count in _.partition docs. [ci skip]
...
If I am not mistaken, the docs for `partition` are wrong. It is only invoked with an argument, not three. See this fiddle https://jsfiddle.net/y8fcwa6m/
2016-01-25 00:24:34 -08:00
John-David Dalton
aa311bd792
Move unset to aryMethod[2] mapping.
2016-01-25 00:24:34 -08:00
John-David Dalton
8858cdbe8c
Move position of _.keyBy doc example. [ci skip]
2016-01-25 00:24:34 -08:00
John-David Dalton
9d033247e9
Correct arg count in _.isEqualWit doc note. [ci skip]
2016-01-25 00:24:34 -08:00
Benjamin Tan
cacae31af3
Minor documentation fixes for stringSize, _.cond, _.intersection, and _.reverse. [ci skip]
2016-01-25 00:24:33 -08:00
John-David Dalton
759a44e2b8
Move omitBy and pickBy to aryMethod[2] mapping. [ closes #1819 ]
2016-01-25 00:24:33 -08:00
think2011
2fb778413b
Fix returns tag typo in _.toLength docs. [ci skip]
2016-01-25 00:24:33 -08:00
Ismaël Mejía
473d059efd
Fix _.map doc example. [ci skip]
2016-01-25 00:24:33 -08:00
John-David Dalton
67cd43d97a
Reduce description mentions of eachFunc. [ci skip]
2016-01-25 00:24:33 -08:00
John-David Dalton
b77248c975
Minor cleanup of contributing.md. [ci skip]
2016-01-25 00:24:33 -08:00
John-David Dalton
6bc58a16f6
Remove conditional exposure.
2016-01-25 00:24:33 -08:00
John-David Dalton
0edbd96bb5
Ensure mixinPrereqs is called before Backbone is loaded.
2016-01-25 00:24:33 -08:00
John-David Dalton
6ecc675670
Ensure Backbone test only adds missing methods.
2016-01-25 00:24:33 -08:00
John-David Dalton
c0a6f051fc
Move getFuncName test.
2016-01-25 00:24:33 -08:00
John-David Dalton
6bc0aba800
Avoid chatty console.log.
2016-01-25 00:24:32 -08:00
Steven Sojka
6949f71516
Ensure getFuncName works when checking methods that shadow Object.prototype.
2016-01-25 00:24:32 -08:00
John-David Dalton
f6c6de40f1
Update fp mapping with a test to catch potentially missed wrappers.
2016-01-25 00:24:32 -08:00
John-David Dalton
fdea9a447f
Revert_Symbol rename.
2016-01-25 00:24:32 -08:00
John-David Dalton
2e02636fc1
Revert lodash path in test/index.html.
2016-01-25 00:24:32 -08:00
John-David Dalton
17b9646c0b
Add test warning about the lodash dependency.
2016-01-25 00:24:32 -08:00
John-David Dalton
0a3d7e7cbc
Revert lodash dev dep bump.
2016-01-25 00:24:32 -08:00
John-David Dalton
a62d70e80c
Add jsdoc name tag for flatMap. [ closes #1811 ]
2016-01-25 00:24:32 -08:00
John-David Dalton
96bbf74207
Add has and hasIn to fp mapping. [ closes #1805 ]
2016-01-25 00:24:32 -08:00
John-David Dalton
6cfe7fa5ea
Move forEach and friends to the non-chaining section of the lodash doc note. [ci skip]
2016-01-25 00:24:32 -08:00
John-David Dalton
efc61ea70d
Correct arg count typo in _.cloneWith docs. [ci skip]
2016-01-25 00:24:32 -08:00
John-David Dalton
e752b26f9e
Clarify max size of _.sampleSize. [ci skp] [ closes #1802 ]
2016-01-25 00:24:31 -08:00
Jeroen Engels
6b19ca1c11
Update contributing.md about how to launch tests. [ci skip]
2016-01-25 00:24:31 -08:00
John-David Dalton
42e01fd37b
Add fp tests to npm test.
2016-01-25 00:24:31 -08:00
John-David Dalton
1df18a3e10
Make _.omitBy and _.pickBy pass a key param to iteratees.
2016-01-25 00:24:31 -08:00
John-David Dalton
f31fb8bd34
Add _.isEqual test for unordered object comparisons.
2016-01-25 00:24:31 -08:00
John-David Dalton
1d54d868e3
Fix merging functions and avoid augmenting sources. [ closes #1794 , #1801 ]
2016-01-25 00:24:31 -08:00
John-David Dalton
4b801f423b
Update fp mapping to include uniqWith. [ closes #1800 ]
2016-01-25 00:24:31 -08:00
John-David Dalton
96ef2110ce
Add support for combining diacritical marks for symbols.
2016-01-25 00:24:31 -08:00
Beau Gunderson
84763cab26
Add failing test for Fitzpatrick modifiers.
2016-01-25 00:24:30 -08:00
Beau Gunderson
fc2ce9a021
Add test fails for keycap emoji ( #1796 ).
2016-01-25 00:24:30 -08:00
John-David Dalton
a5c1421c6b
Ensure _.fromPairs can consume results of _.toPairs. [ closes #1790 ]
2016-01-25 00:24:30 -08:00
John-David Dalton
1a54e43a24
Add chunk to fp mapping.
2016-01-25 00:24:30 -08:00
John-David Dalton
1ab5a20784
Fix phantomjs test fails.
2016-01-25 00:24:30 -08:00
John-David Dalton
1634388534
Update fallback lodash module path.
2016-01-25 00:24:30 -08:00
Alon Niv
455afb0019
Fix ES5 parseInt link. [ci skip]
2016-01-14 07:46:29 -08:00
John-David Dalton
349dfbf182
Ensure core build slice has default start and end params. [ closes #1789 ]
2016-01-14 01:34:34 -08:00
John-David Dalton
b081b3ae2d
Cleanup intentation in baseIsMatch.
2016-01-13 23:09:46 -08:00
John-David Dalton
110f86f803
Fix lodash doc ticks. [ci skip] [ closes #1787 ]
2016-01-13 23:08:56 -08:00
John-David Dalton
ace771d4e9
Add matches to core build. [ closes #1784 ]
2016-01-13 22:41:48 -08:00
John-David Dalton
7544166d11
Add placeholders to fp wrapper. [ closes #1780 ]
2016-01-13 22:07:50 -08:00
mori_9tarou
ff5f06b9f0
Fix _.pullAll doc example typo. [ci skip]
2016-01-13 22:07:12 -08:00
John-David Dalton
06395f8436
Simplify fp map.
2016-01-13 22:03:41 -08:00
John-David Dalton
fe3d86bf13
Ensure _.defaultsDeep doesn't convert function properties to objects. [ closes #1783 ]
2016-01-13 21:20:05 -08:00
John-David Dalton
f92dc95c58
Add fp mapping for _.gt, _.gte, _.lt, and _.lte. [ closes #1776 ]
2016-01-13 14:44:52 -08:00
John-David Dalton
9058c00cfe
Add isEqual to fp mapping. [ closes #1764 ]
2016-01-13 08:11:58 -08:00
think2011
8b6bd8442e
Fix _.isMatchWith doc typo. [ci skip]
2016-01-13 08:11:37 -08:00
Strider
1ef22e976d
Fix _.clone/_.cloneDeep doc typo. [ci skip]
2016-01-13 08:10:23 -08:00
Abhas Tandon
d0d86aecf8
Fix _.maxBy/_.minBy doc example. [ci skip]
2016-01-13 08:08:57 -08:00
John-David Dalton
1ef4807a8e
Ensure object are compared unordered. [ closes #1758 ]
2016-01-13 03:56:55 -08:00
John-David Dalton
846e813c99
Ensure each and eachRight have the correct chain behavior.
2016-01-13 03:45:15 -08:00
John-David Dalton
73405cf042
Update fp property alias mapping. [ closes #1755 ]
2016-01-13 00:09:29 -08:00
John-David Dalton
79c873f3f8
Update fp map for assignment methods and set methods. [ closes #1754 ]
2016-01-13 00:06:59 -08:00
greenkeeperio-bot
0fc6929dd4
Update lodash dev dep.
2016-01-13 00:06:59 -08:00
John-David Dalton
753a32bed7
Remove legacy doc note from _.range. [ closes #1753 ] [ci skip]
2016-01-13 00:06:59 -08:00
John-David Dalton
027c572758
Add replace to fp map.
2016-01-13 00:06:59 -08:00
John-David Dalton
afb7d3e351
Add split to fp map. [ closes #1752 ]
2016-01-13 00:06:59 -08:00
John-David Dalton
a5c3ae0a7e
Remove run from jsdoc alias tag. [ci skip]
2016-01-13 00:06:59 -08:00
John-David Dalton
9477e46fb3
Fix typos in lodash doc note. [ci skip]
2016-01-13 00:06:58 -08:00
John-David Dalton
bf06df4475
Bump to v4.0.0.
2016-01-13 00:06:58 -08:00
John-David Dalton
e775a58496
Rebuild lodash and docs.
2016-01-13 00:06:58 -08:00
John-David Dalton
ad15e47d4d
Update dev deps.
2016-01-13 00:06:58 -08:00
John-David Dalton
45f7a91780
Update fp modules.
2016-01-13 00:06:47 -08:00
John-David Dalton
b1401d03a1
Update fp/util module paths.
2016-01-12 08:00:35 -08:00
John-David Dalton
8b264e5c11
Add eq to fp mapping.
2016-01-11 23:33:44 -08:00
John-David Dalton
2fb4ec0d5f
Rename conj and disj to overEvery and overSome in fp mapping.
2016-01-11 23:33:44 -08:00
John-David Dalton
ddd5318bb0
Change category names of "Utility" to "Util" and "Chain" to "Seq".
2016-01-11 22:55:14 -08:00
John-David Dalton
3d44135df5
Remove run alias.
2016-01-11 21:21:21 -08:00
John-David Dalton
a98fc802fc
Cleanup _.maxBy and _.minBy doc example. [ci skip]
2016-01-11 16:14:26 -08:00
John-David Dalton
ed364ecfee
Cleanup _.iteratee doc example. [ci skip]
2016-01-11 16:14:26 -08:00
John-David Dalton
434d217bfa
Cleanup omit and pick doc examples. [ci skip]
2016-01-11 16:14:26 -08:00
John-David Dalton
2386557b5e
Add more _.toArray doc examples. [ci skip]
2016-01-11 16:14:26 -08:00
John-David Dalton
f619a6666a
Cleanup clone doc examples. [ci skip]
2016-01-11 16:14:26 -08:00
John-David Dalton
359ef9715e
Cleanup resolve doc examples. [ci skip]
2016-01-11 16:14:25 -08:00
John-David Dalton
9211bc6329
Remove toInteger from baseSlice.
2016-01-11 08:17:00 -08:00
John-David Dalton
a26ef1a997
Remove unused variables.
2016-01-10 15:35:44 -08:00
John-David Dalton
c9f53b9a1c
Remove .sauce.yml.
2016-01-10 13:44:54 -08:00
John-David Dalton
f9a3e66716
Update _.unzipWith and _.zipWith iteratee docs. [ci skip]
2016-01-10 12:38:02 -08:00
John-David Dalton
e5464fa199
Change "callback shorthand" to "iteratee shorthand". [ci skip]
2016-01-10 12:37:40 -08:00
John-David Dalton
9dc2f1ee29
Fix test for es build.
2016-01-09 13:56:56 -08:00
John-David Dalton
b27143aa15
Add missing bizarro labels.
2016-01-09 01:24:56 -08:00
John-David Dalton
07c38311ca
Add _.clone test for objects without a constructor function.
2016-01-09 01:17:23 -08:00
John-David Dalton
4a0415a6bd
Increase test coverage of symbols.
2016-01-09 01:17:16 -08:00
John-David Dalton
5d97cdbcfe
Minor formatting nit.
2016-01-09 01:02:47 -08:00
John-David Dalton
7cce658fc4
Leak to avoid sporadic noglobals fails on Edge in Sauce Labs.
2016-01-08 23:46:48 -08:00
John-David Dalton
84879453b1
Add _.cond test for provided arguments.
2016-01-08 23:01:07 -08:00
John-David Dalton
9cc79db819
Add _.toLength test for -0.
2016-01-08 21:35:16 -08:00
John-David Dalton
17a1663513
Add default wait test for _.delay.
2016-01-08 21:35:16 -08:00
John-David Dalton
11538ccf90
Cleanup test labels. [ci skip]
2016-01-08 21:35:16 -08:00
John-David Dalton
5c51b1c4d1
Simplify baseInRange and baseRange description. [ci skip]
2016-01-08 21:35:16 -08:00
John-David Dalton
5a13fe28c9
Rename _.random params start and end to lower and upper.
2016-01-08 21:35:10 -08:00
John-David Dalton
946560c998
Add baseClamp.
2016-01-08 20:11:59 -08:00
John-David Dalton
7c5e032853
Simplify isNumber.
2016-01-08 11:47:17 -08:00
John-David Dalton
54ae91b2d9
Use freeParseFloat and freeParseInt.
2016-01-08 08:34:37 -08:00
John-David Dalton
8bd8aa3037
Assign methods should create an object when object is nullish.
2016-01-07 21:53:35 -08:00
John-David Dalton
6fa9490a13
Ensure uglify options are set correctly.
2016-01-07 21:20:22 -08:00
John-David Dalton
5dc48d1a83
Sync uglify options with lodash-cli.
2016-01-07 21:20:03 -08:00
John-David Dalton
9e56a92c8a
Drop Node 0.8 testing.
2016-01-07 20:41:19 -08:00
John-David Dalton
ac98d81b85
Update deps.
2016-01-07 20:41:19 -08:00
John-David Dalton
05e80e32f7
Simplify trim methods.
2016-01-07 20:41:18 -08:00
John-David Dalton
7435058859
Rename Symbol var to _Symbol to avoid problems with Babel v6.4.0.
2016-01-07 20:41:18 -08:00
John-David Dalton
81b1d6e451
Change arguments passed to _.zipWith and _.unzipWith.
2016-01-07 20:41:18 -08:00
John-David Dalton
52754415e0
Remove support for flattening arrays with circular references.
2016-01-07 20:41:18 -08:00
John-David Dalton
d51d67a5c2
Add sauce.yml.
2016-01-07 20:40:57 -08:00
John-David Dalton
c62fbd811b
Enable equalArrays and equalObjects to exit early before checking the stack.
2016-01-05 08:23:08 -08:00
John-David Dalton
1df780abba
Add comment to createRange to avoid refactoring the way start is resolved. [ci skip]
2016-01-05 08:11:02 -08:00
John-David Dalton
150511b263
Add createRange.
2016-01-05 07:59:28 -08:00
John-David Dalton
7fefa954c8
Add baseInRange.
2016-01-05 07:40:57 -08:00
Christopher Hiller
030472cee4
Remove references to Bower, Component, and Volo. [ci skip]
2016-01-05 07:34:13 -08:00
John-David Dalton
00c0dc233e
Move toNumber use out of baseRange.
2016-01-05 07:31:47 -08:00
greenkeeperio-bot
1013bccb9c
Update async and platform dev deps.
2016-01-04 09:19:01 -06:00
John-David Dalton
0911e77c32
Fix _.transform test fail due to _.cloneDeep behavior change.
2016-01-04 09:18:32 -06:00
John-David Dalton
4cdd33b2aa
Update tested browsers in sauce.
2016-01-04 09:18:32 -06:00
John-David Dalton
638f081390
Fix fp test fails due to _.cloneDeep behavior change.
2016-01-04 09:18:32 -06:00
John-David Dalton
21f28bfd0d
Add missing semicolon.
2016-01-04 09:18:32 -06:00
John-David Dalton
941745cd06
Add _.cond test for this binding.
2016-01-04 09:18:32 -06:00
John-David Dalton
8bf6bcb8a7
Cleanup this binding tests.
2016-01-04 09:18:32 -06:00
John-David Dalton
e7b8fd8281
Add basic _.cond test and test for undefined return values.
2016-01-04 09:18:31 -06:00
John-David Dalton
b1ba01e85a
Simplify _.once test.
2016-01-04 09:18:31 -06:00
John-David Dalton
a74c71e423
Add constant function helpers.
2016-01-04 09:18:31 -06:00
John-David Dalton
dba1bcf973
Simplify [[Prototype]] test labels.
2016-01-04 09:18:31 -06:00
John-David Dalton
ed3f8cc39d
Add support for creating clones with the same [[Prototype]] as value.
2016-01-04 09:18:31 -06:00
John-David Dalton
f39fdc42f6
Remove legacy options param signature from _.template.
2016-01-04 09:18:31 -06:00
John-David Dalton
9ef191db33
Cleanup _.template tests.
2016-01-04 09:18:31 -06:00
John-David Dalton
9582f25835
Simplify source test labels.
2016-01-04 09:18:31 -06:00
John-David Dalton
4463975ace
Add _.templateSettings.imports._.templateSettings tests.
2016-01-04 09:18:31 -06:00
John-David Dalton
33cf509822
Add _.cond test for shorthands.
2016-01-04 09:18:30 -06:00
John-David Dalton
34f44e8f25
Add parentheses to tests.
2016-01-03 10:08:10 -06:00
John-David Dalton
7fb738ab91
Add _.cond test for function checks.
2016-01-03 10:07:48 -06:00
John-David Dalton
973e0812ad
Add TypeError check for methods that reject falsey params.
2016-01-02 13:53:30 -06:00
John-David Dalton
cd8218541a
Tweak truthy test for memoize resolve.
2016-01-02 13:49:04 -06:00
John-David Dalton
2316dff1e0
Use lodashStable in more places.
2016-01-02 13:48:12 -06:00
John-David Dalton
15ce24db25
Add _.isSymbol tests.
2016-01-02 12:30:13 -06:00
John-David Dalton
b0e0a20e96
Fix realm assignments.
2016-01-02 11:41:18 -06:00
John-David Dalton
849f8e77ec
Ensure _.toString does not throw on symbols.
2016-01-02 11:41:11 -06:00
John-David Dalton
f7c7dee8b0
Add _.isSymbol.
2016-01-02 11:04:41 -06:00
John-David Dalton
167fad9649
Cleanup doc note on lazy evaluation. [ci skip]
2016-01-02 10:32:36 -06:00
John-David Dalton
9d3a298895
Cleanup symbol tests.
2016-01-02 10:32:35 -06:00
John-David Dalton
19b5ef7c6f
Cleanup _.transform realm test.
2016-01-02 10:32:35 -06:00
John-David Dalton
9b09caa463
Add symbol tests for isType methods.
2016-01-02 10:32:35 -06:00
John-David Dalton
f08b6e2690
Add _.cond doc example. [ci skip]
2016-01-02 10:32:26 -06:00
John-David Dalton
fa13cb5544
Add getIteratee to _.cond.
2016-01-01 23:50:13 -06:00
John-David Dalton
1427c99169
Add _.cond.
2016-01-01 23:18:40 -06:00
John-David Dalton
3e155bdbb9
Move _.bindAll to the utility category.
2016-01-01 16:18:02 -06:00
John-David Dalton
f830612f17
Update tab/spacing rules for html files.
2016-01-01 14:49:47 -06:00
John-David Dalton
3b86574b4d
Remove bower.json.
2016-01-01 12:09:06 -06:00
John-David Dalton
30d9cb9a4a
Move flow and flowRight to checkFuncs.
2016-01-01 11:15:54 -06:00
John-David Dalton
cfe05b7d34
Bump copyright year. [ci skip]
2016-01-01 10:04:36 -06:00
John-David Dalton
60a016ae39
Remove Rhino mention from comment. [ci skip]
2015-12-31 20:54:47 -06:00
John-David Dalton
6229e02806
Excuse root._ export from coverage.
2015-12-30 17:18:03 -06:00
John-David Dalton
5202294ae2
Add more excused coverage gaps.
2015-12-30 14:50:16 -06:00
John-David Dalton
5bc50c2ef0
Simplify CommonJS UMD.
2015-12-30 14:50:03 -06:00
John-David Dalton
22b0b942ae
Simplify assocSet pattern.
2015-12-29 22:18:12 -06:00
John-David Dalton
41f86399f0
Remove coverage check for break in createBaseEach.
2015-12-29 22:15:13 -06:00
John-David Dalton
bc7f2af2ce
Add _.orderBy test for string objects.
2015-12-29 21:26:00 -06:00
John-David Dalton
db04398e49
Add support for removing the last capture group.
2015-12-29 09:15:01 -06:00
John-David Dalton
56929e9725
Use == for the 'desc' check in compareMultiple.
2015-12-29 08:52:50 -06:00
John-David Dalton
6798259b84
Use eq in assignInDefaults.
2015-12-29 01:29:18 -06:00
John-David Dalton
20906c7bf7
Update vendors.
2015-12-29 00:25:14 -06:00
John-David Dalton
560ddac75a
Simplify Stack test.
2015-12-28 22:33:45 -06:00
John-David Dalton
daecf5cf01
Simplify setProperty.
2015-12-28 22:33:40 -06:00
John-David Dalton
505f8d5cda
Fix phantomjs test fails.
2015-12-28 21:54:50 -06:00
John-David Dalton
1d7fd0638d
Add more Stack tests.
2015-12-28 20:34:44 -06:00
John-David Dalton
67ca691334
Use eq in assocIndexOf.
2015-12-28 20:34:32 -06:00
John-David Dalton
85da55d917
Add Stack#clear.
2015-12-28 20:34:17 -06:00
John-David Dalton
ee8567ab38
Cleanup MapCache tests.
2015-12-28 20:33:39 -06:00
John-David Dalton
4ca2740628
Add _.transform test to check that object constructor is a function before using its [[Prototype]].
2015-12-28 16:40:29 -06:00
John-David Dalton
23e6302329
Cleanup tests.
2015-12-28 16:28:05 -06:00
John-David Dalton
95c6dd8992
Add tests for MapCache values.
2015-12-28 15:18:45 -06:00
John-David Dalton
a5b733998d
Remove "Opera" from test labels.
2015-12-28 14:54:01 -06:00
John-David Dalton
68b7749a0f
Add more MapCache tests.
2015-12-28 14:53:13 -06:00
John-David Dalton
fb37e0767a
Add tests for skipping value assignments.
2015-12-28 13:16:05 -06:00
John-David Dalton
43469b9877
Simplify Object.defineProperty use.
2015-12-28 13:15:43 -06:00
John-David Dalton
5a53215506
Rename assignSymbols to copySymbols and implement by way of copyObject.
2015-12-28 11:36:53 -06:00
John-David Dalton
51ce9edcf3
Rearrange _.has and _.hasIn tests.
2015-12-28 11:12:14 -06:00
John-David Dalton
18481a40b2
Add _.has and _.hasIn tests for arguments objects and strings.
2015-12-28 11:11:20 -06:00
John-David Dalton
24c0221ec5
Expand common case check in mergeData.
2015-12-28 10:37:49 -06:00
John-David Dalton
0f928233ce
Add _.ary test case for multiple applied arys.
2015-12-28 10:11:17 -06:00
John-David Dalton
e5730af949
Add _.zipObject test for extra keys.
2015-12-28 00:08:26 -06:00
John-David Dalton
ed23b6b89d
Rearrange tests for consistency.
2015-12-27 23:59:04 -06:00
John-David Dalton
28420ac1fc
Add _.conforms test for missing object properties.
2015-12-27 23:58:51 -06:00
John-David Dalton
6da255f786
Add more MapCache tests.
2015-12-27 23:29:15 -06:00
John-David Dalton
2396932846
Remove dead code from stringToArray.
2015-12-27 23:10:59 -06:00
John-David Dalton
89b9f46ad8
Increase coverage of _.random, _.template, and _.truncate.
2015-12-27 20:23:01 -06:00
John-David Dalton
7dd0bb5005
Use 'utf8', which Node uses, instead of 'utf-8'.
2015-12-27 18:41:21 -06:00
John-David Dalton
44ecbc944b
Move _#reverse tests into _.reverse tests.
2015-12-27 18:40:37 -06:00
John-David Dalton
223460bbd2
Remove unneeded assertion from a _.xor chaining test.
2015-12-27 16:22:12 -06:00
John-David Dalton
1a0a9709f2
Add tests for chaining _.invokeMap.
2015-12-27 16:21:21 -06:00
John-David Dalton
a16c282f99
Add more test coverage to _.add, _.subtract, and _.transform.
2015-12-27 15:08:48 -06:00
John-David Dalton
aeac5b0203
Increase code coverage of partial lines.
2015-12-27 14:41:57 -06:00
John-David Dalton
afdc4b746a
Remove dead code in createRecurryWrapper.
2015-12-27 14:41:34 -06:00
John-David Dalton
6c84ccd5c5
Remove dead code from baseIntersection and cloneSymbol.
2015-12-27 13:27:47 -06:00
John-David Dalton
916bfed84b
Add bizarro tests for Object.getOwnPropertySymbols.
2015-12-27 11:19:36 -06:00
John-David Dalton
35bb3ac128
Remove dead code from baseClone.
2015-12-27 11:19:36 -06:00
John-David Dalton
4f1c3887f7
Remove 'utf-8' option because it's the default.
2015-12-27 11:19:30 -06:00
John-David Dalton
ce19067cfd
Cleanup PATTERN use in travis.yml.
2015-12-27 10:10:05 -06:00
John-David Dalton
00f4ebe6aa
Remove legacy filePath resolving code.
2015-12-27 00:12:06 -06:00
John-David Dalton
5add1cfd25
Add test/remove.js to remove snippets while preserving new lines.
2015-12-27 00:06:15 -06:00
John-David Dalton
c67092d72b
Report coverage from lodash.js instead of dist/lodash.js.
2015-12-26 22:15:50 -06:00
John-David Dalton
4bb5402cca
Try codecov.
2015-12-26 22:08:38 -06:00
John-David Dalton
837acf1394
Add "use strict" directive to strict mode test.
2015-12-26 22:08:24 -06:00
John-David Dalton
0d8779734d
Cleanup comment. [ci skip]
2015-12-26 22:07:15 -06:00
John-David Dalton
d8213454c2
Use assignValue in assignSymbols.
2015-12-26 21:31:26 -06:00
John-David Dalton
e05c8677bf
Search for srcValue in stack before objValue.
2015-12-26 21:31:02 -06:00
John-David Dalton
a5b9063088
Use objValue instead of oldValue.
2015-12-26 21:26:36 -06:00
John-David Dalton
83ea7ac136
Make eq comparisons new value vs. old value.
2015-12-26 21:24:45 -06:00
John-David Dalton
f3075d685e
Only copy symbols on objects and nested objects.
2015-12-26 19:24:59 -06:00
John-David Dalton
a811476c1b
Add tests for cloning properties that shadow those on Object.prototype.
2015-12-26 12:26:49 -06:00
John-David Dalton
64fe626fa6
Simplify supported comparision doc notes for _.isMatch, _.matches, and _.matchesProperty. [ci skip]
2015-12-26 11:04:17 -06:00
John-David Dalton
f8236c711f
Use eq in more places.
2015-12-25 22:01:52 -06:00
Benjamin Tan
b1f6bc72f4
Fix minor doc typo in _.chunk. [ci skip]
2015-12-25 22:01:51 -06:00
John-David Dalton
300dee34bd
Test cloning date objects.
2015-12-25 22:01:51 -06:00
John-David Dalton
1eaa112f7d
Add tests for cloning symbol properties.
2015-12-25 22:01:51 -06:00
John-David Dalton
8228376160
Use assignValue in baseClone to avoid strict mode errors.
2015-12-25 22:01:45 -06:00
John-David Dalton
a58cd65db8
Add support for cloning symbol properties to _.clone and _.cloneDeep.
2015-12-24 13:35:15 -06:00
John-David Dalton
2df689524e
Simplify _.times doc example. [ci skip]
2015-12-24 00:16:25 -06:00
John-David Dalton
a20ad60f13
Add "requireEarlyReturn" rule.
2015-12-23 18:36:13 -06:00
John-David Dalton
1c781389d2
Add support for comparing array buffers to _.isEqual.
2015-12-23 18:18:12 -06:00
flyyang
5e639d1704
Fix doc and test label typos. [ci skip]
2015-12-23 09:22:41 -06:00
John-David Dalton
8e64432e2c
Add docs to clarify what values are supported by _.clone and _.isEqual. [ci skip]
2015-12-23 00:56:41 -06:00
John-David Dalton
a8de2ca410
Indent nit. [ci skip]
2015-12-23 00:54:59 -06:00
John-David Dalton
6343518bca
Simplify instanbul invocation in travis.yml.
2015-12-22 23:27:16 -06:00
John-David Dalton
351e259174
Add coverage to the .gitignore.
2015-12-22 18:17:07 -06:00
greenkeeperio-bot
1d77e29c3c
Update dev deps.
2015-12-22 18:16:45 -06:00
John-David Dalton
eba9b3d22a
Avoid test fail in Edge.
2015-12-22 01:22:09 -06:00
John-David Dalton
844fe1d979
Make var name changes for consistency.
2015-12-22 01:04:26 -06:00
John-David Dalton
0971a7820f
Add support for symbols to _.clone, _.cloneDeep, and _.isEqual.
2015-12-22 01:04:26 -06:00
John-David Dalton
06c6f180dc
Simplify test descriptions.
2015-12-22 01:04:26 -06:00
John-David Dalton
33da30266c
Ensure min and max of _.random are swapped if min > max.
2015-12-22 01:04:19 -06:00
John-David Dalton
ad8628f8e7
Avoid isIterateeCall check if step is a number.
2015-12-20 14:03:04 -06:00
John-David Dalton
f42446d22f
Avoid isIterateeCall check if floating is a boolean.
2015-12-20 12:39:00 -06:00
John-David Dalton
4b77b7a8b3
Make _.add, _.subtract, and _.sum not skip NaN values.
2015-12-19 10:37:49 -06:00
John-David Dalton
9e99a57615
Make "asc" the default order of _.orderBy.
2015-12-18 23:32:43 -06:00
John-David Dalton
7e648741ad
Remove unneeded _.memoize.Cache test.
2015-12-17 20:43:56 -08:00
John-David Dalton
b1d396bbbb
Cleanup mapClear.
2015-12-17 20:43:32 -08:00
Aaron Hamid
380435d020
Add clear method to MapCache.
2015-12-17 20:01:17 -08:00
John-David Dalton
71fb66dc37
Rename _.sortByOrder to _.orderBy.
2015-12-16 20:14:52 -08:00
John-David Dalton
a53280f047
Remove volo from package.json.
2015-12-16 17:56:35 -08:00
John-David Dalton
ccfb968b8a
Clarify arity param of _.curry. [ci skip]
2015-12-16 01:15:43 -08:00
John-David Dalton
db731e0c91
Cleanup fp mapping and tests.
2015-12-15 22:25:52 -08:00
Benjamin Tan
a4b86f8368
Limit sample to one argument.
2015-12-15 22:25:52 -08:00
Benjamin Tan
44c697908b
Ensure curryN, curryRightN, curryRight, and sampleSize are defined.
2015-12-15 22:25:35 -08:00
John-David Dalton
e3c79bd24a
Refine Object.prototype check in _.defaults.
2015-12-15 21:04:39 -08:00
John-David Dalton
fb1ed531e4
Cleanup param docs. [ci skip]
2015-12-15 20:55:44 -08:00
John-David Dalton
a6cb6d26a4
Add _.split test for limit.
2015-12-15 20:37:43 -08:00
John-David Dalton
003a5981d6
Cleanup jQuery doc references. [ci skip]
2015-12-15 00:28:47 -08:00
John-David Dalton
0bf38b826e
Update dev deps.
2015-12-14 22:53:40 -08:00
John-David Dalton
4038d12f1b
Move replace and split tests from chained to non-chained forms.
2015-12-14 21:44:36 -08:00
John-David Dalton
9d60e28aad
Reset args to undefined.
2015-12-14 20:37:44 -08:00
John-David Dalton
ae92aa200f
Add fp tests for cherry-picked reduce and reduce iterating an object.
2015-12-14 20:37:05 -08:00
John-David Dalton
4584b857ca
Update vendor/underscore.
2015-12-14 11:54:17 -08:00
John-David Dalton
46bdf5d79d
Simplify _.reduce and _.reduceRight.
2015-12-14 08:25:28 -08:00
John-David Dalton
83720f457e
Remove custom lodash option from perf and test ui.
2015-12-14 08:25:10 -08:00
John-David Dalton
0706af1543
Ensure the fp iteratee wrapper enforces arity for functions with a length of 0.
2015-12-14 08:06:29 -08:00
John-David Dalton
41985d8c1a
Ensure reduce and reduceRight use getIteratee for the array path.
2015-12-13 23:29:52 -08:00
John-David Dalton
440eb0876c
Dry up lib/fp/base.js
2015-12-12 14:10:45 -08:00
John-David Dalton
ac0a0ea07e
Add delete to Map interface note. [ci skip]
2015-12-12 11:03:34 -08:00
John-David Dalton
4a534da00a
Use MDN for built-in method references. [ci skip]
2015-12-12 11:03:18 -08:00
John-David Dalton
ff4143b482
Expose _.replace and _.split.
2015-12-12 10:54:11 -08:00
John-David Dalton
f132c0024f
Make fp versions of set and setWith immutable.
2015-12-11 01:39:33 -08:00
John-David Dalton
82a1010f64
Fix fp test fail when run from Node.
2015-12-11 01:29:14 -08:00
greenkeeperio-bot
d885a9afd0
Update coveralls to 2.11.6.
2015-12-10 22:40:19 -08:00
John-David Dalton
08568fcc8f
Update vendor/backbone and vendor/underscore.
2015-12-10 18:32:57 -08:00
John-David Dalton
2192b7748e
Remove test/asset/test-ui.js use from test/fp.html.
2015-12-09 23:36:40 -08:00
John-David Dalton
c96a579291
Simplify _.overArgs.
2015-12-09 01:37:34 -08:00
greenkeeperio-bot
095cf94c45
Update jscs to 2.7.0.
2015-12-09 01:28:10 -08:00
John-David Dalton
f7a49778ea
Rename _.modArgs to _.overArgs and remove _.modArgsSet.
2015-12-08 23:23:34 -08:00
John-David Dalton
58b235b435
Fix fp test fails in IE10 and Firefox.
2015-12-07 00:58:03 -08:00
John-David Dalton
a7f1c3c883
Fix test fails in IE11.
2015-12-07 00:37:37 -08:00
John-David Dalton
268d411bb4
Update lodash builds in travis.yml.
2015-12-06 22:48:39 -08:00
John-David Dalton
7cdf708e3c
Prevent false minified method name test fail.
2015-12-06 22:13:39 -08:00
John-David Dalton
42c077de02
Make fp tests browser runnable.
2015-12-05 23:44:09 -08:00
John-David Dalton
769f78a2b7
Rename test/test.fp.js to test/test-fp.js.
2015-12-05 22:01:05 -08:00
John-David Dalton
b69ba06db9
Add a doc on path creation for _.set. [ci skip]
2015-12-05 12:55:16 -08:00
John-David Dalton
42d5cc584e
Simplify iteration in createBaseFor .
2015-12-05 12:55:15 -08:00
John-David Dalton
f3d54d0975
Add _.rangeRight tests.
2015-12-05 12:55:15 -08:00
John-David Dalton
39192ad388
Shorten flag vars.
2015-12-05 12:55:15 -08:00
John-David Dalton
19500d36c7
Avoid fails in flowRight setup.
2015-12-05 12:55:15 -08:00
John-David Dalton
229f0b48cd
Update perf/perf.js to correctly load libs when running from the command line.
2015-12-05 12:55:15 -08:00
John-David Dalton
58736f743e
Add rangeRight to fp mapping.
2015-12-05 12:55:10 -08:00
John-David Dalton
dc136cbf31
Remove perf/run-perf.sh.
2015-12-03 18:00:00 -08:00
John-David Dalton
81e39f7c4b
Add _.rangeRight docs. [ci skip]
2015-12-03 17:59:46 -08:00
John-David Dalton
1cbb6f1405
Add doc note to _.includes about string values. [ci skip]
2015-12-03 11:54:27 -08:00
John-David Dalton
1ae6e67cdc
Add _.rangeRight.
2015-12-03 08:41:55 -08:00
John-David Dalton
3d43cc1029
Use "IE" instead of "Internet Explorer" in comment. [ci skip]
2015-12-01 10:10:29 -08:00
John-David Dalton
230e8d0787
Make build expose fp mapping in the dist.
2015-11-30 20:19:56 -08:00
John-David Dalton
8154e5e521
Fix argument juggling.
2015-11-30 20:18:08 -08:00
greenkeeperio-bot
f4467f6033
Update sauce-tunnel to 2.3.0.
2015-11-30 10:34:46 -08:00
Brian Mock
562b04a763
Update email address in CoC. [ci skip]
2015-11-29 15:18:12 -08:00
John-David Dalton
9bcbcc5293
Ensure _.clone handles generators correctly.
2015-11-29 17:00:45 -06:00
John-David Dalton
fdc15df3b3
Remove rhino testing.
2015-11-29 12:00:53 -06:00
John-David Dalton
e778458f78
Minor style tweak to _.overEvery test.
2015-11-29 00:09:13 -06:00
John-David Dalton
0a55eff5d5
Fix spread test fail.
2015-11-29 00:07:43 -06:00
John-David Dalton
3874b5bf84
Add semicolons.
2015-11-29 00:01:28 -06:00
John-David Dalton
d07343a1aa
Use apply in more places.
2015-11-28 23:13:55 -06:00
John-David Dalton
a37c6db377
Use apply in _.invokeMap.
2015-11-28 10:02:42 -06:00
John-David Dalton
1f991a7cdc
Rename binaryIndex and binaryIndexBy to baseSortedIndex and baseSortedIndexBy.
2015-11-28 00:42:05 -06:00
John-David Dalton
e99a31c2fa
Update call and invocation use. [ci skip]
2015-11-27 20:18:09 -06:00
John-David Dalton
876fe52efc
Describe HOT vars a bit more. [ci skip]
2015-11-27 20:16:11 -06:00
John-David Dalton
8f190b1fb1
Update Firefox in test/saucelabs.js.
2015-11-27 18:33:56 -06:00
John-David Dalton
411f3ecb3e
Update benchmarks.
2015-11-27 18:33:50 -06:00
John-David Dalton
3d31423eef
Remove thisArg param benchmarks.
2015-11-27 16:24:13 -06:00
John-David Dalton
68c0eb5216
Remove java scaffolding from benchmarks.
2015-11-27 16:23:51 -06:00
John-David Dalton
39dae19974
Update vendor/benchmark.js.
2015-11-27 16:19:39 -06:00
John-David Dalton
2dd6f0124e
Infer sign of range's step when only start and end are provided.
2015-11-27 01:01:44 -06:00
John-David Dalton
826af968c8
Add baseTrim.
2015-11-26 23:17:44 -06:00
John-David Dalton
70c3d325a0
Infer sign of range's step when only end is provided.
2015-11-26 23:17:30 -06:00
John-David Dalton
6289211910
Update test.fp with over methods.
2015-11-25 12:48:38 -08:00
John-David Dalton
86346291a7
Update fp mapping for invoke.
2015-11-25 12:25:45 -08:00
John-David Dalton
05d57b90a9
Rename _.invokePath to _.invoke.
2015-11-25 12:07:13 -08:00
John-David Dalton
dd64f5eac4
Ensure _.flattenDeep works on arrays with circular references. [ closes #1664 ]
2015-11-25 09:20:05 -08:00
John-David Dalton
e6de183651
Update jsdoc params for stack. [ci skip]
2015-11-25 09:20:05 -08:00
John-David Dalton
7bd986337a
Add lazy invokeMap.
2015-11-24 23:20:18 -08:00
John-David Dalton
6dc92df880
Add implicit chaining test for _.invokePath.
2015-11-24 16:22:44 -08:00
John-David Dalton
44abe46da4
Rename _.invoke to _.invokeMap.
2015-11-24 16:22:40 -08:00
greenkeeperio-bot
9e334b5ece
Update webpack to 1.12.9 & istanbul to 0.4.1.
2015-11-24 12:02:57 -08:00
John-David Dalton
ee8a248086
Add large array test for _.uniqBy and _.sortedUniqBy.
2015-11-24 12:02:57 -08:00
John-David Dalton
8f1f98b003
Add _.invokePath tests.
2015-11-24 12:02:57 -08:00
John-David Dalton
a6bc1fa316
Avoid set optimization if iteratee is provided to baseUniq.
2015-11-24 00:33:28 -08:00
John-David Dalton
ce6c0f3082
Add array path test for _.zipObject.
2015-11-23 21:48:10 -08:00
John-David Dalton
393849384b
Update _.result doc example. [ci skip]
2015-11-23 00:00:49 -08:00
John-David Dalton
618280340f
Cleanup function doc descriptions and params. [ci skip]
2015-11-23 00:00:24 -08:00
John-David Dalton
6b77af4e5a
Add baseInvokePath.
2015-11-22 23:53:13 -08:00
John-David Dalton
aa8524b8ad
Add _.flatMap chain sequence test.
2015-11-22 20:31:02 -08:00
John-David Dalton
87a813566a
Expose _.invokePath.
2015-11-21 21:57:54 -08:00
John-David Dalton
73a97d5762
Reword chain sequence to sequence.
2015-11-21 12:20:55 -08:00
John-David Dalton
ce4c6ec755
Add _.flatMap test.
2015-11-21 00:16:23 -08:00
John-David Dalton
21b5139d98
Update fp mapping.
2015-11-21 00:12:23 -08:00
John-David Dalton
7745c91c69
Split _.fromPairs into _.zipObject.
2015-11-21 00:02:08 -08:00
John-David Dalton
bce8f498b4
Update _.map doc note on guarded methods. [ci skip]
2015-11-20 21:58:03 -08:00
John-David Dalton
7eaacc3997
Simplify wrapperReverse docs. [ci skip]
2015-11-20 21:57:40 -08:00
John-David Dalton
c699ff7574
Cleanup wrapperAt.
2015-11-20 21:57:17 -08:00
John-David Dalton
11d8867d7a
Add _.flatMap.
2015-11-20 21:56:56 -08:00
greenkeeperio-bot
d4eeb8d186
Update dep packages.
2015-11-20 18:01:06 -08:00
John-David Dalton
a562a20b4e
Ensure _.bindKey funcs call object[key] when called with the new operator.
2015-11-20 08:13:58 -08:00
John-David Dalton
3ecf626ad0
Update fp mapping.
2015-11-20 08:13:58 -08:00
John-David Dalton
766c4315e6
Rename _.pairs and _.zipObject to _.toPairs and _.fromPairs.
2015-11-20 08:13:51 -08:00
John-David Dalton
b9f2855034
Rename _.conj, _.disj, and _.juxt to _.overEvery, _.overSome, and _.over.
2015-11-19 08:18:32 -08:00
John-David Dalton
44397f79a6
Rename padLeft, padRight, trimLeft, and trimRight to padStart, padEnd, trimStart, and trimEnd.
2015-11-18 15:52:17 -08:00
John-David Dalton
dcca9b82b1
Add doc note to debounce and throttle about the arguments provided to the invoked func. [ci skip]
2015-11-18 15:52:17 -08:00
John-David Dalton
ecef32a101
Minor travis.yml nit.
2015-11-18 15:52:17 -08:00
John-David Dalton
41d425319c
Fix core builds and test them.
2015-11-18 15:52:17 -08:00
John-David Dalton
6a49f227b4
Move sauce enviro var higher in travis.yml.
2015-11-18 15:52:16 -08:00
John-David Dalton
a3ced39b12
Use caret for platform.js dep range.
2015-11-18 15:52:16 -08:00
John-David Dalton
b89045b20f
Remove unused case in apply.
2015-11-18 15:52:16 -08:00
John-David Dalton
4e3f3899c4
Add at to the lodash shortcut fusion doc note. [ci skip]
2015-11-18 15:52:16 -08:00
John-David Dalton
a8d865a246
Expose _.join.
2015-11-16 08:13:48 -08:00
John-David Dalton
cad0fbfc4d
Ensure _.at works with an out of range index when chaining.
2015-11-15 23:44:46 -08:00
John-David Dalton
45f07d5014
Ensure shortcut fusion works for _.at with no indexes specified.
2015-11-15 23:44:45 -08:00
John-David Dalton
64a7503196
Add lazy at tests to ensure it works with string index values.
2015-11-15 23:44:45 -08:00
John-David Dalton
783c23cbfb
Make _.at support shortcut fusion in a chain sequence when operating on an array and selecting a single index. [ closes #1636 ]
2015-11-15 23:44:45 -08:00
John-David Dalton
1c04dfe083
Minor wording nit in test description. [ci skip]
2015-11-15 23:44:45 -08:00
John-David Dalton
59ec97f59f
Ensure _.keys and _.keysIn skip "length" keys for strict mode arguments objects in Safari 9.
2015-11-14 13:00:12 -08:00
John-David Dalton
c71d26c7e8
Update lodash paths in test-ui.js and perf-ui.js.
2015-11-14 13:00:12 -08:00
John-David Dalton
88e58aa8f9
Update our CoC. [ci skip]
2015-11-14 13:00:12 -08:00
John-David Dalton
40850f9cda
Update core builds.
2015-11-14 13:00:12 -08:00
John-David Dalton
be3afcf668
Ensure correct param order in fp.zip.
2015-11-12 09:56:24 -08:00
John-David Dalton
c1b7679cac
Make _.times implicitly end a chain sequence.
2015-11-11 23:37:18 -08:00
John-David Dalton
a370c48d9c
Rename wrapper param to wrapFunc.
2015-11-11 23:37:18 -08:00
John-David Dalton
6c0e456a5e
Description cleanup for Math methods. [ci skip]
2015-11-11 23:37:18 -08:00
John-David Dalton
ebb993b862
Fix code style nits.
2015-11-10 23:58:50 -08:00
Agus Pina
3408db91b6
Add _.mean.
2015-11-10 23:56:07 -08:00
John-David Dalton
f0e8371997
Simplify function descriptions. [ci skip]
2015-11-10 23:34:53 -08:00
John-David Dalton
55383b9de4
Add apply doc block. [ci skip]
2015-11-10 23:34:20 -08:00
John-David Dalton
5551a8365a
Cleanup wrapper functions.
2015-11-10 23:33:27 -08:00
John-David Dalton
87fc16af19
Cleanup createPartialWrapper.
2015-11-10 07:40:16 -08:00
John-David Dalton
80d91b693a
Optimize createPartialWrapper.
2015-11-09 23:16:22 -08:00
John-David Dalton
977438309b
Remove partials cleanup in createWrapper and move it to bind and bindKey.
2015-11-09 23:15:31 -08:00
John-David Dalton
28b426f19d
Move createRecurryWrapper lower in source.
2015-11-09 20:09:30 -08:00
John-David Dalton
d40c5d3de8
Add createSet.
2015-11-09 20:09:25 -08:00
Jason Karns
53702774d0
upport deep paths as keys in _.zipObject.
2015-11-09 08:41:21 -08:00
John-David Dalton
b36e659c56
Avoid a circular dependency in createHybridWrapper.
2015-11-09 07:13:41 -08:00
John-David Dalton
0dcf028592
Split createHybridWrapper into createCurryWrapper and createRecurryWrapper.
2015-11-08 23:22:14 -08:00
John-David Dalton
549918d7f9
Update fp test for zipObject.
2015-11-08 21:04:40 -08:00
John-David Dalton
dcb23f46a4
Add concat to fp mapping.
2015-11-08 21:00:52 -08:00
John-David Dalton
c152ae71e2
Add add and subtract to fp mapping.
2015-11-08 20:56:19 -08:00
John-David Dalton
32cd726bd0
Move _#concat to _.concat.
2015-11-08 20:50:21 -08:00
John-David Dalton
4f104d74ca
Rename baseIncludes to arrayIncludes and includesWith to arrayIncludesWith.
2015-11-08 19:43:36 -08:00
John-David Dalton
9c44430975
Rename _.includes param target to value.
2015-11-08 19:42:54 -08:00
John-David Dalton
1309f37a7e
Cleanup comparator and iteratee param descriptions. [ci skip]
2015-11-08 19:41:05 -08:00
John-David Dalton
3ed0cc14ea
Add subtract to lodash doc block. [ci skip]
2015-11-08 13:35:16 -08:00
John-David Dalton
73a698151f
Cleanup _.sortedIndexBy and _.sortedLastIndexBy test.
2015-11-08 12:23:18 -08:00
John-David Dalton
8a3842b788
Ensure _.defaults assigns properties that shadow those on Object.prototype.
2015-11-08 12:16:47 -08:00
John-David Dalton
73d68c9609
Simplify NaN checks in tests.
2015-11-08 12:13:37 -08:00
DARCHY Jeremy
f6d81e1bd8
Add _.subtract.
2015-11-07 22:05:34 -08:00
John-David Dalton
98e607e610
Update ecstatic to 1.2.0, webpack to 1.12.3, & jscs to 2.5.1.
2015-11-06 10:54:22 -08:00
John-David Dalton
a7ec0c2e93
Fix fp alias assignments.
2015-11-05 15:10:28 -06:00
John-David Dalton
0b3e19f56e
Use argument in place of parameter for test descriptions. [ci skip]
2015-11-05 15:10:11 -06:00
John-David Dalton
60ac7cfe74
Add conj, disj, and juxt to aryMethodMap.
2015-11-05 15:09:23 -06:00
John-David Dalton
491102f221
Correct arity mapping for _.uniqueId.
2015-11-05 09:09:34 -06:00
Xotic750
9db252e55d
Cleanup baseFill.
2015-11-04 23:59:42 -06:00
Xotic750
b9b94609f5
Enhance _.debounce to use toNumber.
2015-11-04 23:19:59 -06:00
Xotic750
fe910d01f6
The_.throttle method uses _.debounce so no coersion of wait required.
2015-11-04 23:13:36 -06:00
Xotic750
ea71539b7a
Enhance delay with toNumber to use binary and octal strings.
2015-11-04 14:30:36 -06:00
John-David Dalton
3d9fd1d374
Add fast path for falsey values in _.toInteger, _.toLength, _.toNumber, and _.toSafeInteger.
2015-11-03 07:22:00 -06:00
Xotic750
3eda8e64f3
Enhance createRound by using toNumber to allow binary and octal strings.
2015-11-03 06:22:26 -06:00
Xotic750
ec8ccbcc55
Enhance clamp with toNumber to allow binary and octal strings.
2015-11-03 06:13:10 -06:00
Xotic750
1d58823405
Enhance inRange with toNumber to allow binary and octal strings.
2015-11-03 06:13:10 -06:00
Xotic750
19e0650c4f
Enhance random with toNumber to allow binary and octal strings.
2015-11-03 06:13:10 -06:00
Xotic750
f45fc10cb1
Enhance range with toNumber to allow binary and octal strings.
2015-11-03 11:35:33 +01:00
greenkeeperio-bot
42dff0e5fb
Update fs-extra to 0.26.2.
2015-11-02 22:03:55 -06:00
John-David Dalton
ee9339e73b
Add shortcut fusion heuristic note to lodash docs. [ci skip]
2015-11-02 13:12:44 -06:00
John-David Dalton
611aaa5385
Update doc examples of isInteger, isLength, isNumber, isSafeInteger, toInteger, toLength, toNumber, toSafeInteger, and toString. [ci skip]
2015-11-02 13:12:17 -06:00
Xotic750
e25369a306
Improve documents for _.toString by including examples. [ci skip]
2015-11-02 08:38:15 -08:00
Xotic750
67701944f1
Improve toNumber documentation by including examples. [ci skip]
2015-11-02 08:37:47 -08:00
Xotic750
ecaee16d23
Improve documentation of toLength by including examples. [ci skip]
2015-11-02 08:32:43 -08:00
John-David Dalton
b84c336855
Add _.unary tests.
2015-11-01 17:30:06 -08:00
John-David Dalton
447bafaa5b
Add _.differenceWith, _.intersectionWith, _.unionWith, _.uniqWith, and _.xorWith` tests.
2015-11-01 17:15:45 -08:00
John-David Dalton
2f93e0a499
Fix failing test in Node < 0.12.
2015-11-01 15:41:19 -08:00
John-David Dalton
6c2ada9ffc
Expose _.unary.
2015-11-01 15:21:50 -08:00
John-David Dalton
982b9d2b0a
Use hexadecimal instead of hex for consistency. [ci skip]
2015-11-01 15:01:59 -08:00
John-David Dalton
1fe87d0348
Simplify reIsBinary.
2015-11-01 14:56:55 -08:00
John-David Dalton
8d8d4fa3b1
Use MAX_INTEGER instead of Number.MAX_VALUE.
2015-11-01 14:51:44 -08:00
John-David Dalton
94fb8c6f92
Add toNumber use to _.toInteger.
2015-11-01 14:51:25 -08:00
John-David Dalton
04c7b33f90
Cleanup tests.
2015-11-01 14:03:09 -08:00
John-David Dalton
ae76c3ee71
Cleanup _.toNumber test.
2015-11-01 13:43:38 -08:00
John-David Dalton
7d1e24d07f
Update to Node 5 in travis tests.
2015-10-31 14:30:42 -07:00
Xotic750
37955345ef
Add _.toNumber.
2015-10-31 14:30:10 -07:00
John-David Dalton
4bc35e9ed4
Remove internal isLength test since it's exposed now.
2015-10-31 12:23:03 -07:00
John-David Dalton
c142cfc81d
Add "loosely" qualify to the _.isLength spec note. [ci skip]
2015-10-31 11:01:13 -07:00
John-David Dalton
39a22bf15b
Cleanup _.toInteger and max MAX_INTEGER equal to Number.MAX_VALUE.
2015-10-31 10:49:40 -07:00
John-David Dalton
eb636f9538
Cleanup _.toLength tests.
2015-10-31 10:46:48 -07:00
John-David Dalton
8a838633d1
Cleanup lodash, isLength, and toLength docs. [ci skip]
2015-10-31 10:46:32 -07:00
John-David Dalton
963e297c74
Cleanup _.isLengh tests.
2015-10-30 23:01:25 -07:00
John-David Dalton
d95dbf6ba8
Simplify reIsUint.
2015-10-30 22:27:21 -07:00
John-David Dalton
ae032c8523
Cleanup isIndex tests.
2015-10-30 21:57:46 -07:00
Xotic750
2b4a10c159
Expose _.toLength.
2015-10-30 21:41:17 -07:00
Xotic750
c7ef030ef5
Improve reIsUint to filter strings like '0001' and add tests.
2015-10-30 21:41:16 -07:00
Xotic750
7e726735ba
Expose _.isLength.
2015-10-30 21:40:53 -07:00
John-David Dalton
3d25b2fd9b
Add _.differenceWith, _.intersectionWith, _.unionWith, _.uniqWith, and _.xorWith.
2015-10-30 10:04:10 -07:00
John-David Dalton
96a22aaec0
Make fp convert call noConflict.
2015-10-30 01:01:10 -07:00
greenkeeperio-bot
ccef887f88
Update jscs to 2.5.0.
2015-10-29 11:06:49 -07:00
John-David Dalton
7d9c6527a4
Add and update mutation notes for _.assign and _.assignIn. [ci skip]
2015-10-28 07:43:48 -07:00
John-David Dalton
ef7191dbc1
Move assignIn and assignInWith closer to assign.
2015-10-28 07:40:16 -07:00
John-David Dalton
bc2adb208c
Ensure _.toString produces the correct result for Object(-0).
2015-10-28 07:29:20 -07:00
Xotic750
cd371ac66f
Preserve sign of 0 in _.toString.
2015-10-28 00:04:15 -07:00
John-David Dalton
9c342eb432
Move _.extend and _.extendWith to alias and add _.assignIn and _.assignInWith.
2015-10-27 16:59:44 -07:00
greenkeeperio-bot
95f5b39aed
Update qunitjs to 1.20.0.
2015-10-27 16:35:19 -07:00
John-David Dalton
9ce38cb43c
Space nit in test catch block.
2015-10-27 08:37:28 -07:00
John-David Dalton
8b57b3086e
Newline nit in _.valuesIn description. [ci skip]
2015-10-27 06:50:38 -07:00
John-David Dalton
3fdec6d25e
Add missing comma to baseFind description. [ci skip]
2015-10-27 06:50:37 -07:00
John-David Dalton
557af10067
Add _.functionsIn and _.pairsIn.
2015-10-27 06:50:30 -07:00
John-David Dalton
6b2645b310
Add ramda aliases to fp mapping.
2015-10-27 00:55:01 -07:00
John-David Dalton
c360ee0fa4
Use number values for fp cap mapping.
2015-10-26 21:22:29 -07:00
John-David Dalton
3ac5870530
Run travis in its faster container-based infrastructure.
2015-10-26 15:31:58 -07:00
Xotic750
5218fd2c24
Rename _.trunc to _.truncate.
2015-10-26 15:19:10 -07:00
fdegiuli
accb8e9b07
Fix typo in _.sumBy examples. [ci skip]
2015-10-26 15:18:53 -07:00
greenkeeperio-bot
e331ea5d82
Update async to 1.5.0.
2015-10-25 19:03:25 -07:00
John-David Dalton
ae804b8cc7
Cleanup labels for modified sources tests.
2015-10-25 12:43:28 -07:00
John-David Dalton
66d72345f2
Ensure _.conforms functions return true when comparing an empty source.
2015-10-25 12:42:58 -07:00
John-David Dalton
436d64f881
Update fs-extra to version 0.26.0.
2015-10-25 11:42:19 -07:00
John-David Dalton
c3ec32cc16
Add empty invocation test to string methods test.
2015-10-25 11:42:03 -07:00
John-David Dalton
4b86df4966
Add _.template test for empty strings.
2015-10-25 11:42:03 -07:00
John-David Dalton
9fbf1955f2
Add more _.conforms tests.
2015-10-25 11:42:03 -07:00
John-David Dalton
2008a82017
Add _.conforms test.
2015-10-25 11:42:03 -07:00
John-David Dalton
8c04a00177
Newline nit.
2015-10-25 11:42:02 -07:00
John-David Dalton
8370277352
Move flow tests.
2015-10-25 11:42:02 -07:00
John-David Dalton
89279009d8
Ensure _.defaultsDeep doesn't attempt a merge of a string into an array. [ closes #1560 ]
2015-10-25 11:42:02 -07:00
John-David Dalton
182b29662d
Cleanup n to integer tests.
2015-10-24 11:26:50 -07:00
John-David Dalton
8119bcdc61
Add _.nthArg tests.
2015-10-24 11:24:46 -07:00
John-David Dalton
b6d40f75c9
Remove slower ipad run from sauce testing.
2015-10-24 11:11:41 -07:00
John-David Dalton
d9570e8223
Simplify lib/fp/fp.js.
2015-10-24 09:58:01 -07:00
John-David Dalton
3a0fc24a6a
Allow _.flow and _.flowRight to accept an array of functions.
2015-10-24 09:08:19 -07:00
John-David Dalton
04879d0fe5
Update fp mapping for nthArg, modArgs, and modArgsSet.
2015-10-24 09:08:11 -07:00
John-David Dalton
0d9b03ced2
Move juxt, flow, and flowRight to the Utility category mapping.
2015-10-24 08:05:27 -07:00
John-David Dalton
7be7acfe30
Add _.nthArg.
2015-10-24 00:38:29 -07:00
John-David Dalton
655f7918ea
Add _.conj, _.disj, and _.conforms to the lodash doc block. [ci skip]
2015-10-23 23:52:43 -07:00
John-David Dalton
67e799ccb2
Correct jsdoc param indicators for _.omit and _.pick. [ci skip]
2015-10-23 23:05:22 -07:00
John-David Dalton
4c12319d19
Reclassify _.conj and _.disj to the Utility category.
2015-10-23 23:04:12 -07:00
John-David Dalton
3769719816
Use undefined instead of nullish checks in baseConvert.
2015-10-23 22:13:21 -07:00
John-David Dalton
cc8e4956f5
Clarify docs of _.matches and _.modArgs methods. [ci skip]
2015-10-23 22:12:17 -07:00
John-David Dalton
3ad67c754f
Add _.conforms.
2015-10-23 22:08:47 -07:00
John-David Dalton
cabd4198b0
Remove nativeMax and nativeMin use from _.clamp.
2015-10-23 16:25:22 -07:00
John-David Dalton
2bf80673ae
Cleanup customizer doc examples. [ci skip]
2015-10-23 16:21:29 -07:00
John-David Dalton
2182e0696d
Remove unmatched PATTERN3 in travis.yml.
2015-10-23 10:16:53 -07:00
John-David Dalton
9c44b5c384
Remove commented-out tests from travis.yml.
2015-10-23 10:07:08 -07:00
John-David Dalton
d5f51f2881
Rebuild dist.
2015-10-22 22:58:31 -07:00
John-David Dalton
176e17c45d
Cleanup lib/fp/fp.js.
2015-10-22 22:57:33 -07:00
John-David Dalton
7912b08c41
Rename restParam to rest in aryMethodMap.
2015-10-22 22:50:56 -07:00
John-David Dalton
643ffce289
Fix aliasMap typo.
2015-10-22 22:49:56 -07:00
John-David Dalton
0d4d740961
Add fp tests.
2015-10-22 22:49:29 -07:00
John-David Dalton
68473f08d6
Add ./lib files to the jscs style check.
2015-10-22 21:17:59 -07:00
John-David Dalton
6c09a69991
Add clamp to fp mapping.
2015-10-22 21:11:07 -07:00
John-David Dalton
ac16bc0e15
Update build scripts.
2015-10-22 21:06:08 -07:00
John-David Dalton
99287a89eb
Update bower.json.
2015-10-22 18:37:01 -07:00
John-David Dalton
e0aaf876c2
Combine _.toInteger and _.toSafeInteger tests.
2015-10-22 17:39:57 -07:00
John-David Dalton
022f79beed
Add lodash chaining doc notes for _.clamp and _.toSafeInteger. [ci skip]
2015-10-22 17:35:41 -07:00
John-David Dalton
a6aac88561
Cleanup IEEE-754 doc references. [ci skip]
2015-10-22 17:35:41 -07:00
John-David Dalton
87057095bc
Cleanup _.isSafeInteger description. [ci skip]
2015-10-22 17:35:40 -07:00
Xotic750
5afa75ce51
Add _.toSafeInteger.
2015-10-22 17:35:36 -07:00
John-David Dalton
c525598fd9
Add _.clamp test for just passing the max param.
2015-10-22 17:08:45 -07:00
John-David Dalton
f54cfb0ea2
Simplify resolving start in _.range.
2015-10-22 17:08:22 -07:00
John-David Dalton
91fcf837f7
Use strict equality undefined checks instead of nullish param checks in _.random.
2015-10-22 17:07:50 -07:00
John-David Dalton
64e98d897f
Update tested browsers in test/saucelabs.js.
2015-10-22 06:24:21 -07:00
John-David Dalton
99a5fcc665
Fix typos in _.clamp test labels.
2015-10-21 22:15:17 -07:00
John-David Dalton
f0c38a6419
Use _.clamp in _.sampleSize, _.endsWith, and _.startsWith.
2015-10-21 22:11:41 -07:00
John-David Dalton
14c2747e80
Make min optional for _.clamp.
2015-10-21 22:10:05 -07:00
John-David Dalton
3ee2a15cde
Cleanup test labels for -0.
2015-10-21 22:07:19 -07:00
John-David Dalton
8982578edd
Ensure a _.range result can start with -0.
2015-10-21 22:05:29 -07:00
John-David Dalton
5ec6f1085a
Ensure _.toInteger can return -0.
2015-10-21 22:04:14 -07:00
John-David Dalton
1513e46605
Use strict undefined comparisons where nullish aren't required.
2015-10-21 20:25:50 -07:00
Xotic750
b95ed73e1d
Add _.clamp and tests.
2015-10-21 18:21:36 -07:00
Xotic750
ff22efb3e2
Add doc notes on IEEE 754-2008 and floating-point oddness. [ci skip]
2015-10-21 17:48:21 -07:00
John-David Dalton
35c6db1289
Add flush to debounced methods.
2015-10-21 17:48:01 -07:00
John-David Dalton
602e5d2766
Use 'a' for string tests instead of 'x'.
2015-10-20 22:37:27 -07:00
John-David Dalton
247c4f1068
Add identity helper to tests.
2015-10-20 22:10:33 -07:00
John-David Dalton
bdb5e4642f
Add fp files.
2015-10-20 21:43:42 -07:00
John-David Dalton
661e9b08b6
Update jscs to version 2.3.5 and update istanbul to version 0.4.0.
2015-10-19 21:04:17 -07:00
John-David Dalton
fdf6478bc9
Use helper methods from the stable lodash release to test unstable bits.
2015-10-19 20:59:12 -07:00
John-David Dalton
10229cd332
Rename npm script from lint to style.
2015-10-19 20:57:12 -07:00
Kris Borchers
33e2499006
Fix JSCS name typo in CONTRIBUTING.md.
2015-10-19 20:57:12 -07:00
sfinktah
6ae58e74c7
Changed references to _.include to _.includes.
2015-10-16 13:10:44 -04:00
Mathias Bynens
689b292c24
Add _.lowerCase, _.lowerFirst, _.toLower, _.toUpper, _.upperCase, _.upperFirst tests.
2015-10-16 13:10:00 -04:00
John-David Dalton
f6a4ab62b8
Add _.toPath test for consecutive brackets and dots.
2015-10-15 06:08:30 -07:00
John-David Dalton
e197884e07
Add _.upperFirst and _.lowerFirst.
2015-10-15 04:09:01 -07:00
John-David Dalton
ba095d11cc
Use an MDN url shortener. [ci skip]
2015-10-14 23:24:41 -07:00
John-David Dalton
e22cb5f3b3
Rename _.first to _.head, _.rest to _.tail, & _.restParam to _.rest.
2015-10-14 17:55:01 -07:00
greenkeeperio-bot
da993ee48d
Update requirejs to version 2.1.20 and jscs to version 2.3.1.
2015-10-14 17:25:02 -07:00
John-David Dalton
9458759810
Change n params to number where appropriate.
2015-10-13 22:48:46 -07:00
Tejo Kumar Reddy Chenchu
dd27a0adc7
Fix rounding issue with the precision param of _.floor.
2015-10-13 22:42:36 -07:00
John-David Dalton
3fd276f8a6
Change version to 4.0.0-pre.
2015-10-13 09:43:11 -07:00
John-David Dalton
33f454bb75
Correct the jsdoc @name tag of the chain wrapper Symbol.iterator function. [ci skip]
2015-10-13 06:20:19 -07:00
John-David Dalton
1fd5d501b0
Ensure dummy exports and module are reset.
2015-10-13 00:38:16 -07:00
John-David Dalton
e4220282c8
Add _.conj and _.disj test for early exits.
2015-10-12 23:23:51 -07:00
Miro Mannino
6dec9cb831
Clarify exit early behavior in _.every doc and refine related test.
2015-10-12 23:23:03 -07:00
greenkeeperio-bot
1ad55ec263
Update coveralls to version 2.11.4.
2015-10-12 09:30:20 -07:00
John-David Dalton
96f5dbfccf
Add bizarro _.memoize.Cache test.
2015-10-12 06:57:33 -07:00
John-David Dalton
fd2aa1f51c
Add docdown dev dep.
2015-10-12 06:57:33 -07:00
John-David Dalton
74137d4eab
Fix _.differenceBy doc example. [ci skip]
2015-10-12 06:57:33 -07:00
John-David Dalton
02398e319d
Update lodash chaining doc notes. [ci skip]
2015-10-12 06:57:27 -07:00
John-David Dalton
32d6a04107
Use array.pop() instead of array.length-- in _.zipWith.
2015-10-11 23:31:04 -07:00
John-David Dalton
6bff374e91
Ensure _.intersectionBy doesn't treat iteratee as an empty array.
2015-10-11 23:31:04 -07:00
John-David Dalton
18b5cb24c2
Ensure baseIntersection doesn't transform array.
2015-10-11 23:31:04 -07:00
John-David Dalton
04e8ca771b
Add _.differenceBy, _.intersectionBy, _.pullAllBy, _.unionBy, and _.xorBy tests.
2015-10-11 23:31:04 -07:00
John-David Dalton
174f771612
Add _.reverse test.
2015-10-11 21:34:50 -07:00
John-David Dalton
4f0a5e937b
Add _.juxt tests.
2015-10-11 21:22:50 -07:00
John-David Dalton
505f02fd72
Expose _.reverse.
2015-10-11 17:05:25 -07:00
John-David Dalton
a6c7ffd664
Update istanbul to version 0.3.22 and request to version 2.65.0.
2015-10-11 17:03:55 -07:00
John-David Dalton
a08d52eb48
Ensure _.defaultsDeep doesn't modify sources.
2015-10-11 01:39:30 -07:00
John-David Dalton
414ad602f2
Add more tests for _.differenceBy, _.intersectionBy, _.unionBy, and _.xorBy.
2015-10-10 17:50:05 -07:00
greenkeeperio-bot
e961505e0a
Update chalk to version 1.1.1 and ecstatic to v1.1.3.
2015-10-10 13:49:13 -07:00
John-David Dalton
59278a7a85
Reduce baseExtremum.
2015-10-09 12:59:14 -07:00
John-David Dalton
adaf6d7955
Tighten reBasicWord and reHasComplexWord.
2015-10-09 08:44:31 -07:00
greenkeeperio-bot
f6624bf270
Update request to version 2.64.0.
2015-10-09 08:03:57 -07:00
John-David Dalton
cdf03228c2
Minor test label nit of param to argument.
2015-10-08 23:41:49 -07:00
John-David Dalton
1fd710e88d
Add _.word tests.
2015-10-08 23:41:43 -07:00
John-David Dalton
dc2e760b5a
Add reHasComplexWord checks.
2015-10-08 23:31:52 -07:00
John-David Dalton
150bd32f97
Add _.toLower and _.toUpper.
2015-10-08 21:50:30 -07:00
John-David Dalton
d9fc0f1e37
Move dev deps in travis.yml to package.json.
2015-10-08 16:22:26 -07:00
John-David Dalton
e2c7e3a107
Avoid require in comments. [ci skip]
2015-10-08 10:45:46 -07:00
John-David Dalton
4995aa0298
Add a couple more math op chars in the latin-1 block for completeness.
2015-10-08 09:14:48 -07:00
John-David Dalton
54b774e481
Update _.lowerCase and _.upperCase doc examples. [ci skip]
2015-10-08 00:00:00 -07:00
John-David Dalton
c85095d53f
Remove unused functions, vars, and params.
2015-10-07 23:54:33 -07:00
John-David Dalton
8132ed52fd
Rename var rsJoiner to rsOptJoin to align with others.
2015-10-07 23:22:41 -07:00
John-David Dalton
eb723422c1
Update reWords detection.
2015-10-07 23:09:51 -07:00
John-David Dalton
051e5a6308
Clear args and thisArg in debounce cancel.
2015-10-07 13:21:52 -07:00
John-David Dalton
2d3e64b51a
Correct _.pullAllBy doc example. [ci skip]
2015-10-07 00:23:02 -07:00
John-David Dalton
a21b25f751
Add _.differenceBy, _.intersectionBy, _.pickAllBy, _.unionBy, and _.xorBy tests.
2015-10-07 00:18:42 -07:00
John-David Dalton
1d425b1731
Make MapCache, SetCache, and Stack add values left to right.
2015-10-06 23:16:56 -07:00
John-David Dalton
141630f557
Add more MapCache and Stack tests.
2015-10-06 23:16:02 -07:00
John-David Dalton
9fd48bab69
Add bizarro Map tests.
2015-10-06 22:29:24 -07:00
John-David Dalton
f880e39838
Clarify bug comment of baseHas. [ci skip]
2015-10-06 20:11:31 -07:00
John-David Dalton
afb66f4b8a
Remove unnecessary Map tests.
2015-10-06 19:53:01 -07:00
John-David Dalton
7e09802565
Reorganize clone tests.
2015-10-06 19:52:25 -07:00
John-David Dalton
a8b3833580
Add Stack test.
2015-10-06 19:51:25 -07:00
John-David Dalton
bf1bcaf394
Add _.cloneDeep test for objects with lots of circular references.
2015-10-06 08:16:22 -07:00
John-David Dalton
7b61569d32
Add bizarro tests for Object.create.
2015-10-06 08:15:07 -07:00
John-David Dalton
9c27ed8bda
Remove nullish checks from baseHas and baseHasIn.
2015-10-06 07:07:49 -07:00
John-David Dalton
c9cb64ac10
Remove shim script tag in test/backbone.html.
2015-10-05 23:34:36 -07:00
John-David Dalton
4bd5122462
Update excused Underscore tests.
2015-10-05 23:34:16 -07:00
John-David Dalton
4dac4328e6
Minor whitespace nit in toPath doc example.
2015-10-05 21:57:04 -07:00
John-David Dalton
f7a857744f
No longer coerce values to integers in add, max, min, or sum methods.
2015-10-05 21:56:32 -07:00
Droogans
6725e7dc49
Add _.upperCase and _.lowerCase.
2015-10-05 21:32:25 -07:00
John-David Dalton
7da4ea5ecb
Simplify _.isFunction.
2015-10-05 11:06:49 -07:00
John-David Dalton
6d5c6b2de7
Optimize _.intersection and _.intersectionBy for empty arrays.
2015-10-05 10:53:41 -07:00
John-David Dalton
ed462747bf
Minor ternary formatting.
2015-10-05 10:52:58 -07:00
John-David Dalton
53b37ca98f
Use isObjectLike insteadof isObject in isArrayLikeObject.
2015-10-05 07:18:32 -07:00
John-David Dalton
423320f235
Remove unused variable push.
2015-10-05 07:18:13 -07:00
John-David Dalton
020a8c864f
Adjust docs param descriptions and examples for xyzBy methods. [ci skip]
2015-10-04 23:00:50 -07:00
John-David Dalton
69e6389369
Add _.differenceBy, _.intersectionBy, _.isArrayLikeObject, _.pullAllBy, _.unionBy, and _.xorBy.
2015-10-04 23:00:30 -07:00
John-David Dalton
0eaa10f578
Adjust stackSet array length check to be consistent with others like it.
2015-10-04 21:39:43 -07:00
John-David Dalton
2740dc5efa
Move assocIndexOf closer to other assoc functions.
2015-10-04 14:40:00 -07:00
John-David Dalton
592824781c
Make isArrayLike use isFunction.
2015-10-04 14:09:25 -07:00
John-David Dalton
4bef0e21e7
Create getTag helper.
2015-10-04 14:04:49 -07:00
John-David Dalton
7d7ce728ff
Fix npm builds.
2015-10-04 00:17:05 -07:00
John-David Dalton
27159cfa00
Move Hash definition above MapCache.
2015-10-03 22:51:56 -07:00
John-David Dalton
d236e37652
Add Stack helpers.
2015-10-03 22:41:06 -07:00
John-David Dalton
940559fc76
Optimize cacheIndexOf, cachePush, and isKeyable.
2015-10-03 16:27:21 -07:00
John-David Dalton
5746169aec
Replace createHash with a Hash constructor.
2015-10-03 11:42:30 -07:00
John-David Dalton
4aa6fdeb2a
Move assoc and hash functions closer together.
2015-10-01 23:20:32 -07:00
John-David Dalton
77ab121c30
Cleanup bizarro scaffolding in test/test.js.
2015-10-01 22:34:33 -07:00
John-David Dalton
9558048906
Avoid a hasOwnProperty bug in IE 10-11 where objects with a [[Prototype]] of null incorrectly report false for own index properties.
2015-10-01 22:22:05 -07:00
John-David Dalton
b3f6426d36
Add assoc and hash helpers.
2015-10-01 22:21:58 -07:00
John-David Dalton
d407d8aa08
Ensure _.isFunction returns true for generator functions. [ closes #1498 ]
2015-10-01 09:00:00 -07:00
John-David Dalton
8842fa209d
Swap createWrapper with alternatives in _.bindAll and _.wrap.
2015-10-01 08:22:12 -07:00
John-David Dalton
bc252228e1
Add bizarro Map.
2015-09-30 23:08:11 -07:00
John-David Dalton
1b3cb0f184
Combine MemCache and Stack into MapCache.
2015-09-30 23:07:03 -07:00
John-David Dalton
f607c671f8
Add a Stack cache helper to avoid linear search of stacks in modern environments.
2015-09-30 20:46:18 -07:00
John-David Dalton
8f431cff52
Cleanup _.every and _.some tests.
2015-09-29 08:16:36 -07:00
John-David Dalton
6a81a7ba8e
Add _.conj and _.disj tests.
2015-09-29 08:16:23 -07:00
John-David Dalton
1f713ed9d1
Add more wrapper tests.
2015-09-27 23:01:46 -07:00
John-David Dalton
2cb4829536
Make _.words chainable by default.
2015-09-27 23:01:46 -07:00
John-David Dalton
48d5110b5d
Remove wrapperToString.
2015-09-27 23:01:46 -07:00
John-David Dalton
68a5e2017e
Make _.drop, _.dropRight, _.take, _.takeRight coerce n of undefined to 0.
2015-09-27 23:01:46 -07:00
John-David Dalton
63c46a9aca
Minor space nit in test/test.js. [ci skip]
2015-09-27 23:01:45 -07:00
John-David Dalton
528bec0bb1
Add _.sampleSize.
2015-09-27 23:01:40 -07:00
John-David Dalton
9c79cb7766
Add _.pullAll.
2015-09-27 16:33:10 -07:00
John-David Dalton
38ac518095
Add _#toString test for nullish values.
2015-09-27 10:03:43 -07:00
John-David Dalton
7488068d50
Add support for combining diacritical marks to _.toArray.
2015-09-25 22:27:31 -07:00
John-David Dalton
8e207196d3
Expose _.toString.
2015-09-25 19:51:41 -07:00
John-David Dalton
9c35db38a0
Exit early in baseToString if value is already a string.
2015-09-25 16:28:13 -07:00
John-David Dalton
2087736649
Add support for unicode modifiers.
2015-09-25 01:26:15 -07:00
Tim Ruffles
dd75deb27f
Clarify the order in which sources are applied in docs of _.assign, _.defaults, and _.merge. [ci skip]
2015-09-24 08:21:57 -07:00
John-David Dalton
5f42a3d4db
Minor createInvoker param description nit. [ci skip]
2015-09-24 00:56:17 -07:00
John-David Dalton
a569b723c5
Use getIteratee in createModArgs.
2015-09-23 23:53:50 -07:00
John-David Dalton
ee2078f3ea
Add _.conj, _.disj, & _.juxt.
2015-09-23 22:45:55 -07:00
John-David Dalton
12af298e33
Cleanup doc descriptions for _.modArgs and _.modArgsSet. [ci skip]
2015-09-23 22:45:35 -07:00
John-David Dalton
0429f27c54
Cleanup doc examples for lodash and _.map. [ci skip]
2015-09-23 22:44:53 -07:00
John-David Dalton
5026f51dfd
Add accumulator doc note to _.unzipWith and _.zipWith. [ closes #1484 ] [ci skip]
2015-09-23 19:34:07 -07:00
Thomas Reggi
80abaafcae
Fix typo "occurence" to "occurrence". [ci skip]
2015-09-23 19:05:19 -07:00
Anderson Aguiar
bc651e886d
Fix typo in comment
2015-09-22 22:06:00 -03:00
John-David Dalton
ba9cfc3b26
Clarify baseToString and other converter method docs. [ci skip]
2015-09-22 00:35:24 -07:00
John-David Dalton
b5bbc18c89
Add _#next test for _.toArray results.
2015-09-20 17:09:48 -07:00
John-David Dalton
e35088f9e3
Add dingbat support to _.words.
2015-09-20 12:58:17 -07:00
John-David Dalton
1c3b325633
Cleanup astral tests.
2015-09-20 12:57:40 -07:00
John-David Dalton
0415701e50
Add tests for variation selectors.
2015-09-20 11:59:29 -07:00
John-David Dalton
cfe813fa08
Add regional indicator tests.
2015-09-20 11:59:23 -07:00
John-David Dalton
f4ff336636
Add _.trunc tests for astrals as separators.
2015-09-20 11:58:24 -07:00
John-David Dalton
a4b333ceb8
Use _.toArray in wrapperNext.
2015-09-19 10:34:14 -07:00
John-David Dalton
f029d7c943
Add support for variation selectors.
2015-09-19 10:34:14 -07:00
John-David Dalton
53bf94ce78
Expand existing support for zero-width-joiners.
2015-09-18 15:30:12 -07:00
John-David Dalton
406e36977e
Add support for regional indicator symbols and zero-width-joiners.
2015-09-18 01:28:31 -07:00
John-David Dalton
98ee746ada
Move _.isArguments checks further down.
2015-09-16 19:11:52 -07:00
John-David Dalton
9e0a22f771
Cleanup and formatting pass.
2015-09-16 19:10:19 -07:00
John-David Dalton
14e62ae8d2
Make _.isString use _.isArray to reduce usage patterns.
2015-09-16 19:09:16 -07:00
John-David Dalton
1162d2edd5
Update _.toInteger test to ensure proper rounding.
2015-09-16 08:33:56 -07:00
John-David Dalton
a84e44b2a3
Use MAX_ARRAY_LENGTH instead of INFINITY for the default __takeCount__ value.
2015-09-15 23:48:36 -07:00
John-David Dalton
cd4f278a16
Add _.toInteger test for negative floats.
2015-09-15 23:45:25 -07:00
John-David Dalton
c7f34e74ac
Add _.isInteger and _.isSafeInteger tests.
2015-09-15 23:42:15 -07:00
John-David Dalton
00d26a6419
Attempt again to ensure again _.toInteger converts Infinity to an integer.
2015-09-15 23:41:53 -07:00
John-David Dalton
eb57e522aa
Cleanup isXyz tests.
2015-09-15 23:38:36 -07:00
John-David Dalton
e9230463e8
Fix host object tests for _.isInteger and _.isSafeInteger.
2015-09-15 22:08:51 -07:00
John-David Dalton
d652f144b2
Continue astral symbol support in _.trunc.
2015-09-15 20:40:49 -07:00
John-David Dalton
e04a512c4c
Update _.isFinite doc examples. [ci skip]
2015-09-15 20:39:51 -07:00
John-David Dalton
c276278767
Use stringToArray more in _.trimLeft and _.trimRight.
2015-09-15 20:39:31 -07:00
John-David Dalton
2e248d1ca8
Ensure _.toInteger converts Infinity to an integer.
2015-09-15 20:37:53 -07:00
John-David Dalton
a5df55a6e7
Update constant references.
2015-09-15 20:36:35 -07:00
John-David Dalton
f7e05e438e
Avoid creating an array in stringSize.
2015-09-15 20:34:11 -07:00
John-David Dalton
49266dce89
Add _.isInteger and _.isSafeInteger.
2015-09-15 20:33:36 -07:00
John-David Dalton
3a81738455
Collapse ranges.
2015-09-15 01:09:47 -07:00
John-David Dalton
a4ff501bb1
Add _.toArray test for empty strings.
2015-09-15 00:41:03 -07:00
John-David Dalton
351c131764
Use more stringToArray.
2015-09-15 00:34:42 -07:00
John-David Dalton
799fcb354b
Pass style linting.
2015-09-15 00:23:54 -07:00
John-David Dalton
16a29659b3
Add tests for lone surrogates.
2015-09-15 00:02:45 -07:00
John-David Dalton
55ef0f12cc
Rework charsLeftIndex and charsRightIndex to pass tests.
2015-09-14 23:45:18 -07:00
John-David Dalton
925c489cf9
Add more astral symbol tests.
2015-09-14 22:47:06 -07:00
John-David Dalton
3f57236c19
Cleanup charsLeftIndex, charsRightIndex, capitalize, and trim methods.
2015-09-14 21:06:28 -07:00
John-David Dalton
b4dd21fc64
First pass at astral symbols tests.
2015-09-14 18:10:11 -07:00
John-David Dalton
8278b1e79f
Make _.startCase use _.capitalize.
2015-09-14 18:03:32 -07:00
John-David Dalton
c313f0c135
Minor cleanup to reWords.
2015-09-14 13:24:06 -07:00
John-David Dalton
e9bfaa7d51
Add support for astral symbols to _.camelCase, _.capitalize, _.startCase, and _.words.
2015-09-14 10:38:00 -07:00
John-David Dalton
0ae254d6b4
Add stringToArray helper.
2015-09-14 08:21:48 -07:00
John-David Dalton
bbc7b0b59b
Move _.repeat empty string check to the left.
2015-09-14 01:09:54 -07:00
John-David Dalton
7f284d6ed5
Reduce _.forEach iteration note. [ci skip]
2015-09-14 01:09:04 -07:00
John-David Dalton
4744f93a47
Remove unneeded _.runInContext comment block. [ci skip]
2015-09-14 01:07:51 -07:00
John-David Dalton
a2fe87a63a
Make regexp var name singular.
2015-09-14 01:07:12 -07:00
John-David Dalton
fa61e30dd5
Add support for astral symbols in string methods. [ closes #1463 ]
2015-09-14 01:06:40 -07:00
John-David Dalton
0fb94ad3c6
Minor formatting nit.
2015-09-13 22:08:14 -07:00
John-David Dalton
33a73fb0c4
Cleanup other realm tests.
2015-09-13 22:08:08 -07:00
John-David Dalton
a61eeeaa03
Minor formatting cleanup in travis.yml.
2015-09-13 10:19:49 -07:00
John-David Dalton
80f6990a43
Remove value guards in baseDifference and baseSortedUniqBy.
2015-09-12 22:29:19 -07:00
John-David Dalton
0d5f8437f5
Indentation nit in baseTimes.
2015-09-12 22:28:46 -07:00
John-David Dalton
5e968deb4e
Add more source replacements to travis.yml.
2015-09-12 20:52:40 -07:00
John-David Dalton
ac1ffa2efe
Cleanup _.merge tests.
2015-09-12 09:53:30 -07:00
John-David Dalton
ed2e6d16c8
Add more _.merge tests for arguments.
2015-09-12 09:53:30 -07:00
John-David Dalton
dafe807888
Ensure _.merge doesn't modify array/typed-array/plain-object source values.
2015-09-12 09:53:25 -07:00
John-David Dalton
1320706172
Make _.merge source object assignments align with source array assignments.
2015-09-12 00:00:13 -07:00
John-David Dalton
fb4cf9e78f
Cleanup _.assign and _.extend docs. [ci skip]
2015-09-11 23:47:32 -07:00
Rhys van der Waerden
8cbb8befd4
Clarify _.merge description. [ci skip]
...
Mention behaviour difference between merging plain objects and objects with non-Object prototypes. As discussed in #1455 .
2015-09-11 23:46:27 -07:00
John-David Dalton
aa303df387
Update core builds.
2015-09-11 18:25:03 -07:00
John-David Dalton
e42d29611c
Ensure wrapper actions are copied in wrapperClone.
2015-09-11 18:22:34 -07:00
John-David Dalton
a5213f1291
Add strict equal fast path for object comparisons in equalObjects.
2015-09-11 18:03:20 -07:00
John-David Dalton
875dfec570
Add tag checks back to baseIsEqualDeep.
2015-09-11 18:02:49 -07:00
John-David Dalton
6edde288ee
Add requireDotNotation rule to jscsrc.
2015-09-11 18:02:19 -07:00
John-David Dalton
a6ead18121
Avoid deep crawl if object and source are strict equal.
2015-09-11 12:57:34 -07:00
John-David Dalton
7245570405
Cleanup, organize, and group jscs rules.
2015-09-11 00:26:05 -07:00
John-David Dalton
38a37f1b18
Use === in _.isEqual doc example. [ci skip]
2015-09-10 19:08:07 -07:00
John-David Dalton
5c98ab4b8f
Simplify doc examples that use Math methods. [ci skip]
2015-09-10 19:07:37 -07:00
John-David Dalton
5ddb1ef76d
Remove duplicate jsdoc param from equalObjects docs. [ci skip]
2015-09-10 19:06:56 -07:00
John-David Dalton
8b320f913d
Remove unneeded type check from createRound.
2015-09-10 19:06:08 -07:00
John-David Dalton
8e0011d07a
Ensure clone methods create maps and sets from other realms.
2015-09-10 19:05:25 -07:00
John-David Dalton
e50734a6fb
Update jscs rules.
2015-09-10 19:03:53 -07:00
John-David Dalton
307dae4fac
Adjust _.omit and _.pickBy doc examples to show more of a difference between them. [ci skip]
2015-09-10 07:38:56 -07:00
John-David Dalton
d8c5f85cd2
Add _.modArgsSet tests.
2015-09-09 23:45:37 -07:00
John-David Dalton
94c95469e1
Minor test cleanup.
2015-09-09 22:59:37 -07:00
John-David Dalton
e8244f7f07
Adjust property descriptors in tests.
2015-09-09 22:59:37 -07:00
John-David Dalton
a48f48ca95
Ensure _.merge skips merging when object and source are the same value.
2015-09-09 22:59:29 -07:00
John-David Dalton
4a4e54479a
Ensure _.merge assigns typed arrays directly. [ closes #1453 ]
2015-09-09 22:10:23 -07:00
John-David Dalton
86d06e0a4c
Cleanup _.merge tests.
2015-09-09 22:09:10 -07:00
John-David Dalton
9b41ae847b
Consolidate this binding tests.
2015-09-09 20:44:58 -07:00
Ilya Mochalov
012cc521f5
Minor _.plant doc fix. [ci skip]
2015-09-09 18:11:40 -07:00
John-David Dalton
20695548f1
Use more pre-QUnit 2.0 APIs.
2015-09-09 18:05:48 -07:00
John-David Dalton
d77c5123c1
Add _.flip and _.modArgsSet to lodash doc note. [ci skip]
2015-09-09 10:34:50 -07:00
John-David Dalton
c32a6837e6
Update _.flip doc example and test to better show effect.
2015-09-09 10:29:43 -07:00
John-David Dalton
c604be31e0
Add _.flip test.
2015-09-09 08:31:28 -07:00
John-David Dalton
0a08edb6d7
Remove second _.rearg example. [ci skip]
2015-09-09 08:31:19 -07:00
John-David Dalton
4d7aeb8b96
Don't flip if there's less than 2 arguments.
2015-09-09 08:31:03 -07:00
John-David Dalton
6b09f1f233
Remove iojs from travis-yml tests.
2015-09-08 22:51:46 -07:00
Phillip Alexander
7364c84b6b
Add Node.js v4 stable to Travis config.
...
NodeJS v4 was just released [NodeJS v4 announcement](https://nodejs.org/en/blog/release/v4.0.0/ ). This updates the CI build script to accommodate the release. Note: It should be "4", not "4.0" since Node will surely get a lot of minor updates before it goes LTS and reveal.js should test on the latest of them.
2015-09-08 22:49:16 -07:00
John-David Dalton
02a28d565b
Add _.flip. [ closes #1449 ]
2015-09-08 22:48:37 -07:00
John-David Dalton
2ac6e31cc3
Update QUnit to 1.19.0.
2015-09-08 22:34:19 -07:00
John-David Dalton
8bad4ae636
Rename multiValue param to multiVal. [ci skip]
2015-09-07 23:35:06 -07:00
John-David Dalton
f0010ea3a8
Add additional guard to isCombo check in mergeData.
2015-09-07 23:32:16 -07:00
John-David Dalton
f86bff3bf7
Minor _.modArgsSet doc example tweak. [ci skip]
2015-09-07 22:29:13 -07:00
John-David Dalton
99b0094dcd
Minor code style nit in tests. [ci skip]
2015-09-07 22:14:20 -07:00
John-David Dalton
db86a6ff1c
Simplify _.isMatch set test.
2015-09-07 22:05:44 -07:00
John-David Dalton
cbc188916d
Fix typo and fail in _.isMatch test.
2015-09-07 21:59:57 -07:00
John-David Dalton
2f411230c5
Add _.isEqualWith and _.isMatchWith tests for maps and sets.
2015-09-07 21:36:49 -07:00
John-David Dalton
b9c8c877b7
Minor contributing text nit, new methods to functions. [ci skip]
2015-09-07 20:37:07 -07:00
John-David Dalton
13e4ba622e
Add code of conduct doc. [ci skip]
2015-09-07 20:33:15 -07:00
John-David Dalton
7863256de5
Add map and set guards to tests to fix travis runs.
2015-09-06 22:41:07 -07:00
John-David Dalton
d81e029ec0
Add _.isMatchWith tests.
2015-09-06 22:32:09 -07:00
John-David Dalton
f6500eafb6
Cleanup _.isMatch tests.
2015-09-06 22:31:39 -07:00
John-David Dalton
9da03f529f
Ensure equalByTag passing customizer to equalFunc.
2015-09-06 21:05:05 -07:00
John-David Dalton
1e1e4fd557
Add _.matches and _.matchesProperty tests for partial matching maps and sets.
2015-09-06 20:42:15 -07:00
John-David Dalton
08f8e659fd
Cleanup _.matches and _.matchesProperty tests.
2015-09-06 20:35:43 -07:00
John-David Dalton
fc69fe1f21
Use map.size and set.size in mapToArray and setToArray.
2015-09-06 18:00:28 -07:00
John-David Dalton
38a16805ed
Optimize map and set comparisons in _.isEqual.
2015-09-06 17:01:17 -07:00
John-David Dalton
dfd4ae9ea4
Add _.modArgsSet.
2015-09-05 22:29:38 -07:00
John-David Dalton
5c9585b2b0
Ensure correct execution order of _.modArgs transforms.
2015-09-05 22:29:11 -07:00
John-David Dalton
dc2e769d9a
Ensure _.toPath converts array values to strings.
2015-09-05 11:25:06 -07:00
John-David Dalton
15a4fb7adf
Add _.toPath tests.
2015-09-05 10:00:21 -07:00
John-David Dalton
7bb10d56f8
Add _.toPath doc examples. [ci skip]
2015-09-05 10:00:08 -07:00
John-David Dalton
650282b186
Add console.logs to doc examples. [ci skip]
2015-09-05 09:59:38 -07:00
John-David Dalton
ded3cfc251
Add _.toInteger tests.
2015-09-05 09:31:37 -07:00
John-David Dalton
a4fee3a3ad
Add _.isObjectLike tests.
2015-09-05 09:26:09 -07:00
John-David Dalton
58d7404ee4
Add a _.memoize test for the this binding of resolver.
2015-09-05 09:14:38 -07:00
John-David Dalton
556eee8563
Use a create function helper for modArgs.
2015-09-05 09:04:46 -07:00
John-David Dalton
1422f50ee9
Remove isStrict guards from tests.
2015-09-05 01:05:39 -07:00
Philippe Lhoste
1be4adf365
Improve documentation for method chaining. [ci skip]
2015-09-05 01:05:39 -07:00
John-David Dalton
4510ada21e
Update lodash doc block. [ci skip]
2015-09-05 01:05:39 -07:00
John-David Dalton
e516d99b2d
Expose _.toInteger.
2015-09-04 08:35:36 -07:00
John-David Dalton
b534b83756
Fix failing tests in strict mode.
2015-09-04 01:02:47 -07:00
John-David Dalton
41b537249b
Expose _.isObjectLike and _.toPath.
2015-09-04 00:55:34 -07:00
John-David Dalton
4a87acf1ac
Remove "Number" and "String" from contextProps.
2015-09-04 00:55:16 -07:00
John-David Dalton
41d3b66867
Move NEGATIVE_INFINITY and POSITIVE_INFINITY out of runInContext.
2015-09-04 00:36:34 -07:00
John-David Dalton
3ef7ae24e5
Expose _.isArrayLike.
2015-09-03 22:08:02 -07:00
John-David Dalton
824d3b75f9
Add Safari 8.1 note to _.isArguments. [ci skip]
2015-09-03 20:05:39 -07:00
John-David Dalton
38a802fed3
Fix _.isArguments in Safari 8.1.
2015-09-03 19:53:11 -07:00
John-David Dalton
ee776fd0de
Add IE11 note to noMapSetTag definition. [ci skip]
2015-09-03 19:53:11 -07:00
John-David Dalton
a1f29d8f4a
Cleanup get/set/unset tests.
2015-09-03 18:28:57 -07:00
John-David Dalton
3e42a817a1
Fix failing map/set tests in IE11.
2015-09-03 15:22:21 -07:00
John-David Dalton
617dd703e1
Soften language on isXyz methods that use duck typing. [ci skip]
2015-09-03 15:22:21 -07:00
John-David Dalton
e63d7ff9d5
Rename var initFromArray to initFromCollection in _.reduce and _.reduceRight.
2015-09-03 15:21:12 -07:00
Ray Hammond
7e73b27edf
Updated contributing text to include code style linter details. [ci skip]
2015-09-03 12:54:47 -07:00
Michał Lipiński
6898b896d1
Add _.unset.
2015-09-03 09:28:06 -07:00
John-David Dalton
085e2c24d3
Remove weakmap and set shims.
2015-09-03 09:18:10 -07:00
John-David Dalton
cc77eb7855
Change augment to modify. [ci skip]
2015-09-03 09:06:16 -07:00
John-David Dalton
8e9f9f6f2f
Detect maps and sets in IE11.
2015-09-03 09:02:33 -07:00
John-David Dalton
51006e8304
Tweak test try-catch style to be consistent with lodash.
2015-09-03 08:22:33 -07:00
Ray Hammond
fce2bd89c7
Added jscs code style checker.
2015-09-03 08:19:41 -07:00
John-David Dalton
830be3d918
Add strict mode test for _.isArguments.
2015-09-02 22:56:25 -07:00
John-David Dalton
0926e5a986
Fix test errors in IE9.
2015-09-02 16:59:42 -07:00
Ray Hammond
b61411956c
Missing semicolon linting fixes to test.js.
2015-09-02 11:44:23 -07:00
John-David Dalton
5648fe940c
Add MS Edge testing with saucelabs.
2015-09-02 08:45:44 -07:00
Ray Hammond
57ad32448f
Added missing semicolon.
2015-09-02 08:45:34 -07:00
John-David Dalton
b4db3c050d
Ensure _.isEqual performs unordered comparisons of maps and sets.
2015-09-01 21:50:28 -07:00
John-David Dalton
3f954ca790
Add _.isEqual tests for maps and sets.
2015-09-01 01:17:15 -07:00
John-David Dalton
6e0174e879
Cleanup _.isEqual tests.
2015-09-01 00:46:55 -07:00
John-David Dalton
e4873f1982
Add map and set tests for clone methods.
2015-09-01 00:37:37 -07:00
John-David Dalton
3d35817a2f
Add _.toArray tests for ES6 iterables.
2015-09-01 00:23:08 -07:00
John-David Dalton
8c6aef3edb
Cleanup newlines and semicolons.
2015-08-31 23:32:07 -07:00
John-David Dalton
5fd8939b7d
Add Symbol.iterator guards to tests.
2015-08-31 19:40:32 -07:00
John-David Dalton
4c1b578b80
Add _#plant test for cloned chainAll settings.
2015-08-31 19:16:00 -07:00
John-David Dalton
f6bf81d16f
More test cleanup.
2015-08-31 19:11:29 -07:00
John-David Dalton
2d8cc57642
Ensure _#plant resets iterator data of the cloned sequence.
2015-08-31 18:47:37 -07:00
John-David Dalton
3b131f0231
Add coverage for wrapped[Symbol.iterator].
2015-08-31 18:04:07 -07:00
John-David Dalton
202ce472bb
Cleanup tests.
2015-08-31 17:54:06 -07:00
John-David Dalton
7206edec2e
Cleanup .next tests.
2015-08-31 17:52:32 -07:00
John-David Dalton
9e86efadbc
Make the chain wrapper iterable.
2015-08-30 23:40:34 -07:00
Graeme Yeates
433331adac
Add ES6 compliant lodash(...).next() iterator.
2015-08-30 22:47:32 -07:00
John-David Dalton
a0cd024b39
Add checks to iteratorSymbol assignment.
2015-08-30 10:09:28 -07:00
John-David Dalton
4fbb31b4dc
Adjust Set references to fix the build.
2015-08-30 09:59:19 -07:00
John-David Dalton
09bcc5aaec
Move more functions out of runInContext.
2015-08-30 09:37:23 -07:00
John-David Dalton
c921c9bd12
Add support for ES6 Set/Map to _.clone/_.isEqual/_.toArray and iterator support to _.toArray.
2015-08-30 08:58:12 -07:00
John-David Dalton
8f621b38bf
Update builds.
2015-08-30 05:12:06 -07:00
John-David Dalton
257d957dfb
Add baseSortedUniqBy.
2015-08-30 05:12:06 -07:00
John-David Dalton
a0a6f0ae87
Correct arity hints for baseSortByOrder and createAggregator.
2015-08-30 04:55:05 -07:00
John-David Dalton
c396b60612
Cleanup _.pairs and _.invert.
2015-08-30 04:45:49 -07:00
John-David Dalton
98a97b1eaf
Use arrayReduce in baseWrapperValue and _.invert, arrayEach in _.bindAll, and baseTimes in _.unzip.
2015-08-30 04:27:52 -07:00
John-David Dalton
7d6fcc75da
Use arrayReduce in basePick.
2015-08-30 03:56:14 -07:00
Nathan Bellowe
ecd8b7f614
Update _.modArgs doc example to better show the method's affect. [ci skip]
2015-08-30 03:56:07 -07:00
John-David Dalton
cc1bcc25b9
Enable phantomjs tests in travis.yml.
2015-08-29 14:31:08 -07:00
John-David Dalton
b792276a00
Update PATTERN2 in travis.yml.
2015-08-29 13:33:08 -07:00
John-David Dalton
b1d52ccd82
Rename _.indexBy to _.keyBy to avoid confusion with _.sortedIndexBy forms.
2015-08-29 13:33:08 -07:00
John-David Dalton
cc0e91ac2f
Remove duplicated tests.
2015-08-29 10:52:23 -07:00
John-David Dalton
dfac7b4261
Make _.xyzBy methods provide just a single param to their callbacks.
2015-08-29 10:52:02 -07:00
John-David Dalton
1258eef213
Use toInteger in _.repeat.
2015-08-29 09:18:33 -07:00
John-David Dalton
f79148fa62
Rename arraySum to baseSum.
2015-08-29 09:16:48 -07:00
John-David Dalton
4d2aa29926
Simplify baseValues, createCompounder, initKeys, _.after, _.pairs, _.range, & _.times.
2015-08-29 09:15:47 -07:00
John-David Dalton
f016840c53
Correct baseSortedUniqBy.
2015-08-29 09:10:29 -07:00
John-David Dalton
cffeec4713
Cleanup baseSortedUniq and add more uniq related tests.
2015-08-28 08:53:05 -07:00
John-David Dalton
fcbe4620cd
Simplify baseFunctions.
2015-08-28 08:15:50 -07:00
John-David Dalton
5a5e0363c2
Remove Chakra check as they've resolve their 'vm' issue.
2015-08-27 10:39:23 -07:00
John-David Dalton
64512ee2ae
Fix skipTest count for _.isNil other realm test.
2015-08-27 10:23:57 -07:00
John-David Dalton
ce4f2f1326
Ensure _.merge merges plain-objects onto non plain-objects. [ closes #1413 ]
2015-08-27 09:21:37 -07:00
John-David Dalton
dfebb83c35
Update excused Underscore tests.
2015-08-26 22:43:02 -07:00
John-David Dalton
0ba226e3c2
Fix test fails and _.uniqBy use baseUniqBy.
2015-08-26 22:21:18 -07:00
John-David Dalton
e0f59eccf0
Formatting nit in baseWhile.
2015-08-26 21:43:52 -07:00
John-David Dalton
820e720b0a
Cleanup various method descriptions. [ci skip]
2015-08-26 21:43:37 -07:00
John-David Dalton
936c5f5d3d
Add baseUniqBy.
2015-08-26 21:43:12 -07:00
John-David Dalton
d0b3b8de44
Minor test cleanup.
2015-08-26 08:30:22 -07:00
John-David Dalton
89d53306f3
Use toInteger in pad methods and make nullish chars checks in pad and trim methods undefined checks.
2015-08-26 08:30:06 -07:00
John-David Dalton
e30a20120c
Split out _.sortedIndexOf, _.sortedLastIndexOf, _.sortedUniq, and _.sortedUniqBy.
2015-08-26 08:27:16 -07:00
John-David Dalton
790d6331f8
Remove fromIndex type check from _.includes.
2015-08-25 23:12:12 -07:00
John-David Dalton
9121ab95ea
Bump package for easier testing.
2015-08-24 18:09:42 -07:00
John-David Dalton
b09e5cf5a7
Minor shortcut fusion test cleanup.
2015-08-24 08:22:51 -07:00
John-David Dalton
b53a8e873d
Rename the baseIteratee param func to value.
2015-08-23 23:36:55 -07:00
John-David Dalton
4c38963c6f
Add iteratee arity hints back.
2015-08-23 23:36:05 -07:00
John-David Dalton
b0d6c34565
Add isIterateeCall checks back to _.every and _.some.
2015-08-23 18:41:11 -07:00
John-David Dalton
0a9c9411f0
Update core builds.
2015-08-22 20:37:02 -07:00
John-David Dalton
e253f58aac
Fix _.keysIn test fails in IE9.
2015-08-22 20:35:33 -07:00
John-David Dalton
0aa8ad202a
Implement copyObject by way of copyObjectWith.
2015-08-22 18:41:48 -07:00
John-David Dalton
7bc5a501c4
Remove explicit Object coercion in _.keysIn.
2015-08-21 18:35:31 -07:00
John-David Dalton
4691a38d21
Add baseKeys.
2015-08-21 13:56:59 -07:00
MaxPRafferty
00bae752d0
Add item to _.fill example. [ci skip]
...
While not the minimum example required to show the fill functionality, having the fill write more than one value better fits the purpose of the function in practice.
2015-08-21 12:15:29 -07:00
John-David Dalton
e253fe0547
Use nullish to describe _.isNil. [ci skip]
2015-08-21 08:28:49 -07:00
John-David Dalton
e35d73be8f
Add isNative chaining test.
2015-08-20 08:16:41 -07:00
John-David Dalton
f9f7af2430
Cleanup _.isNil doc examples and tests.
2015-08-20 08:11:17 -07:00
John-David Dalton
7aef780b14
Add hasIn to lodash chaining doc note. [ci skip]
2015-08-20 08:02:44 -07:00
xixilive
5644a20eec
Add _.isNil function.
2015-08-20 00:16:17 -07:00
John-David Dalton
b135431542
Remove unused escapeRegExpChar function.
2015-08-19 22:07:50 -07:00
John-David Dalton
efdb254b12
Fix _.isMatchWith test fail.
2015-08-19 21:56:08 -07:00
John-David Dalton
8fd2f0ae11
Add _.hasIn tests.
2015-08-19 17:26:53 -07:00
John-David Dalton
3f7ee9bd2e
Remove unneeded Object use.
2015-08-19 16:42:24 -07:00
John-David Dalton
a049c1189e
Consistent use of of instead of on in path related docs. [ci skip]
2015-08-19 16:42:14 -07:00
John-David Dalton
9859b1555f
Add _.hasIn and more path helper functions.
2015-08-18 23:29:27 -07:00
John-David Dalton
356e47a6a3
Remove double declared length var in sample.
2015-08-18 14:03:04 -07:00
John-David Dalton
2c1c8fc8df
Remove unneeded _.escapeRegExp test.
2015-08-18 13:46:55 -07:00
John-David Dalton
e7bdd4a624
Ensure paths with newlines are walkable.
2015-08-17 23:56:27 -07:00
John-David Dalton
1a9069e80a
Remove rogue console.log debug.
2015-08-17 00:24:05 -07:00
John-David Dalton
484861e3ee
Change objectValue and sourceValue params to objValue and srcValue.
2015-08-16 23:29:58 -07:00
John-David Dalton
99ba0a4927
Ensure isMatchWith invokes customizer callbacks with object and source params.
2015-08-16 23:28:06 -07:00
John-David Dalton
ba3ede584e
Add stack params to several customizer callback calls.
2015-08-14 07:36:09 -07:00
John-David Dalton
dd472f489b
Avoid stack overflow with _.defaultsDeep.
2015-08-13 08:56:43 -07:00
John-David Dalton
9f0dd40b3b
Remove component.json reference from bower.json.
2015-08-12 08:14:40 -07:00
John-David Dalton
edc03287aa
Ensure _.defaultsDeep works on circular references.
2015-08-10 23:08:34 -07:00
John-David Dalton
d6dc7627b9
Start making Underscore tests work with the core build.
2015-08-09 21:49:30 -07:00
John-David Dalton
59773ca284
Update Backbone tests for core build runs.
2015-08-09 21:38:16 -07:00
John-David Dalton
6aa01ffe05
Remove old android platforms from sauce tests.
2015-08-09 21:36:02 -07:00
John-David Dalton
5b3de94fee
Add core build to test dropdowns.
2015-08-09 21:34:24 -07:00
John-David Dalton
b4edf122f6
Update _.reduce and _.transform object iteration doc example. [ci skip]
2015-08-09 00:09:17 -07:00
John-David Dalton
1647c4deab
Update test/saucelabs.js for lodash v4.
2015-08-08 17:46:32 -07:00
John-David Dalton
3efb91e86d
Enable most sauce labs runs.
2015-08-08 17:35:28 -07:00
John-David Dalton
d6f73054a5
Update tested sauce browsers.
2015-08-08 17:35:15 -07:00
John-David Dalton
bd9b38665d
Update Underscore/Backbone tests and make them passable.
2015-08-08 16:52:47 -07:00
John-David Dalton
de5c2b906e
Add core builds.
2015-08-04 22:54:50 -07:00
John-David Dalton
4a4badcdc1
Reduce _.mixin with arrayEach.
2015-08-04 22:29:58 -07:00
John-David Dalton
fa7ebb36dc
Add _.isNaN test for a Number object.
2015-08-04 22:29:58 -07:00
John-David Dalton
447440776b
Remove component.json.
2015-08-01 11:12:22 -07:00
John-David Dalton
f5714f2eb0
Reduce _.isEmpty.
2015-08-01 11:03:49 -07:00
John-David Dalton
a3b76f9259
Minor plural nit in _.sortBy docs. [ci skip]
2015-07-31 16:49:04 -07:00
John-David Dalton
ba71421a23
Test label nits.
2015-07-31 14:03:32 -07:00
John-David Dalton
61251b305d
Simplify _.escapeRegExp to align with the defunct ES7 proposal.
2015-07-31 14:03:32 -07:00
John-David Dalton
73464d6bb6
Ensure many n like params are coerced to integers. [ closes #1377 ]
2015-07-31 10:41:45 -07:00
John-David Dalton
7f7ebed4ea
Drop the __chain__ check from lodash.
2015-07-30 17:46:28 -07:00
John-David Dalton
5c53809269
Use isObject comboed with isArrayLike.
2015-07-30 09:09:11 -07:00
John-David Dalton
3935d5f2f7
Ensure _.merge doesn't convert strings to arrays. [ closes #1375 ]
2015-07-30 09:09:11 -07:00
John-David Dalton
693704a832
Remove argument juggling from _.before.
2015-07-29 23:22:34 -07:00
John-David Dalton
b17f6eee6a
Remove unneeded isIterateeCall checks.
2015-07-29 12:20:25 -07:00
John-David Dalton
ccb90f46e6
Remove overloaded options param support for _.trunc.
2015-07-29 12:19:49 -07:00
John-David Dalton
dfa4cd921e
Add test for _.escapeRegExp escaping string containing only chars that require leading escaping.
2015-07-29 08:22:10 -07:00
John-David Dalton
32e0afd19c
Have _.chunk exit early for empty arrays too.
2015-07-28 22:41:58 -07:00
John-David Dalton
5fb732c0e6
Change default size of _.chunk to 0.
2015-07-28 13:49:55 -07:00
John-David Dalton
48a6c4f2bf
Add _.setWith tests.
2015-07-26 10:32:32 -07:00
John-David Dalton
f1597386ef
Ensure _.set and _.setWith don't assign a value if it's the same as the destination value.
2015-07-26 09:58:33 -07:00
John-David Dalton
731d5b6872
Add assignValue and assignMergeValue helpers to make value assignments more consistent across methods.
2015-07-26 09:42:21 -07:00
James M Snell
ce569e4bc4
Add npm test.
2015-07-25 20:26:34 -07:00
John-David Dalton
f48b8d6d91
Cleanup _.some docs. [ci skip]
2015-07-24 17:39:56 -07:00
John-David Dalton
4fc94a4383
Use extendWith instead of defaults in _.template to reduce deps.
2015-07-24 17:12:36 -07:00
John-David Dalton
c5057905b6
Cleanup doc examples of _.isEqualWith, _.isMatchWith, & _.setWith. [ci skip]
2015-07-24 17:10:25 -07:00
John-David Dalton
3c388c76c6
Add to docs of _.assignWith and _.setWith. [ci skip]
2015-07-24 08:36:42 -07:00
John-David Dalton
a730fe13c7
Make baseGet align with baseSet.
2015-07-24 08:36:00 -07:00
John-David Dalton
4520e0710d
Add _.setWith.
2015-07-23 09:18:09 -07:00
John-David Dalton
7e42892e6a
Update vendor.
2015-07-23 09:18:09 -07:00
John-David Dalton
a0c580298e
Cleanup comments. [ci skip]
2015-07-23 09:05:50 -07:00
John-David Dalton
e7ad50d243
Remove unneeded var bit from _.omit.
2015-07-20 20:08:53 -07:00
John-David Dalton
1394d42f58
Simplify createXYZ function descriptions. [ci skip]
2015-07-20 17:22:57 -07:00
Graeme Yeates
a8e95e25ad
Add string to valid _.includes parameters. [ci skip]
2015-07-20 17:03:57 -07:00
John-David Dalton
87cb4db263
Simplify isHostObject.
2015-07-20 11:34:58 -07:00
John-David Dalton
2ccda44c44
Add isObjectLike and isHostObject checks to _.isPlainObject.
2015-07-20 11:34:58 -07:00
John-David Dalton
0253c7bcf1
Add license field to bower.json. [ closes #1355 ] [ci skip]
2015-07-20 11:34:58 -07:00
John-David Dalton
9c7b39b7a7
Remove _.clone test for strings.
2015-07-20 11:34:58 -07:00
John-David Dalton
5f4611fce2
Minor nit to move objCtorString above objToString.
2015-07-20 11:34:58 -07:00
John-David Dalton
c4fa2e70bf
Remove old JScript tests.
2015-07-20 11:34:58 -07:00
John-David Dalton
15b1a22501
Remove non-enumerable prototype property tests.
2015-07-20 11:34:58 -07:00
John-David Dalton
51425788d8
Cleanup _.isEqual test for non-index properties on arrays.
2015-07-20 11:34:58 -07:00
John-David Dalton
a17d5eea47
Remove splice objects tests.
2015-07-20 11:34:58 -07:00
John-David Dalton
ef909e8a54
Remove _.support tests.
2015-07-20 11:34:57 -07:00
John-David Dalton
0a24e9854b
Add bizarro test for Object#propertyIsEnumerable.
2015-07-20 11:34:57 -07:00
John-David Dalton
4eb2eea809
Remove unneeded sort calls from keys tests.
2015-07-20 11:34:57 -07:00
John-David Dalton
8a6705617f
Consistent Foo style in tests.
2015-07-20 11:34:57 -07:00
John-David Dalton
bbe122aba5
Improve test coverage.
2015-07-20 11:34:57 -07:00
John-David Dalton
40409df885
Ensure basePullAt works with deep paths.
2015-07-20 11:34:57 -07:00
John-David Dalton
7fdbdae6b9
Use arraySum in _.sum.
2015-07-20 11:34:57 -07:00
John-David Dalton
b87a18bd80
Remove toFunction from _.unzipWith.
2015-07-20 11:34:57 -07:00
John-David Dalton
6d650a48db
Remove some older browser notes in test labels. [ci skip]
2015-07-20 11:34:56 -07:00
John-David Dalton
54ea0eac8e
Remove string tests for "Collection" methods.
2015-07-20 11:34:56 -07:00
John-David Dalton
4054898170
Cleanup lazy method wrapper.
2015-07-20 11:34:56 -07:00
John-David Dalton
8a205e1e32
Add lazy chaining tests for _.find and _.findLast.
2015-07-20 11:34:56 -07:00
Graeme Yeates
39068730e2
Enable shortcut fusion for _.find and _.findLast.
2015-07-20 11:34:56 -07:00
John-David Dalton
1e344455b8
Make eq its own method.
2015-07-20 11:34:56 -07:00
John-David Dalton
9a01f3a337
Move the false example for _.isEqual below the true one. [ci skip]
2015-07-20 11:34:56 -07:00
John-David Dalton
f6ea758b85
Make array length checks more uniform.
2015-07-20 11:34:56 -07:00
John-David Dalton
51fb82902b
Make max and min use arrayExtremum instead of their xyzBy counterparts.
2015-07-20 11:34:55 -07:00
John-David Dalton
3c342adb67
Move Reflect assignment.
2015-07-20 11:34:55 -07:00
John-David Dalton
24d592f94f
Remove rogue semicolon.
2015-07-20 11:34:55 -07:00
John-David Dalton
181ebf024c
Remove compat and modern modifiers from build commands in travis.yml.
2015-07-20 11:34:55 -07:00
John-David Dalton
ecf693ac75
Change file references from lodash.src.js to lodash.js.
2015-07-20 11:34:55 -07:00
John-David Dalton
8266266639
Update vendor/benchmark.js.
2015-07-20 11:34:55 -07:00
John-David Dalton
0f2419357c
Move lodash.src.js to lodash.js.
2015-07-20 11:34:30 -07:00
John-David Dalton
2e57123aa2
Remove lodash.js
2015-07-20 11:32:11 -07:00
John-David Dalton
881733e099
Temporarily disable a few more runs in travis.yml.
2015-07-20 11:26:01 -07:00
John-David Dalton
18f778ce11
Remove var use for the baseKeysIn fork assignment.
2015-07-20 11:26:01 -07:00
John-David Dalton
b8060a5bcc
Add more methods to the lodash doc note. [ci skip]
2015-07-20 11:26:01 -07:00
Michael Kearns
7a34b2982f
Reword _.merge docs for clarity. [ci skip]
2015-07-20 11:26:01 -07:00
John-David Dalton
f695af587a
Remove createExtremum.
2015-07-20 11:26:00 -07:00
John-David Dalton
7759615775
Ensure "Collection" methods treat functions as objects.
2015-07-20 11:26:00 -07:00
John-David Dalton
bbad03547d
Make _.at an "Object" method.
2015-07-20 11:26:00 -07:00
John-David Dalton
b638f86b75
Use a heavier function check in isArrayLike.
2015-07-20 11:26:00 -07:00
John-David Dalton
ab6210dc30
Avoid es-sham getPrototypeOf when constructor is not a function.
2015-07-20 11:26:00 -07:00
John-David Dalton
9ca16e3933
Rename baseCompareAscending to compareAscending.
2015-07-20 11:26:00 -07:00
John-David Dalton
76ab41a742
Add _.matches and _.matchesProperty tests for primitive object and a source with undefined values.
2015-07-20 11:26:00 -07:00
John-David Dalton
c6f6eb294b
Use numberProto more in test/test.js.
2015-07-20 11:26:00 -07:00
John-David Dalton
19836a55a3
Remove an isArray check from baseMatchesProperty.
2015-07-20 11:25:59 -07:00
John-David Dalton
862c7fde6d
Docs cleanup pass. [ci skip]
2015-07-20 11:25:59 -07:00
John-David Dalton
5d842273d9
Remove accidental trailing comma.
2015-07-20 11:25:59 -07:00
John-David Dalton
33a9ebaba1
Fix _.matches and _.matchesProperty doc notes on inherited properties. [ci skip] [ closes #1344 ]
2015-07-20 11:25:59 -07:00
John-David Dalton
192e35882a
Remove toIterable and toObject.
2015-07-20 11:25:59 -07:00
John-David Dalton
e6b9aaf499
Temporarily reduce scope of automated testing until things are more stable.
2015-07-20 11:25:59 -07:00
John-David Dalton
b821660e79
Remove irrelevant comments. [ci skip]
2015-07-20 11:25:59 -07:00
John-David Dalton
0beaf47a64
Extract common components of _.keys and _.keysIn and make _.keysIn use the Reflect.enumerate shim as a compat path for older enviros.
2015-07-20 11:25:59 -07:00
John-David Dalton
8a9e9e9a11
Remove support for pre-es5 environments.
2015-07-20 11:25:59 -07:00
Oliver Hoffmann
df17244353
Update root assignment to work in Firefox extensions. [ closes #1340 ]
2015-07-20 11:25:58 -07:00
Graeme Yeates
ffd3e17364
Add _.isFunction test for NodeList instances.
2015-07-20 11:25:58 -07:00
John-David Dalton
211a6cc4f1
Doc cleanup to turn "accepts an iteratee" to "accepts iteratee". [ci skip]
2015-07-20 11:25:58 -07:00
John-David Dalton
4c09879aab
Add _.assignWith, _.cloneDeepWith, _.cloneWith, _.extendWith, _.isEqualWith, _.isMatchWith, and _.mergeWith.
2015-07-20 11:25:58 -07:00
John-David Dalton
fd526e8754
Split _.omit and _.pick into _.omitBy and _.pickBy.
2015-07-20 11:25:58 -07:00
John-David Dalton
974306d4f0
Generalize the unwrapped value path in lazy method wrappers a bit.
2015-07-20 11:25:58 -07:00
John-David Dalton
56452d9fd8
Document start and end swap for _.inRange. [ci skip] [ closes #1332 ]
2015-07-20 11:25:58 -07:00
John-David Dalton
6d231fecd1
Update html indent style in .editorconfig.
2015-07-20 11:25:58 -07:00
John-David Dalton
2e91cf727a
Simplify checkGlobal.
2015-07-20 11:25:58 -07:00
John-David Dalton
64b9402e12
Strict equal nit in _.uniq.
2015-07-20 11:25:57 -07:00
John-David Dalton
4bae0c0139
Minor formatting nit for _.without.
2015-07-20 11:25:57 -07:00
John-David Dalton
06bc4aa50b
Make isArayLike return false for functions.
2015-07-20 11:25:57 -07:00
John-David Dalton
31a7ac1e81
Ensure _.assign, _.extend, _.defaults, and _.merge coerce values to objects.
2015-07-20 11:25:57 -07:00
John-David Dalton
c75ac3ac64
Simplify nullish and falsey checks.
2015-07-20 11:25:57 -07:00
John-David Dalton
3e14d8f4dd
Minor doc formatting nits for pickByArray and pickByPredicate. [ci skip]
2015-07-20 11:25:57 -07:00
John-David Dalton
6cde31f843
Remove doc references to this bindings and other dropped features. [ci skip]
2015-07-20 11:25:57 -07:00
John-David Dalton
a7b70008ba
Drop boolean options param support in _.mixin.
2015-07-20 11:25:57 -07:00
John-David Dalton
8cc19d908e
Drop boolean options param support in _.debounce and _.throttle.
2015-07-20 11:25:57 -07:00
John-David Dalton
d58cda122d
Remove _.bindAll support for binding all methods when no method names are provided.
2015-07-20 11:25:56 -07:00
John-David Dalton
ab26945eca
Add _.extend and make it and _.defaults, _.defaultsDeep, and _.merge iterate over inherited properties.
2015-07-20 11:25:56 -07:00
John-David Dalton
2da1b2af1a
Drop boolean orders param support in _.sortByOrder.
2015-07-20 11:25:56 -07:00
John-David Dalton
2586129dcd
Replace arrayCopy and baseCopy with copyArray, copyObject, and copyObjectWith.
2015-07-20 11:25:56 -07:00
John-David Dalton
13e5d77041
Remove iOS 4.3 in sauce because they're eoling it.
2015-07-20 11:25:56 -07:00
John-David Dalton
d036ff6c4f
Drop IE 6/7 testing.
2015-07-20 11:25:56 -07:00
jdalton
1f1bc393d3
Cleanup docs for deep methods and those that accept customizer functions. [ci skip]
2015-07-20 11:25:56 -07:00
jdalton
9aa34e2487
Remove isDeep params from _.clone and _.flatten.
2015-07-20 11:25:56 -07:00
jdalton
0b7bffe3b5
Use more descriptive var names when mapping falsey values.
2015-07-20 11:25:56 -07:00
jdalton
41f248f54d
Split out _.sortedIndex and _.sortedLastIndex into _.sortedIndexBy and _.sortedLastIndexBy.
2015-07-20 11:25:55 -07:00
jdalton
bc7cabde4e
Cleanup forEach and friends doc examples. [ci skip]
2015-07-20 11:25:55 -07:00
jdalton
65d5bba7df
Make _.maxBy, _.minBy, _.sumBy, & _.uniqBy support only arrays and provide only 1 argument to iteratees.
2015-07-20 11:25:55 -07:00
jdalton
340a6d195f
Add _.sumBy.
2015-07-20 11:25:55 -07:00
jdalton
83ac168664
Simplify getIteratee assignments in methods.
2015-07-20 11:25:55 -07:00
jdalton
8ac1a67b7d
Split _.uniq out into _.uniqBy.
2015-07-20 11:25:55 -07:00
jdalton
abd67d0786
Remove alias jsdoc tags for those no longer supported. [ci skip]
2015-07-20 11:25:55 -07:00
jdalton
9a9e4cddd7
Rename baseExtremumBy and createExtremumBy helpers.
2015-07-20 11:25:55 -07:00
jdalton
10c44b08c9
Reduce the number of function creator helpers to improve readabilty.
2015-07-20 11:25:54 -07:00
jdalton
86b19f742c
Split _.max and _.min out into _.maxBy and _.minBy.
2015-07-20 11:25:54 -07:00
jdalton
cb94b03e3e
Document more default params. [ci skip]
2015-07-20 11:25:54 -07:00
jdalton
a898c3d7bc
Absorb _.sortByAll into _.sortBy.
2015-07-20 11:25:54 -07:00
jdalton
86be6d7897
Move resolve doc helpers higher in their example blocks. [ci skip]
2015-07-20 11:25:54 -07:00
jdalton
d3d4de12be
Rename pickByCallback to pickByPredicate.
2015-07-20 11:25:54 -07:00
jdalton
04bac321d1
Cleanup doc examples. [ci skip]
2015-07-20 11:25:54 -07:00
jdalton
1011353729
Adjust guard doc notes. [ci skip]
2015-07-20 11:25:54 -07:00
jdalton
5651993d93
Use var toIteratee instead of callback.
2015-07-20 11:25:54 -07:00
jdalton
c51466935c
Rename bindCallback to toFunction.
2015-07-20 11:25:54 -07:00
John-David Dalton
454aca7003
Remove thisArg params from most methods.
2015-07-20 11:25:53 -07:00
jdalton
5ff9f01aba
Remove _.findWhere, _.pluck, & _.where.
2015-07-20 11:25:53 -07:00
jdalton
b5dd2e605d
Make _.forEach and friends implicitly end a chain sequence.
2015-07-20 11:25:53 -07:00
jdalton
1bfe25f1a5
Remove aliases and rename _.callback to _.iteratee.
2015-07-20 11:25:53 -07:00
jdalton
bd98779b3c
Fix test fails related to root._.
2015-07-20 11:25:53 -07:00
jdalton
7862ae6d36
Adjust UMD to export to window or self when available regardless of other exports.
2015-07-20 11:25:53 -07:00
John-David Dalton
dfbd78f71d
Bump to v3.10.1.
2015-07-20 11:25:53 -07:00
John-David Dalton
e132e878d6
Rebuild lodash and docs.
2015-07-20 11:25:39 -07:00
John-David Dalton
bb78c0ea6d
Provide correct argsCount hint to customizer functions of clone methods.
2015-07-20 11:23:13 -07:00
Thomas Wienecke
1a772023d5
Documentation (includes): value -> target. [ci skip]
2015-07-20 11:23:13 -07:00
John-David Dalton
230f90173c
Use strict equality checks for baseIndexOf comparisons.
2015-07-20 11:23:12 -07:00
jdalton
fbc7c28188
Cleanup Safari 8 bug note in isFunction. [ci skip]
2015-07-20 11:23:12 -07:00
jdalton
5d88cb7099
Code formatting nit for coercing to strings.
2015-07-20 11:23:12 -07:00
jdalton
caae7a5879
Ensure getFuncName returns a string.
2015-07-20 11:23:12 -07:00
jdalton
816f37bdc5
Move getData function guard to `isLaziable.
2015-07-20 11:23:12 -07:00
Graeme Yeates
a2dd7171a5
Let mozilla manage their i18n. [ci skip]
2015-07-20 11:23:12 -07:00
John-David Dalton
a80d0bc2ca
Ensure _#reverse doesn't augment the original array if it was sliced before. [ closes #1323 ]
2015-07-20 11:23:12 -07:00
jdalton
2e50d11be5
Ensure func is a function before querying the weakmap. [ closes #1319 ]
2015-07-20 11:23:12 -07:00
jdalton
a5e2caf40b
Add small array lazy chain tests for _.first and _.last.
2015-07-20 11:23:11 -07:00
jdalton
82f693a2bc
Replace it is in docs with the contraction it's. [ci skip]
2015-07-20 11:23:11 -07:00
jdalton
349baa3550
Bump to v3.10.0.
2015-07-20 11:23:11 -07:00
jdalton
712761ab0a
Rebuild lodash and docs.
2015-07-20 11:23:02 -07:00
jdalton
e620d19422
Disable JIT for ringo runs in travis.yml.
2015-06-29 23:19:08 -07:00
jdalton
8ba161463b
Clarify implicit chaining in the lodash docs. [ci skip]
2015-06-29 22:45:20 -07:00
jdalton
d93aa183f3
Ensure _.flow and _.flowRight works with _.first. [ closes #1308 ]
2015-06-29 21:38:12 -07:00
jdalton
29ceed91f0
Add more shortcut fusion tests for _.flow and _.flowRight.
2015-06-29 21:38:12 -07:00
jdalton
7f7c7f360e
Update instanbul in travis.yml.
2015-06-28 17:19:46 -07:00
jdalton
c77ffa0f6a
Simplify baseToString.
2015-06-28 15:03:35 -07:00
jdalton
5acf5f6ee3
Simplify _.isNative deps.
2015-06-28 15:03:19 -07:00
jdalton
10c2232c39
Make _.escapeRegExp escape characters that could cause problems for escape sequences and other edge cases.
2015-06-28 02:00:09 -07:00
jdalton
116dbfd123
Remove unneeded maxWait guard from maxDelayed.
2015-06-26 08:27:23 -07:00
jdalton
ec7dce7d5b
Rename _.debounce helper executeBoundFunction to complete.
2015-06-26 08:27:23 -07:00
jdalton
a8c8bd8113
Adjust timeouts on async tests.
2015-06-26 07:00:17 -07:00
jdalton
f57dadc362
Adjust recursive test for older VMs.
2015-06-26 06:59:16 -07:00
jdalton
6b7c1ad6cf
Ensure _.indexOf and _.lastIndexOf return -1 when performing a binary search for undefined and it's not found. [ closes #1303 ]
2015-06-25 14:35:02 -07:00
jdalton
67359c22d5
Remove duplicate _.debounce and _.throttle test.
2015-06-25 11:16:52 -07:00
jdalton
1881f5cb39
Ensure _.noConflict operates on root and not context.
2015-06-25 11:15:39 -07:00
jdalton
9f3d284c68
Remove isExposed check from test.js.
2015-06-25 08:05:25 -07:00
jdalton
6921fb66d5
Add _.noConflict test.
2015-06-25 08:05:24 -07:00
Graeme Yeates
91849e4cd1
Test coverage for re-entrant debounced functions
2015-06-23 17:37:45 -07:00
Graeme Yeates
1fcaa481be
Reduce debounce redundancy for executing bound function
2015-06-23 17:37:45 -07:00
jdalton
04701cd69e
Add defaultsDeep references to lodash and _.reduce doc notes. [ci skip]
2015-06-23 17:37:45 -07:00
Mathias Bynens
f59551b89e
Link to the final ES6 spec. [ci skip]
2015-06-23 17:37:45 -07:00
Graeme Yeates
bc34d80949
Clarify shortcut fusion docs. [ci skip]
2015-06-23 17:37:45 -07:00
jdalton
7480e481fc
Add _.defaultsDeep tests.
2015-06-22 12:55:29 -07:00
jdalton
71ed48bb76
Ensure leading and trailing debounce options are coerced to booleans.
2015-06-22 12:55:29 -07:00
jdalton
134bf61205
Add _.defaultsDeep.
2015-06-22 12:55:29 -07:00
jdalton
85ddabd763
Cleanup docs for baseMerge, baseMergeDeep, createAggregator, & createAssigner. [ci skip]
2015-06-22 12:55:29 -07:00
Graeme Yeates
889c184ba3
Ensure _.debounce and _.throttle reset lastCall after cancelling.
2015-06-22 12:55:28 -07:00
jdalton
660bc2eb21
Use escapeStringChar in _.escapeRegExp.
2015-06-22 12:55:28 -07:00
jdalton
192667d65f
Ensure _.escapeRegExp escapes line terminators.
2015-06-22 12:55:28 -07:00
jdalton
4896c725b6
Ensure _.escapeRegExp handles empty strings in a way to work with compilation.
2015-06-22 12:55:28 -07:00
jdalton
4bcb99a6b9
Simplify _.sum.
2015-06-18 08:41:53 -07:00
jdalton
535eec5366
Add _.sum benchmark.
2015-06-18 08:41:53 -07:00
jdalton
56cd679bcd
Improve perf of max and min common case with arrays.
2015-06-18 08:41:53 -07:00
jdalton
e95ae66af0
Update instanbul in travis.yml.
2015-06-14 22:48:50 -07:00
jdalton
dbb342da81
Minor comment tweak in baseClone. [ci skip]
2015-06-14 18:03:54 -07:00
jdalton
958381d3dd
Tweak _.modArgs docs. [ci skip]
2015-06-14 18:03:54 -07:00
jdalton
0a165675ce
Allow coveralls service to fail.
2015-06-14 07:41:29 -07:00
jdalton
ce13b6abfd
Make test labels more consistent.
2015-06-13 18:29:05 -07:00
jdalton
804e00cc26
Ensure bound Date can be instantiated with all 7 params.
2015-06-12 22:12:15 -07:00
jdalton
f79de23be5
Remove unneeded pattern sub in travis.yml.
2015-06-12 18:03:26 -07:00
jdalton
3404dc0b75
Update tested browsers for saucelabs.
2015-06-12 00:24:35 -07:00
jdalton
51c9f4f988
Cleanup _.omit, _.modArgs, & _.pick tests.
2015-06-12 00:23:50 -07:00
jdalton
028ecf5561
Allow _.modArgs to accept an array of transforms.
2015-06-11 08:30:18 -07:00
jdalton
419fb08266
Simplify createCache.
2015-06-11 07:31:36 -07:00
jdalton
1a28ef3244
Ensure _.includes matches an empty string on empty strings. [ closes #1275 ]
2015-06-10 21:10:00 -07:00
Kevin Kirsche
6b8ffb2a85
Remove moot version property from bower.json
...
Per bower/bower.json-spec@a325da3
2015-06-10 18:32:48 -04:00
jdalton
9121b14009
Cleanup _.mixin test.
2015-06-10 08:17:39 -07:00
jdalton
9b54891474
Add ceil, floor, and round to lodash doc block. [ci skip]
2015-06-10 07:57:39 -07:00
jdalton
058196e42a
Rename vendor/benchmark.js license. [ci skip]
2015-06-10 07:22:44 -07:00
jdalton
22743e06d5
Add round test for NaN precision params.
2015-06-08 08:33:03 -07:00
jdalton
c8b818f011
Cleanup _.ceil, _.floor, & _.round.
2015-06-07 21:41:50 -07:00
James Kyle
df838c98e9
Add _.ceil/_.floor/_.round.
2015-06-07 21:27:29 -07:00
jdalton
595eab2614
Rename license file to align with GitHub defaults. [ci skip]
2015-06-07 16:48:48 -07:00
jdalton
288b6ea692
Remove unnecessary lodash binding.
2015-06-07 15:24:53 -07:00
jdalton
7db606857d
Adjust tabs to two spaces for html files.
2015-06-07 14:33:28 -07:00
jdalton
746034a4fc
Simplified bufferClone.
2015-06-07 13:51:06 -07:00
jdalton
f8ec95d872
Switch null use for clearing vars to undefined.
2015-06-07 13:40:07 -07:00
jdalton
ba082b74a7
Adjust lazy heuristic to punt if not using shortcut fusion.
2015-06-06 15:30:56 -07:00
jdalton
ab981ce15a
Update lazy tests using larger arrays.
2015-06-06 15:06:17 -07:00
jdalton
e143936a82
Simplify lazy chaining by removing support for dropWhile and dropRightWhile.
2015-06-06 15:06:12 -07:00
jdalton
497cde7e92
Add LARGE_ARRAY_SIZE to more easily track what's considered a large array.
2015-06-06 14:56:31 -07:00
jdalton
948faf6cf9
Fix object doc param typo for equalByTag. [ci skip]
2015-06-05 07:56:06 -07:00
jdalton
56f199bd69
Make _.sortByOrder support orders of "asc" and "desc".
2015-06-05 07:56:06 -07:00
jdalton
9e1f68d9eb
Update vendor/backbone to 1.2.1.
2015-06-05 07:56:06 -07:00
jdalton
7a9011c7e1
Add modArgs to lodash doc block. [ci skip]
2015-06-05 07:56:05 -07:00
jdalton
224a6c1e7c
Adjust lazy eval heuristic.
2015-06-05 07:56:00 -07:00
jdalton
c89fe8bdbc
Simplify array properties of LazyWrapper.
2015-06-03 23:20:03 -07:00
jdalton
cce9c2225e
Ensure bailouts of lazy chaining will fallback appropriately.
2015-06-03 22:54:47 -07:00
jdalton
bdbc157c30
Whitespace nits. [ci skip]
2015-06-03 22:51:04 -07:00
jdalton
11eebfb78d
Cleanup fn declaration style in tests.
2015-06-02 21:40:25 -07:00
jdalton
4beadcc4f3
Add this binding test for _.modArgs.
2015-06-02 21:04:18 -07:00
jdalton
e062c8c6f2
Tweak test label.
2015-06-02 21:03:58 -07:00
jdalton
f4709ce1f0
Move this binding tests around.
2015-06-02 21:03:37 -07:00
jdalton
50e129bd8f
Add function checks to _.modArgs.
2015-06-02 20:18:13 -07:00
jdalton
f402dbd1e3
Use _.isFunction in _.isNative.
2015-06-02 20:14:13 -07:00
jdalton
55af8b4cb4
Remove _.isFunction fallback test.
2015-06-02 20:13:47 -07:00
jdalton
005b587588
Cleanup _.modArgs.
2015-06-02 08:41:01 -07:00
jdalton
de4463d9a8
Add basic _#concat test.
2015-06-02 08:16:47 -07:00
jdalton
b3d577c937
Replace wrapper with wrapped in docs/tests.
2015-06-02 08:10:10 -07:00
jdalton
51576018fd
Cleanup arrayConcat and wrapperConcat docs. [ci skip]
2015-06-02 08:07:22 -07:00
jdalton
1b4f210d82
Add sparse array test for _#concat.
2015-06-02 07:47:18 -07:00
Steven Sojka
612bfd3acc
Add _.modArgs.
2015-06-02 07:34:30 -07:00
jdalton
4972c94aed
Remove the dot from the iojs identifier in travis.yml.
2015-06-01 23:05:53 -07:00
jdalton
642d77bb91
Add arrayConcat and arrayPush helpers.
2015-06-01 17:51:52 -07:00
jdalton
88270a7b66
Add built-in Date.now fork back.
2015-05-31 13:27:35 -07:00
Justin Ridgewell
29e0d37009
Reset resIndex after recursive baseFlatten.
2015-05-30 16:15:26 -05:00
jdalton
9c339367ad
Optimize baseFlatten.
2015-05-29 11:26:14 -04:00
jdalton
f69715d999
Increase coverage of isLaziable.
2015-05-29 07:16:10 -04:00
jdalton
79990cbb27
Remove baseIsFunction.
2015-05-29 06:24:02 -04:00
jdalton
a02be54421
Increase max duration allowed for sauce to run tests.
2015-05-28 22:18:39 -04:00
jdalton
20127f6a2a
Re-fix _.isFunction in old Safari.
2015-05-28 16:32:19 -04:00
jdalton
02a132a9d7
Ensure _.chunk floors size values. [ closes #1243 ]
2015-05-28 14:29:26 -04:00
jdalton
7c95c5e80a
Remove wild semicolon.
2015-05-28 11:33:03 -04:00
jdalton
c0bc5657ea
Remove unnecessary tests.
2015-05-27 17:49:07 -04:00
jdalton
dfec166704
Remove dual environment _.isElement test.
2015-05-27 15:21:52 -04:00
jdalton
32f223c683
New line nit.
2015-05-27 15:20:22 -04:00
jdalton
722eac1681
Simplify _.isFunction.
2015-05-26 11:59:43 -07:00
jdalton
6bcbb6f7bb
Simplify _.now and _.isFinite.
2015-05-26 11:39:29 -07:00
jdalton
d266a0c0ce
Simplify _.parseInt.
2015-05-26 11:36:42 -07:00
jdalton
acf82af0bf
Simplify _.isElement.
2015-05-26 11:35:35 -07:00
jdalton
98956056e3
Simplify bufferClone.
2015-05-26 11:26:48 -07:00
jdalton
ae0bb54b2d
Remove bufferClone fork.
2015-05-26 11:22:06 -07:00
jdalton
255da0a0d7
Remove _.isPlainObject fallback.
2015-05-26 11:17:36 -07:00
jdalton
c0e8cc0254
Remove _.isArguments fallback and _.support.argsTag.
2015-05-26 11:14:25 -07:00
jdalton
41cec24644
Remove debounceOptions var.
2015-05-26 10:50:08 -07:00
jdalton
2ecdedd5b4
Bump to v3.9.3.
2015-05-25 16:25:57 -07:00
jdalton
358477c31b
Rebuild lodash and docs.
2015-05-25 15:58:57 -07:00
jdalton
c1948f10a2
Avoid NaN use in isIndex.
2015-05-25 12:19:00 -07:00
jdalton
d33c487b29
Add parseFloat to contextProps.
2015-05-25 10:03:30 -07:00
Chris Hiestand
b309b507eb
Add tests for parseFloat issues with isIndex and _.set.
2015-05-25 09:56:16 -07:00
jdalton
daa8428b32
Drop parseFloat in isIndex in favor of a more strict regex. [ closes #1229 ]
2015-05-25 09:39:36 -07:00
jdalton
0529df7632
Bump to v3.9.2.
2015-05-24 00:45:38 -07:00
jdalton
fc31fb9eba
Rebuild lodash and docs.
2015-05-24 00:45:37 -07:00
jdalton
54436e341a
Update travis deps.
2015-05-24 00:45:31 -07:00
jdalton
fc35ac4d67
Cleanup shortcut fusion test.
2015-05-23 21:43:01 -07:00
jdalton
28a0b6f901
Fix test for removal of _.support.funcNames.
2015-05-23 20:12:50 -07:00
jdalton
1b8f2c2adb
Make isLaziable work with wrapped lodash methods.
2015-05-23 20:12:20 -07:00
jdalton
6c8988ab69
Use POSITIVE_INFINITY and NEGATIVE_INFINITY more.
2015-05-23 16:15:12 -07:00
jdalton
e3c600a681
Remove rogue new line.
2015-05-23 16:14:37 -07:00
jdalton
979e0de659
Remove unused function charAtCallback.
2015-05-23 16:14:15 -07:00
jdalton
a76c10416d
Tweak docs for _.difference, _.intersection, _.union, & _.xor. [ci skip]
2015-05-23 12:37:36 -07:00
jdalton
1276bf8c72
Correct _.sample to avoid favoring putting the second half of the array into the front and the first half in the back.
2015-05-23 00:05:34 -07:00
jdalton
9ef5c5d639
Change var endIndex to lastIndex for source consistency.
2015-05-22 22:38:46 -07:00
jdalton
69f51896c9
Optimize _.sample.
2015-05-22 22:38:39 -07:00
jdalton
5f845aa6f8
Optimize baseIsEqual.
2015-05-22 22:08:29 -07:00
jdalton
87c610beaa
Fix doc typos for arrayExtremum and baseMatchesProperty. [ci skip]
2015-05-22 00:44:08 -07:00
jdalton
3a331ec156
More which/that switching in docs. [ci skip]
2015-05-22 00:36:57 -07:00
jdalton
6c5ac490ab
Document partial args of _.method and _.methodOf. [ci skip] [ closes #1223 ]
2015-05-22 00:36:51 -07:00
jdalton
50b9840db1
Change dep version in lodash-cli npm-shrinkwrap.json for travis tests.
2015-05-20 08:00:25 -07:00
jdalton
41e884a1d2
Poison the free variable root in Node.js.
2015-05-20 07:59:52 -07:00
jdalton
15841b191d
Bump to v3.9.0.
2015-05-19 08:19:55 -07:00
jdalton
65514d89ad
Rebuild lodash and docs.
2015-05-19 08:19:42 -07:00
jdalton
c6f8896826
Ensure _.get can return null values. [ closes #1216 ]
2015-05-19 08:18:46 -07:00
jdalton
882d84f1e6
Ensure _.merge skips undefined values if a destination value exists.
2015-05-18 07:30:25 -07:00
jdalton
0eba3a3678
Update ecstatic and istanbul travis deps.
2015-05-18 07:30:24 -07:00
jdalton
756b28c3ab
Rename value param to srcValue.
2015-05-17 16:13:54 -07:00
jdalton
d78ebc40ae
Fix isEqual tests on older Safari.
2015-05-17 09:14:50 -07:00
jdalton
58aea21b82
Use 'xo' instead of 'hi' for string tests.
2015-05-17 00:55:30 -07:00
jdalton
c2b1d61dd1
Add toObject to _.pairs.
2015-05-17 00:55:30 -07:00
jdalton
f4d72dba06
Adjust test labels for consistency.
2015-05-17 00:55:30 -07:00
jdalton
31e81d7be2
Add string tests for _.isMatch, _.matches, & _.matchesProperty.
2015-05-17 00:55:30 -07:00
jdalton
6c9123beee
Add toObject use to baseIsMatch.
2015-05-16 18:53:33 -07:00
jdalton
0fa0397da2
Add checks back to isEqual and simplify checks in baseIsEqual.
2015-05-16 18:53:33 -07:00
jdalton
b652fc7e1a
Reduce baseIsMatch and isMatch by adding getMatchData.
2015-05-16 15:24:59 -07:00
jdalton
c42fea0d3d
Remove isStrictComparable use from _.isEqual.
2015-05-16 13:29:41 -07:00
jdalton
48a56a848a
Add test for modularized flow and flowRight.
2015-05-16 11:30:57 -07:00
jdalton
d6937baa8e
Simplify getFuncName.
2015-05-16 11:30:43 -07:00
jdalton
3490f8acb5
Ensure LodashWrapper.prototype.thru exists before creating a wrapper in flow.
2015-05-16 07:01:15 -07:00
jdalton
46ace7e8e8
Simplify getNative.
2015-05-15 11:30:57 -07:00
jdalton
698956e130
Move parseFloat into isIndex. [ closes #1209 ]
2015-05-15 08:55:47 -07:00
jdalton
b25cd39953
Add isObject check to getNative.
2015-05-15 01:29:17 -07:00
jdalton
de4f5eb2ca
Allow for getNative to accept a nullish object value.
2015-05-15 00:30:20 -07:00
jdalton
ccc5fa3981
Add getNative helper.
2015-05-15 00:23:27 -07:00
jdalton
b899a19184
Change "it is" to "it's". [ci skip]
2015-05-15 00:22:14 -07:00
jdalton
6af7fac344
Minor style nit in _.isObject.
2015-05-14 21:27:11 -07:00
jdalton
49ef2b4d54
Clarify _.debounce and _.throttle docs. [ci skip]
2015-05-14 09:13:00 -07:00
jdalton
fcc09a7375
Use strict equality check since its type isn't guaranteed.
2015-05-13 23:39:06 -07:00
jdalton
8e9ad4df97
Avoid testing Backbone in IE6 in sauce.
2015-05-13 23:25:47 -07:00
jdalton
4dfcfd2542
Cleanup test/backbone.html and test/underscore.html.
2015-05-13 23:25:31 -07:00
jdalton
12081c9bd6
Bypass vm module use for ChakraNode.
2015-05-13 21:04:51 -07:00
jdalton
abee7fdfa2
Update vendors.
2015-05-13 21:03:09 -07:00
jdalton
ca0bc0632b
Reduce _.has.
2015-05-13 08:57:03 -07:00
jdalton
e465750cd2
Fix failing _.has tests in Rhino.
2015-05-13 00:51:58 -07:00
jdalton
934b08f720
Avoid mixing boolean and object types in variable assignments.
2015-05-12 23:41:14 -07:00
jdalton
78cc98840b
Remove fast path from _.isMatch.
2015-05-12 21:19:12 -07:00
jdalton
d4cd7a120f
Remove support.funcDecomp and support.nonEnumStrings.
2015-05-12 21:18:35 -07:00
jdalton
4b6c91bbf1
Remove support.nonEnumArgs.
2015-05-12 09:23:07 -07:00
jdalton
e3be2b4451
Ensure _.has treats sparse arrays as dense.
2015-05-12 08:58:37 -07:00
jdalton
c6ff845ecb
Ensure _.intersection works with a single array. [ closes #1199 ]
2015-05-11 23:52:56 -07:00
jdalton
846bde35ff
Use hasOwnProperty instead of objToString for the creation of reIsNative to avoid issues with core-js. [ closes #1197 ]
2015-05-11 10:31:38 -07:00
jdalton
69990ae226
Fix test error in Rhino with CommonJS support.
2015-05-10 23:13:18 -07:00
jdalton
415fc81577
Remove Narwhal reference from source.
2015-05-10 20:20:18 -07:00
jdalton
b675566e23
Cleanup bizarro values, vm values, iframe values, worker addition, & module additions.
2015-05-10 20:17:57 -07:00
jdalton
190da0dcd4
Capitalize comments in test/index.html. [ci skip]
2015-05-10 20:09:14 -07:00
jdalton
5c40f93ca3
Fix AMD tests in PhantomJS.
2015-05-10 17:05:46 -07:00
jdalton
879c1e4992
Increase test coverage.
2015-05-09 18:02:09 -07:00
jdalton
311334c9e1
Add doc examples to _.gt, _.gte, _.lt, & _.lte. [ci skip]
2015-05-09 15:25:32 -07:00
jdalton
dc5268b0c0
Add _.gt, _.gte, _.lt, _.lte, & _.eq unit tests.
2015-05-09 12:25:31 -07:00
jdalton
d77ace6dc3
Upate tested Chrome version in sauce.js.
2015-05-08 18:56:20 -07:00
jdalton
f0b3c1a9ab
Cleanup createFlow.
2015-05-08 18:55:57 -07:00
jdalton
9efb73f592
Remove nativeAssign and getOwnPropertySymbols use.
2015-05-08 11:36:44 -07:00
jdalton
569b4b29aa
Add case of 5 to createCtorWrapper to align with bindCallback.
2015-05-08 11:36:23 -07:00
jdalton
a61bde5b78
Ensure _.bind works with ES6 class constructors. [ closes #1193 ]
2015-05-08 09:49:54 -07:00
jdalton
542dd67892
Update param docs for createExtremum. [ci skip]
2015-05-08 00:17:48 -07:00
jdalton
172eca6081
Avoid using require in source because browserify does a quick regexp match for \brequire\b before deciding whether to build an AST to get require calls.
2015-05-07 23:59:51 -07:00
jdalton
004aaed783
Remove odd string support from createExtremum.
2015-05-07 23:53:50 -07:00
jdalton
a1b15df648
Update tested Rhino to 1.7.6.
2015-05-07 01:05:16 -07:00
jdalton
b5d5bef678
Avoid undefined length variable use in createExtremum.
2015-05-07 00:38:22 -07:00
Len Smith
421df0dff3
Make null sorted right behind undefined and NaN.
2015-05-07 00:34:12 -07:00
Armaan Ahluwalia
5b5e29cb7b
Fixed iteratees doc typos. [ci skip]
2015-05-06 14:58:03 -07:00
jdalton
db67ae12ec
Optimize _.max and _.min when invoked with iteratees and add _.gt, _.gte, _.lt, _.lte, & _.eq.
2015-05-06 08:56:50 -07:00
jdalton
7dfd7ad5b9
Minor adjustments to param docs for baseCompareAscending and matchesProperty. [ci skip]
2015-05-06 01:37:56 -07:00
jdalton
ca5fa9e84d
Add support for an immutable Map to _.memoize.Cache.
2015-05-05 23:13:00 -07:00
jdalton
1afcfa4406
Use precomputed values for MAX_ARRAY_LENGTH and MAX_SAFE_INTEGER.
2015-05-04 21:53:12 -07:00
jdalton
95b1455b62
Consistently use callback as the variable to store getCallback() results.
2015-05-04 09:06:06 -07:00
jdalton
d825937411
Ensure customizer results are respected by _.isEqual.
2015-05-03 22:57:45 -07:00
jdalton
ee182df533
Optimize object comparisons in _.isEqual.
2015-05-03 19:38:58 -07:00
jdalton
14651d8ea8
Remove customizer assignment from clone and cloneDeep.
2015-05-03 17:20:51 -07:00
jdalton
7e4ed7c1a9
Ensure baseCreate works in ExtendScript.
2015-05-03 13:47:40 -07:00
jdalton
13fe88c03f
Cleanup baseIsMatch and equalArrays.
2015-05-02 23:00:57 -07:00
jdalton
7b80a780c7
Remove old Opera from Sauce tests.
2015-05-01 22:16:59 -07:00
jdalton
2b465bdf82
Update QUnit dev dep.
2015-05-01 21:00:50 -07:00
jdalton
6d52119597
Bump to v3.8.0.
2015-05-01 00:45:06 -07:00
jdalton
b75041173c
Rebuild lodash and docs.
2015-05-01 00:45:06 -07:00
jdalton
23eba0a029
Avoid isArrayLike in createBaseEach to bail out early when nullish.
2015-05-01 00:45:06 -07:00
jdalton
566781cab2
Loosen -0 and 0 checks.
2015-05-01 00:44:55 -07:00
jdalton
0ea1fc5602
Avoid var name pad in composeArgsRight.
2015-04-30 09:09:47 -07:00
jdalton
2ce9e09e8b
Ensure _.padLeft and _.padRight handle empty strings correctly.
2015-04-30 09:09:46 -07:00
Tim D
6cab7ceb0f
Removing length assignment in baseFlatten for a perf win.
2015-04-29 19:57:39 -07:00
jdalton
8ae7d8aa07
Simplify SameValueZero doc notes. [ci skip]
2015-04-29 00:25:36 -07:00
jdalton
ce6ccef2d0
Ensure baseAt, basePullAt, and pullAt handle nullish values correctly.
2015-04-29 00:25:36 -07:00
jdalton
2c6d880542
Loosen restrictions of _.intersection and others to accept array-like objects and add isArrayLike helper. [ closes #1163 ]
2015-04-29 00:25:36 -07:00
jdalton
bf89287c56
Optimize lazy slice for start of 0 and an end value.
2015-04-29 00:25:36 -07:00
jdalton
df176dfe8a
Fix modularized npm build tests.
2015-04-26 14:22:46 -07:00
jdalton
141a32d388
Add _.callback test for augmenting source objects.
2015-04-26 10:59:29 -07:00
jdalton
37786b76ed
Minor whitespace nits. [ci skip]
2015-04-26 00:46:33 -07:00
jdalton
02b920f259
Add _.flow and _.flowRight tests for curried functions with placeholders.
2015-04-23 08:38:58 -07:00
jdalton
31e25f88a0
Narrow bitmask check in createFlow.
2015-04-23 08:06:51 -07:00
jdalton
231c8a468e
Replace "that" with "which" in pickByArray and pickByCallback docs. [ci skip]
2015-04-22 23:10:17 -07:00
jdalton
ae346f564f
Avoid lazy eval optimization in createFlow if metadata has placeholder arguments. [ closes #1160 ]
2015-04-22 20:44:56 -07:00
jdalton
fcc0608cf2
Only use built-in Object.assign when in strict mode.
2015-04-22 20:23:30 -07:00
jdalton
641cd63462
Fix old V8 JIT bug that has cropped up again.
2015-04-22 20:17:39 -07:00
jdalton
0b907a3efa
Make tests work in Phantom 2.
2015-04-22 20:16:43 -07:00
jdalton
ce180cf2bf
Excuse Underscore _.now test to avoid occasional false fail in sauce andrioid.
2015-04-22 07:18:14 -07:00
jdalton
d97276404c
Update excused Underscore tests.
2015-04-22 07:09:52 -07:00
Ray Hammond
d5a9b4344b
Removed unused variables identified by JSHint.
2015-04-21 16:58:10 -07:00
jdalton
e317fdfa3d
Cleanup deep path tests.
2015-04-21 08:07:49 -07:00
jdalton
150ea2639a
Add complex tests for unquoted bracketed property names.
2015-04-21 08:03:14 -07:00
jdalton
a551348b40
Fix preventExtensions definition typo. [ closes #1153 ]
2015-04-21 07:59:02 -07:00
jdalton
3429b5d661
Ensure empty brackets are ignored by _.get and _.set.
2015-04-21 00:02:28 -07:00
jdalton
c8314b215b
Doc and var name tweaks to _.unzip, _.unzipWith, and _.zipWith.
2015-04-20 08:59:53 -07:00
jdalton
5929f7d23b
Newline nit in _.assign doc. [ci skip]
2015-04-20 00:35:41 -07:00
jdalton
85a7df3d27
Add _.unzipWith.
2015-04-20 00:10:12 -07:00
jdalton
e6c5a0e848
Update iOS comment on getLength. [ci skip]
2015-04-19 20:04:13 -07:00
Ray Hammond
92dee72b10
Added two missing semicolons.
2015-04-19 17:51:14 -07:00
jdalton
4d6e57a5e6
Make _.zipWith act like _.zip when no iteratee is provided and make _.unzip ignore non array or arguments object values.
2015-04-19 10:32:27 -07:00
jdalton
936a1c2764
Add support for thisArg in zipWith.
2015-04-19 08:02:43 -07:00
jdalton
a08a3c6096
Cleanup tests.
2015-04-18 22:31:46 -07:00
thirdcreed
82be40eace
Add _.zipWith.
2015-04-18 11:13:03 -07:00
jdalton
20ba0bd1dc
Fix _.uniqueId test to properly compare values.
2015-04-18 11:10:55 -07:00
jdalton
75ce6b82e8
Add sum to guarded doc note in _.map. [ci skip]
2015-04-17 09:04:22 -07:00
jdalton
9749ac56ba
Remove extraneous docs for methods that reference others. [ci skip]
2015-04-17 08:37:55 -07:00
jdalton
746f9bb778
Add _.mapKeys. [ closes #169 ]
2015-04-17 08:36:37 -07:00
jdalton
f2dae588aa
Add test labels to help track down odd false fail.
2015-04-17 08:27:14 -07:00
jdalton
9f3f0a76aa
Ensure baseGet returns undefined and not null. [ closes #1136 ]
2015-04-16 20:07:48 -07:00
jdalton
30f28a51ca
Bump v3.7.0.
2015-04-15 20:08:34 -07:00
jdalton
3e22344782
Rebuild lodash and docs.
2015-04-15 19:32:58 -07:00
jdalton
0b20d89d62
Ensure _.times floors n float values.
2015-04-15 19:21:13 -07:00
jdalton
80d892c744
Update Firefox versions in saucelabs.js.
2015-04-15 09:04:28 -07:00
jdalton
53326bef33
Update vendors.
2015-04-15 08:44:18 -07:00
jdalton
f05a5a3abb
Fix failing strict mode _.set tests.
2015-04-15 00:00:40 -07:00
jdalton
8581be4977
Ensure baseGet and result work with strings on nested objects.
2015-04-14 22:34:46 -07:00
jdalton
0e8277ba9e
Cleanup path methods.
2015-04-14 21:19:31 -07:00
jdalton
3cc2f83912
Add more string character access tests and adjust array path tests.
2015-04-14 21:18:50 -07:00
jdalton
177034a498
Move _.filter benchmark and cleanup labels.
2015-04-14 21:15:18 -07:00
jdalton
f4d06e5183
Remove unneeded "use strict" directive.
2015-04-14 12:54:30 -07:00
jdalton
637a6b5f7e
Optimize _.invoke.
2015-04-14 12:29:41 -07:00
jdalton
75445b8b98
Update ecstatic travis dep.
2015-04-14 12:14:12 -07:00
jdalton
f96de55ac7
Optimize isKey.
2015-04-14 12:13:54 -07:00
jdalton
c4d4af3b5a
Make freeGlobal detect align with freeSelf and freeWindow checks.
2015-04-13 20:29:58 -07:00
jdalton
5dfee44340
Cleanup doc blocks. [ci skip]
2015-04-13 20:29:26 -07:00
jdalton
99f5857d84
Add stable sort tests for objects.
2015-04-13 20:28:25 -07:00
jdalton
520f7c6812
Ensure index in baseSortByOrder is an integer.
2015-04-13 09:30:01 -07:00
jdalton
63d493aa1f
Cleanup _.sortBy, _.sortByAll, _.sortByOrder, & baseSortByOrder.
2015-04-13 08:58:10 -07:00
jdalton
38ab42f855
Add Object.assign reference to _.assign docs. [ci skip]
2015-04-13 07:43:35 -07:00
Graeme Yeates
bc3771f3af
Support iteratee use cases for _.sortByAll and _.sortByOrder.
2015-04-12 18:29:26 -07:00
jdalton
9d90af409b
Add bizarro test for Object.getOwnPropertySymbols.
2015-04-12 18:28:50 -07:00
jdalton
20183bbd57
Have baseMap use getLength and isLength.
2015-04-12 10:33:34 -07:00
jdalton
1d8efe1cf8
Cleanup deep property tests.
2015-04-11 23:08:59 -07:00
jdalton
23354d413f
Add an _.invoke test for deep paths.
2015-04-11 23:08:11 -07:00
jdalton
715f03f5f1
Change call to invoke in _.debounce and _.throttle test.
2015-04-11 23:08:11 -07:00
jdalton
ff6bbaed19
Add more tests for _.sortByAll and _.sortByOrder used as iteratees of _.reduce.
2015-04-11 20:58:31 -07:00
Graeme Yeates
f82cbbab1c
Use _.restParam in _.sortByAll.
2015-04-11 20:18:29 -07:00
jdalton
5a1b526b6c
Add and adjust deep path examples to _.method, _.methodOf, _.property and _.propertyOf docs. [ci skip]
2015-04-11 18:40:05 -07:00
jdalton
1ef92c87fb
Use query instead of inspect in various docs. [ci skip]
2015-04-11 16:33:24 -07:00
jdalton
0aef515522
Rename baseMethod to invokePath and make use of it in _.invoke.
2015-04-11 16:32:27 -07:00
jdalton
9b5c97666a
Ensure symbols work for _.assign, _.defaults, & _.merge.
2015-04-11 11:42:36 -07:00
jdalton
a55d822f9a
Add more comments to nativeAssign definition. [ci skip]
2015-04-10 21:24:32 -07:00
jdalton
5b2bde6e0d
Simplify getSymbols.
2015-04-10 19:56:38 -07:00
jdalton
020c5b27dc
Add assert labels to _.tempalte test.
2015-04-10 15:42:03 -07:00
jdalton
65457208e5
Fix feature test for IE tech preview.
2015-04-10 15:41:48 -07:00
jdalton
6eb1b98975
Fix test fails in Node 0.12.
2015-04-10 15:40:26 -07:00
jdalton
a927bab6b3
Use built-in Object.assign if available.
2015-04-10 09:19:39 -07:00
jdalton
48e3e3e8cb
Add _.method and _.methodOf docs. [ci skip]
2015-04-09 09:29:23 -07:00
jdalton
b5d095401d
Make _.result and _.set docs more consistent with _.get. [ci skip]
2015-04-09 08:42:05 -07:00
jdalton
b3e58d4794
Cleanup createAssigner.
2015-04-09 07:35:32 -07:00
jdalton
79b064320e
Update _.assign benchmarks for newer Underscore versions.
2015-04-09 07:30:17 -07:00
Sankar Gorthi
335b8326ee
Fix broken link in _.bindKey docs. [ci skip]
2015-04-08 15:22:06 -07:00
jdalton
e777020e44
Update propertyIsEnumerable mock for support.nonEnumArgs feature test changes.
2015-04-08 13:42:48 -07:00
jdalton
745d97ebe1
Replace typeof checks for undefined with === checks.
2015-04-08 09:37:35 -07:00
jdalton
bb06d98a43
Add _.has doc examples of deep paths. [ci skip]
2015-04-08 09:27:37 -07:00
jdalton
3500b0016c
Store last(path) in a var.
2015-04-08 08:41:57 -07:00
jdalton
7ec916b777
Add additional backtick reference to _.escape docs. [ci skip]
2015-04-08 08:24:44 -07:00
jdalton
3c71f79929
Fix string indexes with _.has in older enviros.
2015-04-08 00:39:39 -07:00
jdalton
a83e70104c
Ensure complex paths work with _.get, _.result, & _.set.
2015-04-07 19:47:31 -07:00
jdalton
85af554bac
Replace work with expected value in test labels of _.get, _.isMatch, _.matches, _.matchesProperty, _.method, _.property, _.propertyOf, & _.result.
2015-04-07 18:45:39 -07:00
jdalton
885722afde
Add _.has and _.methodOf tests.
2015-04-07 18:41:51 -07:00
jdalton
b2f094da01
Add another path test to a deep property test of _.result.
2015-04-07 09:29:44 -07:00
jdalton
1e85ec6758
Add more _.method tests.
2015-04-07 09:29:09 -07:00
jdalton
c8974aac3e
Ensure nullish values aren't treated as empty objects in _.get, _.has, _.matchesProperty, _.property, _.propertyOf, & _.result.
2015-04-07 08:33:19 -07:00
jdalton
ad318c04e5
Use nullish more in test labels.
2015-04-07 08:19:24 -07:00
jdalton
db73e48206
Add mutation notes to docs of _.assign and _.defaults. [ci skip]
2015-04-07 08:07:00 -07:00
jdalton
d13972e0b8
Fix string test fails for _.matchesProperty, _.property, & _.result in IE 6 & 7.
2015-04-07 07:28:58 -07:00
Graeme Yeates
df74b2bfcb
Remove _.noop from chainable list. [ci skip]
2015-04-07 00:31:38 -07:00
jdalton
b94b75726d
Cleanup _.property and _.propertyOf tests.
2015-04-07 00:24:50 -07:00
jdalton
9a2d38acff
Cleanup _.method tests.
2015-04-07 00:24:22 -07:00
jdalton
537f8f401e
Cleanup _.matchesProperty tests.
2015-04-07 00:24:01 -07:00
jdalton
04f1a799dc
Cleanup _.matches tests.
2015-04-07 00:23:16 -07:00
jdalton
74adb2f540
Consolidate _.get and _.result tests.
2015-04-07 00:22:11 -07:00
jdalton
a129a2509f
Ensure _.method aligns with _.invoke.
2015-04-07 00:20:35 -07:00
jdalton
cc0b8e9d10
Ensure methods like _.get, _.has, _.matchesProperty, _.property, & _.propertyOf can get characters of string indexes.
2015-04-07 00:16:33 -07:00
jdalton
af8fcf234f
Add _.set test for non-deep paths.
2015-04-06 13:01:27 -06:00
jdalton
e0dc2daf54
Simplify _.set for plain keys.
2015-04-06 12:59:39 -06:00
jdalton
c066e655dc
Add empty path and array path coercing _.set test.
2015-04-06 12:04:07 -05:00
jdalton
2698e6f0ea
Add more array path tests to _.get.
2015-04-06 11:54:09 -05:00
jdalton
63902bde9c
Add array path tests to _.set.
2015-04-06 11:34:33 -05:00
jdalton
c876004fb2
Ensure _.set passes strict mode tests.
2015-04-06 09:57:26 -05:00
jdalton
633f37bfb6
Add array path tests to _.get.
2015-04-06 09:29:36 -05:00
jdalton
d70bc74dc8
Adjust baseGet and isKey to reduce code in other methods.
2015-04-05 21:41:10 -05:00
Justin Ridgewell
d7a4524e70
Add _.method and _.methodOf.
2015-04-05 13:53:54 -05:00
jdalton
fe1e27fd40
Add tests for _.add coercing params to numbers.
2015-04-05 13:45:56 -05:00
jdalton
8a7a099073
Use x even more in support definition.
2015-04-05 13:25:45 -05:00
jdalton
1b53b5f9eb
Cleanup doc block for _.support.nonEnumArgs. [ci skip]
2015-04-05 13:25:29 -05:00
James
8b758ee25a
Make _.add coerce augend and addend params to numbers.
2015-04-05 11:59:56 -05:00
jdalton
81c24a8478
Add _.get test for empty paths.
2015-04-05 08:38:51 -05:00
jdalton
a6f3e0b6af
Remove "correctly" from test labels.
2015-04-05 08:38:14 -05:00
jdalton
6e9e8127b6
Rename variable sum in doc examples to total. [ci skip]
2015-04-05 08:15:36 -05:00
jdalton
63d43275d3
Remove unnecessary parseFloat from baseAt.
2015-04-05 08:13:32 -05:00
jdalton
cb2bf7f8fa
Add tests for missing path parts for _.matchesProperty.
2015-04-05 01:39:51 -05:00
jdalton
1fae760ccd
Use perl instead of sed in travis.yml.
2015-04-05 01:39:16 -05:00
jdalton
4195c4c4bf
Add tests for missing path parts for _.property and _.propertyOf.
2015-04-04 14:35:50 -05:00
jdalton
13e7a1ed93
Add _.isMatch and _.matchesProperty tests for nullish object params.
2015-04-04 00:29:04 -05:00
jdalton
ea4357ca98
Add _.callback tests for deep paths.
2015-04-03 17:44:59 -05:00
jdalton
5e8255d24d
Tweak path related test labels.
2015-04-03 17:08:59 -05:00
jdalton
003d6ec43f
Add _.has tests for deep paths.
2015-04-03 17:08:30 -05:00
jdalton
9749ff7c67
Add a non-deep property test for _.get.
2015-04-03 12:56:12 -05:00
jdalton
c88589e0e5
Add _.result tests for deep paths.
2015-04-03 12:55:42 -05:00
jdalton
32ef1bb7a5
Add deep props to key tests to make it more interesting.
2015-04-03 12:47:26 -05:00
jdalton
206c65904f
Add _.matchesProperty test for deep props.
2015-04-03 12:47:08 -05:00
jdalton
219d4688e4
Ensure path a property name is teated as a key before a path in _.get and _.set.
2015-04-03 12:36:31 -05:00
jdalton
adc687f0a0
Add _.property and _.propertyOf tests for deep paths.
2015-04-03 12:22:38 -05:00
jdalton
88e59c9a5a
Cleanup tests.
2015-04-03 11:46:55 -05:00
jdalton
71a89a575f
Add _.get and _.set tests.
2015-04-03 11:46:37 -05:00
jdalton
e3dc8dfcf4
Remove rogue newline in initCloneByTag doc block. [ci skip]
2015-04-03 02:12:14 -05:00
jdalton
2dd77d5bc7
Change "method" to "function". [ci skip]
2015-04-03 02:11:42 -05:00
jdalton
0192226bb3
Use "length" when referring to a property name. [ci skip]
2015-04-03 02:11:16 -05:00
jdalton
faf2658da2
Move getLength closer to like functions and give it a proper jsdoc block.
2015-04-03 02:10:21 -05:00
jdalton
9a1c00d2dc
Use x a bit more in support definition to prevent aggressive minifier modifications.
2015-04-01 21:42:57 -07:00
jdalton
4a8695caff
Use getLength to avoid an iOS JIT bug.
2015-04-01 21:39:37 -07:00
jdalton
b28016bfeb
Simplify isLength check in _.keys.
2015-04-01 12:07:12 -07:00
jdalton
4758a9e66d
Ensure _.inRange swaps start with end when start is greater than end. [ closes #1099 ]
2015-04-01 08:43:42 -07:00
Trevor Adams
97bd1ef4ec
Minor change to _.once to avoid an extra var swap.
2015-04-01 08:38:02 -07:00
jdalton
2adac8bdae
Use _.restParam in createAssigner.
2015-04-01 01:57:19 -07:00
jdalton
3c56914822
Simplify isLoose check in baseIsEqualDeep.
2015-04-01 00:08:31 -07:00
jdalton
c5cc907838
Ensure _.match and _.matchesProperty compares functions by reference. [ closes #1101 ]
2015-03-31 23:41:15 -07:00
jdalton
0907aabacd
Avoid bug in older browsers where an unmatched capture group returns an empty string.
2015-03-31 09:09:17 -07:00
jdalton
f4290bda7f
Update test deps.
2015-03-31 01:06:09 -07:00
jdalton
4bdb82a7a2
Ensure toPath works with a nullish value.
2015-03-31 00:50:47 -07:00
jdalton
6a696dde3a
Add _.set tests.
2015-03-31 00:15:46 -07:00
jdalton
8481684a82
Fix start and end typo mix up in _.range docs. [ closes #1095 ] [ci skip]
2015-03-30 21:05:48 -07:00
Benjamin Tan
03aa8b3356
Minor documentation and test name nits. [ci skip]
2015-03-30 20:58:20 -07:00
jdalton
64bfed2640
Clarify _.uniq docs. [ci skip]
2015-03-30 00:55:30 -07:00
jdalton
2edcc89303
Add _.get and _.set.
2015-03-29 20:59:48 -07:00
jdalton
18313f2e90
Minor word nit for mapSet doc. [ci skip]
2015-03-29 20:57:19 -07:00
jdalton
0ff96418bd
Simplify reIsDeepProp and rePropName.
2015-03-29 20:32:25 -07:00
Justin Ridgewell
1480abf0e8
Fix Worker tests in Chrome. See https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers#Browser_notes .
2015-03-29 18:34:48 -07:00
jdalton
e7ba75d533
Make toPath more robust and add support for deep properties to _.has and _.matchesProperty.
2015-03-29 15:43:53 -07:00
jdalton
044291d940
Add deep property support to _.has.
2015-03-29 08:59:42 -07:00
jdalton
ad62efcb9e
Make reComboMarks singular for naming consistency.
2015-03-29 08:08:46 -07:00
jdalton
0dc59d9481
Add support for brackets to toPath.
2015-03-29 08:08:23 -07:00
Justin Ridgewell
11ab3034b1
Ensure _.result calls deep function with correct context.
2015-03-29 08:07:36 -07:00
Justin Ridgewell
c594bda77f
Simplify getProperty and friends.
2015-03-29 00:07:13 -07:00
jdalton
8218b74fb3
Remove propertyDeep, propertyDeepOf, and resultDeep in favor of deep property path support in existing methods.
2015-03-28 13:16:16 -07:00
Joshua Piccari
3d0beb1a2e
Add _.propertyDeep and _.propertyDeepOf.
2015-03-28 09:54:40 -07:00
Joshua Piccari
515cfd48d8
Add _.resultDeep.
2015-03-28 09:48:55 -07:00
jdalton
1448bab5b3
Clear func in function created by _.before without requiring an additional call. [ closes #1088 ]
2015-03-28 00:39:04 -07:00
jdalton
2884f8acb8
Ensure _.intersection of a single array returns an empty array. [ closes #1085 ]
2015-03-26 13:17:41 -07:00
jdalton
075cae4efb
Use basePullAt in _.remove.
2015-03-26 09:03:29 -07:00
Justin Ridgewell
d2b98323dd
Don't mutate array during #remove. [ closes #1079 ]
2015-03-26 09:02:55 -07:00
jdalton
b1a81a85b1
Add a test for _.remove and index params.
2015-03-26 07:29:36 -07:00
jdalton
668384649a
Change "Iterator" typo to "Iteratee" in docs. [ci skip]
2015-03-26 07:29:36 -07:00
jdalton
a7252b1a7f
Bump to v3.6.0.
2015-03-24 22:41:59 -07:00
jdalton
a4e58e4d55
Rebuild lodash and docs.
2015-03-24 22:41:53 -07:00
jdalton
4241e01364
Cleanup comment links. [ci skip]
2015-03-24 22:34:57 -07:00
jdalton
d7d7952138
Increase test coverage by modifying the source to hit the branch of getFuncName used for minified builds.
2015-03-24 20:15:33 -07:00
jdalton
9cc2253339
Add npm i step to contributing.md. [ci skip]
2015-03-24 08:15:32 -07:00
jdalton
6831802590
Rename predicate to iteratee in _.uniq, _.countBy, _.groupBy, _.indexBy, & _.map docs. [ closes #1071 ] [ci skip]
2015-03-23 23:34:33 -07:00
jdalton
9d79cc7e87
Make _.deburr handle combining diacritical marks. [ closes #1070 ]
2015-03-23 20:50:04 -07:00
jdalton
763b003a11
Add note about _.runInContext to _.mixin docs. [ci skip]
2015-03-23 20:04:13 -07:00
jdalton
d560e2a558
Remove unused bar reFuncName.
2015-03-23 19:58:25 -07:00
jdalton
f914f080b1
Simplify ctor check flag in equalObjects.
2015-03-23 09:24:55 -07:00
jdalton
600a4e86e1
Ensure _.matches and _.matchesProperty work with function value params.
2015-03-23 09:24:05 -07:00
jdalton
e7b4ada65f
Add _.restParam test for functions with more than 3 params.
2015-03-23 09:06:45 -07:00
jdalton
95f31be096
Add doc blocks for getFuncName and isLaziable. [ci skip]
2015-03-23 09:01:19 -07:00
jdalton
ad6db7eaae
Adjust object checks in baseIsMatch, baseMatches, baseMatchesProperty, & isMatch.
2015-03-22 23:44:11 -07:00
jdalton
d7a99c6618
Add _.matches and _.matchesProperty tests for inherited properties.
2015-03-22 00:45:36 -07:00
jdalton
f20d8f5cc0
Loosen _.matches to match objects with inherited properties. [ closes #1067 ]
2015-03-21 23:33:19 -07:00
jdalton
8930e6b393
Add baseWhile and createBaseEach.
2015-03-21 22:07:19 -07:00
jdalton
f26886acb0
Add createSortedIndex.
2015-03-21 18:08:35 -07:00
jdalton
820ab8d486
Add test for _.escapeRegExp with eval and Function.
2015-03-21 11:43:18 -07:00
jdalton
8e425fb358
Tweak _.at and _.matchesProperty doc examples. [ci skip]
2015-03-21 10:01:46 -07:00
jdalton
6006f499ac
Fix doc bugs in _.runInContext, _.thru, _.forEachRight, & _.escapeRegExp. [ closes #1065 ] [ci skip]
2015-03-21 10:01:17 -07:00
Christopher Venning
3caa740fc4
Fixed errors in documentation examples for _.trim, _.matchesProperty, & _.property. [ci skip]
2015-03-21 08:53:49 -07:00
jdalton
007ea9ea20
Add length check test to _.flow & _.flowRight.
2015-03-20 23:49:31 -07:00
jdalton
5d248d261d
Expand part of shortcut fusion test.
2015-03-20 23:22:36 -07:00
jdalton
26908cba64
Don't assume a lodash method will exist.
2015-03-20 15:15:06 -07:00
jdalton
18d118746e
Add _.fill doc example. [ci skip]
2015-03-20 12:37:49 -07:00
jdalton
9a633f5f2e
Update root detection in WeakMap and Set shims.
2015-03-20 12:01:37 -07:00
jdalton
5aa44e98d5
Fix rhino and other old environment test fail.
2015-03-20 12:00:29 -07:00
jdalton
33916fa975
No need to redeclare funcName in createFlow.
2015-03-20 11:49:18 -07:00
jdalton
eab18df403
Cleanup isLaziable and getFuncNames.
2015-03-20 09:24:56 -07:00
jdalton
002caceb05
Cleanup isXyz methods.
2015-03-20 09:24:13 -07:00
jdalton
c250aa804a
Ensure _.merge correctly coerces objects to arrays. [ closes #1061 ]
2015-03-19 08:58:56 -07:00
jdalton
94ca50883f
Drop funcDecomp optimization in baseCallback and ensure shortcut fusion for _.flow and _.flowRight works in minified builds.
2015-03-19 08:40:45 -07:00
jdalton
462c482873
Add support for shortcut fusion to _.flow and _.flowRight.
2015-03-18 10:27:45 -07:00
jdalton
e28e04a990
Add freeSelf as a fallback for when freeWindow is unavailable.
2015-03-17 20:13:10 -07:00
Rocco Nicosia
6438385d64
Fix _.zipObject docs to more clearly demonstrate it as _.pairs inverse. [ci skip]
2015-03-17 16:50:00 -07:00
jdalton
bfb08ce003
Use opposite instead of inverse to describe _.propertyOf. [ci skip]
2015-03-17 16:49:30 -07:00
jdalton
3590a06f40
Update _.zipObject docs to tie into _.pairs. [ci skip]
2015-03-17 16:45:01 -07:00
jdalton
23ca6c5e10
Rename createPad to createPadding and cleanup docs of pad methods.
2015-03-17 15:57:12 -07:00
jdalton
1aea5bcd50
Finish adding comment blocks to creator function. [ci skip]
2015-03-17 13:54:33 -07:00
jdalton
82c5d8ed28
Rename createComposer to createFlow.
2015-03-17 10:27:52 -07:00
jdalton
5dcd58a75f
Tweak _.findIndex docs and correct _.findKey docs. [ci skip]
2015-03-17 10:23:59 -07:00
jdalton
dc605a4ee1
More more docs for creator functions. [ci skip]
2015-03-17 10:23:26 -07:00
Justin Ridgewell
fec940ab8b
Allocate proper size in in _.restParam.
...
Since we're putting `rest` at `start` index, `array.length; // => {start + 1}`
2015-03-17 08:50:41 -07:00
jdalton
05fd7cecf4
Add docs for baseSum and arraySum. [ci skip]
2015-03-17 08:48:21 -07:00
jdalton
2f52730b48
Use and consistently. [ci skip]
2015-03-17 08:44:51 -07:00
jdalton
4c1819c7dd
Ensure _.sum provides the correct arguments when iterating an object.
2015-03-15 19:49:14 -07:00
jdalton
c58c0df30e
Cleanup creator functions.
2015-03-15 17:12:33 -07:00
jdalton
c5902b3144
Cleanup _.sum.
2015-03-15 17:01:40 -07:00
qsona
519eb424e7
Documentation nits. [ci skip]
2015-03-15 14:57:53 -07:00
qsona
03478afea4
Add support for _.sum to take iteratee.
2015-03-15 14:57:13 -07:00
jdalton
306ef8addf
Add creator functions.
2015-03-15 14:48:32 -07:00
jdalton
d4659b261d
Add baseFindIndex.
2015-03-15 11:22:25 -07:00
jdalton
69ce41807a
Add _.restParam.
2015-03-15 10:57:21 -07:00
jdalton
cc81da5aa4
Update Chrome version in saucelabs.js.
2015-03-14 00:14:21 -07:00
jdalton
eee714f52b
Add iteratee guard to _.includes.
2015-03-13 13:39:14 -07:00
jdalton
c976b637d8
Adjust test descriptions to be more generic.
2015-03-13 12:33:19 -07:00
jdalton
ea93515d53
Add well-known symbols test for _.uniq.
2015-03-13 09:03:09 -07:00
jdalton
652499bdcf
Cleanup sortedIndex test.
2015-03-13 08:51:56 -07:00
Benjamin Tan
819862199a
Documentation: Rename predicate to iteratee.
...
Closes #1049 .
[ci skip]
2015-03-13 08:43:05 -07:00
jdalton
6c1bc1d7bb
Semicolons out colons in. [ci skip]
2015-03-13 08:43:00 -07:00
octref
36ebe76e0a
Fix _.reduce doc
2015-03-13 08:39:10 -07:00
Benjamin Tan
8f8d35dec7
Simplify test/saucelabs.js.
...
Remove repeated assignment operations.
2015-03-13 19:29:39 +08:00
jdalton
ac1e436339
Simplify isCommon and isCombo checks in mergeData.
2015-03-13 00:12:51 -07:00
jdalton
78d4812b0e
Whitespace nits. [ci skip]
2015-03-12 23:02:23 -07:00
jdalton
6a1b7626e3
Add NaN tests for _.indexOf and _.lastIndexOf with a fromIndex.
2015-03-12 22:42:02 -07:00
bryce-gibson
b6ccb4c96f
Add example of alternative _.zipObject syntax. [ci skip]
2015-03-12 07:41:15 -07:00
jdalton
9712ac550c
Set metadata for curried lazy lodash methods.
2015-03-11 23:41:41 -07:00
jdalton
5b173766c6
Add symbol tests for _.isObject and _.uniq.
2015-03-11 20:52:34 -07:00
jdalton
b535c4f321
Optimize _.reduce and _.reduceRight.
2015-03-11 11:40:51 -07:00
jdalton
56c5ebcb71
Ensure the result of _.difference is based on the values of the first param only. [ #1038 ]
2015-03-10 21:31:46 -07:00
jdalton
028234ba86
Update guard info in _.reduce docs. [ci skip]
2015-03-10 09:21:38 -07:00
jdalton
f063b4d231
Add isIterateeCall guards to _.every and _.some. [ closes #1035 ]
2015-03-10 09:21:01 -07:00
Teoman Soygul
508f27cc32
Fix _.property documentation typo. [ci skip]
2015-03-10 08:44:54 -07:00
jdalton
d4783170e5
Minor cleanup of setting __actions__ in _.mixin.
2015-03-09 08:33:19 -07:00
jdalton
51e459b386
Bump to v3.5.0.
2015-03-08 17:57:42 -07:00
jdalton
1253d254af
Rebuild lodash and docs.
2015-03-08 17:57:22 -07:00
jdalton
5e70574396
Add parentheses and cleanup more complex code snippets.
2015-03-08 17:45:53 -07:00
jdalton
b5dce2f74b
Optimize createBindWrapper, createPartialWrapper, and createHybridWrapper.
2015-03-08 01:00:04 -08:00
jdalton
6113da3e68
Remove unneeded tests.
2015-03-07 23:27:21 -08:00
jdalton
faf6406289
Ensure lazy drop when applied after filter works correctly. [ closes #1026 ]
2015-03-07 23:20:26 -08:00
jdalton
7c443431d9
Add private guard param doc to _.sortByOrder. [ci skip]
2015-03-07 11:11:24 -08:00
jdalton
0f201e3fd8
Add more chaining tests join, replace, & split.
2015-03-07 00:30:42 -08:00
jdalton
bf96c30187
Cleanup string methods added to LodashWrapper.
2015-03-07 00:23:17 -08:00
octref
eb1b7b914a
Add split and replace to LodashWrapper. [ closes #1016 ]
2015-03-06 23:11:52 -08:00
octref
135bc2de52
Adjust _.sortByOrder doc example to better show effect. [ci skip]
2015-03-06 12:02:30 -08:00
jdalton
ab2269717d
Bump to v3.4.0.
2015-03-06 00:55:11 -08:00
jdalton
b5a42cfa75
Rebuild lodash and docs.
2015-03-05 23:01:16 -08:00
jdalton
6693416d0a
Tweak _.isEmpty and _.size docs. [ci skip]
2015-03-05 22:59:18 -08:00
jdalton
9cdf013933
Ensure length hit of for lazy eval is checked on initial lazy call. [ closes #997 ]
2015-03-05 22:50:16 -08:00
jdalton
1dfaa30520
Add inRange and sortByOrder to lodash doc notes. [ci skip]
2015-03-05 08:27:51 -08:00
jdalton
d898fcee75
Simplify the root assignment.
2015-03-05 07:41:22 -08:00
jdalton
1e647a2058
Rename test module for consistency.
2015-03-04 08:43:37 -08:00
jdalton
10e379d862
Add _.sortByOrder tests.
2015-03-04 08:43:37 -08:00
jdalton
ee456493c4
Remove argument unrolling in LazyWrapper assignments.
2015-03-04 08:43:37 -08:00
jdalton
69e9c7d0be
Expand _.defaults test for working with _.reduce.
2015-03-04 08:43:37 -08:00
jdalton
adce718d63
Another cleanup pass on createAssigner.
2015-03-04 08:43:37 -08:00
jdalton
3a94a65f12
Tweak root assignment to work with webpack in a web worker. [closes ##313]
2015-03-04 08:43:37 -08:00
jdalton
bbe30db1b7
Avoid test fails for npm builds.
2015-03-03 12:13:48 -08:00
jdalton
68f3c43805
Add createComposer to reduce the definition of _.flow and _.flowRight.
2015-03-03 11:40:24 -08:00
jdalton
3c99ecda60
Move more code out of the try-block in _.attempt.
2015-03-03 11:40:24 -08:00
jdalton
b1366696c4
Simplify guard check in _.sortByAll.
2015-03-03 11:40:24 -08:00
jdalton
534aeb4065
Use args alias of arguments in _.difference, _.pull, & _.memoize.
2015-03-03 11:40:24 -08:00
jdalton
cc77a36dd9
Cleanup createAssigner.
2015-03-03 11:40:17 -08:00
jdalton
5991068fdf
Add more lazy chaining tests.
2015-03-03 09:22:59 -08:00
octref
913778d5ab
Let createAssigner get correct customizer
...
When `_.defaults` is invoked using `_.reduce` / `_.reduceRight`
`createAssigner` discards the customizer, so the effect is
`_.assign` but not `_.defaults`
```
_.reduce([{ 'user': 'barney' }, { 'user': 'fred' }], _.defaults)
// -> {user: "fred"}
_.reduceRight([{ 'user': 'barney' }, { 'user': 'fred' }], _.defaults)
// -> {user: "barney"}
// Fixed
_.reduce([{ 'user': 'barney' }, { 'user': 'fred' }], _.defaults)
// -> {user: "barney"}
_.reduceRight([{ 'user': 'barney' }, { 'user': 'fred' }], _.defaults)
// -> {user: "fred"}
```
2015-03-02 21:19:11 -08:00
h7lin
9a8345d4f9
Fix doc example in _.partition. [ci skip]
2015-03-02 20:25:29 -08:00
jdalton
ba9bd3bc76
Better match words with one character. [ closes #1012 ]
2015-03-02 20:23:14 -08:00
jdalton
aad0070b77
Narrow new LodashWrapper to dropWhile.
2015-03-02 20:23:14 -08:00
jdalton
d192e69811
Break lazy chains before or . [ closes #1011 ]
2015-03-02 09:19:05 -08:00
jdalton
ec8d919b93
Cleanup .
2015-03-02 09:17:16 -08:00
octref
4ce4f1d758
Add _.sortByOrder.
2015-03-01 14:04:00 -08:00
jdalton
3aa40d4df6
Simplify baseFlatten and always provide a fromIndex.
2015-03-01 01:22:38 -08:00
jdalton
ec1be41b62
Correct _.flatten benchmark.
2015-03-01 01:22:38 -08:00
jdalton
c15d81545a
Update chalk in travis.
2015-03-01 01:22:38 -08:00
jdalton
1af8b9d16a
Cleanup docs of _.flow, _.flowRight, _.defaults, _.range, _.inRange, & _.sum. [ci skip]
2015-02-28 21:12:10 -08:00
jdalton
d860cf834d
Avoid testing the minified build on PRs in travis.
2015-02-28 19:18:38 -08:00
jdalton
63d5a3acbc
Optimize baseIndexOf more consistently.
2015-02-28 12:42:14 -08:00
jdalton
132aacee89
Optimize lazy evaluation for 1 param.
2015-02-28 10:11:26 -08:00
jdalton
973038da6a
Optimize baseIndexOf, indexOfNaN, and baseFlatten.
2015-02-27 21:43:30 -08:00
h7lin
584da3c39b
Fix doc example in _.findLastIndex. [ci skip]
2015-02-27 19:56:12 -08:00
Mohsen Azimi
73c4829255
Escape the backtick in _.escape docs. [ci skip]
2015-02-27 19:56:06 -08:00
jdalton
68942f7ec4
Move _.max & _.min to Math category & make _.sum work on collections.
2015-02-27 09:20:57 -08:00
jdalton
e914b83a1b
Add gitter badge to readme. [ci skip] [ closes #983 ]
2015-02-27 08:26:09 -08:00
jdalton
2268376360
Update tested Firefox in saucelabs.js.
2015-02-26 19:41:22 -08:00
jdalton
6bb3b9a684
Disable lazy optimizations if the iteratee has more than one param. [ closes #997 ]
2015-02-26 19:40:15 -08:00
jdalton
9f213c119c
Add more chaining tests.
2015-02-25 23:35:16 -08:00
jdalton
f081e2b799
Cleanup _.sum tests.
2015-02-25 23:03:01 -08:00
jdalton
a024152c12
Add add and sum to lodash doc notes. [ci skip]
2015-02-25 23:01:50 -08:00
jdalton
42d23dbc70
Simplify _.sum.
2015-02-25 23:01:32 -08:00
John-David Dalton
74786e8a25
Merge pull request #987 from thejameskyle/math
...
Add math methods.
2015-02-25 19:00:06 -08:00
James Kyle
eeb4ede60d
Add _.add/_.sum methods
2015-02-25 10:37:42 -08:00
Juliano Castilho
f2eee8896c
Fix code example typo in _.dropRightWhile. [ci skip]
2015-02-25 00:19:53 -08:00
jdalton
bf4a70d91c
Bump to v3.3.1.
2015-02-23 23:49:50 -08:00
jdalton
a35ab3937a
Rebuild lodash and docs.
2015-02-23 23:49:40 -08:00
jdalton
5ef9a4be8a
Ensure isIterateeCall doesn't error if index is an object without a toString method. [ closes #994 ]
2015-02-23 23:48:49 -08:00
jdalton
d76d7582fe
Simplify lazy filter, map, & takeWhile assignment.
2015-02-23 21:25:24 -08:00
jdalton
44006142c7
Ensure wait of _.debounce and _.throttle defaults to 0. [ closes #991 ]
2015-02-23 08:28:20 -08:00
jdalton
6840b2cfe5
Consistent use of callCount variable.
2015-02-23 08:28:20 -08:00
jdalton
5613f60403
Ensure lazy takeWhile works with reverse and last`. [ closes #990 ]
2015-02-23 02:05:09 -08:00
jdalton
76d3959f1a
Use square in more places.
2015-02-23 01:26:07 -08:00
jdalton
b681759000
Remove unnecessary excused tests.
2015-02-23 00:35:24 -08:00
jdalton
d6336c4302
Fix code styling in _.template doc example. [ci skip]
2015-02-23 00:35:24 -08:00
jdalton
35b161450a
Update benchmark and underscore vendor files.
2015-02-23 00:35:24 -08:00
jdalton
861aaf06c6
Optimize _.uniq and others in Firefox.
2015-02-23 00:35:23 -08:00
jdalton
a910884e7d
Fix _.indexOf doc example typo. [ closes #986 ] [ci skip]
2015-02-23 00:35:23 -08:00
Jarrett Meyer
0e7bef9014
Fixes missing single quotes in docs. [ci skip]
2015-02-23 00:35:23 -08:00
jdalton
d942189bc6
Bump to v3.3.0.
2015-02-23 00:35:23 -08:00
jdalton
eb16051b1e
Rebuild lodash and docs.
2015-02-23 00:35:11 -08:00
jdalton
7749a7e41d
Add gitter webhook to travis.yml.
2015-02-20 22:35:41 -08:00
jdalton
dc4cef17d4
Update ecstatic, istanbul, & sauce-tunnel in travis.yml.
2015-02-19 09:11:48 -08:00
jdalton
89ed40e4a4
Add _.merge. tests.
2015-02-19 00:14:59 -08:00
jdalton
10ee74d872
Cleanup clone tests.
2015-02-18 23:48:32 -08:00
jdalton
474ae1e91c
Allow isDeep of _.clone to work with more truthy values.
2015-02-18 23:35:43 -08:00
jdalton
0dc70ca5f3
Semicolon nits.
2015-02-18 23:35:09 -08:00
jdalton
633b1663ca
Tweak iteration methods test.
2015-02-18 23:22:03 -08:00
jdalton
153fe61b4b
Avoid iterating strings in _.merge. [ closes #978 ]
2015-02-18 21:05:39 -08:00
jdalton
9734fd0353
Increase _.merge test coverage.
2015-02-18 01:05:39 -08:00
jdalton
6209c120c0
Non-nits.
2015-02-18 01:03:53 -08:00
jdalton
3516881e7a
Update tested Chrome in saucelabs.js.
2015-02-18 00:46:02 -08:00
jdalton
15398555b3
Ensure isIterateeCall works with NaN values.
2015-02-18 00:33:51 -08:00
jdalton
cb132fcbf4
Add more iteration method tests.
2015-02-18 00:03:50 -08:00
jdalton
f42f46c7d6
Adjust doc examples for smaller screens. [ci skip]
2015-02-17 10:08:38 -08:00
jdalton
f1046f1cf1
Consistent use of lodash when referencing a lodash wrapper. [ci skip]
2015-02-15 23:05:30 -08:00
jdalton
4a62287139
Cleanup baseLodash description. [ci skip]
2015-02-15 23:04:50 -08:00
jdalton
69cd56357f
Tweak _.propertyOf usage example. [ci skip]
2015-02-15 22:42:16 -08:00
jdalton
b66a886682
Clarify _.noop docs. [ci skip]
2015-02-15 22:41:37 -08:00
jdalton
249504b7d6
Whitespace nits in docs. [ci skip]
2015-02-15 22:40:42 -08:00
jdalton
fa0086404d
Add baseLodash.
2015-02-15 21:54:12 -08:00
Milos Zivadinovic
f243ebba91
Add _.inRange.
2015-02-15 18:01:05 -08:00
Austin Pray
540afb193b
Fix type in _.some doc example. [ closes #969 ] [ci skip]
2015-02-15 15:46:43 -08:00
jdalton
8294acdf1c
Tweak null check tests of _.difference, _.intersection, _.union, & _.xor.
2015-02-15 00:37:18 -08:00
jdalton
7733d02938
Remove baseSlice from _.attempt.
2015-02-15 00:22:55 -08:00
jdalton
9b6342e7fa
Add baseIsFunction.
2015-02-12 23:09:49 -08:00
jdalton
22c09cb31b
Bump to v3.2.0.
2015-02-12 21:24:55 -08:00
jdalton
21e79cb54a
Rebuild lodash and docs.
2015-02-12 21:24:48 -08:00
jdalton
b8cc829f4a
Cleanup docs. [ci skip]
2015-02-12 21:13:45 -08:00
jdalton
ace0dacf15
Make baseMatches style consistent with baseMatchesProperty.
2015-02-12 20:18:26 -08:00
Graeme
5ca13098e3
Use predicate instead of iteratee.
2015-02-12 20:18:25 -08:00
jdalton
07b13eedec
Cleanup _#plant and _.spread doc examples. [ci skip]
2015-02-12 12:47:54 -08:00
jdalton
d9168ed9ec
Add proper jsdoc tags to _.fill. [ci skip]
2015-02-12 12:47:54 -08:00
jdalton
fb4e2c167c
Add matchesProperty to lodash doc note. [ci skip]
2015-02-12 12:47:53 -08:00
jdalton
10ee3585f6
Fix spread doc and remove unused thisArg.
2015-02-12 01:59:16 -08:00
jdalton
5d4ba820dd
Add _.matchesProperty shorthand tests.
2015-02-12 01:36:08 -08:00
jdalton
a51e00e69f
Add _.matchesProperty tests.
2015-02-12 01:30:52 -08:00
jdalton
4dfa963851
Document "_.matchesProperty" shorthands. [ci skip]
2015-02-12 00:27:08 -08:00
jdalton
f2d4f6ccf6
Add _.matchesProperty.
2015-02-11 22:50:39 -08:00
jdalton
182cb8ab25
Simplify lazy pluck and where.
2015-02-11 22:50:22 -08:00
jdalton
ece341d868
Update android testing in saucelabs.js.
2015-02-11 20:25:25 -08:00
jdalton
d72e8c2687
Source cleanup from eslinting.
2015-02-11 20:25:13 -08:00
jdalton
b0ff6f4c7b
Remove extraneous description from createAggregator docs. [ci skip]
2015-02-11 08:30:46 -08:00
jdalton
6ec5249492
Change intuitively to implicitly.
2015-02-11 08:29:41 -08:00
jdalton
c44cd76c5a
Ensure commit and reverse track __chain__` settings. [ closes #958 ]
2015-02-11 08:29:01 -08:00
jdalton
37f711d72a
Adjust dep versions to better suite their range in package.json.
2015-02-11 00:15:11 -08:00
jdalton
fcf18fb965
Remove thisArg from _.spread. [ closes #957 ]
2015-02-11 00:15:11 -08:00
jdalton
2efd6250fb
Minor commit nit in test.js. [ci skip]
2015-02-11 00:15:11 -08:00
jdalton
1b4bd8523d
Add _.slice assert.
2015-02-11 00:15:11 -08:00
jdalton
60c44910df
Fix lazy slice when used after filter. [ closes #955 ]
2015-02-11 00:15:03 -08:00
jdalton
faf67fae03
Update qunit to 1.17.1.
2015-02-10 20:16:27 -08:00
jdalton
e95f547950
Add doc notes on guarded methods. [ci skip]
2015-02-10 09:44:48 -08:00
jdalton
96b663b783
Ensure lazy slice handles floating-point start and end params.
2015-02-10 00:33:10 -08:00
jdalton
ce44f7e4b0
Add lazy compact and toArray.
2015-02-10 00:08:09 -08:00
jdalton
16a9c7d492
Improve label of unstable test.
2015-02-09 08:58:08 -08:00
jdalton
fc369c3448
Add _.fill and _.slice tests for default start and end params.
2015-02-09 08:39:09 -08:00
jdalton
b1a33edf0f
Cleanup io.js testing in travis.yml.
2015-02-09 01:24:40 -08:00
jdalton
3b805f1a24
Rebuild lodash.
2015-02-09 01:14:55 -08:00
jdalton
954b4d8075
Add mutation note to _.fill docs. [ci skip]
2015-02-09 00:45:38 -08:00
jdalton
d073e2a881
Add _.fill to lodash docs. [ci skip]
2015-02-09 00:45:37 -08:00
jdalton
044dd2af94
Remove unneeded jsdoc Function type tags. [ci skip]
2015-02-09 00:45:37 -08:00
jdalton
ee489fa8c0
Cleanup tests.
2015-02-09 00:45:37 -08:00
jdalton
035ed5f49b
Add _.fill.
2015-02-09 00:45:37 -08:00
jdalton
7dcd690f61
Add object test for _.max and _.min being used as an iteratee for _.map.
2015-02-09 00:45:37 -08:00
jdalton
1c9290aded
Add _.includes, _.indexOf, _.lastIndexOf, _.map, _.mapValues, & a few other tests.
2015-02-09 00:45:37 -08:00
jdalton
0b922b1ed1
Move _.support tests to be in alphebetic API order.
2015-02-09 00:45:37 -08:00
jdalton
34eec362e5
Add methods to lodash docs. [ci skip]
2015-02-09 00:45:37 -08:00
jdalton
b829383864
Cleanup docs for _.callback. [ci skip]
2015-02-09 00:45:36 -08:00
jdalton
3960235428
Cleanup _.spread docs & tests.
2015-02-09 00:45:36 -08:00
Nicolas Chambrier
e91a662491
Add _.spread.
2015-02-09 00:45:36 -08:00
jdalton
ba4da24984
Add tests for arguments provided to callbacks of _.takeWhile and friends when in a lazy chain sequence. [ closes #944 ]
2015-02-09 00:45:36 -08:00
jdalton
70378432b7
Minor cleanup of istanbul command in travis.yml.
2015-02-09 00:45:36 -08:00
jdalton
6b63009b14
Expand _.takeWhile, _.takeRightWhile, _.dropWhile, & _.dropRightWhile tests.
2015-02-09 00:45:36 -08:00
jdalton
dd45fea732
Add _#commit, _#plant, & _#run.
2015-02-09 00:45:36 -08:00
jdalton
ee09425cfb
Simplify travis.yml.
2015-02-09 00:45:36 -08:00
jdalton
af02a1e024
Replace some _.isFunction checks with simple typeof checks and replace some typeof checks with _.isFunction checks based on likelihood of a problem value older enviros being passed.
2015-02-07 09:45:11 -08:00
jdalton
2a86f0776c
Fix travis run.
2015-02-06 23:44:14 -08:00
jdalton
c6f73d9df8
Consistent apply(undefined, ...) use.
2015-02-06 23:14:03 -08:00
jdalton
5ab79f292b
Allow _.attempt to provide additional arguments to func. [ closes #929 ]
2015-02-06 23:09:52 -08:00
jdalton
82c7a22d27
Ensure _.flow and _.flowRight return an identity function when no arguments are provided. [ closes #938 ]
2015-02-06 22:45:58 -08:00
jdalton
35fa977981
Update to Node.js 0.12 and simplify io.js install in travis.yml.
2015-02-06 21:57:08 -08:00
jdalton
ecbc46a91d
Remove unused unshift variable.
2015-02-06 21:56:37 -08:00
jdalton
d2f6416e45
Add _.runInContext usage example to _.mixin docs. [ci skip]
2015-02-05 09:47:47 -08:00
jdalton
97a885a05c
Use sauce-tunnel v2.1.1 to avoid hangs when closing tunnels.
2015-02-04 22:51:25 -08:00
jdalton
aa1edd6b94
Update tested io.js version in travis.yml.
2015-02-04 21:20:11 -08:00
jdalton
083e401717
Fix param doc typos in baseIsMatch, _.chunk, & _.isMatch. [ci skip] [ closes #923 ]
2015-02-04 21:14:42 -08:00
jdalton
bdeca2edce
Update .gitignore to ignore lodash.compat.min.js. [ci skip]
2015-02-04 21:14:42 -08:00