Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rcfinder

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rcfinder - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

9

index.js

@@ -8,2 +8,3 @@ /**

var path = require('path');
var cloneDeep = require('lodash.clonedeep');
var fs = require('fs');

@@ -66,3 +67,3 @@

if (configMap[rcPath] === void 0) {
// we need to populate the
// we need to populate the cache
if (loader.length === 2) {

@@ -83,3 +84,4 @@ if (sync) {

}
rcConfig = configMap[rcPath];
// clone the cached copy so that people can't fuck with them
rcConfig = cloneDeep(configMap[rcPath]);
}

@@ -91,3 +93,4 @@

return sync ? rcConfig : cb(void 0, rcConfig);
if (sync) return rcConfig;
cb(void 0, rcConfig);
}

@@ -94,0 +97,0 @@

{
"name": "rcfinder",
"version": "0.1.3",
"version": "0.1.4",
"description": "Find a config file (like .jshintrc) by walking up from a specific directory.",

@@ -26,3 +26,5 @@ "main": "index.js",

},
"dependencies": {},
"dependencies": {
"lodash.clonedeep": "~2.4.1"
},
"repository": {

@@ -29,0 +31,0 @@ "type": "git",

@@ -5,2 +5,4 @@ # rcfinder

**This module provides the file lookup logic for the generally more useful [rcloader](https://www.npmjs.org/package/rcloader) package**.
Find a config file (like .jshintrc) by walking up from a specific directory.

@@ -7,0 +9,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc