Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 27 Apr 20:16
· 40 commits to master since this release
be6d15a

Added

  • defaults: educational reason for inline interpreter scripts (python -c, node -e/-p/--eval, perl -e/-E, ruby -e, php -r) - reason now nudges Claude toward jq for JSON or saving the script to scripts/*.{ext} (from upstream b7141e2)
  • defaults: auto-allow benign inline interpreter scripts when the body shows no shell-out, file-write, or network access; risky bodies still ask (from upstream aabfce6)
  • script-scanner: extended TypeScript/JavaScript patterns to catch chained method calls (require('fs').writeFileSync(...), .spawn(, .createWriteStream() and plain fetch()/net.connect() that the previous fs.-anchored patterns missed
  • node: handle --eval=script / --print=script form (no space between flag and body) when the script body parses cleanly
  • defaults: perl -pe/-ne/-ane/-pE bundled short-flags treated like -e for sed-like one-liners; -i (in-place edit) detected separately and still asks (from upstream 84a86b3)