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.
4.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.
4.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.
4.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.
4.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.
4.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.
4.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