Socket
Socket
Sign inDemoInstall

@types/sharp

Package Overview
Dependencies
1
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.24.0 to 0.25.0

27

sharp/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for sharp 0.24
// Type definitions for sharp 0.25
// Project: https://github.com/lovell/sharp

@@ -251,23 +251,2 @@ // Definitions by: François Nguyen <https://github.com/lith-light-g>

/**
* Do not process input images where the number of pixels (width _ height) exceeds this limit.
* Assumes image dimensions contained in the input metadata can be trusted.
* The default limit is 268402689 (0x3FFF _ 0x3FFF) pixels.
* @param limit An integral Number of pixels, zero or false to remove limit, true to use default limit.
* @throws {Error} Invalid limit
* @returns A sharp instance that can be used to chain operations
* @deprecated since version 0.24.0 - moved to @see sharp.SharpOptions
*/
limitInputPixels(limit: number | boolean): Sharp;
/**
* An advanced setting that switches the libvips access method to VIPS_ACCESS_SEQUENTIAL.
* This will reduce memory usage and can improve performance on some systems.
* The default behaviour before function call is false, meaning the libvips access method is not sequential.
* @param sequentialRead true to enable and false to disable (defaults to true)
* @returns A sharp instance that can be used to chain operations
* @deprecated since version 0.24.0 - moved to @see sharp.SharpOptions
*/
sequentialRead(sequentialRead?: boolean): Sharp;
//#endregion

@@ -972,3 +951,3 @@

container?: string;
/** Filesystem layout, possible values are dz, zoomify or google. (optional, default 'dz') */
/** Filesystem layout, possible values are dz, iiif, zoomify or google. (optional, default 'dz') */
layout?: TileLayout;

@@ -1027,3 +1006,3 @@ }

type TileLayout = 'dz' | 'zoomify' | 'google';
type TileLayout = 'dz' | 'iiif' | 'zoomify' | 'google';

@@ -1030,0 +1009,0 @@ type Blend = 'clear' | 'source' | 'over' | 'in' | 'out' | 'atop' | 'dest' | 'dest-over' | 'dest-in' | 'dest-out' | 'dest-atop' | 'xor' | 'add' | 'saturate' | 'multiply' | 'screen' | 'overlay'

4

sharp/package.json
{
"name": "@types/sharp",
"version": "0.24.0",
"version": "0.25.0",
"description": "TypeScript definitions for sharp",

@@ -44,4 +44,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "ec0435b4d08837e6a962a3fee964531856398a5ef7f16ad3f1c2587dbfb987d6",
"typesPublisherContentHash": "97b9cb38b92d2a355af131ddf6a88fe6f04a0b0b94b5285812a385d64cab8930",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 17 Jan 2020 18:56:54 GMT
* Last updated: Thu, 23 Apr 2020 17:50:39 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by François Nguyen (https://github.com/lith-light-g), Wooseop Kim (https://github.com/wooseopkim), Bradley Odell (https://github.com/BTOdell), Jamie Woodbury (https://github.com/JamieWoodbury), and Floris de Bijl (https://github.com/Fdebijl).
These definitions were written by [François Nguyen](https://github.com/lith-light-g), [Wooseop Kim](https://github.com/wooseopkim), [Bradley Odell](https://github.com/BTOdell), [Jamie Woodbury](https://github.com/JamieWoodbury), and [Floris de Bijl](https://github.com/Fdebijl).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc