Comparing version 0.3.1 to 0.5.0
{ | ||
"author": "Andrey Tarantsov <andreyvit@me.com>", | ||
"contributors": [ | ||
"Gavriel Fleischer <flocsy@gmail.com>" | ||
], | ||
"name": "json-diff", | ||
"description": "JSON diff", | ||
"version": "0.3.1", | ||
"version": "0.5.0", | ||
"homepage": "https://github.com/andreyvit/json-diff", | ||
@@ -13,4 +16,4 @@ "repository": { | ||
"scripts": { | ||
"test": "./node_modules/mocha/bin/mocha", | ||
"cov": "rm -rf lib-cov; jscoverage lib lib-cov; env JSLIB=lib-cov mocha -R dot && env JSLIB=lib-cov mocha -R html-cov >coverage.html; open coverage.html" | ||
"test": "./node_modules/mocha/bin/mocha test/*.coffee", | ||
"cov": "rm -rf lib-cov; jscoverage lib lib-cov; env JSLIB=lib-cov mocha -R dot && env JSLIB=lib-cov mocha -R html-cov >coverage.html; open coverage.html" | ||
}, | ||
@@ -23,2 +26,4 @@ "dependencies": { | ||
"devDependencies": { | ||
"coffee-script": "~1.7.1", | ||
"iced-coffee-script": "^1.8.0-d", | ||
"mocha": "~1.7.0" | ||
@@ -25,0 +30,0 @@ }, |
@@ -15,2 +15,12 @@ JSON structural diff | ||
Contribution policy | ||
------------------- | ||
1. This project is maintained thanks to your contributions! Please send pull requests. | ||
2. I will merge any pull request that adds something useful, does not break existing things, has reasonable code quality and provides/updates tests where appropriate. | ||
3. Anyone who gets a significant pull request merged gets commit access to the repository. | ||
Usage | ||
@@ -26,3 +36,3 @@ ----- | ||
% json-diff --help | ||
Usage: json-diff [-vjC] first.json second.json | ||
Usage: json-diff [-vjCk] first.json second.json | ||
@@ -37,2 +47,3 @@ Arguments: | ||
-j, --raw-json Display raw JSON encoding of the diff | ||
-k, --keys-only Compare only the keys, ignore the differences in values | ||
-h, --help Display this usage information | ||
@@ -46,2 +57,3 @@ | ||
* fuzzy matching of modified array elements (when array elements are object hierarchies) | ||
* compare only the json structure (keys), ignoring the values | ||
* reasonable test coverage (far from 100%, though) | ||
@@ -48,0 +60,0 @@ |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
0
111
1
11245
3
6
2
1
2