mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Upgrade to libvips v8.11.2-alpha1
This commit is contained in:
parent
b32568159f
commit
3f6d9d6ee9
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## v0.29 - *circle*
|
## v0.29 - *circle*
|
||||||
|
|
||||||
Requires libvips v8.11.0
|
Requires libvips v8.11.2
|
||||||
|
|
||||||
### v0.29.0 - TBD
|
### v0.29.0 - TBD
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@
|
|||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"config": {
|
"config": {
|
||||||
"libvips": "8.11.0-rc1",
|
"libvips": "8.11.2-alpha1",
|
||||||
"runtime": "napi",
|
"runtime": "napi",
|
||||||
"target": 5
|
"target": 5
|
||||||
},
|
},
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
|
|
||||||
#if (VIPS_MAJOR_VERSION < 8) || \
|
#if (VIPS_MAJOR_VERSION < 8) || \
|
||||||
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 11) || \
|
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 11) || \
|
||||||
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 11 && VIPS_MICRO_VERSION < 0)
|
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 11 && VIPS_MICRO_VERSION < 2)
|
||||||
#error "libvips version 8.11.0+ is required - please see https://sharp.pixelplumbing.com/install"
|
#error "libvips version 8.11.2+ is required - please see https://sharp.pixelplumbing.com/install"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ((!defined(__clang__)) && defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)))
|
#if ((!defined(__clang__)) && defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)))
|
||||||
|
@ -247,7 +247,7 @@ describe('Image metadata', function () {
|
|||||||
assert.strictEqual('undefined', typeof metadata.size);
|
assert.strictEqual('undefined', typeof metadata.size);
|
||||||
assert.strictEqual(800, metadata.width);
|
assert.strictEqual(800, metadata.width);
|
||||||
assert.strictEqual(533, metadata.height);
|
assert.strictEqual(533, metadata.height);
|
||||||
assert.strictEqual(4, metadata.channels);
|
assert.strictEqual(3, metadata.channels);
|
||||||
assert.strictEqual('uchar', metadata.depth);
|
assert.strictEqual('uchar', metadata.depth);
|
||||||
assert.strictEqual('undefined', typeof metadata.density);
|
assert.strictEqual('undefined', typeof metadata.density);
|
||||||
assert.strictEqual('undefined', typeof metadata.chromaSubsampling);
|
assert.strictEqual('undefined', typeof metadata.chromaSubsampling);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user