Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-liquid-gauge

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-liquid-gauge - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

14

lib/index.js

@@ -198,3 +198,6 @@ 'use strict';

var style = this.props.style;
var _props = this.props,
_props$id = _props.id,
id = _props$id === undefined ? (0, _hashid.generate)() : _props$id,
style = _props.style;

@@ -252,3 +255,3 @@ var radius = Math.min(this.props.height / 2, this.props.width / 2);

'clipPath',
{ id: 'clipWave-' + this.props.id },
{ id: 'clipWave-' + id },
_react2.default.createElement('path', {

@@ -284,3 +287,3 @@ ref: function ref(c) {

'g',
{ clipPath: 'url(#clipWave-' + this.props.id + ')' },
{ clipPath: 'url(#clipWave-' + id + ')' },
_react2.default.createElement('circle', _extends({

@@ -290,3 +293,3 @@ className: 'wave',

}, this.props.waveStyle, {
fill: this.props.gradient ? 'url(#gradient-' + this.props.id + ')' : this.props.waveStyle.fill
fill: this.props.gradient ? 'url(#gradient-' + id + ')' : this.props.waveStyle.fill
})),

@@ -331,3 +334,3 @@ _react2.default.createElement(

_Gradient2.default,
{ id: 'gradient-' + this.props.id },
{ id: 'gradient-' + id },
gradientStops.map(function (stop, index) {

@@ -414,3 +417,2 @@ if (!_react2.default.isValidElement(stop)) {

}, _class.defaultProps = {
id: (0, _hashid.generate)(),
width: 400,

@@ -417,0 +419,0 @@ height: 400,

{
"name": "react-liquid-gauge",
"version": "1.1.0",
"version": "1.1.1",
"description": "React Liquid Gauge component",

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

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