{"_id":"@aspidasec/autofix","name":"@aspidasec/autofix","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@aspidasec/autofix","version":"0.1.0","description":"Autofix runner for AspidaSec scan findings","license":"Apache-2.0","type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"main":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"@aspidasec/config":"0.1.0","@aspidasec/core":"0.1.0","@aspidasec/schema":"0.1.0"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.6.0","vitest":"^2.1.0"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","dev":"tsc --watch","typecheck":"tsc --noEmit","test":"vitest run --passWithNoTests","test:watch":"vitest","clean":"rm -rf dist"},"_id":"@aspidasec/autofix@0.1.0","_integrity":"sha512-S0D5uiXqDxWTJ8szmkdyCM3w/tUMI40ulukuDlcwZMuVJ9mnX3hHZZLpmoIcrOz5j8tk1s33BXJ8xJrXvxvo/A==","_resolved":"C:\\Users\\user2\\AppData\\Local\\Temp\\5c6ec334e0fe95580835f1e469513e52\\aspidasec-autofix-0.1.0.tgz","_from":"file:aspidasec-autofix-0.1.0.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-S0D5uiXqDxWTJ8szmkdyCM3w/tUMI40ulukuDlcwZMuVJ9mnX3hHZZLpmoIcrOz5j8tk1s33BXJ8xJrXvxvo/A==","shasum":"115e85ff855501e7cd2349d933fbc91c1e00cebf","tarball":"https://registry.npmjs.org/@aspidasec/autofix/-/autofix-0.1.0.tgz","fileCount":15,"unpackedSize":23821,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAx6gEwB/zqArgXygp8gZcKbHchmCZzi37kQ+vAkZ9M6AiEAvyh6NQYtGvYulC8dTNbV2+vPvKz4UGeT4WWwLJa2E2Y="}]},"_npmUser":{"name":"kaa911-syp","email":"vibellabbs@gmail.com"},"directories":{},"maintainers":[{"name":"kaa911-syp","email":"vibellabbs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/autofix_0.1.0_1778999322174_0.07156483794968427"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-17T06:28:42.067Z","0.1.0":"2026-05-17T06:28:42.305Z","modified":"2026-05-17T06:28:42.555Z"},"maintainers":[{"name":"kaa911-syp","email":"vibellabbs@gmail.com"}],"description":"Autofix runner for AspidaSec scan findings","license":"Apache-2.0","readme":"# @aspidasec/autofix\n\nAutomated fix runner for AspidaSec scan findings. It collects `FixCommand` entries from normalized findings, deduplicates identical commands, supports dry-run previews, and skips breaking fixes unless explicitly enabled.\n\n## Installation\n\n```bash\npnpm add @aspidasec/autofix\n```\n\n## Usage\n\n```ts\nimport { AutofixRunner } from \"@aspidasec/autofix\";\n\nconst runner = new AutofixRunner({ dryRun: true });\nconst report = await runner.run(findings);\n\nconsole.log(report.fixableFindings, report.results);\n```\n\nFrom the AspidaSec CLI:\n\n```bash\naspidasec autofix\n```\n\n## API\n\n- `AutofixRunner` — executes unique `fixCommands` from findings and returns an `AutofixReport`.\n- `AutofixRunnerOptions` — constructor options: `dryRun` previews commands without execution, `includeBreaking` allows commands marked as breaking.\n- `AutofixReport` — aggregate result with total, fixable, applied, failed, skipped counts, per-command results, and `generatedAt`.\n- `AutofixResult` — per-command status: `success`, `failed`, `skipped`, or `dry-run`, plus output/error details.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md","_rev":"1-ca7f617f92e46cb3950f2e2bfb01e709"}