Socket
Socket
Sign inDemoInstall

lodash.map

Package Overview
Dependencies
10
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

18

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 ./`

@@ -48,7 +48,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;

@@ -296,7 +296,7 @@ /**

*
* _.map([1, 2], square);
* // => [3, 6]
* _.map([4, 8], square);
* // => [16, 64]
*
* _.map({ 'a': 1, 'b': 2 }, square);
* // => [3, 6] (iteration order is not guaranteed)
* _.map({ 'a': 4, 'b': 8 }, square);
* // => [16, 64] (iteration order is not guaranteed)
*

@@ -531,3 +531,3 @@ * var users = [

if (isSymbol(value)) {
return _Symbol ? symbolToString.call(value) : '';
return Symbol ? symbolToString.call(value) : '';
}

@@ -534,0 +534,0 @@ var result = (value + '');

{
"name": "lodash.map",
"version": "4.0.0",
"version": "4.0.1",
"description": "The lodash method `_.map` exported as a module.",

@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/",

@@ -1,2 +0,2 @@

# lodash.map v4.0.0
# lodash.map v4.0.1

@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.map` exported as a [Node.js](https://nodejs.org/) module.

See the [documentation](https://lodash.com/docs#map) or [package source](https://github.com/lodash/lodash/blob/4.0.0-npm-packages/lodash.map) for more details.
See the [documentation](https://lodash.com/docs#map) or [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash.map) for more details.
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc