mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Upgrade to libvips v8.8.1
This commit is contained in:
parent
690bc43abe
commit
a0d1a7be50
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
### v0.23 - "*vision*"
|
### v0.23 - "*vision*"
|
||||||
|
|
||||||
Requires libvips v8.8.0.
|
Requires libvips v8.8.1.
|
||||||
|
|
||||||
#### v0.23.0 - TBD
|
#### v0.23.0 - TBD
|
||||||
|
|
||||||
|
@ -42,14 +42,14 @@ Most Linux-based (glibc, musl) operating systems running on x64 and ARMv6+ CPUs
|
|||||||
|
|
||||||
* Debian 8+
|
* Debian 8+
|
||||||
* Ubuntu 14.04+
|
* Ubuntu 14.04+
|
||||||
* Red Hat Enterprise 8
|
* Red Hat Enterprise 7+
|
||||||
* CentOS 8
|
* CentOS 7+
|
||||||
* Alpine 3.8+
|
* Alpine 3.10+
|
||||||
* Fedora
|
* Fedora 21+
|
||||||
* openSUSE 13.2+
|
* openSUSE 13.2+
|
||||||
* Archlinux
|
* Archlinux
|
||||||
* Raspbian Jessie
|
* Raspbian Jessie
|
||||||
* Amazon Linux 2
|
* Amazon Linux
|
||||||
* Solus
|
* Solus
|
||||||
|
|
||||||
To use a globally-installed version of libvips instead of the provided binaries,
|
To use a globally-installed version of libvips instead of the provided binaries,
|
||||||
@ -63,7 +63,7 @@ and `LD_LIBRARY_PATH` at runtime.
|
|||||||
This allows the use of newer versions of libvips with older versions of sharp.
|
This allows the use of newer versions of libvips with older versions of sharp.
|
||||||
|
|
||||||
For 32-bit Intel CPUs and older Linux-based operating systems such as
|
For 32-bit Intel CPUs and older Linux-based operating systems such as
|
||||||
those based on Red Hat Enterprise Linux 7 (e.g. CentOS 7, Amazon Linux 1)
|
those based on Red Hat Enterprise 6 (e.g. CentOS 6)
|
||||||
compiling libvips from source is recommended.
|
compiling libvips from source is recommended.
|
||||||
|
|
||||||
[https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball](https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball)
|
[https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball](https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball)
|
||||||
|
@ -63,7 +63,7 @@ try {
|
|||||||
if (platformAndArch === 'freebsd-x64' || platformAndArch === 'openbsd-x64' || platformAndArch === 'sunos-x64') {
|
if (platformAndArch === 'freebsd-x64' || platformAndArch === 'openbsd-x64' || platformAndArch === 'sunos-x64') {
|
||||||
throw new Error(`BSD/SunOS systems require manual installation of libvips >= ${minimumLibvipsVersion}`);
|
throw new Error(`BSD/SunOS systems require manual installation of libvips >= ${minimumLibvipsVersion}`);
|
||||||
}
|
}
|
||||||
if (detectLibc.family === detectLibc.GLIBC && detectLibc.version && semver.lt(`${detectLibc.version}.0`, '2.19.0')) {
|
if (detectLibc.family === detectLibc.GLIBC && detectLibc.version && semver.lt(`${detectLibc.version}.0`, '2.17.0')) {
|
||||||
throw new Error(`Use with glibc version ${detectLibc.version} requires manual installation of libvips >= ${minimumLibvipsVersion}`);
|
throw new Error(`Use with glibc version ${detectLibc.version} requires manual installation of libvips >= ${minimumLibvipsVersion}`);
|
||||||
}
|
}
|
||||||
// Download to per-process temporary file
|
// Download to per-process temporary file
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"config": {
|
"config": {
|
||||||
"libvips": "8.8.0"
|
"libvips": "8.8.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.5.0"
|
"node": ">=8.5.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user