We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0e788 commit 35a84a6Copy full SHA for 35a84a6
packages/history/scripts/generateFull.ts
@@ -48,7 +48,7 @@ const dates = Array.from(
48
let datesModified = false;
49
let fullModified = false;
50
const npmHighImpactVersion = JSON.parse(
51
- await readFile(path.resolve(path.dirname(import.meta.resolve("npm-high-impact")), "./package.json"), "utf8"),
+ await readFile(new URL("package.json", import.meta.resolve("npm-high-impact")), "utf8"),
52
).version;
53
const outJsonFileName = new URL("../data/out.json", import.meta.url);
54
try {
0 commit comments