read-package-json
Advanced tools
Comparing version 0.1.11 to 0.1.12
{ | ||
"name": "read-package-json", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", | ||
@@ -5,0 +5,0 @@ "description": "The thing npm uses to read package.json files with semantics and defaults and validation", |
@@ -332,2 +332,3 @@ // vim: set softtabstop=16 shiftwidth=16: | ||
fs.readFile(headFile, 'utf8', function (er, head) { | ||
if (er || !head) return cb(null, data) | ||
head = head.replace(/^ref: /, '').trim() | ||
@@ -334,0 +335,0 @@ data.gitHead = head |
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
35639
734