Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash.isempty

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.isempty - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

12

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

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

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

@@ -114,3 +114,2 @@ * @param {*} value The value to check.

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

@@ -144,3 +143,2 @@ * @param {*} value The value to check.

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

@@ -196,3 +194,4 @@ * @param {*} value The value to check.

if (isArrayLike(value) &&
(isArray(value) || isString(value) || isFunction(value.splice) || isArguments(value))) {
(isArray(value) || isString(value) ||
isFunction(value.splice) || isArguments(value))) {
return !value.length;

@@ -257,3 +256,4 @@ }

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;
}

@@ -260,0 +260,0 @@

{
"name": "lodash.isempty",
"version": "4.1.1",
"version": "4.1.2",
"description": "The lodash method `_.isEmpty` exported as a module.",

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

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

# lodash.isempty v4.1.1
# lodash.isempty v4.1.2

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

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