Skip to content

Commit 14afaef

Browse files
authored
Bump parse-json from 3.0.0 to 4.0.0 (#101)
* Bump parse-json from 3.0.0 to 4.0.0 * Update changelog BREAKING CHANGE: JSON-parsing errors are printed in a different format.
1 parent 63f7ef0 commit 14afaef

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## master
4+
5+
- Licensing improvement: updated `parse-json` from `3.0.0` to `4.0.0`(see [sindresorhus/parse-json#12][parse-json-pr-12]).
6+
- Changed: error message format for `JSON` parse errors(see [#101][pr-101]). If you were relying on the format of JSON-parsing error messages, this will be a breaking change for you.
7+
38
## 3.1.0
49

510
- Added: infer format based on filePath
@@ -72,3 +77,6 @@
7277
## 1.0.0
7378

7479
- Initial release.
80+
81+
[parse-json-pr-12]: https://github.com/sindresorhus/parse-json/pull/12
82+
[pr-101]: https://github.com/davidtheclark/cosmiconfig/pull/101

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"dependencies": {
7272
"is-directory": "^0.3.1",
7373
"js-yaml": "^3.9.0",
74-
"parse-json": "^3.0.0",
74+
"parse-json": "^4.0.0",
7575
"require-from-string": "^2.0.1"
7676
},
7777
"devDependencies": {

yarn.lock

+11
Original file line numberDiff line numberDiff line change
@@ -1975,6 +1975,10 @@ jsesc@^1.3.0:
19751975
version "1.3.0"
19761976
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
19771977

1978+
json-parse-better-errors@^1.0.1:
1979+
version "1.0.1"
1980+
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz#50183cd1b2d25275de069e9e71b467ac9eab973a"
1981+
19781982
json-schema-traverse@^0.3.0:
19791983
version "0.3.1"
19801984
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340"
@@ -2497,6 +2501,13 @@ parse-json@^3.0.0:
24972501
dependencies:
24982502
error-ex "^1.3.1"
24992503

2504+
parse-json@^4.0.0:
2505+
version "4.0.0"
2506+
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
2507+
dependencies:
2508+
error-ex "^1.3.1"
2509+
json-parse-better-errors "^1.0.1"
2510+
25002511
parse5@^1.5.1:
25012512
version "1.5.1"
25022513
resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94"

0 commit comments

Comments
 (0)