You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

react-highcharts

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 5.0.0

2

dist/highcharts.js

@@ -82,3 +82,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (typeof Highcharts === 'undefined') {
throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' + ' use "react-highcharts/bundle/highcharts" instead, or include highcharts. ');
throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' + ' use "react-highcharts/dist/bundle/highcharts" instead, or include highcharts. ');
}

@@ -85,0 +85,0 @@

@@ -74,3 +74,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (typeof Highcharts === 'undefined') {
throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' + ' use "react-highcharts/bundle/highcharts" instead, or include highcharts. ');
throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' + ' use "react-highcharts/dist/bundle/highcharts" instead, or include highcharts. ');
}

@@ -77,0 +77,0 @@

@@ -74,3 +74,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (typeof Highcharts === 'undefined') {
throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' + ' use "react-highcharts/bundle/highcharts" instead, or include highcharts. ');
throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' + ' use "react-highcharts/dist/bundle/highcharts" instead, or include highcharts. ');
}

@@ -77,0 +77,0 @@

@@ -82,3 +82,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (typeof Highcharts === 'undefined') {
throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' + ' use "react-highcharts/bundle/highcharts" instead, or include highcharts. ');
throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' + ' use "react-highcharts/dist/bundle/highcharts" instead, or include highcharts. ');
}

@@ -85,0 +85,0 @@

{
"name": "react-highcharts",
"version": "4.0.0",
"version": "5.0.0",
"description": "React wrapper for highcharts",

@@ -5,0 +5,0 @@ "main": "dist/highcharts.js",

@@ -27,5 +27,10 @@ react-highcharts

## Installation
If you are using `React@0.14` just do this:
```bash
npm install react-highcharts --save
```
For `React@0.13` use:
```bash
npm install react-highcharts@^3.0.0 --save
```

@@ -48,3 +53,3 @@ ## Usage

var React = require('react');
var Highcharts = require('react-highcharts/bundle/highcharts'); // Highcharts is bundled
var Highcharts = require('react-highcharts/dist/bundle/highcharts'); // Highcharts is bundled

@@ -80,3 +85,3 @@ var config = {

Require Highmaps first, and then `require('react-highcharts/highmaps');`
Or use bundled version: `require('react-highcharts/bundle/highmaps');`
Or use bundled version: `require('react-highcharts/dist/bundle/highmaps');`
* see [the demo](http://kirjs.github.io/react-highcharts/highmaps.html)

@@ -86,7 +91,10 @@

Require Highstock first, and then `require('react-highcharts/highstock');`
Or use bundled version: `require('react-highcharts/bundle/highstock');`
Or use bundled version: `require('react-highcharts/dist/bundle/highstock');`
* see [the demo](http://kirjs.github.io/react-highcharts/highstock.html)
## Using highcharts modules/add-ons like exporting, data, etc.
Just require `require('react-highcharts/modules/MODULE_NAME');` after requiring `react-highcharts`
Everything related to modules was moved out of `react-highcharts`.
Now every highcharts module is published as a separate npm package.
You can find the full list list [here](https://github.com/kirjs/publish-highcharts-modules/blob/master/modules.md)
* see [the demo](http://kirjs.github.io/react-highcharts/more.html)

@@ -93,0 +101,0 @@ ## For Contributors

@@ -5,3 +5,3 @@ var React = require('react');

throw Error('Starting with version 3 of react-highcharts, Highcharts is not bundled by default. ' +
' use "react-highcharts/bundle/highcharts" instead, or include highcharts. '
' use "react-highcharts/dist/bundle/highcharts" instead, or include highcharts. '
);

@@ -8,0 +8,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc