cfpathcheck
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -12,4 +12,6 @@ /* | ||
eslint: { | ||
extends: 'eslint:recommended', | ||
src: ['lib/*.js'] | ||
options: { | ||
configFile: ".eslintrc.json" | ||
}, | ||
src: ["lib/*.js"] | ||
} | ||
@@ -16,0 +18,0 @@ }); |
@@ -0,1 +1,3 @@ | ||
/*global module, require */ | ||
var fs = require('fs'); | ||
@@ -19,3 +21,3 @@ var path = require('path'); | ||
var i; | ||
for (i = 0; i < list.length; i++) { | ||
for (i = 0; i < list.length; i += 1) { | ||
if (_.isEqual(list[i], obj)) { | ||
@@ -109,7 +111,7 @@ return true; | ||
if (regex.global) { | ||
while (m = regex.exec(str)) { | ||
while ((m = regex.exec(str))) { | ||
res.push(m); | ||
} | ||
} else { | ||
if (m = regex.exec(str)) { | ||
if ((m = regex.exec(str))) { | ||
res.push(m); | ||
@@ -116,0 +118,0 @@ } |
{ | ||
"name": "cfpathcheck", | ||
"description": "Check CFML files for correct paths in cfinclude/cfimport tags", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"homepage": "https://github.com/timbeadle/cfpathcheck", | ||
@@ -52,2 +52,3 @@ "author": { | ||
"devDependencies": { | ||
"eslint-plugin-node": "^1.0.0", | ||
"grunt": ">=0.4.5", | ||
@@ -54,0 +55,0 @@ "grunt-release": "^0.13.0", |
@@ -5,2 +5,7 @@ # cfpathcheck | ||
[![npm version](https://img.shields.io/npm/v/cfpathcheck.svg)](https://www.npmjs.com/package/cfpathcheck) | ||
[![Downloads/month](https://img.shields.io/npm/dm/cfpathcheck.svg)](https://www.npmjs.com/package/cfpathcheck) | ||
[![Build Status](https://travis-ci.org/timbeadle/cfpathcheck.svg?branch=master)](https://travis-ci.org/timbeadle/cfpathcheck) | ||
[![Dependency Status](https://david-dm.org/timbeadle/cfpathcheck.svg)](https://david-dm.org/timbeadle/cfpathcheck) | ||
## Installation | ||
@@ -7,0 +12,0 @@ |
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
17406
309
26
5