cfpathcheck
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -5,2 +5,15 @@ # Change Log | ||
## [4.4.0] - 2020-10-20 | ||
### Added | ||
- node_js 15 support | ||
- xo badge | ||
### Updated | ||
- cfpathcheck.formatter(): use a ternary | ||
- deep-equal@2.0.4 | ||
- mocha@8.2.0 | ||
- prettier@2.1.2 | ||
- snyk@1.419.0 | ||
- xo@0.34.1 | ||
## [4.3.0] - 2020-08-13 | ||
@@ -293,2 +306,3 @@ ### Added | ||
[4.4.0]: https://github.com/timbeadle/cfpathcheck/compare/4.3.0...4.4.0 | ||
[4.3.0]: https://github.com/timbeadle/cfpathcheck/compare/4.2.0...4.3.0 | ||
@@ -295,0 +309,0 @@ [4.2.0]: https://github.com/timbeadle/cfpathcheck/compare/4.1.0...4.2.0 |
@@ -279,10 +279,3 @@ 'use strict'; | ||
const formatter = (violations, format) => { | ||
let output; | ||
if (format === 'checkstyle') { | ||
output = checkstyleFormatter(violations); | ||
} else { | ||
output = violations; | ||
} | ||
return output; | ||
return format === 'checkstyle' ? checkstyleFormatter(violations) : violations; | ||
}; | ||
@@ -289,0 +282,0 @@ |
@@ -10,3 +10,3 @@ { | ||
"description": "Check CFML files for correct paths in cfinclude/cfimport tags", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"homepage": "https://github.com/timbeadle/cfpathcheck", | ||
@@ -59,17 +59,17 @@ "author": { | ||
"crlf": "^1.1.0", | ||
"deep-equal": "^2.0.3", | ||
"deep-equal": "^2.0.4", | ||
"glob": "^7.1.6", | ||
"log-symbols": "^4.0.0", | ||
"minimist": "^1.2.5", | ||
"snyk": "^1.373.1" | ||
"snyk": "^1.419.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"mocha": "^8.1.1", | ||
"mocha": "^8.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.0.5", | ||
"xo": "^0.33.0" | ||
"prettier": "^2.1.2", | ||
"xo": "^0.34.1" | ||
}, | ||
"snyk": true | ||
} |
@@ -8,2 +8,3 @@ # cfpathcheck | ||
[![Build Status](https://travis-ci.com/timbeadle/cfpathcheck.svg?branch=master)](https://travis-ci.com/timbeadle/cfpathcheck) | ||
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) | ||
[![Dependency Status](https://david-dm.org/timbeadle/cfpathcheck.svg)](https://david-dm.org/timbeadle/cfpathcheck) | ||
@@ -10,0 +11,0 @@ [![devDependency Status](https://david-dm.org/timbeadle/cfpathcheck/dev-status.svg)](https://david-dm.org/timbeadle/cfpathcheck#info=devDependencies) |
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
144938
35
834
Updateddeep-equal@^2.0.4
Updatedsnyk@^1.419.0