- feat!: Dropped support for Node 18 and updated dependencies.
- chore: Updated dependencies.
- chore: Added missing dependency.
- chore: Updated dependencies.
- chore: Replaced tap with Node test runner.
- chore: Fixed build.
- chore: Updated dependencies.
- chore: Updated TypeScript configuration.
- chore: Updated dependencies.
- chore: Changed TypeScript version.
- chore: Updated dependencies and toolchain.
- chore: Fixed compilation.
- chore: CI improvement
- chore: Updated dependencies.
- chore: Update package.json
- fix: Fixed build script.
- fix: Updated types layout.
- chore: Updated compilation configuration.
- chore: Updated dependencies.
- chore: Remove variadic method.
- chore: Updated dependencies.
- fix: Fixed CI.
- fix: Correctly Export models.
- fix: Export models.
- fix: Export models.
- chore: Use sourcemaps with swc
- chore: Updated dependencies.
- chore: Updated dependencies.
- chore: Updated dependencies and linted code.
- chore: Updated dependencies.
- chore: Removed useless file.
- fix: Added ESM note in the README.md
- chore: Allow manual CI triggering.
- chore: Updated badges.
- fix: Fixed Typescript configuration.
- feat: Only export as ESM.
- fix: Removed useless comment.
- chore: Fine tuned build script.
- feat: Use different versioning for User-Agent.
- feat: Export as ESM.
- chore: Fixed license link in README.md.
- chore: Updated linter config.
- chore: Removed IDE files.
- Simplified to only
info
andstream
methods. - Dropped supported for Node < 12.
- Completely rewritten in TypeScript.
- Updated request package version to fix a vulnerability. Thanks to @gazay.
- Dropped support for Node < 5.
fastimage.info
always includesrealPath
andrealUrl
instead of omitting them if equals topath
andurl
.
fastimage.threshold
can now accept value less than or equal to zero to disable the feature and try to download/open the entire file/stream. This fixes detection of corrupted files.
- Bumped version in package.json.
- Added
fastimage.userAgent
to enable User Agent handling. Thanks to matcarey.
- Ensured promise is included as dependency.
- Ensured Node 0.10 compatibility.
- Renamed
fastimage.analyze
asfastimage.info
. - Added
fastimage.filteredInfo
to filter the result object. - Make
fastimage.info
,fastimage.filteredInfo
,fastimage.size
andfastimage.type
return a Promise. - Added
fastimage.stream
and exportedFastImageStream
for streaming support. - Support for analyzing Buffers.
- Added examples and test.
- Added support for analyzing local files.
- Added
realPath
,realUrl
andsize
to the returned objects. - Added documentation.
- Improved README.
- Export
FastImageError
as well.
- Initial version