@fibery/expression-utils 3.0.0 → 4.0.0
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/lib/expression-utils.js +1 -1
- package/lib/visitors.js +1 -1
- package/package.json +4 -4
package/lib/expression-utils.js
CHANGED
|
@@ -689,7 +689,7 @@ const getExpressionTypeInternal = ({
|
|
|
689
689
|
}
|
|
690
690
|
if (___default["default"].isPlainObject(selectExpression)) {
|
|
691
691
|
if (Object.values(selectExpression).length !== 1) {
|
|
692
|
-
throw new Error(`
|
|
692
|
+
throw new Error(`Can't determine type of query expression ${JSON.stringify(expression)}`);
|
|
693
693
|
}
|
|
694
694
|
result = getExpressionTypeInternal({
|
|
695
695
|
expression: Object.values(selectExpression)[0],
|
package/lib/visitors.js
CHANGED
|
@@ -416,7 +416,7 @@ const getExpressionTypeInternal = ({
|
|
|
416
416
|
}
|
|
417
417
|
if (___default["default"].isPlainObject(selectExpression)) {
|
|
418
418
|
if (Object.values(selectExpression).length !== 1) {
|
|
419
|
-
throw new Error(`
|
|
419
|
+
throw new Error(`Can't determine type of query expression ${JSON.stringify(expression)}`);
|
|
420
420
|
}
|
|
421
421
|
result = getExpressionTypeInternal({
|
|
422
422
|
expression: Object.values(selectExpression)[0],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/expression-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "utils for working with fibery api expressions",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./lib/expression-utils.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"jest": "27.5.1",
|
|
34
34
|
"jest-junit": "13.0.0",
|
|
35
35
|
"microbundle": "0.15.0",
|
|
36
|
-
"@fibery/
|
|
37
|
-
"@fibery/
|
|
36
|
+
"@fibery/eslint-config": "8.5.0",
|
|
37
|
+
"@fibery/babel-preset": "7.3.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@fibery/schema": "^8.
|
|
40
|
+
"@fibery/schema": "^8.4.0"
|
|
41
41
|
},
|
|
42
42
|
"jest": {
|
|
43
43
|
"testEnvironment": "node",
|