mocha-jshint
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -10,4 +10,5 @@ var path = require('path'); | ||
process.chdir(path.resolve(p)); | ||
delete require.cache[require.resolve('./node_modules/jshint/src/cli.js')]; | ||
var jsHint = require('./node_modules/jshint/src/cli.js'); | ||
var jsHintCliPath = path.resolve(path.dirname(require.resolve('jshint')), 'cli.js'); | ||
delete require.cache[jsHintCliPath]; | ||
var jsHint = require(jsHintCliPath); | ||
var error = new Error(''); | ||
@@ -14,0 +15,0 @@ error.message = ''; |
{ | ||
"name": "mocha-jshint", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "run JSHint as mocha tests", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
12711
41
1