simple-output
Advanced tools
Comparing version 2.1.1 to 2.2.0
@@ -24,2 +24,6 @@ const symbols = require('log-symbols'); | ||
function hint(msg) { | ||
module.exports.stdout.write(chalk.dim(msg) + '\n'); | ||
} | ||
function warn(msg) { | ||
@@ -52,2 +56,3 @@ module.exports.stdout.write(symbols.warning + ' ' + msg + '\n'); | ||
message, | ||
hint, | ||
node, | ||
@@ -54,0 +59,0 @@ warn |
{ | ||
"name": "simple-output", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"main": "index.js", | ||
@@ -37,7 +37,7 @@ "files": [ | ||
"devDependencies": { | ||
"jshint": "^2.10.3" | ||
"jshint": "^2.12.0" | ||
}, | ||
"dependencies": { | ||
"chalk": "^3.0.0", | ||
"log-symbols": "^3.0.0" | ||
"chalk": "^4.1.0", | ||
"log-symbols": "^4.0.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "scripts": { |
@@ -26,2 +26,3 @@ # simple-output | ||
- message(msg) | ||
- hint(msg) | ||
- node(msg) | ||
@@ -67,3 +68,3 @@ - warn(msg) | ||
[MIT](LICENSE) © 2019 [Ruy Adorno](http://ruyadorno.com) | ||
[MIT](LICENSE) © 2021 [Ruy Adorno](http://ruyadorno.com) | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4740
44
69
+ Addedchalk@4.1.2(transitive)
+ Addedis-unicode-supported@0.1.0(transitive)
+ Addedlog-symbols@4.1.0(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.23.0.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedlog-symbols@3.0.0(transitive)
- Removedsupports-color@5.5.0(transitive)
Updatedchalk@^4.1.0
Updatedlog-symbols@^4.0.0