Socket
Socket
Sign inDemoInstall

react-simple-pie-chart

Package Overview
Dependencies
42
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

8

build/npm/pie_chart.js
'use strict';
var React = require('react/addons');
var React = require('react');

@@ -20,3 +20,5 @@ var PropTypes = React.PropTypes;

color: PropTypes.string.isRequired, // hex color
value: PropTypes.number.isRequired })).isRequired },
value: PropTypes.number.isRequired
})).isRequired
},

@@ -70,3 +72,3 @@ /**

// but on the screen positive Y values go down.
var d = ['M ' + center + ',' + center, 'l ' + lastX + ',' + -lastY, 'a' + radius + ',' + radius, '0', '' + longArc + ',0', '' + (nextX - lastX) + ',' + -(nextY - lastY), 'z'].join(' ');
var d = ['M ' + center + ',' + center, 'l ' + lastX + ',' + -lastY, 'a' + radius + ',' + radius, '0', longArc + ',0', nextX - lastX + ',' + -(nextY - lastY), 'z'].join(' ');

@@ -73,0 +75,0 @@ lastX = nextX;

## master (unreleased)
## 0.2.1
- Update for React 0.14
- Move `react` from `dependencies` to `peerDependencies`
## 0.2.0

@@ -4,0 +9,0 @@

{
"name": "react-simple-pie-chart",
"version": "0.2.0",
"version": "0.2.1",
"description": "A React component to generate simple pie charts.",

@@ -16,3 +16,3 @@ "main": "build/npm/pie_chart.js",

"build-npm": "rm -rf build/npm && mkdir -p build/npm && babel src/pie_chart.jsx --out-file build/npm/pie_chart.js",
"test": "eslint . && ./node_modules/.bin/karma start",
"test": "eslint . --ext .js,.jsx && ./node_modules/.bin/karma start",
"prepublish": "npm run build-npm"

@@ -25,4 +25,4 @@ },

"license": "MIT",
"dependencies": {
"react": "~0.13.x"
"peerDependencies": {
"react": ">=0.13.0 <0.15.0"
},

@@ -33,12 +33,15 @@ "devDependencies": {

"babel-loader": "^5.0.0",
"eslint": "^0.20.0",
"eslint-plugin-react": "^2.2.0",
"eslint": "^1.3.1",
"eslint-config-brigade": "^1.6.0",
"eslint-plugin-react": "^3.3.1",
"jasmine-core": "^2.1.3",
"karma": "^0.12.31",
"karma-chrome-launcher": "^0.1.7",
"karma-cli": "0.0.4",
"karma-firefox-launcher": "^0.1.4",
"karma-jasmine": "^0.3.5",
"karma-webpack": "^1.5.0",
"webpack": "^1.5.3"
"karma": "^0.13.9",
"karma-chrome-launcher": "^0.2.0",
"karma-cli": "^0.1.0",
"karma-firefox-launcher": "^0.1.6",
"karma-jasmine": "^0.3.6",
"karma-webpack": "^1.7.0",
"react-addons-test-utils": "^0.14.0",
"react-dom": "^0.14.0",
"webpack": "^1.12.0"
},

@@ -45,0 +48,0 @@ "keywords": [

@@ -43,2 +43,9 @@ # React Simple Pie Chart

## Code of conduct
This project adheres to the [Open Code of Conduct][code-of-conduct]. By
participating, you are expected to honor this code.
[code-of-conduct]: https://github.com/brigade/code-of-conduct
## License

@@ -45,0 +52,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc