sharp 0.34.2
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images
sharp@0.34.2 was published on 2025-05-20. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^18.17.0 || ^20.3.0 || >=21.0.0.
All sharp versions · Permanent reference to 0.34.2 · Latest release
Package specifications
| Version | 0.34.2 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2025-05-20T14:09:59.418Z |
| Node.js requirement | ^18.17.0 || ^20.3.0 || >=21.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 21 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 510.25 KiB |
| Published file count | 32 |
| Package type | commonjs |
| ES module entry | Not declared |
| Default entry | lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 3 |
| Resolved graph dependencies | 31 |
| Repository stars | 32786 |
| Repository forks | 1446 |
Install sharp 0.34.2
npm install sharp@0.34.2 pnpm add sharp@0.34.2 yarn add sharp@0.34.2
Runtime dependencies
- color ^4.2.3
- semver ^7.7.2
- detect-libc ^2.0.4
Peer requirements
- None declared
Optional dependencies
- @img/sharp-wasm32 0.34.2
- @img/sharp-linux-arm 0.34.2
- @img/sharp-linux-x64 0.34.2
- @img/sharp-win32-x64 0.34.2
- @img/sharp-darwin-x64 0.34.2
- @img/sharp-win32-ia32 0.34.2
- @img/sharp-linux-arm64 0.34.2
- @img/sharp-linux-s390x 0.34.2
- @img/sharp-win32-arm64 0.34.2
- @img/sharp-darwin-arm64 0.34.2
- @img/sharp-linuxmusl-x64 0.34.2
- @img/sharp-linuxmusl-arm64 0.34.2
- @img/sharp-libvips-linux-arm 1.1.0
- @img/sharp-libvips-linux-x64 1.1.0
- @img/sharp-libvips-darwin-x64 1.1.0
- @img/sharp-libvips-linux-arm64 1.1.0
- @img/sharp-libvips-linux-ppc64 1.1.0
- @img/sharp-libvips-linux-s390x 1.1.0
- @img/sharp-libvips-darwin-arm64 1.1.0
- @img/sharp-libvips-linuxmusl-x64 1.1.0
- @img/sharp-libvips-linuxmusl-arm64 1.1.0
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @emnapi/runtime@1.11.3 — indirect
- @img/sharp-darwin-arm64@0.34.2 — direct
- @img/sharp-darwin-x64@0.34.2 — direct
- @img/sharp-libvips-darwin-arm64@1.1.0 — direct
- @img/sharp-libvips-darwin-x64@1.1.0 — direct
- @img/sharp-libvips-linux-arm@1.1.0 — direct
- @img/sharp-libvips-linux-arm64@1.1.0 — direct
- @img/sharp-libvips-linux-ppc64@1.1.0 — direct
- @img/sharp-libvips-linux-s390x@1.1.0 — direct
- @img/sharp-libvips-linux-x64@1.1.0 — direct
- @img/sharp-libvips-linuxmusl-arm64@1.1.0 — direct
- @img/sharp-libvips-linuxmusl-x64@1.1.0 — direct
- @img/sharp-linux-arm@0.34.2 — direct
- @img/sharp-linux-arm64@0.34.2 — direct
- @img/sharp-linux-s390x@0.34.2 — direct
- @img/sharp-linux-x64@0.34.2 — direct
- @img/sharp-linuxmusl-arm64@0.34.2 — direct
- @img/sharp-linuxmusl-x64@0.34.2 — direct
- @img/sharp-wasm32@0.34.2 — direct
- @img/sharp-win32-arm64@0.34.2 — direct
- @img/sharp-win32-ia32@0.34.2 — direct
- @img/sharp-win32-x64@0.34.2 — direct
- color@4.2.3 — direct
- color-convert@2.0.1 — indirect
- color-name@1.1.4 — indirect
- color-string@1.9.1 — indirect
- detect-libc@2.1.2 — direct
- is-arrayish@0.3.4 — indirect
- semver@7.8.5 — direct
- simple-swizzle@0.2.4 — indirect
- tslib@2.8.1 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Known direct advisories
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 3/10 — Found 8/24 approved changesets -- score normalized to 3 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Security-Policy | 10/10 — security policy file detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Fuzzing | 10/10 — project is fuzzed |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| Signed-Releases | 0/10 — Project has not signed or included provenance with any releases. |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/sharp/0.34.2 — retrieved 2026-10-29T12:15:33.468Z
- https://api.deps.dev/v3/projects/github.com%2Flovell%2Fsharp — retrieved 2026-10-29T11:59:35.656Z
- https://api.deps.dev/v3/systems/npm/packages/sharp/versions/0.34.2 — retrieved 2026-10-29T12:15:34.021Z
- https://api.deps.dev/v3/systems/npm/packages/sharp/versions/0.34.2:dependencies — retrieved 2026-10-29T12:15:34.044Z