Socket
Socket
Sign inDemoInstall

cosmiconfig

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmiconfig - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

CHANGELOG.md
# Changelog
## 2.1.1
- Fixed: swapped `graceful-fs` for regular `fs`, fixing a garbage collection problem.
## 2.1.0

@@ -4,0 +8,0 @@

2

lib/createExplorer.js
'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",

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