We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0134a0 commit 1a2a255Copy full SHA for 1a2a255
jmespath.js
@@ -301,7 +301,8 @@
301
this.current = current;
302
}
303
this.current++;
304
- return stream.slice(start + 1, this.current - 1);
+ var literal = stream.slice(start + 1, this.current - 1);
305
+ return literal.replace("\\'", "'");
306
},
307
308
consumeNumber: function(stream) {
@@ -439,7 +440,7 @@
439
440
"NE": 5,
441
"Flatten": 9,
442
"Star": 20,
- "Filter": 20,
443
+ "Filter": 21,
444
"Dot": 40,
445
"Not": 45,
446
"Lbrace": 50,
@@ -1028,7 +1029,7 @@
1028
1029
var matched, current;
1030
for (var i = 0; i < base.length; i++) {
1031
matched = this.visit(node.children[2], base[i]);
- if (matched === true) {
1032
+ if (!isFalse(matched)) {
1033
filtered.push(base[i]);
1034
1035
0 commit comments