fix es-shim dependency

This commit is contained in:
Alex Kocharin 2014-11-25 02:44:01 +03:00
parent 4592ec3657
commit 2b99b23eec
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ function print(type, msg, obj, colors) {
}
if (typeof(str) === 'string') {
if (!colors || str.contains('\n')) {
if (!colors || str.includes('\n')) {
return str
} else if (is_error) {
return '\033[31m' + str + '\033[39m'

View File

@ -30,7 +30,7 @@ dependencies:
cookies: '>=0.5.0 <1.0.0-0'
request: '>=2.31.0 <3.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
semver: '>=2.2.1 <4.0.0-0'