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.22.0 to 0.22.1

16

sharp/index.d.ts

@@ -427,4 +427,12 @@ // Type definitions for sharp 0.22

*/
linear(a?: number, b?: number): Sharp;
linear(a?: number | null, b?: number): Sharp;
/**
* Recomb the image with the specified matrix.
* @param inputMatrix 3x3 Recombination matrix
* @throws {Error} Invalid parameters
* @returns A sharp instance that can be used to chain operations
*/
recomb(inputMatrix: Matrix3x3): Sharp;
//#endregion

@@ -1032,4 +1040,10 @@

}
type Matrix3x3 = [
[number, number, number],
[number, number, number],
[number, number, number]
];
}
export = sharp;

4

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

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

},
"typesPublisherContentHash": "3f980a5b89bda9be12e523da38f7d5c4d72d84812d387292eb5ae9643de6dc12",
"typesPublisherContentHash": "4fbfa973a61391e8ea79f3944c2b60d6e60c5ee6eb698e958d4fd89ca90230dc",
"typeScriptVersion": "2.1"
}

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

Additional Details
* Last updated: Thu, 21 Mar 2019 22:51:49 GMT
* Last updated: Thu, 28 Mar 2019 00:36:59 GMT
* Dependencies: @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