diff --git a/README.md b/README.md index 5956c2b..bc7aa15 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ jsonpointer.get(obj, '/quo'); // returns null jsonpointer.set(obj, '/foo', 6); // sets obj.foo = 6; jsonpointer.set(obj, '/qux/-', 6) // sets obj.qux = [3, 4, 5, 6] -pointer = jsonpointer.compile('/foo') +var pointer = jsonpointer.compile('/foo') pointer.get(obj) // returns 1 pointer.set(obj, 1) // sets obj.foo = 1 ``` diff --git a/package.json b/package.json index 24a6c8b..5e6d9e9 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,11 @@ "util", "utility" ], - "version": "2.0.0", + "version": "3.0.0", "author": "Jan Lehnardt ", "contributors": [ - "Joe Hildebrand " + "Joe Hildebrand ", + "Marc Bachmann " ], "repository": { "type": "git", @@ -20,7 +21,7 @@ "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": { - "node": ">=0.6.0" + "node": ">=0.10.0" }, "main": "./jsonpointer", "scripts": {