🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@infinite-list/data-model

Package Overview
Dependencies
Maintainers
3
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infinite-list/data-model - npm Package Compare versions

Comparing version

to
0.4.11-beta.2

2

package.json
{
"name": "@infinite-list/data-model",
"type": "commonjs",
"version": "0.4.11-beta.1",
"version": "0.4.11-beta.2",
"main": "./src/index.ts",

@@ -6,0 +6,0 @@ "files": [

@@ -378,4 +378,5 @@ import defaultBooleanValue from '@x-oasis/default-boolean-value';

const itemKey = this.getItemKey(item, index);
if (!itemKey) return false;
const _index = keyToIndexArray.indexOf(itemKey);
if (_index === -1 && itemKey) {
if (_index === -1) {
keyToIndexMap.set(itemKey, index - duplicateKeyCount);

@@ -382,0 +383,0 @@ keyToIndexArray.push(itemKey);