Retire Add Ast Query

Add an AST query for a JavaScript library to the retire.js vulnerability database. Given a library name, downloads multiple versions, analyzes the code structure where the version string is assigned, writes an ASTronomical XPath-like query anchored with library-specific identifiers, tests the query locally, adds it to jsrepository-ast.js, and runs validate/test-detection. Use this skill whenever adding an AST-based version detection query to retire.js. Use when this capability is needed.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/retirejs--retire-js--retire-js commit d896330dd3

Frequently asked questions

npx skillmds@latest add tomevault-io/retire-add-ast-query