@visulima/connect 2.1.10 → 2.1.12

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 CHANGED
@@ -1,3 +1,24 @@
1
+ ## @visulima/connect [2.1.12](https://github.com/visulima/visulima/compare/@visulima/connect@2.1.11...@visulima/connect@2.1.12) (2024-01-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * updated all deps, updated test based on eslint errors ([909f8f3](https://github.com/visulima/visulima/commit/909f8f384804d7ef140354ab44f867532dbc9847))
7
+
8
+
9
+
10
+ ### Dependencies
11
+
12
+ * **@visulima/nextra-theme-docs:** upgraded to 4.0.12
13
+
14
+ ## @visulima/connect [2.1.11](https://github.com/visulima/visulima/compare/@visulima/connect@2.1.10...@visulima/connect@2.1.11) (2023-12-06)
15
+
16
+
17
+
18
+ ### Dependencies
19
+
20
+ * **@visulima/nextra-theme-docs:** upgraded to 4.0.11
21
+
1
22
  ## @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
23
 
3
24
 
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.10",
3
+ "version": "2.1.12",
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": {
@@ -82,34 +83,35 @@
82
83
  "regexparam": "^2.0.1"
83
84
  },
84
85
  "devDependencies": {
85
- "@anolilab/eslint-config": "^15.0.2",
86
- "@anolilab/prettier-config": "^5.0.13",
87
- "@anolilab/semantic-release-preset": "^8.0.2",
88
- "@babel/core": "^7.23.5",
89
- "@rushstack/eslint-plugin-security": "^0.7.1",
86
+ "@anolilab/eslint-config": "^15.0.3",
87
+ "@anolilab/prettier-config": "^5.0.14",
88
+ "@anolilab/semantic-release-preset": "^8.0.3",
89
+ "@babel/core": "^7.23.7",
90
+ "@rushstack/eslint-plugin-security": "^0.8.0",
90
91
  "@types/http-errors": "^2.0.4",
91
92
  "@types/node": "18.18.8",
92
- "@visulima/nextra-theme-docs": "4.0.10",
93
- "@vitest/coverage-v8": "^0.34.6",
93
+ "@visulima/nextra-theme-docs": "4.0.12",
94
+ "@vitest/coverage-v8": "^1.2.1",
95
+ "@vitest/ui": "^1.2.1",
94
96
  "cross-env": "^7.0.3",
95
- "eslint": "^8.54.0",
97
+ "eslint": "^8.56.0",
96
98
  "eslint-plugin-deprecation": "^2.0.0",
97
99
  "eslint-plugin-etc": "^2.0.3",
98
- "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.0",
99
- "eslint-plugin-mdx": "^2.2.0",
100
- "eslint-plugin-vitest": "^0.3.10",
100
+ "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
101
+ "eslint-plugin-mdx": "^3.1.5",
102
+ "eslint-plugin-vitest": "^0.3.20",
101
103
  "eslint-plugin-vitest-globals": "^1.4.0",
102
104
  "eslint-plugin-zod": "^1.4.0",
103
105
  "express": "^4.18.2",
104
- "fastify": "^4.24.3",
106
+ "fastify": "^4.25.2",
105
107
  "isomorphic-fetch": "^3.0.0",
106
- "prettier": "^3.1.0",
108
+ "prettier": "^3.2.4",
107
109
  "rimraf": "^5.0.5",
108
- "semantic-release": "^22.0.8",
110
+ "semantic-release": "^23.0.0",
109
111
  "sort-package-json": "^2.6.0",
110
112
  "tsup": "^8.0.1",
111
- "typescript": "^5.3.2",
112
- "vitest": "^0.34.6",
113
+ "typescript": "^5.3.3",
114
+ "vitest": "^1.2.1",
113
115
  "zod": "^3.22.4"
114
116
  },
115
117
  "peerDependencies": {