@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.
- package/Blog.js +1 -6
- package/blog_test_empty.db +0 -0
- package/blog_test_load.db +0 -0
- package/coverage/clover.xml +638 -630
- package/coverage/coverage-final.json +14 -14
- package/coverage/lcov-report/index.html +36 -36
- package/coverage/lcov-report/package/Article.js.html +20 -20
- package/coverage/lcov-report/package/Blog.js.html +378 -339
- package/coverage/lcov-report/package/Formatter.js.html +2 -2
- package/coverage/lcov-report/package/build-scripts.js.html +1 -1
- package/coverage/lcov-report/package/build-styles.js.html +1 -1
- package/coverage/lcov-report/package/index.html +19 -19
- package/coverage/lcov-report/package/model/APIModel.js.html +8 -8
- package/coverage/lcov-report/package/model/DataModel.js.html +34 -16
- package/coverage/lcov-report/package/model/DatabaseModel.js.html +14 -11
- package/coverage/lcov-report/package/model/FileAdapter.js.html +26 -23
- package/coverage/lcov-report/package/model/FileModel.js.html +20 -17
- package/coverage/lcov-report/package/model/SequelizeAdapter.js.html +36 -36
- package/coverage/lcov-report/package/model/SqliteAdapter.js.html +11 -11
- package/coverage/lcov-report/package/model/datastructures/ArrayList.js.html +2 -2
- package/coverage/lcov-report/package/model/datastructures/ArrayListHashMap.js.html +1 -1
- package/coverage/lcov-report/package/model/datastructures/BinarySearchTree.js.html +71 -68
- package/coverage/lcov-report/package/model/datastructures/BinarySearchTreeHashMap.js.html +28 -19
- package/coverage/lcov-report/package/model/datastructures/FileList.js.html +1 -1
- package/coverage/lcov-report/package/model/datastructures/index.html +21 -21
- package/coverage/lcov-report/package/model/index.html +26 -26
- package/coverage/lcov-report/package/utilities.js.html +19 -19
- package/coverage/lcov.info +1193 -1178
- package/model/DataModel.js +1 -1
- package/model/DatabaseModel.js +1 -1
- package/model/FileAdapter.js +1 -1
- package/model/FileModel.js +1 -1
- package/model/datastructures/BinarySearchTree.js +1 -1
- package/model/datastructures/BinarySearchTreeHashMap.js +1 -1
- package/package.json +2 -4
- 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 "
|
|
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");
|
package/blog_test_empty.db
CHANGED
|
Binary file
|
package/blog_test_load.db
CHANGED
|
Binary file
|