Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,6 @@ | ||
3.0.1 / 2017-07-05 | ||
------------------ | ||
- Fixed bug in `writeFile` when there was a serialization error & no callback was passed. In previous versions, an empty file would be written; now no file is written. | ||
3.0.0 / 2017-04-25 | ||
@@ -2,0 +7,0 @@ ------------------ |
@@ -97,3 +97,5 @@ var _fs | ||
} catch (err) { | ||
if (callback) return callback(err, null) | ||
// Need to return whether a callback was passed or not | ||
if (callback) callback(err, null) | ||
return | ||
} | ||
@@ -100,0 +102,0 @@ |
{ | ||
"name": "jsonfile", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Easily read/write JSON files.", | ||
@@ -25,3 +25,2 @@ "repository": { | ||
"mocha": "2.x", | ||
"mock-fs": "^3.8.0", | ||
"rimraf": "^2.4.0", | ||
@@ -28,0 +27,0 @@ "standard": "^6.0.8" |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17362
3
112
0