Repository navigation
Releases
Releases · pyyupsk/vscode-imgbytesizer
v0.3.2
Added
- Fallow codebase intelligence:
.fallowrc.json, baseline file, andaudit:codescript; CI runsfallow-rs/fallow@v2on every push with severity-awarenew-onlygating
Changed
- Refactor
commands.ts: extractsrc/constants.tsfor image extensions / format options / target-size presets; route both commands through a sharedvalidateImageAndGetPath+processImageResizeflow (~110 lines deleted) - Refactor
utils.ts: extractbuildArgsas the single source of truth for the imgbytesizer arg list; splitrunImgbytesizerintoensureOutputDir+interpretResulthelpers (69 LOC / 15 cyclomatic → 24 / 6) - Refactor
commands.ts: extractpromptOutputPath,promptMinDimension,promptExactSizehelpers fromgetUserOptions(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.parseIntandNumber.isNaNover the global forms inpromptMinDimension - Drop the redundant duplicate success notification in
processImageResize - Rename shadowed
pathidentifiers ingetImgbytesizerPathandvalidateImgbytesizerPathto silenceno-shadow
Security
- Resolve 30+ Dependabot advisories across
form-data,fast-uri,lodash,undici,flatted,picomatch,minimatch,glob,tar-fs,serialize-javascript, anddiff(all dev/build transitive deps) - Pass
VSCE_PATvia env in the publish workflow instead of a CLI flag
v0.3.1
v0.3.0
Added
- Input validation and user option prompts for advanced resize
- SonarCloud integration
- Improved test coverage
Changed
- Refactor code for better maintainability
- Update dependencies to latest versions
Fixed
- Null coalescing operator usage for
outputPathingetUserOptions