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.0 to 0.29.1

8

sharp/index.d.ts

@@ -456,3 +456,4 @@ // Type definitions for sharp 0.29

/**
* Transforms the image using brightness, saturation and hue rotation.
* Transforms the image using brightness, saturation, hue rotation and lightness.
* Brightness and lightness both operate on luminance, with the difference being that brightness is multiplicative whereas lightness is additive.
* @param options describes the modulation

@@ -465,2 +466,3 @@ * @returns A sharp instance that can be used to chain operations

hue?: number | undefined;
lightness?: number | undefined;
}): Sharp;

@@ -925,3 +927,3 @@

lossless?: boolean | undefined;
/** CPU effort vs file size, 0 (slowest/smallest) to 8 (fastest/largest) (optional, default 5) */
/** CPU effort vs file size, 0 (slowest/smallest) to 9 (fastest/largest) (optional, default 5) */
speed?: number | undefined;

@@ -939,3 +941,3 @@ /** set to '4:4:4' to prevent chroma subsampling otherwise defaults to '4:2:0' chroma subsampling, requires libvips v8.11.0 (optional, default '4:2:0') */

lossless?: boolean | undefined;
/** CPU effort vs file size, 0 (slowest/smallest) to 8 (fastest/largest) (optional, default 5) */
/** CPU effort vs file size, 0 (slowest/smallest) to 9 (fastest/largest) (optional, default 5) */
speed?: number | undefined;

@@ -942,0 +944,0 @@ }

{
"name": "@types/sharp",
"version": "0.29.0",
"version": "0.29.1",
"description": "TypeScript definitions for sharp",

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

},
"typesPublisherContentHash": "729c225b3050c241dcf32ddcf369b82cfd1e37bda2a90b2627759277825b6905",
"typesPublisherContentHash": "be11be58eb9a15482b5758bb27a3e6ea38560d038d091ce6786ea2639f9c202e",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Tue, 07 Sep 2021 19:31:24 GMT
* Last updated: Thu, 09 Sep 2021 08:31:19 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