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

react-liquid-gauge

Package Overview
Dependencies
Maintainers
2
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.2.1 to 1.2.2

15

lib/index.js

@@ -19,6 +19,2 @@ 'use strict';

var _reactAddonsShallowCompare = require('react-addons-shallow-compare');
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
var _d3Color = require('d3-color');

@@ -62,4 +58,4 @@

var LiquidFillGauge = (_temp = _class = function (_Component) {
_inherits(LiquidFillGauge, _Component);
var LiquidFillGauge = (_temp = _class = function (_PureComponent) {
_inherits(LiquidFillGauge, _PureComponent);

@@ -83,7 +79,2 @@ function LiquidFillGauge() {

}, {
key: 'shouldComponentUpdate',
value: function shouldComponentUpdate(nextProps, nextState) {
return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);
}
}, {
key: 'draw',

@@ -328,3 +319,3 @@ value: function draw() {

return LiquidFillGauge;
}(_react.Component), _class.propTypes = {
}(_react.PureComponent), _class.propTypes = {
// A unique identifier (ID) to identify the element.

@@ -331,0 +322,0 @@ id: _propTypes2.default.string,

7

package.json
{
"name": "react-liquid-gauge",
"version": "1.2.1",
"version": "1.2.2",
"description": "React Liquid Gauge component",

@@ -60,7 +60,6 @@ "main": "lib/index.js",

"d3-transition": "^1.0.3",
"prop-types": "^15.5.8",
"react-addons-shallow-compare": "^0.14.0 || ^15.0.0"
"prop-types": "^15.5.8"
},
"devDependencies": {
"@trendmicro/react-buttons": "~1.0.3",
"@trendmicro/react-buttons": "~1.0.4",
"babel-cli": "~6.24.0",

@@ -67,0 +66,0 @@ "babel-core": "~6.24.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