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.
@@ -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'] || [];