Upgrade to libvips v8.16.0-rc2

CI: Add Node.js 22
Bump devDeps
Pin node-addon-api to prevent C++17 for now
This commit is contained in:
Lovell Fuller
2024-10-28 10:29:18 +00:00
parent 9582b5036f
commit 6480a94181
16 changed files with 86 additions and 56 deletions

View File

@@ -931,7 +931,7 @@ describe('Image metadata', function () {
sharp(fixtures.inputJpgWithCorruptHeader)
.metadata(function (err) {
assert.strictEqual(true, !!err);
assert.ok(err.message.includes('Input file has corrupt header: VipsJpeg: Premature end of'), err);
assert.ok(err.message.includes('Input file has corrupt header: VipsJpeg: premature end of'), err);
done();
});
});
@@ -940,7 +940,7 @@ describe('Image metadata', function () {
sharp(fs.readFileSync(fixtures.inputJpgWithCorruptHeader))
.metadata(function (err) {
assert.strictEqual(true, !!err);
assert.ok(err.message.includes('Input buffer has corrupt header: VipsJpeg: Premature end of'), err);
assert.ok(err.message.includes('Input buffer has corrupt header: VipsJpeg: premature end of'), err);
done();
});
});