From 2b99b23eec621666d98b74cfa2e63b66d009e3b3 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Tue, 25 Nov 2014 02:44:01 +0300 Subject: [PATCH] fix es-shim dependency --- lib/logger.js | 2 +- package.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/logger.js b/lib/logger.js index 266d38597..ff29a5ad4 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -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' diff --git a/package.yaml b/package.yaml index fd500bbd3..6dab0b125 100644 --- a/package.yaml +++ b/package.yaml @@ -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'