@barefootjs/hono 0.1.0 → 0.1.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/dist/dev.js +3 -3
- package/package.json +5 -5
package/dist/dev.js
CHANGED
|
@@ -4,7 +4,7 @@ var {mkdir, readFile, watch} = (() => ({}));
|
|
|
4
4
|
// node:path
|
|
5
5
|
function assertPath(path) {
|
|
6
6
|
if (typeof path !== "string")
|
|
7
|
-
throw
|
|
7
|
+
throw TypeError("Path must be a string. Received " + JSON.stringify(path));
|
|
8
8
|
}
|
|
9
9
|
function normalizeStringPosix(path, allowAboveRoot) {
|
|
10
10
|
var res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, code;
|
|
@@ -194,7 +194,7 @@ function dirname(path) {
|
|
|
194
194
|
}
|
|
195
195
|
function basename(path, ext) {
|
|
196
196
|
if (ext !== undefined && typeof ext !== "string")
|
|
197
|
-
throw
|
|
197
|
+
throw TypeError('"ext" argument must be a string');
|
|
198
198
|
assertPath(path);
|
|
199
199
|
var start = 0, end = -1, matchedSlash = true, i;
|
|
200
200
|
if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {
|
|
@@ -266,7 +266,7 @@ function extname(path) {
|
|
|
266
266
|
}
|
|
267
267
|
function format(pathObject) {
|
|
268
268
|
if (pathObject === null || typeof pathObject !== "object")
|
|
269
|
-
throw
|
|
269
|
+
throw TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof pathObject);
|
|
270
270
|
return _format("/", pathObject);
|
|
271
271
|
}
|
|
272
272
|
function parse(path) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@barefootjs/hono",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Hono integration for BarefootJS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -101,13 +101,13 @@
|
|
|
101
101
|
"directory": "packages/adapter-hono"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
|
-
"@barefootjs/client": "
|
|
105
|
-
"@barefootjs/jsx": "
|
|
106
|
-
"@barefootjs/shared": "
|
|
104
|
+
"@barefootjs/client": "0.1.2",
|
|
105
|
+
"@barefootjs/jsx": "0.1.2",
|
|
106
|
+
"@barefootjs/shared": "0.1.2",
|
|
107
107
|
"hono": "^4.0.0"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
|
-
"@barefootjs/adapter-tests": "
|
|
110
|
+
"@barefootjs/adapter-tests": "0.1.0",
|
|
111
111
|
"@types/jsdom": "^27.0.0",
|
|
112
112
|
"hono": "^4.6.0",
|
|
113
113
|
"jsdom": "^27.3.0",
|