@t8/docsgen 0.1.14 → 0.1.16

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/dist/bin.js CHANGED
@@ -89,7 +89,8 @@ async function fetchText(location) {
89
89
  return "";
90
90
  }
91
91
  }
92
- return (await (0, import_promises.readFile)(location)).toString();
92
+ let locationPath = location.replace(/^\//, "");
93
+ return (await (0, import_promises.readFile)(locationPath)).toString();
93
94
  }
94
95
 
95
96
  // src/bin/getLocation.ts
package/dist/css/base.css CHANGED
@@ -244,7 +244,7 @@ html.blank .layout {
244
244
  }
245
245
  .badges .badge.loaded,
246
246
  .badges .badge.failed {
247
- min-width: none;
247
+ min-width: auto;
248
248
  }
249
249
  .badges .badge.failed {
250
250
  padding: 0 6px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t8/docsgen",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "",
5
5
  "main": "dist/bin.js",
6
6
  "bin": {
@@ -12,5 +12,7 @@ export async function fetchText(location: string | undefined) {
12
12
  }
13
13
  }
14
14
 
15
- return (await readFile(location)).toString();
15
+ let locationPath = location.replace(/^\//, "");
16
+
17
+ return (await readFile(locationPath)).toString();
16
18
  }
package/src/css/base.css CHANGED
@@ -244,7 +244,7 @@ html.blank .layout {
244
244
  }
245
245
  .badges .badge.loaded,
246
246
  .badges .badge.failed {
247
- min-width: none;
247
+ min-width: auto;
248
248
  }
249
249
  .badges .badge.failed {
250
250
  padding: 0 6px;