Comparing version 0.4.4 to 0.5.0
{ | ||
"name": "cardinal", | ||
"version": "0.4.4", | ||
"version": "0.5.0", | ||
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", | ||
@@ -31,3 +31,3 @@ "main": "cardinal.js", | ||
"dependencies": { | ||
"redeyed": "~0.4.0", | ||
"redeyed": "~0.5.0", | ||
"ansicolors": "~0.2.1" | ||
@@ -34,0 +34,0 @@ }, |
@@ -127,7 +127,1 @@ # cardinal [![Build Status](https://secure.travis-ci.org/thlorenz/cardinal.png)](http://travis-ci.org/thlorenz/cardinal) | ||
***highlightFileSync()*** | ||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/thlorenz/cardinal/trend.png)](https://bitdeli.com/free "Bitdeli Badge") | ||
@@ -45,5 +45,5 @@ 'use strict'; | ||
cardinal.highlightFile('./not/existing', function (err, highlighted) { | ||
t.similar(err.message, /ENOENT, .*not.existing/) | ||
t.similar(err.message, /ENOENT. .*not.existing/) | ||
t.end() | ||
}) | ||
}) |
@@ -45,5 +45,5 @@ 'use strict'; | ||
} catch (e) { | ||
t.similar(e.message, /ENOENT, .*not.existing/) | ||
t.similar(e.message, /ENOENT. .*not.existing/) | ||
t.end() | ||
} | ||
}) |
@@ -46,2 +46,4 @@ var colors = require('ansicolors'); | ||
, 'catch' : colors.cyan | ||
, 'class' : undefined | ||
, 'const' : undefined | ||
, 'continue' : undefined | ||
@@ -55,2 +57,4 @@ | ||
, 'else' : undefined | ||
, 'export' : undefined | ||
, 'extends' : undefined | ||
@@ -62,7 +66,10 @@ , 'finally' : colors.cyan | ||
, 'if' : undefined | ||
, 'import' : undefined | ||
, 'in' : undefined | ||
, 'instanceof' : undefined | ||
, 'let' : undefined | ||
, 'new' : colors.red | ||
, 'return' : colors.red | ||
, 'static' : undefined | ||
, 'super' : undefined | ||
, 'switch' : undefined | ||
@@ -80,2 +87,3 @@ | ||
, 'with' : undefined | ||
, 'yield' : undefined | ||
, _default : colors.brightBlue | ||
@@ -128,2 +136,3 @@ } | ||
, '/=': undefined | ||
, '=>': undefined | ||
@@ -135,2 +144,3 @@ , '===': undefined | ||
, '>>=': undefined | ||
, '...': undefined | ||
@@ -137,0 +147,0 @@ , '>>>=': undefined |
@@ -39,2 +39,4 @@ /* | ||
, 'catch' : undefined | ||
, 'class' : undefined | ||
, 'const' : undefined | ||
, 'continue' : undefined | ||
@@ -48,2 +50,4 @@ | ||
, 'else' : undefined | ||
, 'export' : undefined | ||
, 'extends' : undefined | ||
@@ -55,7 +59,10 @@ , 'finally' : undefined | ||
, 'if' : undefined | ||
, 'import' : undefined | ||
, 'in' : undefined | ||
, 'instanceof' : undefined | ||
, 'let' : undefined | ||
, 'new' : undefined | ||
, 'return' : undefined | ||
, 'static' : undefined | ||
, 'super' : undefined | ||
, 'switch' : undefined | ||
@@ -73,2 +80,3 @@ | ||
, 'with' : undefined | ||
, 'yield' : undefined | ||
, _default : undefined | ||
@@ -121,2 +129,3 @@ } | ||
, '/=': undefined | ||
, '=>': undefined | ||
@@ -128,2 +137,3 @@ , '===': undefined | ||
, '>>=': undefined | ||
, '...': undefined | ||
@@ -130,0 +140,0 @@ , '>>>=': undefined |
@@ -46,2 +46,4 @@ var colors = require('ansicolors'); | ||
, 'catch' : colors.cyan | ||
, 'class' : undefined | ||
, 'const' : undefined | ||
, 'continue' : undefined | ||
@@ -55,2 +57,4 @@ | ||
, 'else' : undefined | ||
, 'export' : undefined | ||
, 'extends' : undefined | ||
@@ -62,7 +66,10 @@ , 'finally' : colors.cyan | ||
, 'if' : undefined | ||
, 'import' : undefined | ||
, 'in' : undefined | ||
, 'instanceof' : undefined | ||
, 'let' : undefined | ||
, 'new' : colors.red | ||
, 'return' : colors.red | ||
, 'static' : undefined | ||
, 'super' : undefined | ||
, 'switch' : undefined | ||
@@ -80,2 +87,3 @@ | ||
, 'with' : undefined | ||
, 'yield' : undefined | ||
, _default : colors.brightBlue | ||
@@ -130,2 +138,3 @@ } | ||
, '/=': undefined | ||
, '=>': undefined | ||
@@ -137,2 +146,3 @@ , '===': undefined | ||
, '>>=': undefined | ||
, '...': undefined | ||
@@ -139,0 +149,0 @@ , '>>>=': undefined |
@@ -60,2 +60,4 @@ var colors = require('ansicolors'); | ||
, 'catch' : colors.magenta | ||
, 'class' : undefined | ||
, 'const' : undefined | ||
, 'continue' : colors.magenta | ||
@@ -69,2 +71,4 @@ | ||
, 'else' : colors.magenta | ||
, 'export' : undefined | ||
, 'extends' : undefined | ||
@@ -76,7 +80,10 @@ , 'finally' : colors.magenta | ||
, 'if' : colors.magenta | ||
, 'import' : undefined | ||
, 'in' : colors.cyan | ||
, 'instanceof' : colors.cyan | ||
, 'let' : undefined | ||
, 'new' : colors.cyan | ||
, 'return' : colors.magenta | ||
, 'static' : undefined | ||
, 'super' : undefined | ||
, 'switch' : colors.magenta | ||
@@ -94,2 +101,3 @@ | ||
, 'with' : colors.cyan | ||
, 'yield' : undefined | ||
, _default : colors.white | ||
@@ -142,2 +150,3 @@ } | ||
, '/=': undefined | ||
, '=>': undefined | ||
@@ -149,2 +158,3 @@ , '===': undefined | ||
, '>>=': undefined | ||
, '...': undefined | ||
@@ -151,0 +161,0 @@ , '>>>=': undefined |
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
58332
1380
127
+ Addedesprima-fb@12001.1.0-dev-harmony-fb(transitive)
+ Addedredeyed@0.5.0(transitive)
- Removedesprima@1.0.4(transitive)
- Removedredeyed@0.4.4(transitive)
Updatedredeyed@~0.5.0