Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cfpathcheck

timbeadle329MIT11.1.0TypeScript support: included

Check CFML files for correct paths in cfinclude/cfimport tags

cli, command line, cfml, static analysis

readme

cfpathcheck

Static analysis for cfml template import and include paths

npm version Downloads/month Build Status XO code style Code Climate DepShield Badge Known Vulnerabilities

Installation

(sudo) npm install -g cfpathcheck

  • Unix/Linux/Mac OS X: Note that sudo is required unless you have set your npm environment up not to need it
  • Windows: Note that sudo doesn't exist ;o)

Usage

cfpathcheck PATH [-r REPORTER -o OUTFILE]

Options

  • PATH: The path to a single .cfm file, or to a directory containing .cfm files.
  • REPORTER: use checkstyle to output checkstyle-compatible xml to stdout.
  • OUTFILE: The path to the output file, for integration with (e.g.) Jenkins or other CI servers.

Release support matrix

Release Min Node ver. Support
1.x 4.0.0 Obsolete
2.x 6.0.0 Obsolete
3.x 8.0.0 Obsolete
4.x 10.0.0 Obsolete
5.x 12.0.0 Obsolete
6.x 12.22.0 Obsolete
7.x 14.13.0 Obsolete
8.x 14.17.0 Obsolete
9.x 16.14.0 Obsolete
10.x 18.0.0 Obsolete
11.x 20.19.1 Current

Release history

changelog

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

11.1.0 - 2025-05-22

Updated

11.0.0 - 2024-10-14

Added

  • xo

Updated

Removed

  • BREAKING NodeJS v18 support
  • eslint
  • eslint-config-xo
  • eslint-plugin-import & annotations
  • eslint-plugin-redos & annotations
  • NodeJS v18 & v21 test runs

10.1.0 - 2024-07-30

Added

  • NodeJS v22 test run.
  • fixtures/test-script.cfm, for testing cfscript syntax imports.
  • rimraf package, to clean up the dist folder before building ts type files.
  • tsconfig.json: `"moduleResolution@Node

Updated

Removed

  • Unnecessary format argument in the call to the check(file) function.

10.0.2 - 2024-03-16

Updated

10.0.1 - 2024-01-16

Added

  • eslint annotations to work around chai lint issues in v5
  • NodeJS v21 test run

Updated

10.0.0 - 2023-10-23

Added

  • Dependabot: Add versioning-strategy: increase setting.
  • Renovate: Add packageRules (to group eslint package upgrades), rangeStrategy and transitiveRemediation settings.

Updated

Removed

  • BREAKING: NodeJS support <18
  • nodejs 16.x test run

9.0.0 - 2023-09-26

Updated

Removed

  • BREAKING: NodeJS support <16.14
  • Node 14.x, 14.17.x test runs

8.1.3 - 2023-06-30

Updated

8.1.2 - 2023-06-02

Added

Updated

Removed

  • nodejs v19 test run

8.1.1 - 2023-04-11

Updated

8.1.0 - 2023-03-22

Added

  • Type definitions (generated using tsc via the build:types npm script)
  • @types/node
  • typescript

Updated

8.0.0 - 2023-03-17

Added

  • Version support matrix

Updated

Removed

  • Breaking: NodeJS support <14.17

7.0.1 - 2023-03-15

Updated

7.0.0 - 2023-02-07

Updated

Removed

  • Breaking: NodeJS support <14.13
  • NodeJS 12.x test run

6.0.0 - 2022-10-25

Added

  • nodejs v12, v19 test runs
  • eslint redos plugin
  • ls-engines (tests dependency graph for engine compatibility)
  • Renovate bot config

Updated

Removed

  • Breaking: NodeJS support <12.17
  • nodejs v17 test run

5.0.2 - 2022-03-25

Added

  • nodejs v18 test run

Updated

Removed

  • nodejs v12 test run (but should still work)

5.0.1 - 2022-03-25

Added

  • node_js 17 support
  • eslint
  • @snyk/protect
  • @types/chai
  • @types/checkstyle-formatter
  • @types/deep-equal
  • @types/glob
  • @types/minimist
  • @types/mocha

Updated

Removed

  • xo
  • snyk

5.0.0 - 2021-04-22

Added

  • node_js 16 support
  • dependabot and codeql scanning
  • Github build badge

Updated

Removed

  • node_js 10, 13 support
  • david-dm badges
  • TravisCI build badge

4.6.0 - 2022-10-25

Added

  • NodsJS 19.x test run

Updated

Removed

  • NodeJS v10.x support

4.5.0 - 2022-05-03

Added

  • dependabot
  • codeql analysis
  • NodeJS 16.x, 18.x test runs
  • @snyk/protect
  • @types/chai
  • @types/checkstyle-formatter
  • @types/deep-equal
  • @types/glob
  • @types/mocha
  • eslint
  • eslint-config-xo
  • eslint-plugin-import
  • ls-engines

Updated

Removed

  • TravisCI setup
  • DavidDM badges
  • NodeJS 10.x, 13.x, 15.x test runs
  • snyk
  • xo

4.4.0 - 2020-10-20

Added

  • node_js 15 support
  • xo badge

Updated

4.3.0 - 2020-08-13

Added

  • deepEqual (used instead of lodash.isEqual)
  • Linting of test scripts, with annotations to squish some warnings
  • Further .snyk policy changes to ignore certain vulns

Updated

Removed

  • lodash

4.2.0 - 2020-07-05

Added

  • travis-ci.com for test and build

Updated

Removed

  • Unused catch argument
  • travis-ci.org test/build

4.1.0 - 2020-04-30

Added

  • node_js v14 support
  • Github workflow for running tests

Updated

Removed

  • Greenkeeper badge (retired)

4.0.0 - 2020-02-23

Added

  • npm-run-all for parallel test task running

Updated

Removed

  • node_js 8 and 9 support

3.1.0 - 2019-12-14

Added

  • xo linter
  • prettierrc.yaml config
  • nodejs v13 support
  • unit tests (using mocha and chai)

Updated

Removed

  • eslint

3.0.6 - 2019-10-13

Updated

3.0.5 - 2019-09-16

Added

  • Greenkeeper.io badge

Updated

Removed

  • Verbalize (has security vulnerabilities in its own dependendencies & is unmaintained)
  • pathIsAbsolute (unneeded as node 0.12 is no longer supported)

3.0.4 - 2019-07-10

Added

  • snyk protect

Updated

3.0.3 - 2019-05-26

Updated

3.0.2 - 2019-05-24

Updated

  • Update package.engines to node >=8

3.0.1 - 2019-05-24

Updated

  • Bumped patch version after failed publish to npmjs.com

3.0.0 - 2019-05-24

Added

  • node_js 12 support in .travis.yml
  • Snyk badge

Updated

Removed

  • node_js 6 and 7 support

2.0.1 - 2019-02-05

Added

  • node_js 11 support in .travis.yml
  • Snyk security monitoring
  • Sonatype DepShield

Removed

  • grunt
  • grunt-release-it
  • load-grunt-tasks
  • verb

Updated

2.0.0 - 2018-07-16

Added

  • node_js 10 support in .travis.yml
  • eslint (& accompanying npm script)
  • some es6 syntax features (arrow functions, const & let etc.)

Removed

  • node_js 4 & 5 support. node_js 6 is now the minimum supported version
  • grunt-eslint

Updated

1.5.0 - 2017-11-21

Added

  • node_js 9 support in .travis.yml

Updated

1.4.0 - 2017-09-21

Added

  • prettier (eslint ruleset & formatting applied)

Updated

1.3.0 - 2017-08-07

Updated

Added

  • .editorconfig
  • eslint as devDependency
  • node v8 support in .travis.yml

1.2.1 - 2016-11-05

Updated

Added

  • node v7 support in .travis.yml

1.2.0 - 2016-10-03

Added

  • Support for single quotes delimiting <cfimport> and <cfinclude> attributes.

1.1.1 - 2016-08-19

Updated

  • Dynamic paths built with concatenation now supported, and the path winds back to the last slash to find the directory

1.1.0 - 2016-08-17

Added

  • Support for include statements in <cfscript> tags.

1.0.0 - 2016-08-17

Added

  • CHANGELOG.md (this file).
  • Code Climate badges.
  • Some JSDoc annotations.

Removed

  • Node 0.10 support has been removed. cfpathcheck now needs at least node v4.

Changed

  • Finalise the eslint setup

0.7.1 - 2016-04-04

Added

  • TravisCI build badge.

0.7.0 - 2016-04-04

Added

  • Gruntfile for running tasks

Changed

  • Use new Verbalize API

Removed

  • Node 0.8 support.

0.6.1 - 2016-04-04

Added

  • grunt for task running.
  • grunt-release for releasing tagged versions.

(Sorry - only started tagging releases at 0.6.1)