starlight-cannoli-plugins 2.13.0 → 2.13.1

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.
@@ -263,7 +263,7 @@ function computeJpgPath(tempOutputDir, filePath, blockId) {
263
263
  }
264
264
  async function writeJpgFromSvg(svgPath, jpgPath) {
265
265
  mkdirSync(dirname(jpgPath), { recursive: true });
266
- await sharp(svgPath).flatten({ background: { r: 255, g: 255, b: 255 } }).jpeg({ quality: 90 }).toFile(jpgPath);
266
+ await sharp(svgPath, { density: 300 }).flatten({ background: { r: 255, g: 255, b: 255 } }).jpeg({ quality: 90 }).toFile(jpgPath);
267
267
  }
268
268
  function stripAnsi(text) {
269
269
  return text.replace(/\x1b\[[0-9;]*m/g, "");
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3UMY7T6G.js";
10
10
  import {
11
11
  remarkLatexCompile
12
- } from "./chunk-WFEFWQAK.js";
12
+ } from "./chunk-57RXO5LG.js";
13
13
  import {
14
14
  astroNormalizePaths
15
15
  } from "./chunk-TLOFSB33.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  compileLatexToSvg,
3
3
  remarkLatexCompile
4
- } from "../chunk-WFEFWQAK.js";
4
+ } from "../chunk-57RXO5LG.js";
5
5
  import "../chunk-C2VXRQOK.js";
6
6
  import "../chunk-4VNS5WPM.js";
7
7
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "starlight-cannoli-plugins",
3
3
  "type": "module",
4
- "version": "2.13.0",
4
+ "version": "2.13.1",
5
5
  "description": "Starlight plugins for automatic sidebar generation and link validation",
6
6
  "license": "ISC",
7
7
  "main": "./dist/index.js",