Comparing version 0.2.17 to 0.2.18
@@ -5,3 +5,2 @@ var _ = require("underscore"); | ||
var os = require("os"); | ||
var min = require("jsonminify"); | ||
@@ -98,3 +97,8 @@ var env = process.env; | ||
var data = loadFile(path); | ||
return data ? JSON.parse(min(data)) : {}; | ||
if (data) { | ||
return JSON.parse(data.split("\n").filter(function (line) { | ||
return line.trim().indexOf("//") !== 0; | ||
}).join("\n")); | ||
} | ||
return {}; | ||
} |
{ | ||
"name": "ap3", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"description": "Helper package for Atlassian Plugins 3 add-ons running on Express", | ||
@@ -18,6 +18,5 @@ "dependencies": { | ||
"temp": "~0.5.0", | ||
"adm-zip": "~0.4.3", | ||
"adm-zip": "~0.4.3", | ||
"read": "~1.0.4", | ||
"rimraf": "~2.1.4", | ||
"jsonminify": "~0.1.0", | ||
"open": "~0.0.3" | ||
@@ -24,0 +23,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
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
34137
16
886
- Removedjsonminify@~0.1.0
- Removedjsonminify@0.1.2(transitive)