Socket
Socket
Sign inDemoInstall

lodash._binaryindexby

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash._binaryindexby - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

14

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

@@ -17,4 +17,4 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>

/** Used as references for the maximum length and index of an array. */
var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1,
MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1;
var MAX_ARRAY_LENGTH = 4294967295,
MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1;

@@ -40,2 +40,3 @@ /**

valIsNaN = value !== value,
valIsNull = value === null,
valIsUndef = value === undefined;

@@ -46,2 +47,3 @@

computed = iteratee(array[mid]),
isDef = computed !== undefined,
isReflexive = computed === computed;

@@ -51,4 +53,8 @@

var setLow = isReflexive || retHighest;
} else if (valIsNull) {
setLow = isReflexive && isDef && (retHighest || computed != null);
} else if (valIsUndef) {
setLow = isReflexive && (retHighest || computed !== undefined);
setLow = isReflexive && (retHighest || isDef);
} else if (computed == null) {
setLow = false;
} else {

@@ -55,0 +61,0 @@ setLow = retHighest ? (computed <= value) : (computed < value);

{
"name": "lodash._binaryindexby",
"version": "3.0.1",
"version": "3.0.2",
"description": "The modern build of lodash’s internal `binaryIndexBy` as a module.",

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

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

# lodash._binaryindexby v3.0.1
# lodash._binaryindexby v3.0.2

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

See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._binaryindexby) for more details.
See the [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash._binaryindexby) 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