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.8 to 0.17.9

8

sharp/index.d.ts

@@ -335,2 +335,10 @@ // Type definitions for sharp 0.17

*/
linear(multiplier?: number, offset?: number): SharpInstance;
/**
* Apply a gamma correction by reducing the encoding (darken) pre-resize at a factor of 1/gamma then increasing the encoding (brighten) post-resize at a factor of gamma.
* @param multiplier value between 0.0 and 1.0. (optional, default 1.0)
* @param offset value between 0.0 and 1.0. (optional, default 0.0)
* @throws {Error} Invalid parameters
* @returns A sharp instance that can be used to chain operations
*/
boolean(operand: string | Buffer, operator: string, options?: { raw: Raw }): SharpInstance;

@@ -337,0 +345,0 @@ /**

6

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

@@ -21,3 +21,3 @@ "license": "MIT",

"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},

@@ -28,4 +28,4 @@ "scripts": {},

},
"typesPublisherContentHash": "0dbce2c89fe7cce8f9e617b9b7665d0ca0c2a30109775190556bd14d4f8ab963",
"typesPublisherContentHash": "ad6c6f8773541c6e7fc8bb942fa85c32ce1fe44d10cac2b80c0e61a79d23dafd",
"typeScriptVersion": "2.0"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharp
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharp
Additional Details
* Last updated: Mon, 09 Apr 2018 17:46:20 GMT
* Last updated: Mon, 02 Jul 2018 20:44:33 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