Socket
Socket
Sign inDemoInstall

js-image-lib

Package Overview
Dependencies
10
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

1.0.1

Diff

Changelog

Source

[1.0.1] - 2022-06-24

Docs

  • Added missing documentation to ImageTransformer methods
josh-mcfarlin
published 1.0.0 •

Changelog

Source

[1.0.0] - 2022-06-24

Breaking

  • Replaced imageTransformer function with default exported ImageTransformer class
  • Replaced ImageFit, ImagePosition, and FlipDirection enums with string union types

Added

  • Implemented fit and position when resizing images
  • Created a ImageTransformer class that uses methods for applying image operations

Fixed

  • Fixed importing jpegs and pngs with alternate color schemes
  • Fixed exporting files in content types that do not support transparency
josh-mcfarlin
published 0.2.0 •

Changelog

Source

[0.2.0] - 2022-06-21

Changed

  • Changed ImagePosition to string union with additional options
  • Converted ImageFit and FlipDirection types to string unions to match ImagePosition
josh-mcfarlin
published 0.1.7 •

Changelog

Source

[0.1.7] - 2022-03-29

Added

  • Added new options for ImagePosition
josh-mcfarlin
published 0.1.6 •

Changelog

Source

[0.1.6] - 2022-02-22

Fix

  • Fix incorrect size used for resizing

Changed

  • Replaced utif with decode-tiff for smaller size
  • Update mime-tree to 0.1.4 to fix incorrect mime detection
josh-mcfarlin
published 0.1.5 •

Changelog

Source

[0.1.5] - 2022-02-17

Documentation

  • Mark package as side-effect free
josh-mcfarlin
published 0.1.4 •

Changelog

Source

[0.1.4] - 2022-02-17

Changed

  • Replaced built-in mime type detector with mime-tree
josh-mcfarlin
published 0.1.3 •

Changelog

Source

[0.1.3] - 2022-02-17

Docs

  • Add short example to README.md
josh-mcfarlin
published 0.1.2 •

Changelog

Source

[0.1.2] - 2022-02-17

Changed

  • Removed Pako and Buffer from dependencies
josh-mcfarlin
published 0.1.1 •

Changelog

Source

[0.1.1] - 2022-02-17

Added

  • Initial release moving transformation code from Remix-Image
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc