@trpc/server 10.38.2 → 10.38.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/dist/index.js CHANGED
@@ -194,7 +194,7 @@ function getParseFn(procedureParser) {
194
194
  }
195
195
  if (typeof parser.parse === 'function') {
196
196
  // ParserZodEsque
197
- // ParserValibotEsque
197
+ // ParserValibotEsque (<= v0.12.X)
198
198
  return parser.parse.bind(parser);
199
199
  }
200
200
  if (typeof parser.validateSync === 'function') {
package/dist/index.mjs CHANGED
@@ -192,7 +192,7 @@ function getParseFn(procedureParser) {
192
192
  }
193
193
  if (typeof parser.parse === 'function') {
194
194
  // ParserZodEsque
195
- // ParserValibotEsque
195
+ // ParserValibotEsque (<= v0.12.X)
196
196
  return parser.parse.bind(parser);
197
197
  }
198
198
  if (typeof parser.validateSync === 'function') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/server",
3
- "version": "10.38.2",
3
+ "version": "10.38.4",
4
4
  "description": "The tRPC server library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -165,7 +165,7 @@
165
165
  "tslib": "^2.5.0",
166
166
  "tsx": "^3.12.7",
167
167
  "typescript": "^5.1.3",
168
- "valibot": "^0.12.0",
168
+ "valibot": "^0.17.0",
169
169
  "vitest": "^0.32.0",
170
170
  "ws": "^8.0.0",
171
171
  "yup": "^1.0.0",
@@ -174,5 +174,5 @@
174
174
  "funding": [
175
175
  "https://trpc.io/sponsor"
176
176
  ],
177
- "gitHead": "3ae64cc8b8c73306d6b022dec9eae769b246b0fb"
177
+ "gitHead": "fe2a7fc857dfec9740cd6334bc0021f2d99b61e3"
178
178
  }
@@ -17,7 +17,7 @@ export function getParseFn<TType>(procedureParser: Parser): ParseFn<TType> {
17
17
 
18
18
  if (typeof parser.parse === 'function') {
19
19
  // ParserZodEsque
20
- // ParserValibotEsque
20
+ // ParserValibotEsque (<= v0.12.X)
21
21
  return parser.parse.bind(parser);
22
22
  }
23
23