Socket
Socket
Sign inDemoInstall

jsonfile

Package Overview
Dependencies
1
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.1 to 2.4.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

2.4.0 / 2016-09-15
------------------
### Changed
- added optional support for `graceful-fs` [#62]
2.3.1 / 2016-05-13

@@ -2,0 +7,0 @@ ------------------

7

index.js

@@ -1,2 +0,7 @@

var _fs = require('fs')
var _fs
try {
_fs = require('graceful-fs')
} catch (_) {
_fs = require('fs')
}

@@ -3,0 +8,0 @@ function readFile (file, options, callback) {

5

package.json
{
"name": "jsonfile",
"version": "2.3.1",
"version": "2.4.0",
"description": "Easily read/write JSON files.",

@@ -20,2 +20,5 @@ "repository": {

"dependencies": {},
"optionalDependencies": {
"graceful-fs": "^4.1.6"
},
"devDependencies": {

@@ -22,0 +25,0 @@ "mocha": "2.x",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc