@mergehez/dokie-node 0.1.2 → 0.1.4
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/README.md +0 -1
- package/assets/dokie.html +204 -267
- package/dist/index.cjs +2 -2
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -22,9 +22,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
24
|
let node_fs = require("node:fs");
|
|
25
|
-
node_fs = __toESM(node_fs);
|
|
25
|
+
node_fs = __toESM(node_fs, 1);
|
|
26
26
|
let node_path = require("node:path");
|
|
27
|
-
node_path = __toESM(node_path);
|
|
27
|
+
node_path = __toESM(node_path, 1);
|
|
28
28
|
const _coreExports = createDokieServerExports(node_path.default.resolve(__dirname, "../assets/dokie.html"), (assetPath) => node_fs.default.readFileSync(assetPath, "utf8"));
|
|
29
29
|
function normalizeFetchRequest(req) {
|
|
30
30
|
const url = new URL(req.url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mergehez/dokie-node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A Node.js package for serving the Dokie API documentation UI across generic servers, Express, Fastify, and Hono.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "mergehez",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"fetch"
|
|
56
56
|
],
|
|
57
57
|
"scripts": {
|
|
58
|
-
"build": "
|
|
58
|
+
"build": "oxfmt --write && oxfmt && tsdown",
|
|
59
59
|
"test": "bun test"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@types/bun": "^1.3.
|
|
63
|
-
"@types/node": "^
|
|
64
|
-
"tsdown": "^0.
|
|
65
|
-
"typescript": "^6.0.
|
|
62
|
+
"@types/bun": "^1.3.14",
|
|
63
|
+
"@types/node": "^26.0.1",
|
|
64
|
+
"tsdown": "^0.22.3",
|
|
65
|
+
"typescript": "^6.0.3"
|
|
66
66
|
},
|
|
67
67
|
"repository": {
|
|
68
68
|
"type": "git",
|