Compare commits

...

1 Commits

Author SHA1 Message Date
John-David Dalton
349273409f Bump to v4.17.11. 2018-09-11 22:42:07 -07:00
6 changed files with 11 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
# lodash-es v4.17.10
# lodash-es v4.17.11
The [Lodash](https://lodash.com/) library exported as [ES](http://www.ecma-international.org/ecma-262/6.0/) modules.
@@ -7,4 +7,4 @@ Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli):
$ lodash modularize exports=es -o ./
```
See the [package source](https://github.com/lodash/lodash/tree/4.17.10-es) for more details.
See the [package source](https://github.com/lodash/lodash/tree/4.17.11-es) for more details.

View File

@@ -74,7 +74,7 @@ function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, sta
if (isArguments(objValue)) {
newValue = toPlainObject(objValue);
}
else if (!isObject(objValue) || (srcIndex && isFunction(objValue))) {
else if (!isObject(objValue) || isFunction(objValue)) {
newValue = initCloneObject(srcValue);
}
}

View File

@@ -1,5 +1,5 @@
/** Used to detect strings that need a more robust regexp to match words. */
var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
/**
* Checks if `string` contains a word composed of Unicode symbols.

View File

@@ -7,9 +7,11 @@
* @returns {*} Returns the property value.
*/
function safeGet(object, key) {
return key == '__proto__'
? undefined
: object[key];
if (key == '__proto__') {
return;
}
return object[key];
}
export default safeGet;

View File

@@ -45,7 +45,7 @@ import toInteger from './toInteger.js';
import lodash from './wrapperLodash.js';
/** Used as the semantic version number. */
var VERSION = '4.17.10';
var VERSION = '4.17.11';
/** Used to compose bitmasks for function metadata. */
var WRAP_BIND_KEY_FLAG = 2;

View File

@@ -1,6 +1,6 @@
{
"name": "lodash-es",
"version": "4.17.10",
"version": "4.17.11",
"description": "Lodash exported as ES modules.",
"keywords": "es6, modules, stdlib, util",
"homepage": "https://lodash.com/custom-builds",