Socket
Socket
Sign inDemoInstall

lodash.defaults

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.defaults - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

8

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

@@ -19,7 +19,7 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>

* @param {*} thisArg The `this` binding of `func`.
* @param {...*} [args] The arguments to invoke `func` with.
* @param {...*} args The arguments to invoke `func` with.
* @returns {*} Returns the result of `func`.
*/
function apply(func, thisArg, args) {
var length = args ? args.length : 0;
var length = args.length;
switch (length) {

@@ -35,3 +35,3 @@ case 0: return func.call(thisArg);

/** Used for built-in method references. */
var objectProto = global.Object.prototype;
var objectProto = Object.prototype;

@@ -38,0 +38,0 @@ /** Used to check objects for own properties. */

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

@@ -8,3 +8,3 @@ "homepage": "https://lodash.com/",

"license": "MIT",
"keywords": "lodash, lodash-modularized, stdlib, util, defaults",
"keywords": "lodash-modularized, defaults",
"author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",

@@ -11,0 +11,0 @@ "contributors": [

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

# lodash.defaults v4.0.0
# lodash.defaults v4.0.1

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

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