Repository navigation
v1.1.4 - Static Validator (No Dependencies)
๐ Ken8n-Coder v1.1.4
โจ Major Improvement: Zero-Dependency Validation
This release solves the validation dependency problem by introducing a static validator that works immediately after installation.
๐ฏ What's New
- Static Validator: New
validate-supercode-static.jsthat requires NO npm dependencies - Instant Validation: Works immediately after installation without
npm install - Smaller Package: Reduced from ~100MB of dependencies to just 6KB
- Smart Analysis: Catches common SuperCode errors through static code analysis
๐ง How It Works
The static validator checks for:
- โ Use of
require()orimport(libraries are pre-loaded) - โ Incorrect return format
[{ json: data }] - โ Missing
$inputusage - โ Module exports (code runs directly)
- โ Proper library usage patterns
- โ Correct return statements
๐ฆ Installation
curl -fsSL https://raw.githubusercontent.com/kenkaiii/ken8n-coder/main/install | bash๐ฎ Usage
After creating a SuperCode file:
node ~/.ken8n-coder/validation-scripts/validate-supercode-static.js your-code.js๐ก Note
For full validation with code execution, you can still install dependencies:
cd ~/.ken8n-coder/validation-scripts && npm installBut this is now optional - the static validator handles most common cases!