mirror of
https://github.com/lovell/sharp.git
synced 2025-12-06 03:51:40 +01:00
Upgrade to libvips v8.17.2
This commit is contained in:
parent
6d4d44e2fa
commit
93b814f849
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -269,7 +269,7 @@ jobs:
|
||||
contents: read
|
||||
name: "build-wasm32 [package]"
|
||||
runs-on: ubuntu-24.04
|
||||
container: "emscripten/emsdk:4.0.11"
|
||||
container: "emscripten/emsdk:4.0.14"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Dependencies
|
||||
|
||||
@ -3,6 +3,8 @@ title: v0.34.4 - TBD
|
||||
slug: changelog/v0.34.4
|
||||
---
|
||||
|
||||
* Upgrade to libvips v8.17.2 for upstream bug fixes.
|
||||
|
||||
* Ensure `autoOrient` occurs before non-90 angle rotation.
|
||||
[#4425](https://github.com/lovell/sharp/issues/4425)
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-darwin-arm64": "1.2.1"
|
||||
"@img/sharp-libvips-darwin-arm64": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-darwin-x64": "1.2.1"
|
||||
"@img/sharp-libvips-darwin-x64": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-arm": "1.2.1"
|
||||
"@img/sharp-libvips-linux-arm": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-arm64": "1.2.1"
|
||||
"@img/sharp-libvips-linux-arm64": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-ppc64": "1.2.1"
|
||||
"@img/sharp-libvips-linux-ppc64": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-s390x": "1.2.1"
|
||||
"@img/sharp-libvips-linux-s390x": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-x64": "1.2.1"
|
||||
"@img/sharp-libvips-linux-x64": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.1"
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.1"
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.2-rc.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
30
package.json
30
package.json
@ -144,15 +144,15 @@
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-darwin-arm64": "0.34.4-rc.1",
|
||||
"@img/sharp-darwin-x64": "0.34.4-rc.1",
|
||||
"@img/sharp-libvips-darwin-arm64": "1.2.1",
|
||||
"@img/sharp-libvips-darwin-x64": "1.2.1",
|
||||
"@img/sharp-libvips-linux-arm": "1.2.1",
|
||||
"@img/sharp-libvips-linux-arm64": "1.2.1",
|
||||
"@img/sharp-libvips-linux-ppc64": "1.2.1",
|
||||
"@img/sharp-libvips-linux-s390x": "1.2.1",
|
||||
"@img/sharp-libvips-linux-x64": "1.2.1",
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.1",
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.1",
|
||||
"@img/sharp-libvips-darwin-arm64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-darwin-x64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-arm": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-arm64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-ppc64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-s390x": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-x64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.2-rc.2",
|
||||
"@img/sharp-linux-arm": "0.34.4-rc.1",
|
||||
"@img/sharp-linux-arm64": "0.34.4-rc.1",
|
||||
"@img/sharp-linux-ppc64": "0.34.4-rc.1",
|
||||
@ -167,11 +167,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@emnapi/runtime": "^1.5.0",
|
||||
"@img/sharp-libvips-dev": "1.2.1",
|
||||
"@img/sharp-libvips-dev-wasm32": "1.2.1",
|
||||
"@img/sharp-libvips-win32-arm64": "1.2.1",
|
||||
"@img/sharp-libvips-win32-ia32": "1.2.1",
|
||||
"@img/sharp-libvips-win32-x64": "1.2.1",
|
||||
"@img/sharp-libvips-dev": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-dev-wasm32": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-win32-arm64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-win32-ia32": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-win32-x64": "1.2.2-rc.2",
|
||||
"@types/node": "*",
|
||||
"cc": "^3.0.1",
|
||||
"emnapi": "^1.5.0",
|
||||
@ -193,7 +193,7 @@
|
||||
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||
},
|
||||
"config": {
|
||||
"libvips": ">=8.17.1"
|
||||
"libvips": ">=8.17.2"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/libvips"
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
|
||||
#if (VIPS_MAJOR_VERSION < 8) || \
|
||||
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 17) || \
|
||||
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 17 && VIPS_MICRO_VERSION < 1)
|
||||
#error "libvips version 8.17.1+ is required - please see https://sharp.pixelplumbing.com/install"
|
||||
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 17 && VIPS_MICRO_VERSION < 2)
|
||||
#error "libvips version 8.17.2+ is required - please see https://sharp.pixelplumbing.com/install"
|
||||
#endif
|
||||
|
||||
#if defined(__has_include)
|
||||
|
||||
@ -179,7 +179,7 @@ describe('libvips binaries', function () {
|
||||
process.env.npm_config_arch = 's390x';
|
||||
process.env.npm_config_libc = '';
|
||||
const locatorHash = libvips.yarnLocator();
|
||||
assert.strictEqual(locatorHash, '7e40558001');
|
||||
assert.strictEqual(locatorHash, 'b5865b53e1');
|
||||
delete process.env.npm_config_platform;
|
||||
delete process.env.npm_config_arch;
|
||||
delete process.env.npm_config_libc;
|
||||
|
||||
@ -43,7 +43,7 @@ describe('Median filter', function () {
|
||||
.raw()
|
||||
.toBuffer();
|
||||
|
||||
assert.deepStrictEqual(data.subarray(0, 6), Buffer.from([0, 3, 15, 15, 63, 127]));
|
||||
assert.deepStrictEqual(data.subarray(0, 6), Buffer.from(row));
|
||||
});
|
||||
|
||||
it('invalid radius', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user