@cabloy/zod-query 2.1.11 → 2.1.13

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +5 -2
package/dist/index.js CHANGED
@@ -170,6 +170,10 @@ function __parseString(inst, parse, payload, _) {
170
170
  // ignore upload file
171
171
  return payload;
172
172
  }
173
+ if (payload.value && payload.value instanceof Date) {
174
+ // ignore date
175
+ return payload;
176
+ }
173
177
  _coerceString(payload);
174
178
  return parse(payload, _);
175
179
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cabloy/zod-query",
3
- "version": "2.1.11",
4
- "gitHead": "c7429e0d6a259341ae6e23d018b3238fb2483fdf",
3
+ "version": "2.1.13",
4
+ "gitHead": "ecaeb81d8e1aec6b3bff3d87fd5449f4f78028eb",
5
5
  "description": "zod-query",
6
6
  "keywords": [
7
7
  "ioc",
@@ -41,5 +41,8 @@
41
41
  "prepublishOnly": "npm run tsc:publish",
42
42
  "prepack": "clean-package",
43
43
  "postpack": "clean-package restore"
44
+ },
45
+ "dependencies": {
46
+ "zod": "^4.3.6"
44
47
  }
45
48
  }