Socket
Socket
Sign inDemoInstall

read-package-json

Package Overview
Dependencies
Maintainers
4
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 2.0.4 to 2.0.5

10

package.json
{
"name": "read-package-json",
"version": "2.0.4",
"version": "2.0.5",
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",

@@ -12,6 +12,6 @@ "description": "The thing npm uses to read package.json files with semantics and defaults and validation",

"scripts": {
"test": "standard && tap test/*.js"
"test": "standard && tap -J test/*.js"
},
"dependencies": {
"glob": "^6.0.0",
"glob": "^7.1.1",
"json-parse-helpfulerror": "^1.0.2",

@@ -21,4 +21,4 @@ "normalize-package-data": "^2.0.0"

"devDependencies": {
"standard": "^5.3.1",
"tap": "^1.2.0"
"standard": "^9.0.1",
"tap": "^10.3.0"
},

@@ -25,0 +25,0 @@ "optionalDependencies": {

@@ -140,3 +140,3 @@ var fs

var spre = /^(\.[\/\\])?node_modules[\/\\].bin[\\\/]/
var spre = /^(\.[/\\])?node_modules[/\\].bin[\\/]/
if (s.match(spre)) {

@@ -280,3 +280,3 @@ this[key] = this[key].replace(spre, '')

function bins_ (file, data, bins, cb) {
var m = data.directories && data.directories.bin || '.'
var m = (data.directories && data.directories.bin) || '.'
data.bin = bins.reduce(function (acc, mf) {

@@ -283,0 +283,0 @@ if (mf && mf.charAt(0) !== '.') {

@@ -70,8 +70,2 @@ # read-package-json

## readJson.cache
The `lru-cache` object that readJson uses to not read the same file over
and over again. See
[lru-cache](https://github.com/isaacs/node-lru-cache) for details.
## Other Relevant Files Besides `package.json`

@@ -78,0 +72,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc