Upgrade to libvips v8.17.0

CI: Use more recent, non-deprecated Windows runners

Bump devDeps
This commit is contained in:
Lovell Fuller
2025-06-12 11:27:26 +01:00
parent 4d1f7e051d
commit 99be893dd4
16 changed files with 55 additions and 45 deletions

View File

@@ -18,8 +18,10 @@ Napi::Object init(Napi::Env env, Napi::Object exports) {
vips_init("sharp");
});
g_log_set_handler("VIPS", static_cast<GLogLevelFlags>(G_LOG_LEVEL_WARNING),
static_cast<GLogFunc>(sharp::VipsWarningCallback), nullptr);
for (auto domain : { "VIPS", "vips2tiff" }) {
g_log_set_handler(domain, static_cast<GLogLevelFlags>(G_LOG_LEVEL_WARNING),
static_cast<GLogFunc>(sharp::VipsWarningCallback), nullptr);
}
// Methods available to JavaScript
exports.Set("metadata", Napi::Function::New(env, metadata));