Skip to content

Commit 4538bad

Browse files
committed
Bumped version.
1 parent 2c44311 commit 4538bad

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,14 @@ npm install @jmespath-community/jmespath
2020
### `search(data: JSONValue, expression: string): JSONValue`
2121

2222
```javascript
23-
/* using ES modules */
2423
import { search } from '@jmespath-community/jmespath';
2524

26-
27-
/* using CommonJS modules */
28-
const search = require('@jmespath-community/jmespath').search;
29-
30-
31-
search({foo: {bar: {baz: [0, 1, 2, 3, 4]}}}, "foo.bar.baz[2]")
25+
search(
26+
{foo: {bar: {baz: [0, 1, 2, 3, 4]}}},
27+
"foo.bar.baz[2]"
28+
);
3229

3330
// OUTPUTS: 2
34-
3531
```
3632

3733
In the example we gave the `search` function input data of

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@jmespath-community/jmespath",
33
"description": "Typescript implementation of the JMESPath Community specification",
4-
"version": "0.4.0",
4+
"version": "1.1.0",
55
"author": {
66
"name": "JMESPath Community",
77
"email": "[email protected]",

0 commit comments

Comments
 (0)