Comparing version 1.0.1 to 1.0.2
@@ -0,5 +1,8 @@ | ||
const path = require('path'); | ||
module.exports = { | ||
tests: ['test/**/*.coffee', '!test/helpers/**/*.coffee'], | ||
helpers: ['test/helpers/**/*.coffee'], | ||
lib: ['lib/**/*.js'] | ||
lib: ['lib/**/*.js'], | ||
root: path.resolve(__dirname, '..') + '/' | ||
}; |
@@ -1,3 +0,3 @@ | ||
var gulp = require('gulp'); | ||
var sequence = require('gulp-sequence'); | ||
const gulp = require('gulp'); | ||
const sequence = require('gulp-sequence'); | ||
require('file-manifest').generate('./gulp', { match: ['*.js', '!config.js'] }); | ||
@@ -4,0 +4,0 @@ gulp.task('travis', sequence(['lint', 'cover'], 'codeclimate')); |
@@ -19,3 +19,2 @@ const isRelative = require('is-relative'); | ||
exports.get = file => { | ||
@@ -37,3 +36,3 @@ file = getFileName(file); | ||
exports.walk = (file, fn) => { | ||
file = getFileName(file); | ||
file = getFileName(file); | ||
if (require.cache[file]) { | ||
@@ -40,0 +39,0 @@ var recurse = cacheObj => { |
{ | ||
"name": "cache-walk", | ||
"description": "Walk a require tree for a cached module", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "lib/cache-walk.js", | ||
@@ -38,2 +38,3 @@ "scripts": { | ||
"coffee-script": "^1.12.2", | ||
"eslint-codeframe-formatter": "^1.0.2", | ||
"file-manifest": "^2.0.4", | ||
@@ -44,4 +45,4 @@ "gulp": "^3.9.1", | ||
"gulp-debug": "^3.0.0", | ||
"gulp-eslint": "^3.0.1", | ||
"gulp-istanbul": "^1.1.1", | ||
"gulp-jshint": "^2.0.4", | ||
"gulp-mocha": "^3.0.1", | ||
@@ -51,4 +52,2 @@ "gulp-open": "^2.0.0", | ||
"gulp-spawn-mocha": "^3.1.0", | ||
"jshint": "^2.9.4", | ||
"jshint-stylish": "^2.2.1", | ||
"mocha": "^3.2.0", | ||
@@ -55,0 +54,0 @@ "mocha-given": "^0.1.3", |
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
18445
17
25
236