@types/sharp
Advanced tools
Comparing version 0.17.5 to 0.17.6
@@ -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 */ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
657
33772