Socket
Socket
Sign inDemoInstall

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 0.0.10 to 0.0.11

2

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

@@ -211,2 +211,3 @@ // vim: set softtabstop=16 shiftwidth=16:

function readmeDescription (file, data) {
if (data.description) return cb(null, data);
var d = data.readme

@@ -298,3 +299,3 @@ if (!d) return;

if (data.readme)
if (data.readme && !data.description)
readmeDescription(file, data)

@@ -301,0 +302,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc