mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Bump to v4.17.1.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
var memoizeCapped = require('./_memoizeCapped'),
|
||||
toString = require('./toString');
|
||||
var memoizeCapped = require('./_memoizeCapped');
|
||||
|
||||
/** Used to match property names within property paths. */
|
||||
var reLeadingDot = /^\./,
|
||||
@@ -16,8 +15,6 @@ var reEscapeChar = /\\(\\)?/g;
|
||||
* @returns {Array} Returns the property path array.
|
||||
*/
|
||||
var stringToPath = memoizeCapped(function(string) {
|
||||
string = toString(string);
|
||||
|
||||
var result = [];
|
||||
if (reLeadingDot.test(string)) {
|
||||
result.push('');
|
||||
|
||||
Reference in New Issue
Block a user