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 0.5.0 to 0.5.1

9

lib/index.js

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

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

@@ -74,2 +78,7 @@

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

@@ -76,0 +85,0 @@ value: function setRes() {

18

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

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

"scripts": {
"prepublish": "npm run lint && npm test && npm run build",
"build": "rm -f lib/*; babel --out-dir ./lib ./src",
"build-examples": "cd examples; webpack",
"prepublish": "npm run lint && npm test && npm run clean && npm run build && npm run build-examples",
"build": "babel --out-dir ./lib ./src",
"build-examples": "cd examples; webpack; cp -af index.html ../docs/index.html",
"clean": "rm -f lib/*",
"demo": "http-server -p 8000 docs/",
"lint": "eslint ./src",

@@ -42,4 +44,3 @@ "lint:fix": "eslint --fix ./src",

"peerDependencies": {
"react": "^0.14.0 || ^15.0.0",
"react-dom": "^0.14.0 || ^15.0.0"
"react": "^0.14.0 || ^15.0.0"
},

@@ -52,3 +53,4 @@ "dependencies": {

"d3-shape": "^1.0.4",
"d3-timer": "^1.0.3"
"d3-timer": "^1.0.3",
"react-addons-shallow-compare": "^0.14.0 || ^15.0.0"
},

@@ -66,3 +68,3 @@ "devDependencies": {

"eslint": "^3.11.0",
"eslint-config-airbnb": "^13.0.0",
"eslint-config-trendmicro": "^0.5.0",
"eslint-plugin-import": "^2.2.0",

@@ -69,0 +71,0 @@ "eslint-plugin-jsx-a11y": "^3.0.1",

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