Socket
Socket
Sign inDemoInstall

lodash.assign

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.assign - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

20

index.js
/**
* lodash 4.0.2 (Custom Build) <https://lodash.com/>
* lodash 4.0.3 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`

@@ -111,5 +111,8 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>

while (++index < length) {
var key = props[index],
newValue = customizer ? customizer(object[key], source[key], key, object, source) : source[key];
var key = props[index];
var newValue = customizer
? customizer(object[key], source[key], key, object, source)
: source[key];
assignValue(object, key, newValue);

@@ -134,3 +137,6 @@ }

customizer = typeof customizer == 'function' ? (length--, customizer) : undefined;
customizer = typeof customizer == 'function'
? (length--, customizer)
: undefined;
if (guard && isIterateeCall(sources[0], sources[1], guard)) {

@@ -164,3 +170,3 @@ customizer = length < 3 ? undefined : customizer;

/**
* Checks if the provided arguments are from an iteratee call.
* Checks if the given arguments are from an iteratee call.
*

@@ -227,3 +233,2 @@ * @private

* @memberOf _
* @type Function
* @category Lang

@@ -300,3 +305,4 @@ * @param {*} value The value to check.

function isLength(value) {
return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
return typeof value == 'number' &&
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
}

@@ -303,0 +309,0 @@

{
"name": "lodash.assign",
"version": "4.0.2",
"version": "4.0.3",
"description": "The lodash method `_.assign` exported as a module.",

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

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

# lodash.assign v4.0.2
# lodash.assign v4.0.3

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

See the [documentation](https://lodash.com/docs#assign) or [package source](https://github.com/lodash/lodash/blob/4.0.2-npm-packages/lodash.assign) for more details.
See the [documentation](https://lodash.com/docs#assign) or [package source](https://github.com/lodash/lodash/blob/4.0.3-npm-packages/lodash.assign) 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