@lexho111/plainblog 0.6.0 → 0.6.2

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 (36) hide show
  1. package/Blog.js +1 -6
  2. package/blog_test_empty.db +0 -0
  3. package/blog_test_load.db +0 -0
  4. package/coverage/clover.xml +638 -630
  5. package/coverage/coverage-final.json +14 -14
  6. package/coverage/lcov-report/index.html +36 -36
  7. package/coverage/lcov-report/package/Article.js.html +20 -20
  8. package/coverage/lcov-report/package/Blog.js.html +378 -339
  9. package/coverage/lcov-report/package/Formatter.js.html +2 -2
  10. package/coverage/lcov-report/package/build-scripts.js.html +1 -1
  11. package/coverage/lcov-report/package/build-styles.js.html +1 -1
  12. package/coverage/lcov-report/package/index.html +19 -19
  13. package/coverage/lcov-report/package/model/APIModel.js.html +8 -8
  14. package/coverage/lcov-report/package/model/DataModel.js.html +34 -16
  15. package/coverage/lcov-report/package/model/DatabaseModel.js.html +14 -11
  16. package/coverage/lcov-report/package/model/FileAdapter.js.html +26 -23
  17. package/coverage/lcov-report/package/model/FileModel.js.html +20 -17
  18. package/coverage/lcov-report/package/model/SequelizeAdapter.js.html +36 -36
  19. package/coverage/lcov-report/package/model/SqliteAdapter.js.html +11 -11
  20. package/coverage/lcov-report/package/model/datastructures/ArrayList.js.html +2 -2
  21. package/coverage/lcov-report/package/model/datastructures/ArrayListHashMap.js.html +1 -1
  22. package/coverage/lcov-report/package/model/datastructures/BinarySearchTree.js.html +71 -68
  23. package/coverage/lcov-report/package/model/datastructures/BinarySearchTreeHashMap.js.html +28 -19
  24. package/coverage/lcov-report/package/model/datastructures/FileList.js.html +1 -1
  25. package/coverage/lcov-report/package/model/datastructures/index.html +21 -21
  26. package/coverage/lcov-report/package/model/index.html +26 -26
  27. package/coverage/lcov-report/package/utilities.js.html +19 -19
  28. package/coverage/lcov.info +1193 -1178
  29. package/model/DataModel.js +1 -1
  30. package/model/DatabaseModel.js +1 -1
  31. package/model/FileAdapter.js +1 -1
  32. package/model/FileModel.js +1 -1
  33. package/model/datastructures/BinarySearchTree.js +1 -1
  34. package/model/datastructures/BinarySearchTreeHashMap.js +1 -1
  35. package/package.json +2 -4
  36. package/public/scripts.min.js +2 -2
package/Blog.js CHANGED
@@ -6,7 +6,7 @@ import process from "node:process";
6
6
  import path from "path";
7
7
  import { fileURLToPath } from "url";
8
8
  import pkg from "./package.json" with { type: "json" };
9
- import createDebug from "debug";
9
+ import { debuglog as createDebug } from "node:util";
10
10
  import Article from "./Article.js";
11
11
  import DatabaseModel from "./model/DatabaseModel.js";
12
12
  import { fetchData, postData } from "./model/APIModel.js";
@@ -14,13 +14,8 @@ import { formatHTML, header, formatMarkdown, validate } from "./Formatter.js"; /
14
14
  import { compileStyles, mergeStyles } from "./build-styles.js";
15
15
  import { compileScripts } from "./build-scripts.js";
16
16
  import FileAdapter from "./model/FileAdapter.js";
17
- import { table, log } from "./utilities.js";
18
-
19
17
  import DataModel from "./model/DataModel.js";
20
- import ArrayList from "./model/datastructures/ArrayList.js";
21
- import ArrayListHashMap from "./model/datastructures/ArrayListHashMap.js";
22
18
  import { BinarySearchTreeHashMap } from "./model/datastructures/BinarySearchTreeHashMap.js";
23
- import FileList from "./model/datastructures/FileList.js";
24
19
 
25
20
  // Initialize the debugger with a specific namespace
26
21
  const debug = createDebug("plainblog:Blog");
Binary file
package/blog_test_load.db CHANGED
Binary file