@taujs/server 0.1.5 → 0.1.6
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/index.js +2 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -57,10 +57,9 @@ var require_toCamelCase = __commonJS({
|
|
|
57
57
|
if (name[0] === "@") {
|
|
58
58
|
name = name.slice(1).replace("/", "-");
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
return name.replace(/-(.)/g, function(match2, g1) {
|
|
61
61
|
return g1.toUpperCase();
|
|
62
62
|
});
|
|
63
|
-
return newName;
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
65
|
});
|
|
@@ -74,7 +73,7 @@ var require_plugin = __commonJS({
|
|
|
74
73
|
var count = 0;
|
|
75
74
|
function plugin(fn, options = {}) {
|
|
76
75
|
let autoName = false;
|
|
77
|
-
if (
|
|
76
|
+
if (fn.default !== void 0) {
|
|
78
77
|
fn = fn.default;
|
|
79
78
|
}
|
|
80
79
|
if (typeof fn !== "function") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taujs/server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "taujs | τjs",
|
|
5
5
|
"author": "Aoede <taujs@aoede.uk.net> (https://www.aoede.uk.net)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dist"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@fastify/static": "^
|
|
42
|
+
"@fastify/static": "^8.0.3",
|
|
43
43
|
"path-to-regexp": "^8.1.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@types/react": "^18.3.3",
|
|
53
53
|
"@types/react-dom": "^18.3.0",
|
|
54
54
|
"@vitest/coverage-v8": "^2.1.0",
|
|
55
|
-
"fastify": "^
|
|
55
|
+
"fastify": "^5.2.0",
|
|
56
56
|
"jsdom": "^25.0.0",
|
|
57
57
|
"prettier": "^3.3.3",
|
|
58
58
|
"react-dom": "^18.3.1",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"vitest": "^2.0.5"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"fastify": "^
|
|
65
|
+
"fastify": "^5.2.0",
|
|
66
66
|
"react": "^18.3.1",
|
|
67
67
|
"react-dom": "^18.3.1",
|
|
68
68
|
"typescript": "^5.5.4",
|