Upgrade chalk in logging package

This commit is contained in:
Jan Dvorak
2023-06-05 14:06:51 +02:00
parent 059f23a871
commit d740fecfb8
3 changed files with 8 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
Formatter = {};
Formatter.prettify = function(line, color){
return line;
}
};

View File

@@ -1,5 +1,7 @@
import chalk from 'chalk';
Formatter = {};
Formatter.prettify = function(line, color){
if(!color) return line;
return require("chalk")[color](line);
}
return chalk[color](line);
};

View File

@@ -1,10 +1,11 @@
Package.describe({
summary: 'Logging facility.',
version: '1.3.2',
version: '1.3.3',
documentation: 'README.md'
});
Npm.depends({
'chalk': '4.1.1'
'chalk': '5.2.0'
});
Npm.strip({