fix(package): update read-pkg-up to version 6.0.0

This commit is contained in:
greenkeeper[bot] 2019-05-12 15:50:54 +00:00 committed by Pierre Vanduynslager
parent 6e64745f6b
commit 74103abac4
2 changed files with 2 additions and 2 deletions

View File

@ -85,6 +85,6 @@ module.exports = async (context, opts) => {
};
async function pkgRepoUrl(opts) {
const {pkg} = await readPkgUp(opts);
const {package: pkg} = (await readPkgUp(opts)) || {};
return pkg && (isPlainObject(pkg.repository) ? pkg.repository.url : pkg.repository);
}

View File

@ -40,7 +40,7 @@
"marked-terminal": "^3.2.0",
"p-locate": "^4.0.0",
"p-reduce": "^2.0.0",
"read-pkg-up": "^5.0.0",
"read-pkg-up": "^6.0.0",
"resolve-from": "^5.0.0",
"semver": "^6.0.0",
"signale": "^1.2.1",