diff --git a/docs/changelog.md b/docs/changelog.md index 30b220b2..323c3c1d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,7 +2,7 @@ ## v0.29 - *circle* -Requires libvips v8.11.0 +Requires libvips v8.11.2 ### v0.29.0 - TBD diff --git a/package.json b/package.json index 2f3851ce..d80e6fe5 100644 --- a/package.json +++ b/package.json @@ -148,7 +148,7 @@ }, "license": "Apache-2.0", "config": { - "libvips": "8.11.0-rc1", + "libvips": "8.11.2-alpha1", "runtime": "napi", "target": 5 }, diff --git a/src/common.h b/src/common.h index 3ee047ea..f19bfe7e 100644 --- a/src/common.h +++ b/src/common.h @@ -26,8 +26,8 @@ #if (VIPS_MAJOR_VERSION < 8) || \ (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 11) || \ - (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 11 && VIPS_MICRO_VERSION < 0) -#error "libvips version 8.11.0+ is required - please see https://sharp.pixelplumbing.com/install" + (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 11 && VIPS_MICRO_VERSION < 2) +#error "libvips version 8.11.2+ is required - please see https://sharp.pixelplumbing.com/install" #endif #if ((!defined(__clang__)) && defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6))) diff --git a/test/unit/metadata.js b/test/unit/metadata.js index 1aa2f343..d32f6ba1 100644 --- a/test/unit/metadata.js +++ b/test/unit/metadata.js @@ -247,7 +247,7 @@ describe('Image metadata', function () { assert.strictEqual('undefined', typeof metadata.size); assert.strictEqual(800, metadata.width); assert.strictEqual(533, metadata.height); - assert.strictEqual(4, metadata.channels); + assert.strictEqual(3, metadata.channels); assert.strictEqual('uchar', metadata.depth); assert.strictEqual('undefined', typeof metadata.density); assert.strictEqual('undefined', typeof metadata.chromaSubsampling);