@towles/tool 0.0.74 → 0.0.75
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.
package/package.json
CHANGED
package/src/lib/graph/render.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { BarChartData, TreemapNode } from "./types.js";
|
|
|
5
5
|
|
|
6
6
|
// Load HTML template from file (resolved relative to this module)
|
|
7
7
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
8
|
-
const TEMPLATE_PATH = path.join(__dirname, "
|
|
8
|
+
const TEMPLATE_PATH = path.join(__dirname, "graph-template.html");
|
|
9
9
|
let _cachedTemplate: string | undefined;
|
|
10
10
|
function getTemplate(): string {
|
|
11
11
|
_cachedTemplate ??= fs.readFileSync(TEMPLATE_PATH, "utf-8");
|
|
File without changes
|