Socket
Socket
Sign inDemoInstall

lodash.keys

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.keys - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

24

index.js
/**
* lodash 3.0.5 (Custom Build) <https://lodash.com/>
* lodash 3.0.6 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors

@@ -41,3 +41,9 @@ * Available under MIT license <https://lodash.com/license>

(function(x) {
var Ctor = function() { this.x = x; },
object = { '0': x, 'length': x },
props = [];
Ctor.prototype = { 'valueOf': x, 'y': x };
for (var key in new Ctor) { props.push(key); }
/**

@@ -49,4 +55,4 @@ * Detect if `arguments` object indexes are non-enumerable.

* `arguments` object indexes as non-enumerable and fail `hasOwnProperty`
* checks for indexes that exceed their function's formal parameters with
* associated values of `0`.
* checks for indexes that exceed the number of function parameters and
* whose associated argument values are `0`.
*

@@ -61,3 +67,3 @@ * @memberOf _.support

}
}(0, 0));
}(1, 0));

@@ -96,3 +102,3 @@ /**

* @private
* @param {Object} object The object to inspect.
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.

@@ -157,3 +163,3 @@ */

* @category Object
* @param {Object} object The object to inspect.
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.

@@ -181,3 +187,3 @@ * @example

if ((typeof Ctor == 'function' && Ctor.prototype === object) ||
(typeof object != 'function' && (length && isLength(length)))) {
(typeof object != 'function' && isLength(length))) {
return shimKeys(object);

@@ -196,3 +202,3 @@ }

* @category Object
* @param {Object} object The object to inspect.
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.

@@ -199,0 +205,0 @@ * @example

{
"name": "lodash.keys",
"version": "3.0.5",
"version": "3.0.6",
"description": "The modern build of lodash’s `_.keys` as a module.",

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

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

# lodash.keys v3.0.5
# lodash.keys v3.0.6

@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.keys` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.

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