snyk 1.1246.0 → 1.1247.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 +3 -0
- 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
|
@@ -221469,6 +221469,9 @@ const getChildNode = (name, depInfo, pkgs, strictOutOfSync, includeDevDeps, incl
|
|
|
221469
221469
|
// Workspaces can be set as an array, or as an object
|
|
221470
221470
|
// { packages: [] }, this can be checked in
|
|
221471
221471
|
// https://github.com/npm/map-workspaces/blob/ff82968a3dbb78659fb7febfce4841bf58c514de/lib/index.js#L27-L41
|
|
221472
|
+
if (pkgs['']['workspaces'] === undefined) {
|
|
221473
|
+
return false;
|
|
221474
|
+
}
|
|
221472
221475
|
const workspacesDeclaration = Array.isArray(pkgs['']['workspaces']['packages'])
|
|
221473
221476
|
? pkgs['']['workspaces']['packages']
|
|
221474
221477
|
: pkgs['']['workspaces'] || [];
|