cosmiconfig
Advanced tools
Comparing version 2.1.0 to 2.1.1
# Changelog | ||
## 2.1.1 | ||
- Fixed: swapped `graceful-fs` for regular `fs`, fixing a garbage collection problem. | ||
## 2.1.0 | ||
@@ -4,0 +8,0 @@ |
'use strict'; | ||
var path = require('path'); | ||
var fs = require('graceful-fs'); | ||
var fs = require('fs'); | ||
var loadPackageProp = require('./loadPackageProp'); | ||
@@ -6,0 +6,0 @@ var loadRc = require('./loadRc'); |
'use strict'; | ||
var fs = require('graceful-fs'); | ||
var fs = require('fs'); | ||
@@ -5,0 +5,0 @@ module.exports = function (filepath, options) { |
{ | ||
"name": "cosmiconfig", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Find and load configuration from a package.json property, rc file, or CommonJS module", | ||
@@ -14,4 +14,3 @@ "main": "index.js", | ||
"coverage": "nyc npm run ava && nyc report --reporter=html && open coverage/index.html", | ||
"test": "npm run ava && npm run lint", | ||
"prepublish": "npm test" | ||
"test": "npm run ava && npm run lint" | ||
}, | ||
@@ -37,3 +36,2 @@ "repository": { | ||
"dependencies": { | ||
"graceful-fs": "^4.1.2", | ||
"js-yaml": "^3.4.3", | ||
@@ -40,0 +38,0 @@ "minimist": "^1.2.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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
21620
6
2
- Removedgraceful-fs@^4.1.2
- Removedgraceful-fs@4.2.11(transitive)