New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-jsx-highcharts

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jsx-highcharts - npm Package Compare versions

Comparing version 1.3.4 to 1.4.0

17

package.json
{
"name": "react-jsx-highcharts",
"version": "1.3.4",
"version": "1.4.0",
"description": "Highcharts charts built using React components",

@@ -54,5 +54,6 @@ "main": "dist/react-jsx-highcharts.min.js",

"chai": "^3.5.0",
"chai-enzyme": "^0.7.0",
"chai-enzyme": "^1.0.0-beta.0",
"cross-env": "^5.0.1",
"enzyme": "^2.8.2",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.1",
"eslint": "^3.19.0",

@@ -72,5 +73,5 @@ "eslint-config-react-app": "^1.0.2",

"prop-types": "^15.0.0",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"react-test-renderer": "^15.5.4",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "^16.0.0",
"rimraf": "^2.6.1",

@@ -89,6 +90,6 @@ "sinon": "^2.3.0",

"highcharts": "^5.0.0",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0",
"prop-types": "^15.0.0"
}
}

@@ -49,3 +49,3 @@ # react-jsx-highcharts

`npm install --save react react-dom prop-types highcharts`
`npm install --save react react-dom prop-types highcharts@^5.0.0`

@@ -57,3 +57,3 @@ #### Highstock (also includes Highcharts)

`npm install --save react react-dom prop-types highstock-release` (note: `highstock-release`, not `highcharts`)
`npm install --save react react-dom prop-types highstock-release@^5.0.0` (note: `highstock-release`, not `highcharts`)

@@ -65,4 +65,5 @@ ## Documentation

* ~~`<Highcharts3dChart>` component - A helper for 3D charts.~~ Done! 1.3.0
* React 16 support - all features seem to work with beta 3, just need to modify `peerDependencies` and await Enzyme support for React 16
* ~~React 16 support - all features seem to work with beta 3, just need to modify `peerDependencies` and await Enzyme support for React 16~~ Done! 1.4.0
* Use `React.PureComponent` instead of `Component`
* Highcharts 6.0 support

@@ -69,0 +70,0 @@ ## Goals

@@ -9,2 +9,6 @@ import React, { Component } from 'react';

static defaultProps = {
className: ''
};
static propTypes = {

@@ -89,3 +93,3 @@ chartCreationFunc: PropTypes.func.isRequired

<div
className="chart"
className={`chart ${this.props.className}`}
ref={(node) => { this.domNode = node }}>

@@ -92,0 +96,0 @@ {this.state.rendered && this.props.children}

@@ -14,2 +14,8 @@ import React, { Component } from 'react';

if (React.version >= '16.0.0') {
return [
children
];
}
return (

@@ -16,0 +22,0 @@ <div style={{ display: 'none' }}>

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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