@socketsecurity/cli-with-sentry 0.15.40 → 0.15.42

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.js CHANGED
@@ -3688,7 +3688,7 @@ function getSocketBranchPattern(options) {
3688
3688
  };
3689
3689
  const purlObj = purl ? utils.getPurlObject(purl) : null;
3690
3690
  const escType = purlObj ? regexps.escapeRegExp(purlObj.type) : '[^_]+';
3691
- const escWorkspace = workspace ? `${regexps.escapeRegExp(formatBranchName(workspace))}` : 'root';
3691
+ const escWorkspace = workspace ? `${regexps.escapeRegExp(formatBranchName(workspace))}` : '[^_]+';
3692
3692
  const escMaybeNamespace = purlObj?.namespace ? `${regexps.escapeRegExp(formatBranchName(purlObj.namespace))}--` : '';
3693
3693
  const escFullName = purlObj ? `${escMaybeNamespace}${regexps.escapeRegExp(formatBranchName(purlObj.name))}` : '[^_]+';
3694
3694
  const escVersion = purlObj ? regexps.escapeRegExp(formatBranchName(purlObj.version)) : '[^_]+';
@@ -3698,7 +3698,7 @@ function getSocketBranchPattern(options) {
3698
3698
  function createSocketBranchParser(options) {
3699
3699
  const pattern = getSocketBranchPattern(options);
3700
3700
  return function parse(branch) {
3701
- debug.debugFn('pattern', pattern);
3701
+ debug.debugFn('pattern', pattern.toString());
3702
3702
  const match = pattern.exec(branch);
3703
3703
  if (!match) {
3704
3704
  return null;
@@ -14110,5 +14110,5 @@ void (async () => {
14110
14110
  await utils.captureException(e);
14111
14111
  }
14112
14112
  })();
14113
- //# debugId=85371cb1-52db-4ec0-9bf0-f5efd9b6ee43
14113
+ //# debugId=6b6d21ee-80b3-4e87-9e52-5037de4aa0b4
14114
14114
  //# sourceMappingURL=cli.js.map