snyk 1.1256.0 → 1.1258.0
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/dist/cli/245.index.js +4 -2
- package/dist/cli/245.index.js.map +1 -1
- package/dist/cli/thirdPartyNotice.json +2 -2
- package/package.json +1 -1
- package/src/generated/sha256sums.txt +8 -8
- package/src/generated/version +1 -1
- package/wrapper_dist/generated/sha256sums.txt +8 -8
- package/wrapper_dist/generated/version +1 -1
package/dist/cli/245.index.js
CHANGED
|
@@ -221599,8 +221599,10 @@ const checkOverrides = (ancestry, overrides) => {
|
|
|
221599
221599
|
if (!override) {
|
|
221600
221600
|
continue;
|
|
221601
221601
|
}
|
|
221602
|
-
// If we find a string as override we know we found what we want
|
|
221603
|
-
|
|
221602
|
+
// If we find a string as override we know we found what we want *if*
|
|
221603
|
+
// we are at our root
|
|
221604
|
+
if (idx + 1 === ancestryWithoutRoot.length &&
|
|
221605
|
+
typeof override === 'string') {
|
|
221604
221606
|
return override;
|
|
221605
221607
|
}
|
|
221606
221608
|
// If we don't find a string we might have a dotted reference
|