bitnami / readme-generator-for-helm

Auto generate READMEs for Helm Charts
https://bitnami.com
Apache License 2.0
212 stars 48 forks source link

ReferenceError: Excessive alias count indicates a resource exhaustion attack #67

Closed patilvishal1683 closed 6 months ago

patilvishal1683 commented 1 year ago

Getting Above Error While Parsing the values file which 1000+ Lines Long Any Idea how can i resolve this error ? I got the solution Please add const valuesJSON = YAML.parse(fs.readFileSync(valuesFilePath, 'utf8'), {maxAliasCount: -1}); inside parse.js

fmulero commented 11 months ago

Thanks a lot @patilvishal1683 for reporting it and sharing a possible fix.

Would you like to contribute by creating a PR to solve the issue? The Bitnami team will be happy to review it and provide feedback. Here you can find the contributing guidelines.