Upgrade to libvips v8.13.1

This commit is contained in:
Lovell Fuller
2022-09-04 12:42:27 +01:00
parent 1eb66c0944
commit 5cdb2b83d5
9 changed files with 25 additions and 26 deletions

View File

@@ -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,

View File

@@ -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 });

View File

@@ -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');
});