Skip to content

Commit d459d31

Browse files
committed
- Breaking change: Problems with upper-case letters in npm is causing us to rename the package, so renaming package to "jsonpath-plus" (there are already package with lower-case "jsonpath" or "json-path"). The new name also reflects that
there have been changes to the original spec.
1 parent 08a0a20 commit d459d31

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Dec 12, 2015 10:39pm
2+
- Breaking change: Problems with upper-case letters in npm is causing us to rename the package, so have renamed package to "jsonpath-plus" (there are already package with lower-case "jsonpath" or "json-path"). The new name also reflects that
3+
there have been changes to the original spec.
4+
- Version 0.12.0
5+
16
## Dec 12, 2015 10:36pm
27
- Actually add the warning in the README that problems in npm with upper-case letters is causing us to rename to "jsonpath-plus" (next version will actually apply the change).
38
- Version 0.11.2

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# JSONPath [![build status](https://secure.travis-ci.org/s3u/JSONPath.png)](http://travis-ci.org/s3u/JSONPath)
2-
3-
***(This package is being moved to "jsonpath-plus" to avoid npm problems in dealing with upper-case packages.)***
1+
# JSONPath Plus [![build status](https://secure.travis-ci.org/s3u/JSONPath.png)](http://travis-ci.org/s3u/JSONPath)
42

53
Analyse, transform, and selectively extract data from JSON documents (and JavaScript objects).
64

75
# Install
86

9-
npm install JSONPath
7+
npm install jsonpath-plus
108

119
# Usage
1210

@@ -15,7 +13,7 @@ Analyse, transform, and selectively extract data from JSON documents (and JavaSc
1513
In node.js:
1614

1715
```js
18-
var JSONPath = require('JSONPath');
16+
var JSONPath = require('jsonpath-plus');
1917
JSONPath({json: obj, path: path, callback: callback});
2018
```
2119

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"author": "Stefan Goessner",
3-
"name": "JSONPath",
3+
"name": "jsonpath-plus",
44
"description": "A JS implementation of JSONPath",
55
"contributors": [
66
{
@@ -25,7 +25,7 @@
2525
}
2626
],
2727
"license": "MIT",
28-
"version": "0.11.2",
28+
"version": "0.12.0",
2929
"repository": {
3030
"type": "git",
3131
"url": "git://github.com/s3u/JSONPath.git"

0 commit comments

Comments
 (0)