Gathering detailed insights and metrics for jsondiffpatch-for-react
Gathering detailed insights and metrics for jsondiffpatch-for-react
npm install jsondiffpatch-for-react
Typescript
Module System
Node Version
NPM Version
66.8
Supply Chain
83.9
Quality
75.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
148,868
Last Day
131
Last Week
368
Last Month
2,004
Last Year
24,071
11 Stars
26 Commits
8 Forks
2 Watching
1 Branches
3 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.4
Package Id
jsondiffpatch-for-react@1.0.4
Unpacked Size
18.29 kB
Size
6.29 kB
File Count
16
NPM Version
6.13.4
Node Version
12.13.1
Cumulative downloads
Total Downloads
Last day
24.8%
131
Compared to previous day
Last week
-33.8%
368
Compared to previous week
Last month
24.1%
2,004
Compared to previous month
Last year
-12.8%
24,071
Compared to previous year
1
1
48
Based on https://github.com/benjamine/jsondiffpatch
npm install jsondiffpatch-for-react
1import React from 'react';
2import JsonDiffReact from 'jsondiffpatch-for-react';
3
4<JsonDiffReact
5 right: PropTypes.any,
6 left: PropTypes.any,
7 show: PropTypes.bool,
8 annotated: PropTypes.bool,
9 tips: PropTypes.string,
10 objectHash: PropTypes.func,
11/>
left
(array, object, string)
right
(array, object, string)
show
(bool)
you can show/hide unchanged values
annotated
(bool)
This will render the original JSON delta in html, with annotations aside explaining the meaning of each part. This attempts to make the JSON delta format self-explained.
tips
(string)
Message that will displayed in case both elements are identical.
objectHash
(function)
Will be passed to jsondiffpatch to improve array comparison performance, as described here. Example:
1<JsonDiffReact 2 left={left} 3 right={right} 4 objectHash={(obj: any) => obj.id || obj._id || obj.name || JSON.stringify(obj)} 5/>
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 4/20 approved changesets -- score normalized to 2
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More