Socket
Socket
Sign inDemoInstall

@types/sharp

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sharp - npm Package Compare versions

Comparing version 0.29.2 to 0.29.3

15

sharp/index.d.ts

@@ -627,2 +627,11 @@ // Type definitions for sharp 0.29

/**
* Set a timeout for processing, in seconds. Use a value of zero to continue processing indefinitely, the default behaviour.
* The clock starts when libvips opens an input image for processing. Time spent waiting for a libuv thread to become available is not included.
* @param options Object with a `seconds` attribute between 0 and 3600 (number)
* @throws {Error} Invalid options
* @returns A sharp instance that can be used to chain operations
*/
timeout(options: TimeoutOptions): Sharp;
//#endregion

@@ -750,2 +759,7 @@

interface TimeoutOptions {
/** Number of seconds after which processing will be stopped (default 0, eg disabled) */
seconds: number;
}
interface SharpCounters {

@@ -1282,2 +1296,3 @@ /** The number of tasks this module has queued waiting for libuv to provide a worker thread from its pool. */

tiff: AvailableFormatInfo;
tif: AvailableFormatInfo;
v: AvailableFormatInfo;

@@ -1284,0 +1299,0 @@ webp: AvailableFormatInfo;

4

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

@@ -55,4 +55,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharp",

},
"typesPublisherContentHash": "fafa46d58aff3a3b5ea5b1beb17bb3429408c129bc5e69637667e842337d69a2",
"typesPublisherContentHash": "ce1b6975a2720e199e08a5bab90866b38a7029199c8e9cb187a1310650433af4",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Tue, 14 Sep 2021 11:31:52 GMT
* Last updated: Tue, 02 Nov 2021 13:01:22 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc