mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
fix es-shim dependency
This commit is contained in:
parent
4592ec3657
commit
2b99b23eec
2 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ function print(type, msg, obj, colors) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof(str) === 'string') {
|
if (typeof(str) === 'string') {
|
||||||
if (!colors || str.contains('\n')) {
|
if (!colors || str.includes('\n')) {
|
||||||
return str
|
return str
|
||||||
} else if (is_error) {
|
} else if (is_error) {
|
||||||
return '\033[31m' + str + '\033[39m'
|
return '\033[31m' + str + '\033[39m'
|
||||||
|
|
|
@ -30,7 +30,7 @@ dependencies:
|
||||||
cookies: '>=0.5.0 <1.0.0-0'
|
cookies: '>=0.5.0 <1.0.0-0'
|
||||||
request: '>=2.31.0 <3.0.0-0'
|
request: '>=2.31.0 <3.0.0-0'
|
||||||
async: '>=0.9.0 <1.0.0-0'
|
async: '>=0.9.0 <1.0.0-0'
|
||||||
es6-shim: '>=0.20 <1.0.0-0'
|
es6-shim: '0.21.x'
|
||||||
|
|
||||||
# 2.x and 3.x have the same interface
|
# 2.x and 3.x have the same interface
|
||||||
semver: '>=2.2.1 <4.0.0-0'
|
semver: '>=2.2.1 <4.0.0-0'
|
||||||
|
|
Loading…
Add table
Reference in a new issue