mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Upgrade chalk in logging package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Formatter = {};
|
||||
Formatter.prettify = function(line, color){
|
||||
return line;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user