@travetto/model 4.0.3 → 4.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "description": "Datastore abstraction for core operations.",
5
5
  "keywords": [
6
6
  "datastore",
@@ -26,14 +26,14 @@
26
26
  "directory": "module/model"
27
27
  },
28
28
  "dependencies": {
29
- "@travetto/config": "^4.0.3",
30
- "@travetto/di": "^4.0.3",
31
- "@travetto/registry": "^4.0.3",
32
- "@travetto/schema": "^4.0.3"
29
+ "@travetto/config": "^4.0.5",
30
+ "@travetto/di": "^4.0.5",
31
+ "@travetto/registry": "^4.0.5",
32
+ "@travetto/schema": "^4.0.5"
33
33
  },
34
34
  "peerDependencies": {
35
- "@travetto/cli": "^4.0.4",
36
- "@travetto/test": "^4.0.3"
35
+ "@travetto/cli": "^4.0.6",
36
+ "@travetto/test": "^4.0.5"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "@travetto/cli": {
@@ -95,7 +95,7 @@ export class ModelCrudUtil {
95
95
  await SchemaValidator.validate(cls, item);
96
96
  } catch (err) {
97
97
  if (err instanceof ValidationResultError) {
98
- errors = err.errors;
98
+ errors = err.details.errors;
99
99
  }
100
100
  }
101
101