From 862d52c753948d8a6fc220ffba883a089d0a6a5b Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Mon, 26 Nov 2018 13:58:27 -0800 Subject: [PATCH] fix: update kleur --- package-lock.json | 6 +++--- package.json | 2 +- test/helpers.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 48e71b0f37..b5009f2143 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2766,9 +2766,9 @@ } }, "kleur": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-2.0.1.tgz", - "integrity": "sha512-Zq/jyANIJ2uX8UZjWlqLwbyhcxSXJtT/Y89lClyeZd3l++3ztL1I5SSCYrbcbwSunTjC88N3WuMk0kRDQD6gzA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.0.tgz", + "integrity": "sha512-acHc4xKlqTNuAGmbvtd3KuNi1bnlHsdPg6Os1P5s/Ii/6g8MY3caVPDp4md04/twbh4wwPvdpnol1bc9zFsI3w==", "dev": true }, "left-pad": { diff --git a/package.json b/package.json index 51c9238275..dc3e69608c 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "estree-walker": "^0.6.0", "is-reference": "^1.1.0", "jsdom": "^11.8.0", - "kleur": "^2.0.1", + "kleur": "^3.0.0", "locate-character": "^2.0.5", "magic-string": "^0.25.0", "mocha": "^5.2.0", diff --git a/test/helpers.js b/test/helpers.js index 5f59063e55..25a7491b30 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -191,7 +191,7 @@ export function showOutput(cwd, options = {}, compile = svelte.compile) { ); console.log( // eslint-disable-line no-console - `\n>> ${colors.cyan.bold(file)}\n${addLineNumbers(js.code)}\n<< ${colors.cyan.bold(file)}` + `\n>> ${colors.cyan().bold(file)}\n${addLineNumbers(js.code)}\n<< ${colors.cyan().bold(file)}` ); }); }