@travetto/model-sql 5.0.10 → 5.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-sql",
3
- "version": "5.0.10",
3
+ "version": "5.0.12",
4
4
  "description": "SQL backing for the travetto model module, with real-time modeling support for SQL schemas.",
5
5
  "keywords": [
6
6
  "sql",
@@ -27,14 +27,14 @@
27
27
  "directory": "module/model-sql"
28
28
  },
29
29
  "dependencies": {
30
- "@travetto/config": "^5.0.9",
31
- "@travetto/context": "^5.0.9",
32
- "@travetto/model": "^5.0.10",
33
- "@travetto/model-query": "^5.0.10"
30
+ "@travetto/config": "^5.0.11",
31
+ "@travetto/context": "^5.0.11",
32
+ "@travetto/model": "^5.0.12",
33
+ "@travetto/model-query": "^5.0.12"
34
34
  },
35
35
  "peerDependencies": {
36
- "@travetto/command": "^5.0.9",
37
- "@travetto/test": "^5.0.9"
36
+ "@travetto/command": "^5.0.11",
37
+ "@travetto/test": "^5.0.11"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@travetto/command": {
@@ -206,7 +206,7 @@ export abstract class SQLDialect implements DialectState {
206
206
  } else if (conf.type === Object) {
207
207
  return this.quote(JSON.stringify(value).replace(/[']/g, "''"));
208
208
  }
209
- throw new AppError(`Unknown value type for field ${conf.name}, ${value}`, 'data');
209
+ throw new AppError(`Unknown value type for field ${conf.name}, ${value}`, { category: 'data' });
210
210
  }
211
211
 
212
212
  /**