fix: update kleur

pull/1864/head
Luke Edwards 7 years ago
parent 30ae710b33
commit 862d52c753

6
package-lock.json generated

@ -2766,9 +2766,9 @@
} }
}, },
"kleur": { "kleur": {
"version": "2.0.1", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-2.0.1.tgz", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.0.tgz",
"integrity": "sha512-Zq/jyANIJ2uX8UZjWlqLwbyhcxSXJtT/Y89lClyeZd3l++3ztL1I5SSCYrbcbwSunTjC88N3WuMk0kRDQD6gzA==", "integrity": "sha512-acHc4xKlqTNuAGmbvtd3KuNi1bnlHsdPg6Os1P5s/Ii/6g8MY3caVPDp4md04/twbh4wwPvdpnol1bc9zFsI3w==",
"dev": true "dev": true
}, },
"left-pad": { "left-pad": {

@ -61,7 +61,7 @@
"estree-walker": "^0.6.0", "estree-walker": "^0.6.0",
"is-reference": "^1.1.0", "is-reference": "^1.1.0",
"jsdom": "^11.8.0", "jsdom": "^11.8.0",
"kleur": "^2.0.1", "kleur": "^3.0.0",
"locate-character": "^2.0.5", "locate-character": "^2.0.5",
"magic-string": "^0.25.0", "magic-string": "^0.25.0",
"mocha": "^5.2.0", "mocha": "^5.2.0",

@ -191,7 +191,7 @@ export function showOutput(cwd, options = {}, compile = svelte.compile) {
); );
console.log( // eslint-disable-line no-console 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)}`
); );
}); });
} }

Loading…
Cancel
Save