Skip to content

v0.3.2

Latest

Choose a tag to compare

@github-actions github-actions released this 09 May 07:30
v0.3.2
d37b60a

Added

  • Fallow codebase intelligence: .fallowrc.json, baseline file, and audit:code script; CI runs fallow-rs/fallow@v2 on every push with severity-aware new-only gating

Changed

  • Refactor commands.ts: extract src/constants.ts for image extensions / format options / target-size presets; route both commands through a shared validateImageAndGetPath + processImageResize flow (~110 lines deleted)
  • Refactor utils.ts: extract buildArgs as the single source of truth for the imgbytesizer arg list; split runImgbytesizer into ensureOutputDir + interpretResult helpers (69 LOC / 15 cyclomatic → 24 / 6)
  • Refactor commands.ts: extract promptOutputPath, promptMinDimension, promptExactSize helpers from getUserOptions (49 LOC / 11 cyclomatic → 27 / 8)
  • Migrate linter and formatter from ESLint + Prettier to oxc (oxlint + oxfmt)
  • Migrate package manager from pnpm to Bun
  • Bump devDependencies to latest (TypeScript 6, sinon 22, @vscode/vsce 3.9, etc.)
  • Pin all GitHub Actions to commit SHAs

Fixed

  • Use Number.parseInt and Number.isNaN over the global forms in promptMinDimension
  • Drop the redundant duplicate success notification in processImageResize
  • Rename shadowed path identifiers in getImgbytesizerPath and validateImgbytesizerPath to silence no-shadow

Security

  • Resolve 30+ Dependabot advisories across form-data, fast-uri, lodash, undici, flatted, picomatch, minimatch, glob, tar-fs, serialize-javascript, and diff (all dev/build transitive deps)
  • Pass VSCE_PAT via env in the publish workflow instead of a CLI flag