@visulima/connect 2.1.10 → 2.1.11
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/CHANGELOG.md +8 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## @visulima/connect [2.1.11](https://github.com/visulima/visulima/compare/@visulima/connect@2.1.10...@visulima/connect@2.1.11) (2023-12-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Dependencies
|
|
6
|
+
|
|
7
|
+
* **@visulima/nextra-theme-docs:** upgraded to 4.0.11
|
|
8
|
+
|
|
1
9
|
## @visulima/connect [2.1.10](https://github.com/visulima/visulima/compare/@visulima/connect@2.1.9...@visulima/connect@2.1.10) (2023-11-30)
|
|
2
10
|
|
|
3
11
|
|
package/dist/index.d.mts
CHANGED
|
@@ -145,4 +145,4 @@ declare const createEdgeRouter: <R extends Request, Context>(options?: HandlerOp
|
|
|
145
145
|
|
|
146
146
|
declare const sendJson: (response: ServerResponse, statusCode: number, jsonBody: unknown) => void;
|
|
147
147
|
|
|
148
|
-
export { RequestHandler as EdgeRequestHandler, EdgeRouter, ExpressRequestHandler, FindResult, FunctionLike, HandlerOptions, HttpMethod, NextHandler, Nextable, RequestHandler$1 as NodeRequestHandler, NodeRouter, Route, RouteShortcutMethod, Router, ValueOrPromise, createEdgeRouter, createRouter as createNodeRouter, createRouter, expressWrapper, sendJson, withZod };
|
|
148
|
+
export { type RequestHandler as EdgeRequestHandler, EdgeRouter, type ExpressRequestHandler, type FindResult, type FunctionLike, type HandlerOptions, type HttpMethod, type NextHandler, type Nextable, type RequestHandler$1 as NodeRequestHandler, NodeRouter, type Route, type RouteShortcutMethod, Router, type ValueOrPromise, createEdgeRouter, createRouter as createNodeRouter, createRouter, expressWrapper, sendJson, withZod };
|
package/dist/index.d.ts
CHANGED
|
@@ -145,4 +145,4 @@ declare const createEdgeRouter: <R extends Request, Context>(options?: HandlerOp
|
|
|
145
145
|
|
|
146
146
|
declare const sendJson: (response: ServerResponse, statusCode: number, jsonBody: unknown) => void;
|
|
147
147
|
|
|
148
|
-
export { RequestHandler as EdgeRequestHandler, EdgeRouter, ExpressRequestHandler, FindResult, FunctionLike, HandlerOptions, HttpMethod, NextHandler, Nextable, RequestHandler$1 as NodeRequestHandler, NodeRouter, Route, RouteShortcutMethod, Router, ValueOrPromise, createEdgeRouter, createRouter as createNodeRouter, createRouter, expressWrapper, sendJson, withZod };
|
|
148
|
+
export { type RequestHandler as EdgeRequestHandler, EdgeRouter, type ExpressRequestHandler, type FindResult, type FunctionLike, type HandlerOptions, type HttpMethod, type NextHandler, type Nextable, type RequestHandler$1 as NodeRequestHandler, NodeRouter, type Route, type RouteShortcutMethod, Router, type ValueOrPromise, createEdgeRouter, createRouter as createNodeRouter, createRouter, expressWrapper, sendJson, withZod };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/connect",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.11",
|
|
4
4
|
"description": "The minimal router and middleware layer for Next.js, Micro, Vercel, or Node.js http/http2 with support for zod validation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript",
|
|
@@ -66,7 +66,6 @@
|
|
|
66
66
|
"build": "cross-env NODE_ENV=development tsup",
|
|
67
67
|
"build:prod": "cross-env NODE_ENV=production tsup",
|
|
68
68
|
"clean": "rimraf node_modules dist .eslintcache",
|
|
69
|
-
"coverage": "vitest run --coverage",
|
|
70
69
|
"dev": "pnpm run build --watch",
|
|
71
70
|
"lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js",
|
|
72
71
|
"lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js --fix",
|
|
@@ -75,6 +74,8 @@
|
|
|
75
74
|
"lint:prettier:fix": "prettier --config=.prettierrc.js --write .",
|
|
76
75
|
"lint:types": "tsc --noEmit",
|
|
77
76
|
"test": "vitest run",
|
|
77
|
+
"test:coverage": "vitest run --coverage",
|
|
78
|
+
"test:ui": "vitest --ui --coverage.enabled=true",
|
|
78
79
|
"test:watch": "vitest"
|
|
79
80
|
},
|
|
80
81
|
"dependencies": {
|
|
@@ -89,10 +90,11 @@
|
|
|
89
90
|
"@rushstack/eslint-plugin-security": "^0.7.1",
|
|
90
91
|
"@types/http-errors": "^2.0.4",
|
|
91
92
|
"@types/node": "18.18.8",
|
|
92
|
-
"@visulima/nextra-theme-docs": "4.0.
|
|
93
|
-
"@vitest/coverage-v8": "^0.
|
|
93
|
+
"@visulima/nextra-theme-docs": "4.0.11",
|
|
94
|
+
"@vitest/coverage-v8": "^1.0.1",
|
|
95
|
+
"@vitest/ui": "^1.0.1",
|
|
94
96
|
"cross-env": "^7.0.3",
|
|
95
|
-
"eslint": "^8.
|
|
97
|
+
"eslint": "^8.55.0",
|
|
96
98
|
"eslint-plugin-deprecation": "^2.0.0",
|
|
97
99
|
"eslint-plugin-etc": "^2.0.3",
|
|
98
100
|
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.0",
|
|
@@ -105,11 +107,11 @@
|
|
|
105
107
|
"isomorphic-fetch": "^3.0.0",
|
|
106
108
|
"prettier": "^3.1.0",
|
|
107
109
|
"rimraf": "^5.0.5",
|
|
108
|
-
"semantic-release": "^22.0.
|
|
110
|
+
"semantic-release": "^22.0.9",
|
|
109
111
|
"sort-package-json": "^2.6.0",
|
|
110
112
|
"tsup": "^8.0.1",
|
|
111
113
|
"typescript": "^5.3.2",
|
|
112
|
-
"vitest": "^0.
|
|
114
|
+
"vitest": "^1.0.1",
|
|
113
115
|
"zod": "^3.22.4"
|
|
114
116
|
},
|
|
115
117
|
"peerDependencies": {
|