@infinite-list/data-model
Advanced tools
Comparing version
{ | ||
"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); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
419670
0.01%13172
0.01%0
-100%