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

Comparing version 1.0.0 to 1.0.1

13

build/imageTransformer/imageTransformer.d.ts

@@ -49,7 +49,18 @@ import { MimeType } from "../types/file";

* @param width Width of resulting image or null.
* @param options Optional settings used to adjust the fit and placement of the image within its frame.
*/
resize(width: number, options?: ResizeOptions): ImageTransformer;
/**
* Resize the image.
* @param width Width of resulting image or null.
* @param height Height of resulting image or null. If width is present, this takes priority. (optional, default null)
* @param options Optional settings used to adjust the fit and placement of the image within its frame.
*/
resize(width: number, options?: ResizeOptions): ImageTransformer;
resize(width: null, height: number, options?: ResizeOptions): ImageTransformer;
/**
* Resize the image.
* @param width Width of resulting image or null.
* @param height Height of resulting image or null. If width is present, this takes priority. (optional, default null)
* @param options Optional settings used to adjust the fit and placement of the image within its frame.
*/
resize(width: number, height: number, options?: ResizeOptions): ImageTransformer;

@@ -56,0 +67,0 @@ /**

2

package.json
{
"name": "js-image-lib",
"version": "1.0.0",
"version": "1.0.1",
"description": "An image manipulation library using only pure JavaScript",

@@ -5,0 +5,0 @@ "author": "Josh McFarlin <josh@mcfarl.in>",

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