Skip to content

Commit

Permalink
revert: "fix(deps): update dependency read-pkg-up to v7 and read-pkg …
Browse files Browse the repository at this point in the history
…to v5 (#526)"

This reverts commit cc1fa5d.
  • Loading branch information
tommywo committed Dec 4, 2019
1 parent e9d29e3 commit bab29e3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 111 deletions.
128 changes: 20 additions & 108 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/conventional-changelog-core/lib/merge-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function mergeConfig (options, context, gitRawCommitsOpts, parserOpts, writerOpt
if (options.pkg.path) {
pkg = pkgObj.value
} else {
pkg = pkgObj.value.packageJson || {}
pkg = pkgObj.value.pkg || {}
}

pkg = options.pkg.transform(pkg)
Expand Down
4 changes: 2 additions & 2 deletions packages/conventional-changelog-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"lodash": "^4.17.15",
"normalize-package-data": "^2.3.5",
"q": "^1.5.1",
"read-pkg": "^5.2.0",
"read-pkg-up": "^7.0.0",
"read-pkg": "^3.0.0",
"read-pkg-up": "^3.0.0",
"through2": "^3.0.0"
},
"scripts": {
Expand Down

0 comments on commit bab29e3

Please sign in to comment.