@fimbul/wotan
Advanced tools
Comparing version 0.22.0-dev.20191010 to 0.22.0-dev.20191111
{ | ||
"name": "@fimbul/wotan", | ||
"version": "0.22.0-dev.20191010", | ||
"version": "0.22.0-dev.20191111", | ||
"description": "Pluggable TypeScript and JavaScript linter", | ||
@@ -43,6 +43,6 @@ "bin": "bin/main.js", | ||
"dependencies": { | ||
"@fimbul/mimir": "0.22.0-dev.20190806", | ||
"@fimbul/mimir": "0.22.0-dev.20191111", | ||
"@fimbul/ymir": "0.21.0", | ||
"bind-decorator": "^1.0.11", | ||
"chalk": "^2.3.0", | ||
"chalk": "^3.0.0", | ||
"debug": "^4.0.0", | ||
@@ -49,0 +49,0 @@ "diff": "^4.0.0", |
@@ -10,3 +10,3 @@ "use strict"; | ||
const path = require("path"); | ||
const chalk_1 = require("chalk"); | ||
const chalk = require("chalk"); | ||
const utils_1 = require("../utils"); | ||
@@ -59,3 +59,3 @@ const glob = require("glob"); | ||
const end = (pass, text, baselineDiff) => { | ||
this.logger.log(` ${chalk_1.default.grey.dim(path.relative(basedir, baselineFile))} ${chalk_1.default[pass ? 'green' : 'red'](text)}`); | ||
this.logger.log(` ${chalk.grey.dim(path.relative(basedir, baselineFile))} ${chalk[pass ? 'green' : 'red'](text)}`); | ||
if (pass) | ||
@@ -112,3 +112,3 @@ return true; | ||
if (typescriptVersion !== undefined && !semver_1.satisfies(currentTypescriptVersion, typescriptVersion)) { | ||
this.logger.log(`${path.relative(basedir, testcase)} ${chalk_1.default.yellow(`SKIPPED, requires TypeScript ${typescriptVersion}`)}`); | ||
this.logger.log(`${path.relative(basedir, testcase)} ${chalk.yellow(`SKIPPED, requires TypeScript ${typescriptVersion}`)}`); | ||
continue; | ||
@@ -128,6 +128,6 @@ } | ||
this.fs.remove(unchecked); | ||
this.logger.log(` ${chalk_1.default.grey.dim(path.relative(basedir, unchecked))} ${chalk_1.default.green('REMOVED')}`); | ||
this.logger.log(` ${chalk.grey.dim(path.relative(basedir, unchecked))} ${chalk.green('REMOVED')}`); | ||
} | ||
else { | ||
this.logger.log(` ${chalk_1.default.grey.dim(path.relative(basedir, unchecked))} ${chalk_1.default.red('UNCHECKED')}`); | ||
this.logger.log(` ${chalk.grey.dim(path.relative(basedir, unchecked))} ${chalk.red('UNCHECKED')}`); | ||
if (options.bail) | ||
@@ -197,4 +197,4 @@ return false; | ||
const result = [ | ||
chalk_1.default.red('Expected'), | ||
chalk_1.default.green('Actual'), | ||
chalk.red('Expected'), | ||
chalk.green('Actual'), | ||
]; | ||
@@ -205,9 +205,9 @@ const lines = diff.createPatch('', expected, actual, '', '').split(/\n(?!\\)/g).slice(4); | ||
case '@': | ||
line = chalk_1.default.blueBright(line); | ||
line = chalk.blueBright(line); | ||
break; | ||
case '+': | ||
line = chalk_1.default.green('+' + prettyLine(line.substr(1))); | ||
line = chalk.green('+' + prettyLine(line.substr(1))); | ||
break; | ||
case '-': | ||
line = chalk_1.default.red('-' + prettyLine(line.substr(1))); | ||
line = chalk.red('-' + prettyLine(line.substr(1))); | ||
} | ||
@@ -214,0 +214,0 @@ result.push(line); |
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
333709
+ Added@fimbul/mimir@0.22.0-dev.20191111(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@3.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
- Removed@fimbul/mimir@0.22.0-dev.20190806(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(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)
- Removedsupports-color@5.5.0(transitive)
Updatedchalk@^3.0.0