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.33.0-alpha.6 to 0.33.0-alpha.7

4

lib/sharp.js

@@ -56,2 +56,6 @@ // Copyright 2013 Lovell Fuller and others.

}
if (process.versions.pnp) {
help.push('- Use a supported yarn linker, either pnpm or node-modules');
help.push(' yarn config set nodeLinker node-modules');
}
// Link to installation docs

@@ -58,0 +62,0 @@ if (isLinux && /Module did not self-register/.test(errLocal.message + errPackage.message)) {

22

lib/utility.js

@@ -13,2 +13,5 @@ // Copyright 2013 Lovell Fuller and others.

const runtimePlatform = runtimePlatformArch();
const libvipsVersion = sharp.libvipsVersion();
/**

@@ -48,3 +51,5 @@ * An Object containing nested boolean values representing the available input and output formats/methods.

/**
* An Object containing the version numbers of sharp, libvips and its dependencies.
* An Object containing the version numbers of sharp, libvips
* and (when using prebuilt binaries) its dependencies.
*
* @member

@@ -55,10 +60,13 @@ * @example

let versions = {
vips: sharp.libvipsVersion()
vips: libvipsVersion.semver
};
try {
versions = require(`@sharpen/sharp-${runtimePlatformArch()}/versions`);
} catch (_) {
/* istanbul ignore next */
if (!libvipsVersion.isGlobal) {
try {
versions = require(`@sharpen/sharp-libvips-${runtimePlatformArch()}/versions`);
} catch (_) {}
versions = require(`@sharpen/sharp-${runtimePlatform}/versions`);
} catch (_) {
try {
versions = require(`@sharpen/sharp-libvips-${runtimePlatform}/versions`);
} catch (_) {}
}
}

@@ -65,0 +73,0 @@ versions.sharp = require('../package.json').version;

{
"name": "sharp",
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
"version": "0.33.0-alpha.6",
"version": "0.33.0-alpha.7",
"author": "Lovell Fuller <npm@lovell.info>",

@@ -142,4 +142,4 @@ "homepage": "https://github.com/lovell/sharp",

"optionalDependencies": {
"@sharpen/sharp-darwin-arm64": "0.0.1-alpha.6",
"@sharpen/sharp-darwin-x64": "0.0.1-alpha.6",
"@sharpen/sharp-darwin-arm64": "0.0.1-alpha.7",
"@sharpen/sharp-darwin-x64": "0.0.1-alpha.7",
"@sharpen/sharp-libvips-darwin-arm64": "0.0.1-alpha.2",

@@ -152,9 +152,9 @@ "@sharpen/sharp-libvips-darwin-x64": "0.0.1-alpha.2",

"@sharpen/sharp-libvips-linuxmusl-x64": "0.0.1-alpha.2",
"@sharpen/sharp-linux-arm": "0.0.1-alpha.6",
"@sharpen/sharp-linux-arm64": "0.0.1-alpha.6",
"@sharpen/sharp-linux-x64": "0.0.1-alpha.6",
"@sharpen/sharp-linuxmusl-arm64": "0.0.1-alpha.6",
"@sharpen/sharp-linuxmusl-x64": "0.0.1-alpha.6",
"@sharpen/sharp-win32-ia32": "0.0.1-alpha.6",
"@sharpen/sharp-win32-x64": "0.0.1-alpha.6"
"@sharpen/sharp-linux-arm": "0.0.1-alpha.7",
"@sharpen/sharp-linux-arm64": "0.0.1-alpha.7",
"@sharpen/sharp-linux-x64": "0.0.1-alpha.7",
"@sharpen/sharp-linuxmusl-arm64": "0.0.1-alpha.7",
"@sharpen/sharp-linuxmusl-x64": "0.0.1-alpha.7",
"@sharpen/sharp-win32-ia32": "0.0.1-alpha.7",
"@sharpen/sharp-win32-x64": "0.0.1-alpha.7"
},

@@ -161,0 +161,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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