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.17.5 to 0.17.6

13

sharp/index.d.ts

@@ -426,2 +426,4 @@ // Type definitions for sharp 0.17

raw?: Raw;
/** describes a blank overlay to be created. */
create?: Create;
}

@@ -449,2 +451,13 @@

interface Create {
/** Number of pixels wide */
width: number;
/** Number of pixels high */
height: number;
/** Number of bands e.g. 3 for RGB, 4 for RGBA */
channels: number;
/** parsed by the [color](https://www.npmjs.org/package/color) module to extract values for red, green, blue and alpha. */
background: string | RGBA;
}
interface Metadata {

@@ -451,0 +464,0 @@ /** Name of decoder used to decompress image data e.g. jpeg, png, webp, gif, svg */

4

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

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

},
"typesPublisherContentHash": "b8f521d95df31792002a7d8f42c6f54589f0c22bb1218d1d8c175209c7a8e789",
"typesPublisherContentHash": "d484e87eac41e0ba59d277b940a104e882cdff37f689b202b3bd5c2b283e0875",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Wed, 25 Oct 2017 16:18:58 GMT
* Last updated: Sun, 03 Dec 2017 16:31:01 GMT
* Dependencies: stream, node

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

Sorry, the diff of this file is not supported yet

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