Socket
Socket
Sign inDemoInstall

jsx-info

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-info - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# v1.5.0
- Prop usage graphs are now relative to the number of component usages, rather
than relative to the number of total props used across all component usages.
This means that a "full" prop bar corresponds to a prop used in every usage of
that component.
# v1.4.0

@@ -2,0 +9,0 @@

2

package.json
{
"name": "jsx-info",
"version": "1.4.0",
"version": "1.5.0",
"description": "displays a report of JSX component and prop usage",

@@ -5,0 +5,0 @@ "bin": "src/jsx-info.js",

@@ -112,4 +112,2 @@ const printer = require("./printer");

);
const total = this._sumValues(props);
const pairs = this._sortMap(props);

@@ -120,3 +118,3 @@ const maxDigits = getMaxDigits(pairs.values());

" " + printer.styleNumber(count.toString().padStart(maxDigits)),
" " + printer.textMeter(total, count),
" " + printer.textMeter(componentUsage, count),
" " + printer.stylePropName(propName)

@@ -123,0 +121,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