Socket
Socket
Sign inDemoInstall

react-gauge-component

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gauge-component - npm Package Compare versions

Comparing version 1.1.35 to 1.1.36

4

dist/lib/GaugeComponent/index.js

@@ -102,3 +102,5 @@ "use strict";

var valueChanged = (JSON.stringify(prevProps.current.value) !== JSON.stringify(mergedProps.current.value));
return arcsPropsChanged || pointerPropsChanged || valueChanged;
var minValueChanged = (JSON.stringify(prevProps.current.minValue) !== JSON.stringify(mergedProps.current.minValue));
var maxValueChanged = (JSON.stringify(prevProps.current.maxValue) !== JSON.stringify(mergedProps.current.maxValue));
return arcsPropsChanged || pointerPropsChanged || valueChanged || minValueChanged || maxValueChanged;
};

@@ -105,0 +107,0 @@ (0, react_1.useLayoutEffect)(function () {

{
"name": "react-gauge-component",
"version": "1.1.35",
"version": "1.1.36",
"main": "dist/lib/index.js",

@@ -5,0 +5,0 @@ "module": "dist/lib/index.js",

@@ -16,3 +16,3 @@ # react-gauge-component

<li>Full responsive</li>
<li>All render flow fixed and optimized avoiding unecessary resource usage (better performance)</li>
<li>All render flow fixed and optimized avoiding unecessary resource usage. Performance test, left is original: https://user-images.githubusercontent.com/45375617/239447916-217630e7-8e34-4a3e-a59f-7301471b9855.png</li>
<li>Refactored project structure to separated files</li>

@@ -29,5 +29,2 @@ <li>Refactored to Typescript</li>

# Attention
After release 1.1.20 "marks" were renamed to "ticks" please refer to the documentation below
# Usage

@@ -452,2 +449,3 @@ Install it by running `npm install react-gauge-component --save` or `yarn add react-gauge-component`. Then to use it:

</ul>
##### Colors for the chart

@@ -454,0 +452,0 @@

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