fix(deps): update find-up to v4

This commit is contained in:
Zoltan Kochan
2019-05-19 23:19:24 +03:00
parent ec7b3c4b0d
commit 03b5267586
4 changed files with 32 additions and 11 deletions

View File

@@ -33,7 +33,7 @@
"@pnpm/types": "3.2.0",
"@zkochan/npm-conf": "1.2.4",
"camelcase": "5.3.1",
"find-up": "3.0.0",
"find-up": "4.0.0",
"which": "1.3.1"
},
"devDependencies": {

View File

@@ -101,9 +101,11 @@ export default async (
const workspaceManifestLocation = cliArgs['global'] // tslint:disable-line
? null
: await findUp(WORKSPACE_MANIFEST_FILENAME, {
cwd: cliArgs['prefix'] || process.cwd(), // tslint:disable-line
})
: (
await findUp(WORKSPACE_MANIFEST_FILENAME, {
cwd: cliArgs['prefix'] || process.cwd(), // tslint:disable-line
}) || null
)
const npmConfig = loadNpmConf(cliArgs, types, {
'bail': true,
'depth': command[command.length - 1] === 'list' ? 0 : Infinity,

28
pnpm-lock.yaml generated
View File

@@ -53,7 +53,7 @@ importers:
'@pnpm/types': 'link:../types'
'@zkochan/npm-conf': 1.2.4
camelcase: 5.3.1
find-up: 3.0.0
find-up: 4.0.0
which: 1.3.1
devDependencies:
'@pnpm/config': 'link:'
@@ -73,7 +73,7 @@ importers:
'@types/which': 1.3.1
'@zkochan/npm-conf': 1.2.4
camelcase: 5.3.1
find-up: 3.0.0
find-up: 4.0.0
mz: 2.7.0
rimraf: 2.6.3
tape: 4.10.1
@@ -4696,6 +4696,14 @@ packages:
node: '>=6'
resolution:
integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==
/find-up/4.0.0:
dependencies:
locate-path: 5.0.0
dev: false
engines:
node: '>=8'
resolution:
integrity: sha512-zoH7ZWPkRdgwYCDVoQTzqjG8JSPANhtvLhh4KVUHyKnaUJJrNeFmWIkTcNuJmR3GLMEmGYEf2S2bjgx26JTF+Q==
/findup/0.1.5:
dependencies:
colors: 0.6.2
@@ -5959,6 +5967,14 @@ packages:
node: '>=6'
resolution:
integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==
/locate-path/5.0.0:
dependencies:
p-locate: 4.1.0
dev: false
engines:
node: '>=8'
resolution:
integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==
/lockfile/1.0.4:
dependencies:
signal-exit: 3.0.2
@@ -6912,6 +6928,14 @@ packages:
node: '>=6'
resolution:
integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==
/p-locate/4.1.0:
dependencies:
p-limit: 2.2.0
dev: false
engines:
node: '>=8'
resolution:
integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==
/p-map/2.1.0:
dev: false
engines:

5
typings/local.d.ts vendored
View File

@@ -73,11 +73,6 @@ declare module 'anonymous-npm-registry-client' {
export = anything;
}
declare module 'find-up' {
const anything: any;
export = anything;
}
declare module 'exists-link' {
const anything: any;
export = anything;