Comparing version 0.3.4 to 0.3.5
var chalk = require('chalk'); | ||
var os = require('os'); | ||
var lightColor = os.platform() === 'linux' ? chalk.white : chalk.grey; | ||
var stripColor = require('strip-ansi') | ||
var colorBrushes = { | ||
@@ -26,3 +26,3 @@ "syntax": lightColor, | ||
if (!colorBrush) | ||
colorBrush = chalk.stripColor; | ||
colorBrush = stripColor; | ||
return colorBrush(text); | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name": "msee", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Msee is a command-line tool to read Markdown file in your terminal, and it's a library help your command-line software to output readable markdown content.", | ||
@@ -15,10 +15,11 @@ "main": "./lib/msee.js", | ||
"dependencies": { | ||
"ansi-regex": "^2.0.0", | ||
"ansi-regex": "^3.0.0", | ||
"ansicolors": "^0.3.2", | ||
"cardinal": "^0.7.1", | ||
"chalk": "^1.1.1", | ||
"cardinal": "^1.0.0", | ||
"chalk": "^2.3.1", | ||
"combined-stream-wait-for-it": "^1.1.0", | ||
"entities": "^1.1.1", | ||
"marked": "^0.3.5", | ||
"marked": "0.3.12", | ||
"nopt": "^4.0.1", | ||
"strip-ansi": "^4.0.0", | ||
"table-header": "^0.2.2", | ||
@@ -25,0 +26,0 @@ "text-table": "^0.2.0", |
@@ -41,2 +41,6 @@ # Headline 1 | ||
``` | ||
- Lists should even support indented, typed code | ||
```javascript | ||
var a = 1; | ||
``` | ||
- Another entry with a [link](http://somewhere.to.go) | ||
@@ -43,0 +47,0 @@ + Deep lists with |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
45856
711
14
+ Addedstrip-ansi@^4.0.0
+ Addedansi-regex@3.0.1(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedcardinal@1.0.0(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedesprima@3.0.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedmarked@0.3.12(transitive)
+ Addedredeyed@1.0.1(transitive)
+ Addedstrip-ansi@4.0.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedcardinal@0.7.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedesprima@2.7.3(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedmarked@0.3.19(transitive)
- Removedredeyed@0.6.0(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
Updatedansi-regex@^3.0.0
Updatedcardinal@^1.0.0
Updatedchalk@^2.3.1
Updatedmarked@0.3.12