Compare commits

...

6 Commits

Author SHA1 Message Date
John-David Dalton
349273409f Bump to v4.17.11. 2018-09-11 22:42:07 -07:00
John-David Dalton
cc483eda91 Bump to v4.17.10. 2018-04-24 15:35:01 -07:00
John-David Dalton
f73db1f02c Bump to v4.17.9. 2018-04-24 10:37:38 -07:00
John-David Dalton
546e924be3 Bump to v4.17.8. 2018-03-27 11:19:36 -07:00
John-David Dalton
b5a07bdc4b Bump to v4.17.7. 2018-03-07 15:13:19 -08:00
John-David Dalton
ae7044c0d3 Bump to v4.17.6. 2018-03-07 13:24:12 -08:00
7 changed files with 19 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
# lodash-es v4.17.5
# 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.5-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

@@ -15,6 +15,14 @@ var freeProcess = moduleExports && freeGlobal.process;
/** Used to access faster Node.js helpers. */
var nodeUtil = (function() {
try {
// Use `util.types` for Node.js 10+.
var types = freeModule && freeModule.require && freeModule.require('util').types;
if (types) {
return types;
}
// Legacy `process.binding('util')` for Node.js < 10.
return freeProcess && freeProcess.binding && freeProcess.binding('util');
} catch (e) {}
}());

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.5';
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.5",
"version": "4.17.11",
"description": "Lodash exported as ES modules.",
"keywords": "es6, modules, stdlib, util",
"homepage": "https://lodash.com/custom-builds",
@@ -14,7 +14,6 @@
"author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",
"contributors": [
"John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",
"Blaine Bublitz <blaine.bublitz@gmail.com> (https://github.com/phated)",
"Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)"
],
"scripts": { "test": "echo \"See https://travis-ci.org/lodash-archive/lodash-cli for testing details.\"" }