@kenjura/ursa 0.8.0 → 0.9.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.9.0
2
+
3
+ 2024-02-10
4
+
5
+ - Removed spammy debug data from json
6
+
1
7
  # 0.8.0
2
8
 
3
9
  2023-12-31
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@kenjura/ursa",
3
3
  "author": "Andrew London <andrew@kenjura.com>",
4
4
  "type": "module",
5
- "version": "0.8.0",
5
+ "version": "0.9.0",
6
6
  "description": "static site generator from MD/wikitext/YML",
7
7
  "main": "lib/index.js",
8
8
  "scripts": {
@@ -107,11 +107,11 @@ export async function generate({
107
107
  const jsonObject = {
108
108
  name: base,
109
109
  contents: rawBody,
110
- bodyLessMeta: bodyLessMeta,
110
+ // bodyLessMeta: bodyLessMeta,
111
111
  bodyHtml: body,
112
112
  metadata: meta,
113
113
  transformedMetadata,
114
- html: finalHtml,
114
+ // html: finalHtml,
115
115
  };
116
116
  jsonCache.set(file, jsonObject);
117
117
  const json = JSON.stringify(jsonObject);
@@ -263,4 +263,4 @@ function addTrailingSlash(somePath) {
263
263
  if (somePath.length < 1) return somePath;
264
264
  if (somePath[somePath.length - 1] == "/") return somePath;
265
265
  return `${somePath}/`;
266
- }
266
+ }