Skip to content

Instantly share code, notes, and snippets.

View danielzazzali's full-sized avatar
💻
Working

Daniel Zazzali danielzazzali

💻
Working
View GitHub Profile
@danielzazzali
danielzazzali / README.md
Created December 18, 2025 22:53
jtmetrics-errors

On P84-html-minifier-terser\cli.js we have the error:

Error traversing AST on metric function-coupling -> C:\Users\anais\OneDrive\Documentos\Github\Metrics2\repositories\P84-html-minifier-terser\cli.js: TypeError: Cannot read properties of undefined (reading 'camelCase')

And the code says:

import { camelCase, kebabCase } from 'change-case';
...
const param = programOptions[key === 'minifyURLs' ? 'minifyUrls' : camelCase(key)];