Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SocketDev/socket-python-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.2
Choose a base ref
...
head repository: SocketDev/socket-python-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.4.3
Choose a head ref
  • 1 commit
  • 9 files changed
  • 1 contributor

Commits on Jun 3, 2026

  1. feat(reach): add unified --exclude-paths, deprecate --reach-exclude-p…

    …aths (#227)
    
    Add a single --exclude-paths flag (Node CLI parity) that filters BOTH SCA manifest
    discovery and reachability analysis:
    
    - New Core matcher: anchored micromatch-style globs compiled to regex (no new deps).
      Scan-root-relative POSIX paths, '*' does not cross '/', '**' does, each pattern P
      expanded to [P, P/**]. Threaded into find_files via cli_config; no-op when unset.
    - Reach side unions --exclude-paths with the now-deprecated --reach-exclude-paths and
      forwards to coana --exclude-dirs.
    - Validation mirrors Node's assertValidExcludePaths (rejects negation, absolute paths,
      '..' traversal, degenerate match-everything; trailing slash stripped so '**/' is rejected).
      Accepts comma-strings and config-file lists.
    - --reach-exclude-paths soft-deprecated: still works, [DEPRECATED] in help, warns at runtime.
    
    Docs: document --exclude-paths under 'Path and File' (it affects every scan, not just
    reach), mark --reach-exclude-paths deprecated, and refresh the reachability flag table
    (--reach-analysis-timeout/-memory-limit primary names, --reach-debug,
    --reach-disable-external-tool-checks, defaults delegated to coana).
    
    Adds a CHANGELOG 2.4.3 entry and tests incl. the Node parity cases, validation, and config-file paths.
    mtorp authored Jun 3, 2026
    Configuration menu
    Copy the full SHA
    80741b7 View commit details
    Browse the repository at this point in the history
Loading