Socket
Socket
Sign inDemoInstall

lodash.values

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.values - npm Package Compare versions

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

5

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc