read-package-json
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"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
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
23637
152
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
- Removedglob@6.0.4(transitive)
Updatedglob@^7.1.1