lodash.minby
Advanced tools
Comparing version 4.0.0 to 4.0.1
12
index.js
/** | ||
* lodash 4.0.0 (Custom Build) <https://lodash.com/> | ||
* lodash 4.0.1 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -72,7 +72,7 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
/** Built-in value references. */ | ||
var _Symbol = global.Symbol; | ||
var Symbol = global.Symbol; | ||
/** Used to convert symbols to primitives and strings. */ | ||
var symbolProto = _Symbol ? _Symbol.prototype : undefined, | ||
symbolToString = _Symbol ? symbolProto.toString : undefined; | ||
var symbolProto = Symbol ? Symbol.prototype : undefined, | ||
symbolToString = Symbol ? symbolProto.toString : undefined; | ||
@@ -420,3 +420,3 @@ /** | ||
if (isSymbol(value)) { | ||
return _Symbol ? symbolToString.call(value) : ''; | ||
return Symbol ? symbolToString.call(value) : ''; | ||
} | ||
@@ -486,3 +486,3 @@ var result = (value + ''); | ||
* | ||
* _.minBy(objects, function(o) { return o.a; }); | ||
* _.minBy(objects, function(o) { return o.n; }); | ||
* // => { 'n': 1 } | ||
@@ -489,0 +489,0 @@ * |
{ | ||
"name": "lodash.minby", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "The lodash method `_.minBy` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.minby v4.0.0 | ||
# lodash.minby v4.0.1 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.minBy` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#minBy) or [package source](https://github.com/lodash/lodash/blob/4.0.0-npm-packages/lodash.minby) for more details. | ||
See the [documentation](https://lodash.com/docs#minBy) or [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash.minby) for more details. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15325