dbgate-filterparser 5.0.4-alpha.2 → 5.0.4

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.
@@ -190,10 +190,10 @@ const createParser = (filterType) => {
190
190
  null: () => (0, common_1.word)('NULL').map(unaryCondition('isNull')),
191
191
  empty: () => (0, common_1.word)('EMPTY').map(unaryCondition('isEmpty')),
192
192
  notEmpty: r => r.not.then(r.empty).map(unaryCondition('isNotEmpty')),
193
- true: () => parsimmon_1.default.regexp(/true/i).map(binaryFixedValueCondition(1)),
194
- false: () => parsimmon_1.default.regexp(/false/i).map(binaryFixedValueCondition(0)),
195
- trueNum: () => (0, common_1.word)('1').map(binaryFixedValueCondition(1)),
196
- falseNum: () => (0, common_1.word)('0').map(binaryFixedValueCondition(0)),
193
+ true: () => parsimmon_1.default.regexp(/true/i).map(binaryFixedValueCondition('1')),
194
+ false: () => parsimmon_1.default.regexp(/false/i).map(binaryFixedValueCondition('0')),
195
+ trueNum: () => (0, common_1.word)('1').map(binaryFixedValueCondition('1')),
196
+ falseNum: () => (0, common_1.word)('0').map(binaryFixedValueCondition('0')),
197
197
  this: () => (0, common_1.word)('THIS'),
198
198
  last: () => (0, common_1.word)('LAST'),
199
199
  next: () => (0, common_1.word)('NEXT'),
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.0.4-alpha.2",
2
+ "version": "5.0.4",
3
3
  "name": "dbgate-filterparser",
4
4
  "main": "lib/index.js",
5
5
  "typings": "lib/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "lib"
14
14
  ],
15
15
  "devDependencies": {
16
- "dbgate-types": "^5.0.4-alpha.2",
16
+ "dbgate-types": "^5.0.4",
17
17
  "@types/jest": "^25.1.4",
18
18
  "@types/node": "^13.7.0",
19
19
  "jest": "^24.9.0",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@types/parsimmon": "^1.10.1",
25
- "dbgate-tools": "^5.0.4-alpha.2",
25
+ "dbgate-tools": "^5.0.4",
26
26
  "lodash": "^4.17.21",
27
27
  "moment": "^2.24.0",
28
28
  "parsimmon": "^1.13.0"