react-liquid-gauge
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -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() { |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26152
326
+ Addedreact-addons-shallow-compare@15.6.3(transitive)
- Removedreact-dom@15.7.0(transitive)