@dnax/core 0.3.6 → 0.3.8

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/lib/schema.ts +1 -1
  2. package/package.json +5 -6
package/lib/schema.ts CHANGED
@@ -124,7 +124,7 @@ function buildSchema(col: Collection) {
124
124
 
125
125
  if (!f?.validate?.schema) {
126
126
  if (f?.nullable) {
127
- propertySchema[f.name] = propertySchema[f.name].optional();
127
+ propertySchema[f.name] = propertySchema[f.name].optional().empty(null);
128
128
  }
129
129
 
130
130
  if (f?.required) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
@@ -27,19 +27,18 @@
27
27
  "croner": "^8.1.1",
28
28
  "find-open-port": "^2.0.3",
29
29
  "generate-unique-id": "^2.0.3",
30
- "hono": "^4.4.3",
30
+ "hono": "^4.5.4",
31
31
  "joi": "^17.13.3",
32
32
  "json-joy": "^16.8.0",
33
33
  "jsonwebtoken": "^9.0.2",
34
34
  "mingo": "^6.4.15",
35
35
  "moment": "^2.30.1",
36
- "mongodb": "^6.7.0",
36
+ "mongodb": "^6.8.0",
37
37
  "nodemailer": "^6.9.14",
38
38
  "radash": "^12.1.0",
39
- "signaldb": "^0.9.0",
39
+ "signaldb": "^0.15.0",
40
40
  "socket.io": "^4.7.5",
41
41
  "ufo": "^1.5.3",
42
- "uuid": "^10.0.0",
43
- "valibot": "^0.31.0"
42
+ "uuid": "^10.0.0"
44
43
  }
45
44
  }