Socket
Socket
Sign inDemoInstall

sharp

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sharp - npm Package Compare versions

Comparing version 0.24.0 to 0.24.1

2

lib/constructor.js

@@ -19,2 +19,4 @@ 'use strict';

help.push(`- Ensure "${process.platform}" is used at install time as well as runtime`);
} else if (/dylib/.test(err.message) && /Incompatible library version/.test(err.message)) {
help.push('- Run "brew update && brew upgrade vips"');
} else if (/Cannot find module/.test(err.message)) {

@@ -21,0 +23,0 @@ help.push('- Run "npm rebuild --verbose sharp" and look for errors');

4

lib/input.js

@@ -190,5 +190,5 @@ 'use strict';

* - `height`: Number of pixels high (EXIF orientation is not taken into consideration)
* - `space`: Name of colour space interpretation e.g. `srgb`, `rgb`, `cmyk`, `lab`, `b-w` [...](https://github.com/libvips/libvips/blob/master/libvips/iofuncs/enumtypes.c#L636)
* - `space`: Name of colour space interpretation e.g. `srgb`, `rgb`, `cmyk`, `lab`, `b-w` [...](https://libvips.github.io/libvips/API/current/VipsImage.html#VipsInterpretation)
* - `channels`: Number of bands e.g. `3` for sRGB, `4` for CMYK
* - `depth`: Name of pixel depth format e.g. `uchar`, `char`, `ushort`, `float` [...](https://github.com/libvips/libvips/blob/master/libvips/iofuncs/enumtypes.c#L672)
* - `depth`: Name of pixel depth format e.g. `uchar`, `char`, `ushort`, `float` [...](https://libvips.github.io/libvips/API/current/VipsImage.html#VipsBandFormat)
* - `density`: Number of pixels per inch (DPI), if present

@@ -195,0 +195,0 @@ * - `chromaSubsampling`: String containing JPEG chroma subsampling, `4:2:0` or `4:4:4` for RGB, `4:2:0:4` or `4:4:4:4` for CMYK

{
"name": "sharp",
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP and TIFF images",
"version": "0.24.0",
"version": "0.24.1",
"author": "Lovell Fuller <npm@lovell.info>",

@@ -115,9 +115,9 @@ "homepage": "https://github.com/lovell/sharp",

"prebuild-install": "^5.3.3",
"semver": "^7.1.1",
"semver": "^7.1.3",
"simple-get": "^3.1.0",
"tar": "^5.0.5",
"tar": "^6.0.1",
"tunnel-agent": "^0.6.0"
},
"devDependencies": {
"async": "^3.1.0",
"async": "^3.1.1",
"cc": "^2.0.1",

@@ -129,3 +129,3 @@ "decompress-zip": "^0.3.2",

"license-checker": "^25.0.1",
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"mock-fs": "^4.10.4",

@@ -135,3 +135,3 @@ "nyc": "^15.0.0",

"prebuild-ci": "^3.1.0",
"rimraf": "^3.0.0",
"rimraf": "^3.0.2",
"semistandard": "^14.2.0"

@@ -138,0 +138,0 @@ },

@@ -93,6 +93,6 @@ # sharp

Visit [sharp.pixelplumbing.com](https://sharp.pixelplumbing.com/) for complete
[installation instructions](https://sharp.pixelplumbing.com/page/install),
[API documentation](https://sharp.pixelplumbing.com/page/api),
[benchmark tests](https://sharp.pixelplumbing.com/page/performance) and
[changelog](https://sharp.pixelplumbing.com/page/changelog).
[installation instructions](https://sharp.pixelplumbing.com/install),
[API documentation](https://sharp.pixelplumbing.com/api-constructor),
[benchmark tests](https://sharp.pixelplumbing.com/performance) and
[changelog](https://sharp.pixelplumbing.com/changelog).

@@ -99,0 +99,0 @@ ### Contributing

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