@squiz/resource-browser 1.67.0 → 1.67.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
@@ -19,7 +19,7 @@ const findBestMatchLineage = (source, resource) => {
|
|
19
19
|
// * Full lineage is: 1 > 10 > 100 > 1000 > 10000
|
20
20
|
// * The source has a node with an ID of: 100
|
21
21
|
// * The returned lineage will be: 100 > 1000 > 10000
|
22
|
-
return lineage.resourceIds.slice(rootNodeIndex
|
22
|
+
return lineage.resourceIds.slice(rootNodeIndex);
|
23
23
|
}
|
24
24
|
}
|
25
25
|
}
|
package/package.json
CHANGED
@@ -21,7 +21,7 @@ export const findBestMatchLineage = (source: Source, resource: Resource): string
|
|
21
21
|
// * Full lineage is: 1 > 10 > 100 > 1000 > 10000
|
22
22
|
// * The source has a node with an ID of: 100
|
23
23
|
// * The returned lineage will be: 100 > 1000 > 10000
|
24
|
-
return lineage.resourceIds.slice(rootNodeIndex
|
24
|
+
return lineage.resourceIds.slice(rootNodeIndex);
|
25
25
|
}
|
26
26
|
}
|
27
27
|
}
|