lodash.values
Advanced tools
Comparing version 4.0.0 to 4.1.0
25
index.js
/** | ||
* lodash 4.0.0 (Custom Build) <https://lodash.com/> | ||
* lodash 4.1.0 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -9,6 +9,25 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
*/ | ||
var arrayMap = require('lodash._arraymap'), | ||
keys = require('lodash.keys'); | ||
var keys = require('lodash.keys'); | ||
/** | ||
* A specialized version of `_.map` for arrays without support for iteratee | ||
* shorthands. | ||
* | ||
* @private | ||
* @param {Array} array The array to iterate over. | ||
* @param {Function} iteratee The function invoked per iteration. | ||
* @returns {Array} Returns the new mapped array. | ||
*/ | ||
function arrayMap(array, iteratee) { | ||
var index = -1, | ||
length = array.length, | ||
result = Array(length); | ||
while (++index < length) { | ||
result[index] = iteratee(array[index], index, array); | ||
} | ||
return result; | ||
} | ||
/** | ||
* The base implementation of `_.values` and `_.valuesIn` which creates an | ||
@@ -15,0 +34,0 @@ * array of `object` property values corresponding to the property names |
{ | ||
"name": "lodash.values", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "The lodash method `_.values` exported as a module.", | ||
@@ -8,3 +8,3 @@ "homepage": "https://lodash.com/", | ||
"license": "MIT", | ||
"keywords": "lodash, lodash-modularized, stdlib, util, values", | ||
"keywords": "lodash-modularized, values", | ||
"author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
@@ -19,5 +19,4 @@ "contributors": [ | ||
"dependencies": { | ||
"lodash._arraymap": "^3.0.0", | ||
"lodash.keys": "^4.0.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# lodash.values v4.0.0 | ||
# lodash.values v4.1.0 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.values` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#values) or [package source](https://github.com/lodash/lodash/blob/4.0.0-npm-packages/lodash.values) for more details. | ||
See the [documentation](https://lodash.com/docs#values) or [package source](https://github.com/lodash/lodash/blob/4.1.0-npm-packages/lodash.values) for more details. |
Sorry, the diff of this file is not supported yet
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
4530
1
71
- Removedlodash._arraymap@^3.0.0
- Removedlodash._arraymap@3.0.0(transitive)