mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Upgrade to libvips v8.13.1
This commit is contained in:
@@ -72,11 +72,7 @@ describe('AVIF', () => {
|
||||
format: 'heif',
|
||||
hasAlpha: false,
|
||||
hasProfile: false,
|
||||
// FIXME(kleisauke): https://github.com/strukturag/libheif/issues/365
|
||||
// $ vips black x.avif 32 13
|
||||
// $ vipsheader x.avif
|
||||
// x.avif: 32x12 uchar, 3 bands, srgb, heifload
|
||||
height: 12,
|
||||
height: 13,
|
||||
isProgressive: false,
|
||||
pagePrimary: 0,
|
||||
pages: 1,
|
||||
|
||||
@@ -680,7 +680,7 @@ describe('Input/output', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describe('Switch off safety limits for PNG/SVG input', () => {
|
||||
describe('Switch off safety limits for PNG/SVG/JPEG input', () => {
|
||||
it('Valid', () => {
|
||||
assert.doesNotThrow(() => {
|
||||
sharp({ unlimited: true });
|
||||
|
||||
@@ -203,7 +203,7 @@ describe('PNG', function () {
|
||||
const { channels, paletteBitDepth, size, space } = await sharp(data).metadata();
|
||||
assert.strictEqual(channels, 1);
|
||||
assert.strictEqual(paletteBitDepth, undefined);
|
||||
assert.strictEqual(size, 90);
|
||||
assert.strictEqual(size, 89);
|
||||
assert.strictEqual(space, 'b-w');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user