close
Skip to content

refactor: simplify lockfile parsers and core logic for maintainability#21

Open
mariojgt wants to merge 1 commit into
mainfrom
no-ticket-code-improvement
Open

refactor: simplify lockfile parsers and core logic for maintainability#21
mariojgt wants to merge 1 commit into
mainfrom
no-ticket-code-improvement

Conversation

@mariojgt
Copy link
Copy Markdown
Contributor

@mariojgt mariojgt commented Jun 4, 2026

Release 0.2.6 with several refactors and improvements: export isUuid from config and use it in the CLI (improves UUID validation and provisioning flow), introduce isSuccessStatus in client for clearer HTTP status checks, and refactor normalize.compare logic by extracting comparePartTokens and handling shorter segment ordering. Parsers: unify lockfile detection via LOCKFILE_SPECS (simpler probing and clearer error message), adjust npm lockfile name extraction to use forward slashes, add a small unquote() helper and apply it in pnpm and yarn parsers, and remove an unused path import. Public API changes: export NormalizeStats and return stats from scanAndReport. Misc: bumped package version to 0.2.6.

Release 0.2.6 with several refactors and improvements: export isUuid from config and use it in the CLI (improves UUID validation and provisioning flow), introduce isSuccessStatus in client for clearer HTTP status checks, and refactor normalize.compare logic by extracting comparePartTokens and handling shorter segment ordering. Parsers: unify lockfile detection via LOCKFILE_SPECS (simpler probing and clearer error message), adjust npm lockfile name extraction to use forward slashes, add a small unquote() helper and apply it in pnpm and yarn parsers, and remove an unused path import. Public API changes: export NormalizeStats and return stats from scanAndReport. Misc: bumped package version to 0.2.6.
@mariojgt
Copy link
Copy Markdown
Contributor Author

mariojgt commented Jun 4, 2026

/review

@coderbuds
Copy link
Copy Markdown

coderbuds Bot commented Jun 4, 2026

Well-structured refactor improves lockfile parsing modularity and simplifies core logic.

🎯 Quality: 85% Excellent · 📦 Size: Medium

📈 This month: Your 77th PR — above team average · Averaging Excellent

See how your team is trending →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants