Conversation
update utils.py to add a matcher and scanner.py to fix the directory walking loop (ignoring node_modules, etc.) and the JSON aggregation logic
fix the directory walking loop (ignoring node_modules, etc.) and the JSON aggregation logic
Ensure the package data is included
dding:
--version: Prints the version and exits.
--quiet: Suppresses non-critical output (headers, success messages). Only prints failures or errors.
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.
Release v2.1.0: Stability & Security Hardening
This release focuses on critical engineering improvements to ensure nod works seamlessly in real-world environments. It addresses key issues with PyPI distribution, large repository performance, and JSON validation logic, while introducing a formal test suite.
🔴 Critical Fixes
MANIFEST.inand updated the configuration loader to correctly bundle and locate default rule packs (defaults/*.yaml). Installing viapip install nod-linternow works out-of-the-box.fnmatchsupport for.nodignore.node_modules,venv,__pycache__,dist, andbuild.must_matchfield validation.🛡️ Security Hardening
security_baselineprofile. Replaced the generic "hardcoded credential" placeholder with rigorous regex patterns to detect: * AWS Access Keys (AKIA...) * OpenAI Secret Keys (sk-...) * Private Key blocks (-----BEGIN PRIVATE KEY-----) * Generic high-entropy assignments (password = "...").✨ Usability Polish
nod --versionto quickly check the installed release.nod --quiet(or-q) to suppress banners and success messages, ideal for cleaner CI/CD logs.🏗️ Engineering Maturity
tests/test_core.pyusingunittestto validate core logic, config loading, and regex engines, preventing future regressions.🚦 Upgrade Guide
License: Apache 2.0