@graffy/pg 0.15.14-alpha.4 → 0.15.14
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/index.cjs +0 -1
- package/index.mjs +0 -1
- package/package.json +2 -2
package/index.cjs
CHANGED
|
@@ -213,7 +213,6 @@ function castValue$1(value, type, name, isPut) {
|
|
|
213
213
|
if (value === null)
|
|
214
214
|
return sql__default["default"]`NULL`;
|
|
215
215
|
if (type === "jsonb") {
|
|
216
|
-
console.log("jsonb", value, type, name);
|
|
217
216
|
return isPut ? JSON.stringify(stripAttributes(value)) : sql__default["default"]`jsonb_strip_nulls(${getJsonUpdate(value, name, [])})`;
|
|
218
217
|
}
|
|
219
218
|
if (type === "cube") {
|
package/index.mjs
CHANGED
|
@@ -205,7 +205,6 @@ function castValue$1(value, type, name, isPut) {
|
|
|
205
205
|
if (value === null)
|
|
206
206
|
return sql`NULL`;
|
|
207
207
|
if (type === "jsonb") {
|
|
208
|
-
console.log("jsonb", value, type, name);
|
|
209
208
|
return isPut ? JSON.stringify(stripAttributes(value)) : sql`jsonb_strip_nulls(${getJsonUpdate(value, name, [])})`;
|
|
210
209
|
}
|
|
211
210
|
if (type === "cube") {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graffy/pg",
|
|
3
3
|
"description": "The standard Postgres module for Graffy. Each instance this module mounts a Postgres table as a Graffy subtree.",
|
|
4
4
|
"author": "aravind (https://github.com/aravindet)",
|
|
5
|
-
"version": "0.15.14
|
|
5
|
+
"version": "0.15.14",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"exports": {
|
|
8
8
|
"import": "./index.mjs",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@graffy/common": "0.15.14
|
|
19
|
+
"@graffy/common": "0.15.14",
|
|
20
20
|
"sql-template-tag": "^4.0.0",
|
|
21
21
|
"debug": "^4.3.2"
|
|
22
22
|
},
|