Comparing version
@@ -8,3 +8,3 @@ /** | ||
var path = require('path'); | ||
var cloneDeep = require('lodash').cloneDeep; | ||
var cloneDeep = require('lodash.clonedeep'); | ||
var fs = require('fs'); | ||
@@ -181,2 +181,2 @@ | ||
}; | ||
} | ||
} |
{ | ||
"name": "rcfinder", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Find a config file (like .jshintrc) by walking up from a specific directory.", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"mocha": "~1.17.1", | ||
"mocha": "^2.4.0", | ||
"expect.js": "~0.2.0" | ||
@@ -28,3 +28,3 @@ }, | ||
"dependencies": { | ||
"lodash": "~2.4.1" | ||
"lodash.clonedeep": "^4.3.2" | ||
}, | ||
@@ -38,3 +38,6 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/spenceralger/rcfinder" | ||
"homepage": "https://github.com/spenceralger/rcfinder", | ||
"engines": { | ||
"node": ">=0.10" | ||
} | ||
} |
# rcfinder | ||
[](https://travis-ci.org/spenceralger/rcfinder) | ||
[](https://travis-ci.org/spalger/rcfinder) | ||
@@ -53,2 +53,2 @@ **This module provides the file lookup logic for the generally more useful [rcloader](https://www.npmjs.org/package/rcloader) package**. | ||
NOTE: You must call `.find()` with a callback if your loader is async. | ||
NOTE: You must call `.find()` with a callback if your loader is async. |
@@ -156,3 +156,3 @@ describe('RcFinder', function () { | ||
expect(err).to.be.an(Error); | ||
expect(err.message).to.be('Unexpected token n'); | ||
expect(err.message).to.contain('Unexpected token n'); | ||
expect(config).to.be(undefined); | ||
@@ -181,3 +181,3 @@ done(); | ||
expect(err).to.be.an(Error); | ||
expect(err.message).to.be('Unexpected token n'); | ||
expect(err.message).to.contain('Unexpected token n'); | ||
expect(config).to.be(undefined); | ||
@@ -187,2 +187,2 @@ done(); | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
13342
0.5%343
0.59%54
1.89%1
Infinity%+ Added
+ Added
- Removed
- Removed