Socket
Socket
Sign inDemoInstall

jsonfile

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonfile - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

CHANGELOG.md

@@ -0,1 +1,5 @@

2.0.1 / 2015-05-24
------------------
- update license attribute https://github.com/jprichardson/node-jsonfile/pull/21
2.0.0 / 2014-07-28

@@ -10,3 +14,3 @@ ------------------

* removed semicolons
* bugfix: passed `options` to `fs.readFile` and `fs.readFileSync`. This technically changes behavior, but
* bugfix: passed `options` to `fs.readFile` and `fs.readFileSync`. This technically changes behavior, but
changes it according to docs. #12

@@ -13,0 +17,0 @@

2

lib/jsonfile.js

@@ -5,3 +5,3 @@ var fs = require('fs')

me.spaces = 2
me.spaces = null

@@ -8,0 +8,0 @@ me.readFile = function(file, options, callback) {

{
"name": "jsonfile",
"version": "2.0.0",
"version": "2.0.1",
"description": "Easily read/write JSON files.",

@@ -16,8 +16,3 @@ "repository": {

"author": "JP Richardson <jprichardson@gmail.com>",
"licenses": [
{
"type": "MIT",
"url": ""
}
],
"license": "MIT",
"dependencies": {},

@@ -24,0 +19,0 @@ "devDependencies": {

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