mulmocast-vision 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/utils.js +1 -1
  2. package/package.json +9 -8
package/lib/utils.js CHANGED
@@ -25,7 +25,7 @@ const renderHTMLToImage = async (html, outputPath, width, height) => {
25
25
  const de = document.documentElement;
26
26
  const sw = Math.max(de.scrollWidth, document.body.scrollWidth || 0);
27
27
  const sh = Math.max(de.scrollHeight, document.body.scrollHeight || 0);
28
- const scale = Math.min(vw / (sw || vw), vh / (sh || vh), 1); // <=1 で縮小のみ
28
+ const scale = Math.min(vw / (sw || vw), vh / (sh || vh), 1);
29
29
  de.style.overflow = "hidden";
30
30
  document.body.style.zoom = String(scale);
31
31
  }, { vw: width, vh: height });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mulmocast-vision",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Easy and stylish presentation slide generator",
5
5
  "mcpName": "io.github.isamu/mulmocast-vision",
6
6
  "main": "lib/index.js",
@@ -38,23 +38,24 @@
38
38
  "dependencies": {
39
39
  "@modelcontextprotocol/sdk": "^1.27.1",
40
40
  "nunjucks": "^3.2.4",
41
- "pdfkit": "^0.17.2",
42
- "puppeteer": "^24.39.1"
41
+ "pdfkit": "^0.18.0",
42
+ "puppeteer": "^25.0.2",
43
+ "yauzl": "^3.2.1"
43
44
  },
44
45
  "devDependencies": {
45
46
  "@eslint/js": "^10.0.1",
46
47
  "@types/nunjucks": "^3.2.6",
47
- "@types/pdfkit": "^0.17.5",
48
+ "@types/pdfkit": "^0.17.6",
48
49
  "cross-env": "^10.1.0",
49
- "eslint": "^10.0.3",
50
+ "eslint": "^10.4.0",
50
51
  "eslint-config-prettier": "^10.1.8",
51
52
  "eslint-plugin-prettier": "^5.5.5",
52
- "globals": "^17.4.0",
53
+ "globals": "^17.6.0",
53
54
  "graphai": "^2.0.16",
54
- "prettier": "^3.8.1",
55
+ "prettier": "^3.8.3",
55
56
  "ts-node": "^10.9.2",
56
57
  "typescript": "^5.9.3",
57
- "typescript-eslint": "^8.57.0"
58
+ "typescript-eslint": "^8.59.3"
58
59
  },
59
60
  "types": "./lib/index.d.ts",
60
61
  "directories": {