🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

read-package-json

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-package-json - npm Package Compare versions

Comparing version

to
0.1.0

2

package.json
{
"name": "read-package-json",
"version": "0.0.12",
"version": "0.1.0",
"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",

@@ -343,4 +343,11 @@ // vim: set softtabstop=16 shiftwidth=16:

scriptTypoWarn(file, data)
noreadmeWarn(file, data)
}
function noreadmeWarn (file, data) {
if (data.readme) return;
warn(file, data, "No README.md file found!")
data.readme = "ERROR: No README.md file found!"
}
function checkTypo (file, data, d) {

@@ -347,0 +354,0 @@ if (!data.hasOwnProperty(d)) return;