chore(deps): update dependency jscpd to v5.1.1 - #599
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
renovate
Bot
force-pushed
the
renovate/jscpd-5.x-lockfile
branch
from
August 13, 2026 14:51
a194a4e to
4d824f5
Compare
renovate
Bot
force-pushed
the
renovate/jscpd-5.x-lockfile
branch
from
August 18, 2026 16:54
4d824f5 to
fe3a690
Compare
renovate
Bot
force-pushed
the
renovate/jscpd-5.x-lockfile
branch
from
August 30, 2026 14:41
fe3a690 to
0c08f03
Compare
renovate
Bot
force-pushed
the
renovate/jscpd-5.x-lockfile
branch
from
August 31, 2026 20:02
0c08f03 to
d185545
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.12→5.1.1Release Notes
kucherenko/jscpd (jscpd)
v5.1.1Compare Source
v5.1.0Compare Source
New Features
--baseline,--update-baseline,--fail-on-new-clones) — gate CI on new duplication only: a committed baseline file records fingerprints of accepted clones, and only clones absent from it fail the build, so legacy duplication is tolerated while regressions are caught. (#944)--baseline-from-ref) — stateless PR gating without a committed file: scans the base ref in a temporary worktree and reports clones that don't exist there. (#944)--reporters openmetrics) — duplication gauges in the OpenMetrics text format, ready for GitLab CIartifacts:reports:metrics. (#422)--reporters codeclimate, aliasgitlab) —gl-code-quality-report.jsonfor GitLab'sartifacts:reports:codequality, so duplicates appear as code quality issues in merge requests. (#958)aarch64-pc-windows-msvcbinary on Windows ARM64. (#963).config/— jscpd also finds its config at.config/jscpd.jsonper the dot-config convention; a root.jscpd.jsonstill wins. (#979)Bug Fixes
--formatvalues warn instead of silently scanning 0 files —--format cs(or any typo) no longer looks identical to a clean scan in CI. (#964)--baseline-from-refno longer reports every clone as new — Windows verbatim paths (\\?\C:\...) were truncated by the:format-suffix stripper, silently breaking every snippet read behind the base scan's fingerprints. Clone fingerprints are also line-ending agnostic now, so committed baselines survive CRLF/LF differences between platforms.Thank You ❤️
.config/subfolder (#979)--formatbehavior (#964)v5.0.16Compare Source
New Features
--mcp) —cpd --mcp /path/to/projectserves the Model Context Protocol on stdin/stdout; the project is scanned once at startup and kept in memory, socheck_duplicationsnippet checks answer in milliseconds. Tools:check_duplication,get_file_clones,get_statistics,check_current_directory. (#891)--summary) — opt-in refactoring-hotspot overview: top files and folders ranked by tokens, lines, size, or complexity, with each file's duplication share;--summary-topand--summary-bytune it. (#934)--skip-isolated) — skip duplication between monorepo folders owned by different teams (--skip-isolated "packages/a|packages/b"); clones inside one folder or against shared code are still reported. Config file:"skipIsolated": [["packages/a", "packages/b"]]. (#628, #942)Security
SECURITY.mdwith private vulnerability reporting, protectedmasterbranchBug Fixes
Thank You ❤️
skipIsolatedimplementation (#628), which this release ports to the Rust enginev5.0.15Compare Source
New Features
--sarif-error-tokens <N>flag (alsosarifErrorTokensin.jscpd.json): clones with at least N tokens are reported at levelerrorwhile smaller ones staywarning. When overall duplication exceeds--threshold, all SARIF results are emitted aserror. (#908)token_count, aclone_hash, and apartialFingerprintsentry (jscpdCloneHash/v1) for cross-run result identity in consumers like GitHub code scanning. (#909)jscpd/duplicate-coderule. (#914)Bug Fixes
tool.driver.versionand the HTML report version now match--version. (#915)Thank You ❤️
v5.0.14Compare Source
New Features
--cross-formats— detect clones across related formats via format equivalence groups sharing one comparison pool, e.g.--cross-formats "javascript,typescript"or thejs-tspreset. When a group mixes TypeScript with JavaScript, TS files are compared with erasable type syntax stripped. Also configurable ascrossFormatsin.jscpd.json/package.json. (#810)Bug Fixes
.mdfiles without code fences previously produced zero tokens and were silently skipped; prose is now tokenized, while embedded code fences keep their own sub-format pools. (#883)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.