@fxjs/orm
Advanced tools
Comparing version 1.16.4 to 1.16.5
@@ -208,2 +208,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
break; | ||
case "binary": { | ||
// compat with standard behavior of `JSON.stringify`/`JSON.parse` | ||
if (value && value.type === 'Buffer' && Array.isArray(value.data)) { | ||
value = Buffer.from(value.data); | ||
} | ||
break; | ||
} | ||
default: | ||
@@ -233,2 +240,5 @@ customType = this.customTypes[property.type]; | ||
return function () { return 'POINT(' + value.x + ', ' + value.y + ')'; }; | ||
case "binary": { | ||
break; | ||
} | ||
default: | ||
@@ -235,0 +245,0 @@ const customType = this.customTypes[property.type]; |
{ | ||
"name": "@fxjs/orm", | ||
"version": "1.16.4", | ||
"version": "1.16.5", | ||
"description": "", | ||
@@ -37,7 +37,7 @@ "main": "lib", | ||
"@fibjs/enforce": "^0.1.1", | ||
"@fxjs/db-driver": "^0.5.1-alpha.0", | ||
"@fxjs/db-driver": "^0.5.1", | ||
"@fxjs/knex": "^0.4.1", | ||
"@fxjs/orm-core": "^0.3.2", | ||
"@fxjs/orm-property": "^0.4.1-alpha.0", | ||
"@fxjs/sql-ddl-sync": "^0.11.3-alpha.0", | ||
"@fxjs/orm-property": "^0.4.1", | ||
"@fxjs/sql-ddl-sync": "^0.11.3", | ||
"@fxjs/sql-query": "^0.10.0", | ||
@@ -78,3 +78,3 @@ "@types/knex": "^0.16.1", | ||
}, | ||
"gitHead": "2c8453d22a8d3d5e57c5bf5302f6c7eabcda370c" | ||
"gitHead": "ac5527b083d404b250a41fb73ec1685ddff42c1b" | ||
} |
434894
9251
Updated@fxjs/db-driver@^0.5.1
Updated@fxjs/orm-property@^0.4.1
Updated@fxjs/sql-ddl-sync@^0.11.3