[chore] update dependencies (#663)

* update dependencies

* update image rasterizer
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2025-06-21 06:10:05 -04:00
1 parent 5e26deea77
commit 141c80c618
5 files changed
+674 -590

No files matched your search

+5 -1
View File
@@ -7,6 +7,7 @@ const { existsSync, writeFileSync, readFileSync } = require('fs');
const json5 = require('json5');
const md5 = require('crypto-js/md5');
const path = require('path');
const { executablePath } = require('puppeteer');
const META_EXT = '.meta.json5';
@@ -116,7 +117,10 @@ function checkFileHash(file, hash) {
}
async function generateImage(inputImage, options, rootDir) {
const opts = { ...options };
const opts = {
launch: { executablePath },
...options
};
opts.outputFilePath = path.join(rootDir, opts.outputFilePath);
await convertFile(inputImage, opts);
}