@cloudelements/jmespath
Advanced tools
+9
-0
@@ -0,1 +1,10 @@ | ||
| ## [0.22.2](https://github.com/cloud-elements/jmespath.js/compare/v0.22.1...v0.22.2) (2022-12-15) | ||
| ### Bug Fixes | ||
| * non-scalar types should be made case insensitive with case insensitive flag (ENGCE-23763) ([#16](https://github.com/cloud-elements/jmespath.js/issues/16)) ([f659573](https://github.com/cloud-elements/jmespath.js/commit/f6595733a8e82f4f67416b23ece2a3adfb838e5f)) | ||
| ## [0.22.1](https://github.com/cloud-elements/jmespath.js/compare/v0.22.0...v0.22.1) (2022-11-30) | ||
@@ -2,0 +11,0 @@ |
+1
-1
| { | ||
| "name": "@cloudelements/jmespath", | ||
| "description": "JMESPath implementation in JavaScript", | ||
| "version": "0.22.1", | ||
| "version": "0.22.2", | ||
| "author": { | ||
@@ -6,0 +6,0 @@ "name": "James Saryerwinnie", |
+8
-0
@@ -224,4 +224,8 @@ var assert = require('assert'); | ||
| assert.equal(jmespath.search({foo: 'BAR'}, "foo == 'bar'"), false); | ||
| assert.equal(jmespath.search({foo: 'bar'}, 'contains(`["BAR"]`, foo)'), false); | ||
| assert.equal(jmespath.search({foo: 'bar'}, '`{"bar": "baz", "qux": 2}`.bar == \'BAZ\''), false); | ||
| assert.equal(jmespath.search({foo: 'bar'}, "foo != 'BAR'"), true); | ||
| assert.equal(jmespath.search({foo: 'BAR'}, "foo != 'bar'"), true); | ||
| assert.equal(jmespath.search({foo: 2}, 'contains(`[1, 2, 3]`, foo)'), true); | ||
| assert.equal(jmespath.search({foo: 2}, '`{"bar": 2}`.bar == foo'), true); | ||
| }); | ||
@@ -232,4 +236,8 @@ it('should support case insensitive comparison via compatators', function() { | ||
| assert.equal(jmespath.search({foo: 'BAR'}, "foo == 'bar'", opts), true); | ||
| assert.equal(jmespath.search({foo: 'bar'}, 'contains(`["BAR"]`, foo)', opts), true); | ||
| assert.equal(jmespath.search({foo: 'bar'}, '`{"bar": "baz", "qux": 2}`.bar == \'BAZ\'', opts), true); | ||
| assert.equal(jmespath.search({foo: 'bar'}, "foo != 'BAR'", opts), false); | ||
| assert.equal(jmespath.search({foo: 'BAR'}, "foo != 'bar'", opts), false); | ||
| assert.equal(jmespath.search({foo: 2}, 'contains(`[1, 2, 3]`, foo)', opts), true); | ||
| assert.equal(jmespath.search({foo: 2}, '`{"bar": 2}`.bar == foo', opts), true); | ||
| }); | ||
@@ -236,0 +244,0 @@ it('should by default support case sensitive comparison via functions', function() { |
Sorry, the diff of this file is too big to display
223825
0.65%8075
0.3%