react-highcharts
Advanced tools
Comparing version 5.0.6 to 6.0.0
@@ -6,2 +6,13 @@ # React-highcharts Change Log | ||
## [6.0.0] - 2015-11-26 | ||
- I have no idea how npm works | ||
## [5.0.6] - 2015-11-26 | ||
- No changes | ||
## [5.0.5] - 2015-11-26 | ||
### Added | ||
- Minify all js files by default. Keep source files as `file.src.js`. | ||
## [5.0.4] - 2015-11-17 | ||
@@ -8,0 +19,0 @@ ### Fixed |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Highcharts=e(require("react")):t.Highcharts=e(t.react)}(this,function(t){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(3)},function(t,e,i){"use strict";var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=i(2);if("undefined"==typeof 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. ');t.exports=function(t,e){var i="Highcharts"+e,r=o.createClass({displayName:i,propTypes:{config:o.PropTypes.object.isRequired,isPureConfig:o.PropTypes.bool},renderChart:function(o){if(!o)throw new Error("Config must be specified for the "+i+" component");var r=o.chart;this.chart=new t[e](n({},o,{chart:n({},r,{renderTo:this.refs.chart})}))},shouldComponentUpdate:function(t){return this.props.isPureConfig&&this.props.config===t.config||this.renderChart(t.config),!0},getChart:function(){if(!this.chart)throw new Error("getChart() should not be called before the component is mounted");return this.chart},componentDidMount:function(){this.renderChart(this.props.config)},render:function(){var t=this.props;return t=n({},t,{ref:"chart"}),o.createElement("div",t)}});return r.Highcharts=t,r}},function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(1);t.exports=n(Highcharts,"Chart")}])}); | ||
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react")):"function"==typeof define&&define.amd?define(["react"],r):"object"==typeof exports?exports.Highcharts=r(require("react")):t.Highcharts=r(t.react)}(this,function(t){return function(t){function r(o){if(e[o])return e[o].exports;var n=e[o]={exports:{},id:o,loaded:!1};return t[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var e={};return r.m=t,r.c=e,r.p="",r(0)}([function(t,r,e){t.exports=e(3)},function(t,r,e){"use strict";var o=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},n=e(2);if("undefined"==typeof 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. ');t.exports=function(t,r){var e="Highcharts"+r,i=n.createClass({displayName:e,propTypes:{config:n.PropTypes.object.isRequired,isPureConfig:n.PropTypes.bool},renderChart:function(n){if(!n)throw new Error("Config must be specified for the "+e+" component");var i=n.chart;this.chart=new t[r](o({},n,{chart:o({},i,{renderTo:this.refs.chart})}))},shouldComponentUpdate:function(t){return this.props.isPureConfig&&this.props.config===t.config||this.renderChart(t.config),!0},getChart:function(){if(!this.chart)throw new Error("getChart() should not be called before the component is mounted");return this.chart},componentDidMount:function(){this.renderChart(this.props.config)},render:function(){var t=this.props;return t=o({},t,{ref:"chart"}),n.createElement("div",t)}});return i.Highcharts=t,i}},function(r,e){r.exports=t},function(t,r,e){"use strict";var o=e(1);t.exports=o(Highcharts,"Chart")}])}); |
@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
root["Highcharts"] = factory(root["react"]); | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_5__) { | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_4__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -58,3 +58,3 @@ /******/ // The module cache | ||
module.exports = __webpack_require__(3); | ||
module.exports = __webpack_require__(2); | ||
@@ -64,4 +64,3 @@ | ||
/* 1 */, | ||
/* 2 */, | ||
/* 3 */ | ||
/* 2 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -71,7 +70,7 @@ | ||
var chartFactory = __webpack_require__(4); | ||
var chartFactory = __webpack_require__(3); | ||
module.exports = chartFactory(Highcharts, 'Chart'); | ||
/***/ }, | ||
/* 4 */ | ||
/* 3 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -83,3 +82,3 @@ | ||
var React = __webpack_require__(5); | ||
var React = __webpack_require__(4); | ||
@@ -144,6 +143,6 @@ if (typeof Highcharts === 'undefined') { | ||
/***/ }, | ||
/* 5 */ | ||
/* 4 */ | ||
/***/ function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_5__; | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_4__; | ||
@@ -150,0 +149,0 @@ /***/ } |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Highcharts=e(require("react")):t.Highcharts=e(t.react)}(this,function(t){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(5)},function(t,e,i){"use strict";var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=i(2);if("undefined"==typeof 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. ');t.exports=function(t,e){var i="Highcharts"+e,r=o.createClass({displayName:i,propTypes:{config:o.PropTypes.object.isRequired,isPureConfig:o.PropTypes.bool},renderChart:function(o){if(!o)throw new Error("Config must be specified for the "+i+" component");var r=o.chart;this.chart=new t[e](n({},o,{chart:n({},r,{renderTo:this.refs.chart})}))},shouldComponentUpdate:function(t){return this.props.isPureConfig&&this.props.config===t.config||this.renderChart(t.config),!0},getChart:function(){if(!this.chart)throw new Error("getChart() should not be called before the component is mounted");return this.chart},componentDidMount:function(){this.renderChart(this.props.config)},render:function(){var t=this.props;return t=n({},t,{ref:"chart"}),o.createElement("div",t)}});return r.Highcharts=t,r}},function(e,i){e.exports=t},,,function(t,e,i){"use strict";if(Highcharts&&!Highcharts.Map)throw Error("ReactHighmaps requires highmaps to be loaded");var n=i(1);t.exports=n(Highcharts,"Map")}])}); | ||
!function(r,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Highcharts=t(require("react")):r.Highcharts=t(r.react)}(this,function(r){return function(r){function t(o){if(e[o])return e[o].exports;var n=e[o]={exports:{},id:o,loaded:!1};return r[o].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var e={};return t.m=r,t.c=e,t.p="",t(0)}([function(r,t,e){r.exports=e(4)},function(r,t,e){"use strict";var o=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r},n=e(2);if("undefined"==typeof 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. ');r.exports=function(r,t){var e="Highcharts"+t,i=n.createClass({displayName:e,propTypes:{config:n.PropTypes.object.isRequired,isPureConfig:n.PropTypes.bool},renderChart:function(n){if(!n)throw new Error("Config must be specified for the "+e+" component");var i=n.chart;this.chart=new r[t](o({},n,{chart:o({},i,{renderTo:this.refs.chart})}))},shouldComponentUpdate:function(r){return this.props.isPureConfig&&this.props.config===r.config||this.renderChart(r.config),!0},getChart:function(){if(!this.chart)throw new Error("getChart() should not be called before the component is mounted");return this.chart},componentDidMount:function(){this.renderChart(this.props.config)},render:function(){var r=this.props;return r=o({},r,{ref:"chart"}),n.createElement("div",r)}});return i.Highcharts=r,i}},function(t,e){t.exports=r},,function(r,t,e){"use strict";if(Highcharts&&!Highcharts.Map)throw Error("ReactHighmaps requires highmaps to be loaded");var o=e(1);r.exports=o(Highcharts,"Map")}])}); |
@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
root["Highcharts"] = factory(root["react"]); | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_5__) { | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_4__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -58,3 +58,3 @@ /******/ // The module cache | ||
module.exports = __webpack_require__(7); | ||
module.exports = __webpack_require__(6); | ||
@@ -65,4 +65,3 @@ | ||
/* 2 */, | ||
/* 3 */, | ||
/* 4 */ | ||
/* 3 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -74,3 +73,3 @@ | ||
var React = __webpack_require__(5); | ||
var React = __webpack_require__(4); | ||
@@ -135,10 +134,10 @@ if (typeof Highcharts === 'undefined') { | ||
/***/ }, | ||
/* 5 */ | ||
/* 4 */ | ||
/***/ function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_5__; | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_4__; | ||
/***/ }, | ||
/* 6 */, | ||
/* 7 */ | ||
/* 5 */, | ||
/* 6 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -151,3 +150,3 @@ | ||
} | ||
var chartFactory = __webpack_require__(4); | ||
var chartFactory = __webpack_require__(3); | ||
module.exports = chartFactory(Highcharts, 'Map'); | ||
@@ -154,0 +153,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Highcharts=e(require("react")):t.Highcharts=e(t.react)}(this,function(t){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(6)},function(t,e,i){"use strict";var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=i(2);if("undefined"==typeof 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. ');t.exports=function(t,e){var i="Highcharts"+e,r=o.createClass({displayName:i,propTypes:{config:o.PropTypes.object.isRequired,isPureConfig:o.PropTypes.bool},renderChart:function(o){if(!o)throw new Error("Config must be specified for the "+i+" component");var r=o.chart;this.chart=new t[e](n({},o,{chart:n({},r,{renderTo:this.refs.chart})}))},shouldComponentUpdate:function(t){return this.props.isPureConfig&&this.props.config===t.config||this.renderChart(t.config),!0},getChart:function(){if(!this.chart)throw new Error("getChart() should not be called before the component is mounted");return this.chart},componentDidMount:function(){this.renderChart(this.props.config)},render:function(){var t=this.props;return t=n({},t,{ref:"chart"}),o.createElement("div",t)}});return r.Highcharts=t,r}},function(e,i){e.exports=t},,,,function(t,e,i){"use strict";if(Highcharts&&!Highcharts.StockChart)throw Error("ReactHighstock requires highstock to be loaded");var n=i(1);t.exports=n(Highcharts,"StockChart")}])}); | ||
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react")):"function"==typeof define&&define.amd?define(["react"],r):"object"==typeof exports?exports.Highcharts=r(require("react")):t.Highcharts=r(t.react)}(this,function(t){return function(t){function r(o){if(e[o])return e[o].exports;var n=e[o]={exports:{},id:o,loaded:!1};return t[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var e={};return r.m=t,r.c=e,r.p="",r(0)}([function(t,r,e){t.exports=e(5)},function(t,r,e){"use strict";var o=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},n=e(2);if("undefined"==typeof 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. ');t.exports=function(t,r){var e="Highcharts"+r,i=n.createClass({displayName:e,propTypes:{config:n.PropTypes.object.isRequired,isPureConfig:n.PropTypes.bool},renderChart:function(n){if(!n)throw new Error("Config must be specified for the "+e+" component");var i=n.chart;this.chart=new t[r](o({},n,{chart:o({},i,{renderTo:this.refs.chart})}))},shouldComponentUpdate:function(t){return this.props.isPureConfig&&this.props.config===t.config||this.renderChart(t.config),!0},getChart:function(){if(!this.chart)throw new Error("getChart() should not be called before the component is mounted");return this.chart},componentDidMount:function(){this.renderChart(this.props.config)},render:function(){var t=this.props;return t=o({},t,{ref:"chart"}),n.createElement("div",t)}});return i.Highcharts=t,i}},function(r,e){r.exports=t},,,function(t,r,e){"use strict";if(Highcharts&&!Highcharts.StockChart)throw Error("ReactHighstock requires highstock to be loaded");var o=e(1);t.exports=o(Highcharts,"StockChart")}])}); |
@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
root["Highcharts"] = factory(root["react"]); | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_5__) { | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_4__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -58,3 +58,3 @@ /******/ // The module cache | ||
module.exports = __webpack_require__(9); | ||
module.exports = __webpack_require__(8); | ||
@@ -65,4 +65,3 @@ | ||
/* 2 */, | ||
/* 3 */, | ||
/* 4 */ | ||
/* 3 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -74,3 +73,3 @@ | ||
var React = __webpack_require__(5); | ||
var React = __webpack_require__(4); | ||
@@ -135,12 +134,12 @@ if (typeof Highcharts === 'undefined') { | ||
/***/ }, | ||
/* 5 */ | ||
/* 4 */ | ||
/***/ function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_5__; | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_4__; | ||
/***/ }, | ||
/* 5 */, | ||
/* 6 */, | ||
/* 7 */, | ||
/* 8 */, | ||
/* 9 */ | ||
/* 8 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -153,3 +152,3 @@ | ||
} | ||
var chartFactory = __webpack_require__(4); | ||
var chartFactory = __webpack_require__(3); | ||
module.exports = chartFactory(Highcharts, 'StockChart'); | ||
@@ -156,0 +155,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Highcharts=e(require("react")):t.Highcharts=e(t.react)}(this,function(t){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(3)},function(t,e,i){"use strict";var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=i(2);if("undefined"==typeof 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. ');t.exports=function(t,e){var i="Highcharts"+e,r=o.createClass({displayName:i,propTypes:{config:o.PropTypes.object.isRequired,isPureConfig:o.PropTypes.bool},renderChart:function(o){if(!o)throw new Error("Config must be specified for the "+i+" component");var r=o.chart;this.chart=new t[e](n({},o,{chart:n({},r,{renderTo:this.refs.chart})}))},shouldComponentUpdate:function(t){return this.props.isPureConfig&&this.props.config===t.config||this.renderChart(t.config),!0},getChart:function(){if(!this.chart)throw new Error("getChart() should not be called before the component is mounted");return this.chart},componentDidMount:function(){this.renderChart(this.props.config)},render:function(){var t=this.props;return t=n({},t,{ref:"chart"}),o.createElement("div",t)}});return r.Highcharts=t,r}},function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(1);t.exports=n(Highcharts,"Chart")}])}); | ||
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react")):"function"==typeof define&&define.amd?define(["react"],r):"object"==typeof exports?exports.Highcharts=r(require("react")):t.Highcharts=r(t.react)}(this,function(t){return function(t){function r(o){if(e[o])return e[o].exports;var n=e[o]={exports:{},id:o,loaded:!1};return t[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var e={};return r.m=t,r.c=e,r.p="",r(0)}([function(t,r,e){t.exports=e(3)},function(t,r,e){"use strict";var o=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},n=e(2);if("undefined"==typeof 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. ');t.exports=function(t,r){var e="Highcharts"+r,i=n.createClass({displayName:e,propTypes:{config:n.PropTypes.object.isRequired,isPureConfig:n.PropTypes.bool},renderChart:function(n){if(!n)throw new Error("Config must be specified for the "+e+" component");var i=n.chart;this.chart=new t[r](o({},n,{chart:o({},i,{renderTo:this.refs.chart})}))},shouldComponentUpdate:function(t){return this.props.isPureConfig&&this.props.config===t.config||this.renderChart(t.config),!0},getChart:function(){if(!this.chart)throw new Error("getChart() should not be called before the component is mounted");return this.chart},componentDidMount:function(){this.renderChart(this.props.config)},render:function(){var t=this.props;return t=o({},t,{ref:"chart"}),n.createElement("div",t)}});return i.Highcharts=t,i}},function(r,e){r.exports=t},function(t,r,e){"use strict";var o=e(1);t.exports=o(Highcharts,"Chart")}])}); |
@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
root["Highcharts"] = factory(root["react"]); | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_5__) { | ||
})(this, function(__WEBPACK_EXTERNAL_MODULE_4__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -58,3 +58,3 @@ /******/ // The module cache | ||
module.exports = __webpack_require__(3); | ||
module.exports = __webpack_require__(2); | ||
@@ -64,4 +64,3 @@ | ||
/* 1 */, | ||
/* 2 */, | ||
/* 3 */ | ||
/* 2 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -71,7 +70,7 @@ | ||
var chartFactory = __webpack_require__(4); | ||
var chartFactory = __webpack_require__(3); | ||
module.exports = chartFactory(Highcharts, 'Chart'); | ||
/***/ }, | ||
/* 4 */ | ||
/* 3 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -83,3 +82,3 @@ | ||
var React = __webpack_require__(5); | ||
var React = __webpack_require__(4); | ||
@@ -144,6 +143,6 @@ if (typeof Highcharts === 'undefined') { | ||
/***/ }, | ||
/* 5 */ | ||
/* 4 */ | ||
/***/ function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_5__; | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_4__; | ||
@@ -150,0 +149,0 @@ /***/ } |
{ | ||
"name": "react-highcharts", | ||
"version": "5.0.6", | ||
"version": "6.0.0", | ||
"description": "React wrapper for highcharts", | ||
@@ -48,3 +48,3 @@ "main": "dist/highcharts.js", | ||
"react-dom": "~0.14", | ||
"react-highlight": "^0.4.1", | ||
"react-highlight": "^0.6.1", | ||
"webpack": "^1.5.3", | ||
@@ -54,6 +54,6 @@ "webpack-dev-server": "^1.10.1" | ||
"dependencies": { | ||
"highcharts-release": "^4.1.7", | ||
"highmaps-release": "^1.1.9", | ||
"highstock-release": "^2.1.8" | ||
"highcharts-release": "^4.2.0", | ||
"highmaps-release": "^4.2.0", | ||
"highstock-release": "^4.2.0" | ||
} | ||
} |
@@ -1,5 +0,4 @@ | ||
if(!Highcharts) { | ||
global.HighchartsAdapter = require('exports?HighchartsAdapter!highcharts-standalone-adapter'); | ||
var Highcharts = require("highcharts"); | ||
if(typeof global.Highcharts === "undefined") { | ||
global.Highcharts = require("highcharts"); | ||
} | ||
module.exports = require('../Highcharts.jsx'); |
@@ -1,9 +0,8 @@ | ||
if( Highcharts && !Highcharts.Map){ | ||
if( typeof global.Highcharts !== "undefined" && !global.Highcharts.Map){ | ||
throw Error('React-highcharts Highmaps module expects Highmaps to be loaded, ' + | ||
'but looks like a different copy of Highcharts was loaded before that'); | ||
} | ||
if(!Highcharts) { | ||
global.HighchartsAdapter = require('exports?HighchartsAdapter!highcharts-standalone-adapter'); | ||
var Highcharts = require("exports?Highcharts!highmaps"); | ||
if(typeof global.Highcharts === "undefined" ) { | ||
global.Highcharts = require("highmaps"); | ||
} | ||
module.exports = require('../Highmaps.jsx'); |
@@ -1,10 +0,9 @@ | ||
if( Highcharts && !Highcharts.Map){ | ||
if( typeof global.Highcharts !== "undefined" && !global.Highcharts.Map){ | ||
throw Error('React-highcharts Highstock module expects Highstock to be loaded, ' + | ||
'but looks like a different copy of Highcharts was loaded before that'); | ||
} | ||
if( !Highcharts ){ | ||
global.HighchartsAdapter = require('exports?HighchartsAdapter!highcharts-standalone-adapter'); | ||
var Highcharts = require("exports?Highcharts!highstock"); | ||
if( typeof global.Highcharts === "undefined" ){ | ||
global.Highcharts = require("highstock"); | ||
} | ||
module.exports = require('../Highstock.jsx'); |
@@ -64,2 +64,1 @@ var React = require('react'); | ||
}; | ||
module.exports = require('./Highcharts.jsx'); | ||
require("exports?Highcharts!highcharts-more"); | ||
require("exports?Highcharts!highcharts-more"); |
@@ -8,3 +8,3 @@ var React = require('react'); | ||
function bundleTest(bundleName, chartName) { | ||
describe('react-highcharts/bundle' + bundleName, function () { | ||
describe('react-highcharts/' + bundleName, function () { | ||
var Component, args, config; | ||
@@ -11,0 +11,0 @@ beforeEach(function () { |
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
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
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7934465
0
150132
+ Addedhighmaps-release@4.2.7(transitive)
+ Addedhighstock-release@4.2.7(transitive)
- Removedhighmaps-release@1.1.10(transitive)
- Removedhighstock-release@2.1.10(transitive)
Updatedhighcharts-release@^4.2.0
Updatedhighmaps-release@^4.2.0
Updatedhighstock-release@^4.2.0