explainthisrepo 0.9.0 → 0.9.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.
Files changed (2) hide show
  1. package/dist/config.js +2 -2
  2. package/package.json +3 -2
package/dist/config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import fs from "node:fs";
2
2
  import os from "node:os";
3
3
  import path from "node:path";
4
- import toml from "toml";
4
+ import { parse } from "@iarna/toml";
5
5
  const CONFIG_DIR_NAME = "ExplainThisRepo";
6
6
  const CONFIG_FILE_NAME = "config.toml";
7
7
  export function getConfigPath() {
@@ -38,7 +38,7 @@ export function loadConfig() {
38
38
  return {};
39
39
  }
40
40
  try {
41
- return toml.parse(raw);
41
+ return parse(raw);
42
42
  }
43
43
  catch (err) {
44
44
  throw new Error("Invalid config.toml format");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "explainthisrepo",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "CLI that generates plain-English explanations of any codebase",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -50,7 +50,8 @@
50
50
  "commander": "^14.0.3",
51
51
  "dotenv": "^17.2.3",
52
52
  "openai": "^4.0.0",
53
- "ora": "^9.3.0"
53
+ "ora": "^9.3.0",
54
+ "toml": "^3.0.0"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@types/node": "^22.0.0",