scan-compromised 1.0.12 → 1.0.13

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/package.json +1 -1
  2. package/scripts/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scan-compromised",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "A simple npm CLI tool (starter template)",
5
5
  "main": "scripts/index.js",
6
6
  "type": "module",
package/scripts/index.js CHANGED
@@ -15,7 +15,7 @@ function loadThreats() {
15
15
  process.exit(1);
16
16
  }
17
17
  try {
18
- const raw = readFileSync(threatPath, "utf8");
18
+ const raw = readFileSync(threatsFile, "utf8");
19
19
  return JSON.parse(raw);
20
20
  } catch (err) {
21
21
  console.error(`"❌ Failed to parse ${threatsFile}:"`, err.message);