Comparing version 1.1.0 to 1.1.1
@@ -6,3 +6,3 @@ var fs = require('fs') | ||
var parse = exports.parse = function (content, file) { | ||
var parse = exports.parse = function (content) { | ||
@@ -14,3 +14,3 @@ //if it ends in .json or starts with { then it must be json. | ||
if((file && /\.json$/.test(file)) || /^\s*{/.test(content)) | ||
if(/^\s*{/.test(content)) | ||
return JSON.parse(stripJsonComments(content)) | ||
@@ -17,0 +17,0 @@ return ini.parse(content) |
{ | ||
"name": "rc", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "hardwired configuration loader", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
14719