Skip to content

kucherenko/jscpd](https:

v5.0.8 Bugfix

This release fixes issues for SREs watching stability and regressions.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai clones-detection code-quality coding-agents copy-paste copy-paste-detection
+9 more
cpd detector dry duplicates duplications mcp quality skill skills

Summary

AI summary

Fixed mmap exhaustion crashes when scanning large repositories.

Changes in this release

Bugfix Medium

Fixes pattern matching for relative paths when the scan root is absolute.

Fixes pattern matching for relative paths when the scan root is absolute.

Source: llm_adapter@2026-06-12

Confidence: high

Bugfix Medium

Prevents mmap exhaustion crashes when scanning repositories with many files by limiting concurrent mappings to thread-pool size.

Prevents mmap exhaustion crashes when scanning repositories with many files by limiting concurrent mappings to thread-pool size.

Source: llm_adapter@2026-06-12

Confidence: low

Full changelog

Bug Fixes

  • Prevent mmap exhaustion crashes when scanning repositories with more files than (default 131 072 on Linux). The walker previously held a live per discovered file; each rayon worker now opens and drops its mapping within the processing closure, capping concurrent mappings to the thread-pool size (typically 8–32). Fixes #813
  • Fix not matching relative paths when the scan root is absolute (e.g. CWD). Patterns like now match correctly by comparing against both the relative path and the full absolute path, and bare patterns like gain a prefix to match at any depth. Fixes #811

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track kucherenko/jscpd](https:

Get notified when new releases ship.

Sign up free

About kucherenko/jscpd](https:

All releases →

Related context

Beta — feedback welcome: [email protected]