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.30.1 to 0.30.2

12

sharp/index.d.ts

@@ -497,4 +497,4 @@ // Type definitions for sharp 0.30

/**
* Write output to a Buffer. JPEG, PNG, WebP, AVIF, TIFF and RAW output are supported.
* By default, the format will match the input image, except GIF and SVG input which become PNG output.
* Write output to a Buffer. JPEG, PNG, WebP, AVIF, TIFF, GIF and RAW output are supported.
* By default, the format will match the input image, except SVG input which becomes PNG output.
* @param callback Callback function called on completion with three arguments (err, buffer, info).

@@ -506,4 +506,4 @@ * @returns A sharp instance that can be used to chain operations

/**
* Write output to a Buffer. JPEG, PNG, WebP, AVIF, TIFF and RAW output are supported.
* By default, the format will match the input image, except GIF and SVG input which become PNG output.
* Write output to a Buffer. JPEG, PNG, WebP, AVIF, TIFF, GIF and RAW output are supported.
* By default, the format will match the input image, except SVG input which becomes PNG output.
* @param options resolve options

@@ -516,4 +516,4 @@ * @param options.resolveWithObject Resolve the Promise with an Object containing data and info properties instead of resolving only with data.

/**
* Write output to a Buffer. JPEG, PNG, WebP, AVIF, TIFF and RAW output are supported.
* By default, the format will match the input image, except GIF and SVG input which become PNG output.
* Write output to a Buffer. JPEG, PNG, WebP, AVIF, TIFF, GIF and RAW output are supported.
* By default, the format will match the input image, except SVG input which becomes PNG output.
* @param options resolve options

@@ -520,0 +520,0 @@ * @param options.resolveWithObject Resolve the Promise with an Object containing data and info properties instead of resolving only with data.

{
"name": "@types/sharp",
"version": "0.30.1",
"version": "0.30.2",
"description": "TypeScript definitions for sharp",

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

},
"typesPublisherContentHash": "d5ac2aa3162d3349108143bbb9e469c319b173741ad75ac3e5309992aa4a5809",
"typesPublisherContentHash": "2a3969222c5daa6a97518e641c4e556b57dd1e4b3b4512fa361f571ad8151c29",
"typeScriptVersion": "3.9"
}

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

### Additional Details
* Last updated: Mon, 04 Apr 2022 06:31:42 GMT
* Last updated: Tue, 12 Apr 2022 20:01:18 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