diff --git a/.babelrc.js b/.babelrc.js index 0c59c84..02c16ca 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -15,7 +15,7 @@ module.exports = { ].filter(Boolean), env: { test: { - plugins: [ 'istanbul' ] + plugins: [ 'istanbul', "external-helpers" ] } } }; diff --git a/.gitignore b/.gitignore index 7a1537b..f598023 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +.DS_Store .idea node_modules diff --git a/dist/cjs/custom-tooltips.js b/dist/cjs/custom-tooltips.js new file mode 100644 index 0000000..598b1f0 --- /dev/null +++ b/dist/cjs/custom-tooltips.js @@ -0,0 +1,129 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +/** + * -------------------------------------------------------------------------- + * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ +function CustomTooltips(tooltipModel) { + var _this = this; + + // Add unique id if not exist + var _setCanvasId = function _setCanvasId() { + var _idMaker = function _idMaker() { + var _hex = 16; + var _multiplier = 0x10000; + return ((1 + Math.random()) * _multiplier | 0).toString(_hex); + }; + + var _canvasId = "_canvas-" + (_idMaker() + _idMaker()); + + _this._chart.canvas.id = _canvasId; + return _canvasId; + }; + + var ClassName = { + ABOVE: 'above', + BELOW: 'below', + CHARTJS_TOOLTIP: 'chartjs-tooltip', + NO_TRANSFORM: 'no-transform', + TOOLTIP_BODY: 'tooltip-body', + TOOLTIP_BODY_ITEM: 'tooltip-body-item', + TOOLTIP_BODY_ITEM_COLOR: 'tooltip-body-item-color', + TOOLTIP_BODY_ITEM_LABEL: 'tooltip-body-item-label', + TOOLTIP_BODY_ITEM_VALUE: 'tooltip-body-item-value', + TOOLTIP_HEADER: 'tooltip-header', + TOOLTIP_HEADER_ITEM: 'tooltip-header-item' + }; + var Selector = { + DIV: 'div', + SPAN: 'span', + TOOLTIP: (this._chart.canvas.id || _setCanvasId()) + "-tooltip" + }; + var tooltip = document.getElementById(Selector.TOOLTIP); + + if (!tooltip) { + tooltip = document.createElement('div'); + tooltip.id = Selector.TOOLTIP; + tooltip.className = ClassName.CHARTJS_TOOLTIP; + + this._chart.canvas.parentNode.appendChild(tooltip); + } // Hide if no tooltip + + + if (tooltipModel.opacity === 0) { + tooltip.style.opacity = 0; + return; + } // Set caret Position + + + tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM); + + if (tooltipModel.yAlign) { + tooltip.classList.add(tooltipModel.yAlign); + } else { + tooltip.classList.add(ClassName.NO_TRANSFORM); + } // Set Text + + + if (tooltipModel.body) { + var titleLines = tooltipModel.title || []; + var tooltipHeader = document.createElement(Selector.DIV); + tooltipHeader.className = ClassName.TOOLTIP_HEADER; + titleLines.forEach(function (title) { + var tooltipHeaderTitle = document.createElement(Selector.DIV); + tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM; + tooltipHeaderTitle.innerHTML = title; + tooltipHeader.appendChild(tooltipHeaderTitle); + }); + var tooltipBody = document.createElement(Selector.DIV); + tooltipBody.className = ClassName.TOOLTIP_BODY; + var tooltipBodyItems = tooltipModel.body.map(function (item) { + return item.lines; + }); + tooltipBodyItems.forEach(function (item, i) { + var tooltipBodyItem = document.createElement(Selector.DIV); + tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM; + var colors = tooltipModel.labelColors[i]; + var tooltipBodyItemColor = document.createElement(Selector.SPAN); + tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR; + tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor; + tooltipBodyItem.appendChild(tooltipBodyItemColor); + + if (item[0].split(':').length > 1) { + var tooltipBodyItemLabel = document.createElement(Selector.SPAN); + tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL; + tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]; + tooltipBodyItem.appendChild(tooltipBodyItemLabel); + var tooltipBodyItemValue = document.createElement(Selector.SPAN); + tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE; + tooltipBodyItemValue.innerHTML = item[0].split(': ').pop(); + tooltipBodyItem.appendChild(tooltipBodyItemValue); + } else { + var _tooltipBodyItemValue = document.createElement(Selector.SPAN); + + _tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE; + _tooltipBodyItemValue.innerHTML = item[0]; + tooltipBodyItem.appendChild(_tooltipBodyItemValue); + } + + tooltipBody.appendChild(tooltipBodyItem); + }); + tooltip.innerHTML = ''; + tooltip.appendChild(tooltipHeader); + tooltip.appendChild(tooltipBody); + } + + var positionY = this._chart.canvas.offsetTop; + var positionX = this._chart.canvas.offsetLeft; // Display, position, and set styles for font + + tooltip.style.opacity = 1; + tooltip.style.left = positionX + tooltipModel.caretX + "px"; + tooltip.style.top = positionY + tooltipModel.caretY + "px"; +} + +exports.CustomTooltips = CustomTooltips; +//# sourceMappingURL=custom-tooltips.js.map diff --git a/dist/cjs/custom-tooltips.js.map b/dist/cjs/custom-tooltips.js.map new file mode 100644 index 0000000..c34fc39 --- /dev/null +++ b/dist/cjs/custom-tooltips.js.map @@ -0,0 +1 @@ +{"version":3,"file":"custom-tooltips.js","sources":["../../js/custom-tooltips.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\nfunction CustomTooltips(tooltipModel) {\n // Add unique id if not exist\n const _setCanvasId = () => {\n const _idMaker = () => {\n const _hex = 16\n const _multiplier = 0x10000\n return ((1 + Math.random()) * _multiplier | 0).toString(_hex)\n }\n const _canvasId = `_canvas-${_idMaker() + _idMaker()}`\n this._chart.canvas.id = _canvasId\n return _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id || _setCanvasId()}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"],"names":["CustomTooltips","tooltipModel","_setCanvasId","_idMaker","_hex","_multiplier","Math","random","toString","_canvasId","_chart","canvas","id","ClassName","Selector","tooltip","document","getElementById","TOOLTIP","createElement","className","CHARTJS_TOOLTIP","parentNode","appendChild","opacity","style","classList","remove","ABOVE","BELOW","NO_TRANSFORM","yAlign","add","body","titleLines","title","tooltipHeader","DIV","TOOLTIP_HEADER","forEach","tooltipHeaderTitle","TOOLTIP_HEADER_ITEM","innerHTML","tooltipBody","TOOLTIP_BODY","tooltipBodyItems","map","item","lines","i","tooltipBodyItem","TOOLTIP_BODY_ITEM","colors","labelColors","tooltipBodyItemColor","SPAN","TOOLTIP_BODY_ITEM_COLOR","backgroundColor","split","length","tooltipBodyItemLabel","TOOLTIP_BODY_ITEM_LABEL","tooltipBodyItemValue","TOOLTIP_BODY_ITEM_VALUE","pop","positionY","offsetTop","positionX","offsetLeft","left","caretX","top","caretY"],"mappings":"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"} \ No newline at end of file diff --git a/dist/esm/custom-tooltips.js b/dist/esm/custom-tooltips.js new file mode 100644 index 0000000..835095b --- /dev/null +++ b/dist/esm/custom-tooltips.js @@ -0,0 +1,125 @@ +/** + * -------------------------------------------------------------------------- + * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ +function CustomTooltips(tooltipModel) { + var _this = this; + + // Add unique id if not exist + var _setCanvasId = function _setCanvasId() { + var _idMaker = function _idMaker() { + var _hex = 16; + var _multiplier = 0x10000; + return ((1 + Math.random()) * _multiplier | 0).toString(_hex); + }; + + var _canvasId = "_canvas-" + (_idMaker() + _idMaker()); + + _this._chart.canvas.id = _canvasId; + return _canvasId; + }; + + var ClassName = { + ABOVE: 'above', + BELOW: 'below', + CHARTJS_TOOLTIP: 'chartjs-tooltip', + NO_TRANSFORM: 'no-transform', + TOOLTIP_BODY: 'tooltip-body', + TOOLTIP_BODY_ITEM: 'tooltip-body-item', + TOOLTIP_BODY_ITEM_COLOR: 'tooltip-body-item-color', + TOOLTIP_BODY_ITEM_LABEL: 'tooltip-body-item-label', + TOOLTIP_BODY_ITEM_VALUE: 'tooltip-body-item-value', + TOOLTIP_HEADER: 'tooltip-header', + TOOLTIP_HEADER_ITEM: 'tooltip-header-item' + }; + var Selector = { + DIV: 'div', + SPAN: 'span', + TOOLTIP: (this._chart.canvas.id || _setCanvasId()) + "-tooltip" + }; + var tooltip = document.getElementById(Selector.TOOLTIP); + + if (!tooltip) { + tooltip = document.createElement('div'); + tooltip.id = Selector.TOOLTIP; + tooltip.className = ClassName.CHARTJS_TOOLTIP; + + this._chart.canvas.parentNode.appendChild(tooltip); + } // Hide if no tooltip + + + if (tooltipModel.opacity === 0) { + tooltip.style.opacity = 0; + return; + } // Set caret Position + + + tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM); + + if (tooltipModel.yAlign) { + tooltip.classList.add(tooltipModel.yAlign); + } else { + tooltip.classList.add(ClassName.NO_TRANSFORM); + } // Set Text + + + if (tooltipModel.body) { + var titleLines = tooltipModel.title || []; + var tooltipHeader = document.createElement(Selector.DIV); + tooltipHeader.className = ClassName.TOOLTIP_HEADER; + titleLines.forEach(function (title) { + var tooltipHeaderTitle = document.createElement(Selector.DIV); + tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM; + tooltipHeaderTitle.innerHTML = title; + tooltipHeader.appendChild(tooltipHeaderTitle); + }); + var tooltipBody = document.createElement(Selector.DIV); + tooltipBody.className = ClassName.TOOLTIP_BODY; + var tooltipBodyItems = tooltipModel.body.map(function (item) { + return item.lines; + }); + tooltipBodyItems.forEach(function (item, i) { + var tooltipBodyItem = document.createElement(Selector.DIV); + tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM; + var colors = tooltipModel.labelColors[i]; + var tooltipBodyItemColor = document.createElement(Selector.SPAN); + tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR; + tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor; + tooltipBodyItem.appendChild(tooltipBodyItemColor); + + if (item[0].split(':').length > 1) { + var tooltipBodyItemLabel = document.createElement(Selector.SPAN); + tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL; + tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]; + tooltipBodyItem.appendChild(tooltipBodyItemLabel); + var tooltipBodyItemValue = document.createElement(Selector.SPAN); + tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE; + tooltipBodyItemValue.innerHTML = item[0].split(': ').pop(); + tooltipBodyItem.appendChild(tooltipBodyItemValue); + } else { + var _tooltipBodyItemValue = document.createElement(Selector.SPAN); + + _tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE; + _tooltipBodyItemValue.innerHTML = item[0]; + tooltipBodyItem.appendChild(_tooltipBodyItemValue); + } + + tooltipBody.appendChild(tooltipBodyItem); + }); + tooltip.innerHTML = ''; + tooltip.appendChild(tooltipHeader); + tooltip.appendChild(tooltipBody); + } + + var positionY = this._chart.canvas.offsetTop; + var positionX = this._chart.canvas.offsetLeft; // Display, position, and set styles for font + + tooltip.style.opacity = 1; + tooltip.style.left = positionX + tooltipModel.caretX + "px"; + tooltip.style.top = positionY + tooltipModel.caretY + "px"; +} + +export { CustomTooltips }; +//# sourceMappingURL=custom-tooltips.js.map diff --git a/dist/esm/custom-tooltips.js.map b/dist/esm/custom-tooltips.js.map new file mode 100644 index 0000000..4c8e7f1 --- /dev/null +++ b/dist/esm/custom-tooltips.js.map @@ -0,0 +1 @@ +{"version":3,"file":"custom-tooltips.js","sources":["../../js/custom-tooltips.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\nfunction CustomTooltips(tooltipModel) {\n // Add unique id if not exist\n const _setCanvasId = () => {\n const _idMaker = () => {\n const _hex = 16\n const _multiplier = 0x10000\n return ((1 + Math.random()) * _multiplier | 0).toString(_hex)\n }\n const _canvasId = `_canvas-${_idMaker() + _idMaker()}`\n this._chart.canvas.id = _canvasId\n return _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id || _setCanvasId()}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"],"names":["CustomTooltips","tooltipModel","_setCanvasId","_idMaker","_hex","_multiplier","Math","random","toString","_canvasId","_chart","canvas","id","ClassName","Selector","tooltip","document","getElementById","TOOLTIP","createElement","className","CHARTJS_TOOLTIP","parentNode","appendChild","opacity","style","classList","remove","ABOVE","BELOW","NO_TRANSFORM","yAlign","add","body","titleLines","title","tooltipHeader","DIV","TOOLTIP_HEADER","forEach","tooltipHeaderTitle","TOOLTIP_HEADER_ITEM","innerHTML","tooltipBody","TOOLTIP_BODY","tooltipBodyItems","map","item","lines","i","tooltipBodyItem","TOOLTIP_BODY_ITEM","colors","labelColors","tooltipBodyItemColor","SPAN","TOOLTIP_BODY_ITEM_COLOR","backgroundColor","split","length","tooltipBodyItemLabel","TOOLTIP_BODY_ITEM_LABEL","tooltipBodyItemValue","TOOLTIP_BODY_ITEM_VALUE","pop","positionY","offsetTop","positionX","offsetLeft","left","caretX","top","caretY"],"mappings":"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"} \ No newline at end of file diff --git a/dist/js/custom-tooltips.js b/dist/js/custom-tooltips.js index 385480b..9a50ace 100644 --- a/dist/js/custom-tooltips.js +++ b/dist/js/custom-tooltips.js @@ -1,23 +1,25 @@ /** * -------------------------------------------------------------------------- - * CoreUI Plugins - Custom Tooltips for Chart.js (v1.1.0): custom-tooltips.js + * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js * Licensed under MIT (https://coreui.io/license) * -------------------------------------------------------------------------- */ function CustomTooltips(tooltipModel) { - // Add unique id if not exist - if (!this._chart.canvas.id) { - var _hex = 16; - var _multiply = 0x10000; + var _this = this; + // Add unique id if not exist + var _setCanvasId = function _setCanvasId() { var _idMaker = function _idMaker() { - return ((1 + Math.random()) * _multiply | 0).toString(_hex); + var _hex = 16; + var _multiplier = 0x10000; + return ((1 + Math.random()) * _multiplier | 0).toString(_hex); }; - var _canvasId = "_canvas" + (_idMaker() + _idMaker()); + var _canvasId = "_canvas-" + (_idMaker() + _idMaker()); - this._chart.canvas.id = this._chart.canvas.id || _canvasId; - } + _this._chart.canvas.id = _canvasId; + return _canvasId; + }; var ClassName = { ABOVE: 'above', @@ -35,7 +37,7 @@ function CustomTooltips(tooltipModel) { var Selector = { DIV: 'div', SPAN: 'span', - TOOLTIP: this._chart.canvas.id + "-tooltip" + TOOLTIP: (this._chart.canvas.id || _setCanvasId()) + "-tooltip" }; var tooltip = document.getElementById(Selector.TOOLTIP); diff --git a/dist/js/custom-tooltips.js.map b/dist/js/custom-tooltips.js.map index 63928e3..262253c 100644 --- a/dist/js/custom-tooltips.js.map +++ b/dist/js/custom-tooltips.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../js/custom-tooltips.js"],"names":["CustomTooltips","tooltipModel","_chart","canvas","id","_hex","_multiply","_idMaker","Math","random","toString","_canvasId","ClassName","ABOVE","BELOW","CHARTJS_TOOLTIP","NO_TRANSFORM","TOOLTIP_BODY","TOOLTIP_BODY_ITEM","TOOLTIP_BODY_ITEM_COLOR","TOOLTIP_BODY_ITEM_LABEL","TOOLTIP_BODY_ITEM_VALUE","TOOLTIP_HEADER","TOOLTIP_HEADER_ITEM","Selector","DIV","SPAN","TOOLTIP","tooltip","document","getElementById","createElement","className","parentNode","appendChild","opacity","style","classList","remove","yAlign","add","body","titleLines","title","tooltipHeader","forEach","tooltipHeaderTitle","innerHTML","tooltipBody","tooltipBodyItems","map","item","lines","i","tooltipBodyItem","colors","labelColors","tooltipBodyItemColor","backgroundColor","split","length","tooltipBodyItemLabel","tooltipBodyItemValue","pop","positionY","offsetTop","positionX","offsetLeft","left","caretX","top","caretY"],"mappings":"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","sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI Plugins - Custom Tooltips for Chart.js (v1.1.0): custom-tooltips.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\nfunction CustomTooltips(tooltipModel) {\n // Add unique id if not exist\n if (!this._chart.canvas.id) {\n const _hex = 16\n const _multiply = 0x10000\n const _idMaker = () => ((1 + Math.random()) * _multiply | 0).toString(_hex)\n const _canvasId = `_canvas${_idMaker() + _idMaker()}`\n this._chart.canvas.id = this._chart.canvas.id || _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"],"file":"custom-tooltips.js"} \ No newline at end of file +{"version":3,"sources":["../../js/custom-tooltips.js"],"names":["CustomTooltips","tooltipModel","_setCanvasId","_idMaker","_hex","_multiplier","Math","random","toString","_canvasId","_chart","canvas","id","ClassName","ABOVE","BELOW","CHARTJS_TOOLTIP","NO_TRANSFORM","TOOLTIP_BODY","TOOLTIP_BODY_ITEM","TOOLTIP_BODY_ITEM_COLOR","TOOLTIP_BODY_ITEM_LABEL","TOOLTIP_BODY_ITEM_VALUE","TOOLTIP_HEADER","TOOLTIP_HEADER_ITEM","Selector","DIV","SPAN","TOOLTIP","tooltip","document","getElementById","createElement","className","parentNode","appendChild","opacity","style","classList","remove","yAlign","add","body","titleLines","title","tooltipHeader","forEach","tooltipHeaderTitle","innerHTML","tooltipBody","tooltipBodyItems","map","item","lines","i","tooltipBodyItem","colors","labelColors","tooltipBodyItemColor","backgroundColor","split","length","tooltipBodyItemLabel","tooltipBodyItemValue","pop","positionY","offsetTop","positionX","offsetLeft","left","caretX","top","caretY"],"mappings":"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","sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\nfunction CustomTooltips(tooltipModel) {\n // Add unique id if not exist\n const _setCanvasId = () => {\n const _idMaker = () => {\n const _hex = 16\n const _multiplier = 0x10000\n return ((1 + Math.random()) * _multiplier | 0).toString(_hex)\n }\n const _canvasId = `_canvas-${_idMaker() + _idMaker()}`\n this._chart.canvas.id = _canvasId\n return _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id || _setCanvasId()}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"],"file":"custom-tooltips.js"} \ No newline at end of file diff --git a/dist/js/custom-tooltips.min.js b/dist/js/custom-tooltips.min.js index 33f9379..b85f50c 100644 --- a/dist/js/custom-tooltips.min.js +++ b/dist/js/custom-tooltips.min.js @@ -1,2 +1,2 @@ -function CustomTooltips(s){if(!this._chart.canvas.id){var e=function(){return(65536*(1+Math.random())|0).toString(16)},t="_canvas"+(e()+e());this._chart.canvas.id=this._chart.canvas.id||t}var a="above",n="below",o="chartjs-tooltip",l="no-transform",i="tooltip-body",r="tooltip-body-item",d="tooltip-body-item-color",p="tooltip-body-item-label",m="tooltip-body-item-value",c="tooltip-header",h="tooltip-header-item",v={DIV:"div",SPAN:"span",TOOLTIP:this._chart.canvas.id+"-tooltip"},u=document.getElementById(v.TOOLTIP);if(u||((u=document.createElement("div")).id=v.TOOLTIP,u.className=o,this._chart.canvas.parentNode.appendChild(u)),0!==s.opacity){if(u.classList.remove(a,n,l),s.yAlign?u.classList.add(s.yAlign):u.classList.add(l),s.body){var f=s.title||[],y=document.createElement(v.DIV);y.className=c,f.forEach(function(e){var t=document.createElement(v.DIV);t.className=h,t.innerHTML=e,y.appendChild(t)});var N=document.createElement(v.DIV);N.className=i,s.body.map(function(e){return e.lines}).forEach(function(e,t){var a=document.createElement(v.DIV);a.className=r;var n=s.labelColors[t],o=document.createElement(v.SPAN);if(o.className=d,o.style.backgroundColor=n.backgroundColor,a.appendChild(o),1 ((1 + Math.random()) * _multiply | 0).toString(_hex)\n const _canvasId = `_canvas${_idMaker() + _idMaker()}`\n this._chart.canvas.id = this._chart.canvas.id || _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"]} \ No newline at end of file +{"version":3,"sources":["../../js/custom-tooltips.js"],"names":["CustomTooltips","tooltipModel","_idMaker","_canvasId","_this","this","ClassName","Selector","DIV","SPAN","TOOLTIP","_chart","canvas","id","Math","random","toString","tooltip","document","getElementById","createElement","className","parentNode","appendChild","opacity","classList","remove","yAlign","add","body","titleLines","title","tooltipHeader","forEach","tooltipHeaderTitle","innerHTML","tooltipBody","map","item","lines","i","tooltipBodyItem","colors","labelColors","tooltipBodyItemColor","style","backgroundColor","split","length","tooltipBodyItemLabel","tooltipBodyItemValue","pop","positionY","offsetTop","positionX","offsetLeft","left","caretX","top","caretY"],"mappings":"AAOA,SAASA,eAAeC,GAAc,IAG5BC,EAKAC,EAR4BC,EAAAC,KAa9BC,EACsB,QADtBA,EAEsB,QAFtBA,EAGsB,kBAHtBA,EAIsB,eAJtBA,EAKsB,eALtBA,EAMsB,oBANtBA,EAOsB,0BAPtBA,EAQsB,0BARtBA,EASsB,0BATtBA,EAUsB,iBAVtBA,EAWsB,sBAGtBC,EAAW,CACfC,IAAU,MACVC,KAAU,OACVC,SAAaL,KAAKM,OAAOC,OAAOC,KA3B1BX,EAAW,WAGf,OADoB,OACX,EAAIY,KAAKC,UAA0B,GAAGC,SAFlC,KAITb,EAAAA,YAAuBD,IAAaA,KAC1CE,EAAKO,OAAOC,OAAOC,GAAKV,IAqBxB,YAGEc,EAAUC,SAASC,eAAeZ,EAASG,SAU/C,GARKO,KACHA,EAAUC,SAASE,cAAc,QACzBP,GAAKN,EAASG,QACtBO,EAAQI,UAAYf,EACpBD,KAAKM,OAAOC,OAAOU,WAAWC,YAAYN,IAIf,IAAzBhB,EAAauB,QAAjB,CAcA,GARAP,EAAQQ,UAAUC,OAAOpB,EAAiBA,EAAiBA,GACvDL,EAAa0B,OACfV,EAAQQ,UAAUG,IAAI3B,EAAa0B,QAEnCV,EAAQQ,UAAUG,IAAItB,GAIpBL,EAAa4B,KAAM,CACrB,IAAMC,EAAa7B,EAAa8B,OAAS,GAEnCC,EAAgBd,SAASE,cAAcb,EAASC,KACtDwB,EAAcX,UAAYf,EAE1BwB,EAAWG,QAAQ,SAACF,GAClB,IAAMG,EAAqBhB,SAASE,cAAcb,EAASC,KAC3D0B,EAAmBb,UAAYf,EAC/B4B,EAAmBC,UAAYJ,EAC/BC,EAAcT,YAAYW,KAG5B,IAAME,EAAclB,SAASE,cAAcb,EAASC,KACpD4B,EAAYf,UAAYf,EAECL,EAAa4B,KAAKQ,IAAI,SAACC,GAAD,OAAUA,EAAKC,QAC7CN,QAAQ,SAACK,EAAME,GAC9B,IAAMC,EAAkBvB,SAASE,cAAcb,EAASC,KACxDiC,EAAgBpB,UAAYf,EAE5B,IAAMoC,EAASzC,EAAa0C,YAAYH,GAElCI,EAAuB1B,SAASE,cAAcb,EAASE,MAM7D,GALAmC,EAAqBvB,UAAYf,EACjCsC,EAAqBC,MAAMC,gBAAkBJ,EAAOI,gBAEpDL,EAAgBlB,YAAYqB,GAEI,EAA5BN,EAAK,GAAGS,MAAM,KAAKC,OAAY,CACjC,IAAMC,EAAuB/B,SAASE,cAAcb,EAASE,MAC7DwC,EAAqB5B,UAAYf,EACjC2C,EAAqBd,UAAYG,EAAK,GAAGS,MAAM,MAAM,GAErDN,EAAgBlB,YAAY0B,GAE5B,IAAMC,EAAuBhC,SAASE,cAAcb,EAASE,MAC7DyC,EAAqB7B,UAAYf,EACjC4C,EAAqBf,UAAYG,EAAK,GAAGS,MAAM,MAAMI,MAErDV,EAAgBlB,YAAY2B,OACvB,CACL,IAAMA,EAAuBhC,SAASE,cAAcb,EAASE,MAC7DyC,EAAqB7B,UAAYf,EACjC4C,EAAqBf,UAAYG,EAAK,GAEtCG,EAAgBlB,YAAY2B,GAG9Bd,EAAYb,YAAYkB,KAG1BxB,EAAQkB,UAAY,GAEpBlB,EAAQM,YAAYS,GACpBf,EAAQM,YAAYa,GAGtB,IAAMgB,EAAY/C,KAAKM,OAAOC,OAAOyC,UAC/BC,EAAYjD,KAAKM,OAAOC,OAAO2C,WAGrCtC,EAAQ4B,MAAMrB,QAAU,EACxBP,EAAQ4B,MAAMW,KAAUF,EAAYrD,EAAawD,OAAjD,KACAxC,EAAQ4B,MAAMa,IAASN,EAAYnD,EAAa0D,OAAhD,UA7EE1C,EAAQ4B,MAAMrB,QAAU","sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\nfunction CustomTooltips(tooltipModel) {\n // Add unique id if not exist\n const _setCanvasId = () => {\n const _idMaker = () => {\n const _hex = 16\n const _multiplier = 0x10000\n return ((1 + Math.random()) * _multiplier | 0).toString(_hex)\n }\n const _canvasId = `_canvas-${_idMaker() + _idMaker()}`\n this._chart.canvas.id = _canvasId\n return _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id || _setCanvasId()}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"]} \ No newline at end of file diff --git a/dist/umd/custom-tooltips.js b/dist/umd/custom-tooltips.js new file mode 100644 index 0000000..573a0c1 --- /dev/null +++ b/dist/umd/custom-tooltips.js @@ -0,0 +1,135 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : + typeof define === 'function' && define.amd ? define(['exports'], factory) : + (factory((global['custom-tooltips'] = {}))); +}(this, (function (exports) { 'use strict'; + + /** + * -------------------------------------------------------------------------- + * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ + function CustomTooltips(tooltipModel) { + var _this = this; + + // Add unique id if not exist + var _setCanvasId = function _setCanvasId() { + var _idMaker = function _idMaker() { + var _hex = 16; + var _multiplier = 0x10000; + return ((1 + Math.random()) * _multiplier | 0).toString(_hex); + }; + + var _canvasId = "_canvas-" + (_idMaker() + _idMaker()); + + _this._chart.canvas.id = _canvasId; + return _canvasId; + }; + + var ClassName = { + ABOVE: 'above', + BELOW: 'below', + CHARTJS_TOOLTIP: 'chartjs-tooltip', + NO_TRANSFORM: 'no-transform', + TOOLTIP_BODY: 'tooltip-body', + TOOLTIP_BODY_ITEM: 'tooltip-body-item', + TOOLTIP_BODY_ITEM_COLOR: 'tooltip-body-item-color', + TOOLTIP_BODY_ITEM_LABEL: 'tooltip-body-item-label', + TOOLTIP_BODY_ITEM_VALUE: 'tooltip-body-item-value', + TOOLTIP_HEADER: 'tooltip-header', + TOOLTIP_HEADER_ITEM: 'tooltip-header-item' + }; + var Selector = { + DIV: 'div', + SPAN: 'span', + TOOLTIP: (this._chart.canvas.id || _setCanvasId()) + "-tooltip" + }; + var tooltip = document.getElementById(Selector.TOOLTIP); + + if (!tooltip) { + tooltip = document.createElement('div'); + tooltip.id = Selector.TOOLTIP; + tooltip.className = ClassName.CHARTJS_TOOLTIP; + + this._chart.canvas.parentNode.appendChild(tooltip); + } // Hide if no tooltip + + + if (tooltipModel.opacity === 0) { + tooltip.style.opacity = 0; + return; + } // Set caret Position + + + tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM); + + if (tooltipModel.yAlign) { + tooltip.classList.add(tooltipModel.yAlign); + } else { + tooltip.classList.add(ClassName.NO_TRANSFORM); + } // Set Text + + + if (tooltipModel.body) { + var titleLines = tooltipModel.title || []; + var tooltipHeader = document.createElement(Selector.DIV); + tooltipHeader.className = ClassName.TOOLTIP_HEADER; + titleLines.forEach(function (title) { + var tooltipHeaderTitle = document.createElement(Selector.DIV); + tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM; + tooltipHeaderTitle.innerHTML = title; + tooltipHeader.appendChild(tooltipHeaderTitle); + }); + var tooltipBody = document.createElement(Selector.DIV); + tooltipBody.className = ClassName.TOOLTIP_BODY; + var tooltipBodyItems = tooltipModel.body.map(function (item) { + return item.lines; + }); + tooltipBodyItems.forEach(function (item, i) { + var tooltipBodyItem = document.createElement(Selector.DIV); + tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM; + var colors = tooltipModel.labelColors[i]; + var tooltipBodyItemColor = document.createElement(Selector.SPAN); + tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR; + tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor; + tooltipBodyItem.appendChild(tooltipBodyItemColor); + + if (item[0].split(':').length > 1) { + var tooltipBodyItemLabel = document.createElement(Selector.SPAN); + tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL; + tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]; + tooltipBodyItem.appendChild(tooltipBodyItemLabel); + var tooltipBodyItemValue = document.createElement(Selector.SPAN); + tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE; + tooltipBodyItemValue.innerHTML = item[0].split(': ').pop(); + tooltipBodyItem.appendChild(tooltipBodyItemValue); + } else { + var _tooltipBodyItemValue = document.createElement(Selector.SPAN); + + _tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE; + _tooltipBodyItemValue.innerHTML = item[0]; + tooltipBodyItem.appendChild(_tooltipBodyItemValue); + } + + tooltipBody.appendChild(tooltipBodyItem); + }); + tooltip.innerHTML = ''; + tooltip.appendChild(tooltipHeader); + tooltip.appendChild(tooltipBody); + } + + var positionY = this._chart.canvas.offsetTop; + var positionX = this._chart.canvas.offsetLeft; // Display, position, and set styles for font + + tooltip.style.opacity = 1; + tooltip.style.left = positionX + tooltipModel.caretX + "px"; + tooltip.style.top = positionY + tooltipModel.caretY + "px"; + } + + exports.CustomTooltips = CustomTooltips; + + Object.defineProperty(exports, '__esModule', { value: true }); + +}))); +//# sourceMappingURL=custom-tooltips.js.map diff --git a/dist/umd/custom-tooltips.js.map b/dist/umd/custom-tooltips.js.map new file mode 100644 index 0000000..3831436 --- /dev/null +++ b/dist/umd/custom-tooltips.js.map @@ -0,0 +1 @@ +{"version":3,"file":"custom-tooltips.js","sources":["../../js/custom-tooltips.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\nfunction CustomTooltips(tooltipModel) {\n // Add unique id if not exist\n const _setCanvasId = () => {\n const _idMaker = () => {\n const _hex = 16\n const _multiplier = 0x10000\n return ((1 + Math.random()) * _multiplier | 0).toString(_hex)\n }\n const _canvasId = `_canvas-${_idMaker() + _idMaker()}`\n this._chart.canvas.id = _canvasId\n return _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id || _setCanvasId()}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"],"names":["CustomTooltips","tooltipModel","_setCanvasId","_idMaker","_hex","_multiplier","Math","random","toString","_canvasId","_chart","canvas","id","ClassName","ABOVE","BELOW","CHARTJS_TOOLTIP","NO_TRANSFORM","TOOLTIP_BODY","TOOLTIP_BODY_ITEM","TOOLTIP_BODY_ITEM_COLOR","TOOLTIP_BODY_ITEM_LABEL","TOOLTIP_BODY_ITEM_VALUE","TOOLTIP_HEADER","TOOLTIP_HEADER_ITEM","Selector","DIV","SPAN","TOOLTIP","tooltip","document","getElementById","createElement","className","parentNode","appendChild","opacity","style","classList","remove","yAlign","add","body","titleLines","title","tooltipHeader","forEach","tooltipHeaderTitle","innerHTML","tooltipBody","tooltipBodyItems","map","item","lines","i","tooltipBodyItem","colors","labelColors","tooltipBodyItemColor","backgroundColor","split","length","tooltipBodyItemLabel","tooltipBodyItemValue","pop","positionY","offsetTop","positionX","offsetLeft","left","caretX","top","caretY"],"mappings":"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"} \ No newline at end of file diff --git a/dist/umd/custom-tooltips.min.js b/dist/umd/custom-tooltips.min.js new file mode 100644 index 0000000..198c794 --- /dev/null +++ b/dist/umd/custom-tooltips.min.js @@ -0,0 +1,2 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e["custom-tooltips"]={})}(this,function(e){"use strict";e.CustomTooltips=function(e){var t,a,o=this,n="above",i="below",l="chartjs-tooltip",s="no-transform",c="tooltip-body",d="tooltip-body-item",r="tooltip-body-item-color",p="tooltip-body-item-label",m="tooltip-body-item-value",u="tooltip-header",f="tooltip-header-item",h={DIV:"div",SPAN:"span",TOOLTIP:(this._chart.canvas.id||(t=function(){return(65536*(1+Math.random())|0).toString(16)},a="_canvas-"+(t()+t()),o._chart.canvas.id=a,a))+"-tooltip"},v=document.getElementById(h.TOOLTIP);if(v||((v=document.createElement("div")).id=h.TOOLTIP,v.className=l,this._chart.canvas.parentNode.appendChild(v)),0!==e.opacity){if(v.classList.remove(n,i,s),e.yAlign?v.classList.add(e.yAlign):v.classList.add(s),e.body){var y=e.title||[],b=document.createElement(h.DIV);b.className=u,y.forEach(function(e){var t=document.createElement(h.DIV);t.className=f,t.innerHTML=e,b.appendChild(t)});var N=document.createElement(h.DIV);N.className=c,e.body.map(function(e){return e.lines}).forEach(function(t,a){var o=document.createElement(h.DIV);o.className=d;var n=e.labelColors[a],i=document.createElement(h.SPAN);if(i.className=r,i.style.backgroundColor=n.backgroundColor,o.appendChild(i),t[0].split(":").length>1){var l=document.createElement(h.SPAN);l.className=p,l.innerHTML=t[0].split(": ")[0],o.appendChild(l);var s=document.createElement(h.SPAN);s.className=m,s.innerHTML=t[0].split(": ").pop(),o.appendChild(s)}else{var c=document.createElement(h.SPAN);c.className=m,c.innerHTML=t[0],o.appendChild(c)}N.appendChild(o)}),v.innerHTML="",v.appendChild(b),v.appendChild(N)}var C=this._chart.canvas.offsetTop,T=this._chart.canvas.offsetLeft;v.style.opacity=1,v.style.left=T+e.caretX+"px",v.style.top=C+e.caretY+"px"}else v.style.opacity=0},Object.defineProperty(e,"__esModule",{value:!0})}); +//# sourceMappingURL=custom-tooltips.min.js.map diff --git a/dist/umd/custom-tooltips.min.js.map b/dist/umd/custom-tooltips.min.js.map new file mode 100644 index 0000000..77ee836 --- /dev/null +++ b/dist/umd/custom-tooltips.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"custom-tooltips.min.js","sources":["../../js/custom-tooltips.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\nfunction CustomTooltips(tooltipModel) {\n // Add unique id if not exist\n const _setCanvasId = () => {\n const _idMaker = () => {\n const _hex = 16\n const _multiplier = 0x10000\n return ((1 + Math.random()) * _multiplier | 0).toString(_hex)\n }\n const _canvasId = `_canvas-${_idMaker() + _idMaker()}`\n this._chart.canvas.id = _canvasId\n return _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id || _setCanvasId()}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"],"names":["tooltipModel","_idMaker","_canvasId","ClassName","Selector","this","_chart","canvas","id","Math","random","toString","tooltip","document","getElementById","TOOLTIP","createElement","className","parentNode","appendChild","opacity","classList","remove","yAlign","add","body","titleLines","title","tooltipHeader","DIV","forEach","tooltipHeaderTitle","innerHTML","tooltipBody","map","item","lines","i","tooltipBodyItem","colors","labelColors","tooltipBodyItemColor","SPAN","style","backgroundColor","split","length","tooltipBodyItemLabel","tooltipBodyItemValue","pop","positionY","offsetTop","positionX","offsetLeft","left","caretX","top","caretY"],"mappings":"sNAOA,SAAwBA,OAGdC,EAKAC,SAKFC,EACsB,QADtBA,EAEsB,QAFtBA,EAGsB,kBAHtBA,EAIsB,eAJtBA,EAKsB,eALtBA,EAMsB,oBANtBA,EAOsB,0BAPtBA,EAQsB,0BARtBA,EASsB,0BATtBA,EAUsB,iBAVtBA,EAWsB,sBAGtBC,OACM,WACA,gBACGC,KAAKC,OAAOC,OAAOC,KA3B1BP,EAAW,kBAEK,OACX,EAAIQ,KAAKC,UAA0B,GAAGC,SAFlC,KAITT,cAAuBD,IAAaA,OACrCK,OAAOC,OAAOC,GAAKN,EACjBA,gBAuBLU,EAAUC,SAASC,eAAeV,EAASW,YAE1CH,OACOC,SAASG,cAAc,QACzBR,GAAKJ,EAASW,UACdE,UAAYd,OACfG,OAAOC,OAAOW,WAAWC,YAAYP,IAIf,IAAzBZ,EAAaoB,cAMTC,UAAUC,OAAOnB,EAAiBA,EAAiBA,GACvDH,EAAauB,SACPF,UAAUG,IAAIxB,EAAauB,UAE3BF,UAAUG,IAAIrB,GAIpBH,EAAayB,KAAM,KACfC,EAAa1B,EAAa2B,UAE1BC,EAAgBf,SAASG,cAAcZ,EAASyB,OACxCZ,UAAYd,IAEf2B,QAAQ,SAACH,OACZI,EAAqBlB,SAASG,cAAcZ,EAASyB,OACxCZ,UAAYd,IACZ6B,UAAYL,IACjBR,YAAYY,SAGtBE,EAAcpB,SAASG,cAAcZ,EAASyB,OACxCZ,UAAYd,EAECH,EAAayB,KAAKS,IAAI,SAACC,UAASA,EAAKC,QAC7CN,QAAQ,SAACK,EAAME,OACxBC,EAAkBzB,SAASG,cAAcZ,EAASyB,OACxCZ,UAAYd,MAEtBoC,EAASvC,EAAawC,YAAYH,GAElCI,EAAuB5B,SAASG,cAAcZ,EAASsC,WACxCzB,UAAYd,IACZwC,MAAMC,gBAAkBL,EAAOK,kBAEpCzB,YAAYsB,GAExBN,EAAK,GAAGU,MAAM,KAAKC,OAAS,EAAG,KAC3BC,EAAuBlC,SAASG,cAAcZ,EAASsC,QACxCzB,UAAYd,IACZ6B,UAAYG,EAAK,GAAGU,MAAM,MAAM,KAErC1B,YAAY4B,OAEtBC,EAAuBnC,SAASG,cAAcZ,EAASsC,QACxCzB,UAAYd,IACZ6B,UAAYG,EAAK,GAAGU,MAAM,MAAMI,QAErC9B,YAAY6B,OACvB,KACCA,EAAuBnC,SAASG,cAAcZ,EAASsC,QACxCzB,UAAYd,IACZ6B,UAAYG,EAAK,KAEtBhB,YAAY6B,KAGlB7B,YAAYmB,OAGlBN,UAAY,KAEZb,YAAYS,KACZT,YAAYc,OAGhBiB,EAAY7C,KAAKC,OAAOC,OAAO4C,UAC/BC,EAAY/C,KAAKC,OAAOC,OAAO8C,aAG7BV,MAAMvB,QAAU,IAChBuB,MAAMW,KAAUF,EAAYpD,EAAauD,cACzCZ,MAAMa,IAASN,EAAYlD,EAAayD,mBA7EtCd,MAAMvB,QAAU"} \ No newline at end of file diff --git a/js/custom-tooltips.js b/js/custom-tooltips.js index ec54718..56cbcdd 100644 --- a/js/custom-tooltips.js +++ b/js/custom-tooltips.js @@ -1,6 +1,6 @@ /** * -------------------------------------------------------------------------- - * CoreUI Plugins - Custom Tooltips for Chart.js (v1.1.0): custom-tooltips.js + * CoreUI Plugins - Custom Tooltips for Chart.js (v1.2.0): custom-tooltips.js * Licensed under MIT (https://coreui.io/license) * -------------------------------------------------------------------------- */ diff --git a/package-lock.json b/package-lock.json index 5fc75ec..25b0e97 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,19 @@ { "name": "@coreui/coreui-plugin-chartjs-custom-tooltips", - "version": "1.0.0", + "version": "1.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { "@babel/cli": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.0.0-beta.42.tgz", - "integrity": "sha512-I3kv9SU0A0nfT1xTdnQhmZl/b1L4XidY+IGSn3g5zidE2It7lD2paAQ4jROGlYE/gq/fzfNdNy5Mt6RQuqmUWQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.0.0-beta.46.tgz", + "integrity": "sha512-PkVdudEy12eyzAhAGJ4hFnkR25H5/4aGIVT06RTfCNSVHkU1Nf9BF7bpyRwlj36e7CFrtQqV3gi5LUACUjyMDw==", "dev": true, "requires": { "chokidar": "1.7.0", "commander": "2.15.1", "convert-source-map": "1.5.1", - "fs-readdir-recursive": "1.1.0", + "fs-readdir-recursive": "1.2.0", "glob": "7.1.2", "lodash": "4.17.5", "output-file-sync": "2.0.1", @@ -22,44 +22,44 @@ } }, "@babel/code-frame": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.42.tgz", - "integrity": "sha512-L8i94FLSyaLQpRfDo/qqSm8Ndb44zMtXParXo0MebJICG1zoCCL4+GkzUOlB4BNTRSXXQdb3feam/qw7bKPipQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.46.tgz", + "integrity": "sha512-7BKRkmYaPZm3Yff5HGZJKCz7RqZ5jUjknsXT6Gz5YKG23J3uq9hAj0epncCB0rlqmnZ8Q+UUpQB2tCR5mT37vw==", "dev": true, "requires": { - "@babel/highlight": "7.0.0-beta.42" + "@babel/highlight": "7.0.0-beta.46" } }, "@babel/core": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.42.tgz", - "integrity": "sha512-jcjZRewF/xqROfbk8EGyWlykaIR3IwrcefjWHu8xh4QnULSv3nfkjPM35v1itDgAT4/Jj5b4mPf4eZSC2HoRQA==", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.42", - "@babel/generator": "7.0.0-beta.42", - "@babel/helpers": "7.0.0-beta.42", - "@babel/template": "7.0.0-beta.42", - "@babel/traverse": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42", - "babylon": "7.0.0-beta.42", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.46.tgz", + "integrity": "sha512-lCDbBSAhNAt+nL98xbgWmuhgrIxKvbvFHf73zlNCuXCHJkdlo7qzTofYK0ZWb+OVce8fQ17fC7DwTIhAwowzMw==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.46", + "@babel/generator": "7.0.0-beta.46", + "@babel/helpers": "7.0.0-beta.46", + "@babel/template": "7.0.0-beta.46", + "@babel/traverse": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46", + "babylon": "7.0.0-beta.46", "convert-source-map": "1.5.1", "debug": "3.1.0", "json5": "0.5.1", "lodash": "4.17.5", "micromatch": "2.3.11", - "resolve": "1.6.0", + "resolve": "1.7.1", "semver": "5.5.0", "source-map": "0.5.7" } }, "@babel/generator": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.42.tgz", - "integrity": "sha512-9x3zS4nG/6GAvJWB8fAK+5g/Di36xdubB43dMNSucNJTwPvmyfCippir/0I8zyG+ID66hLCLi8V9bomlWRYaHA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.46.tgz", + "integrity": "sha512-5VfaEVkPG0gpNSTcf70jvV+MjbMoNn4g2iluwM7MhciedkolEtmG7PcdoUj5W1EmMfngz5cF65V7UMZXJO6y8Q==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.42", + "@babel/types": "7.0.0-beta.46", "jsesc": "2.5.1", "lodash": "4.17.5", "source-map": "0.5.7", @@ -67,205 +67,214 @@ } }, "@babel/helper-annotate-as-pure": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.42.tgz", - "integrity": "sha512-2lmcB7mHRSXZjDV9fdnWGRco+5fbI0PdUtsL7mNA2GtJs0GPoKdV3sCx0N4cpzG2YRR4dNCiB2riYIrzWjmQ1Q==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.46.tgz", + "integrity": "sha512-ej5W347ghJF1p2TM3VcEyds1+o1uy1apaQcHrYFJPus2xCgn5KkHPkBGf+6euLfFaQDtB+eWPVKjiZx/hpYXvA==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.42" + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.42.tgz", - "integrity": "sha512-lI14OS85dMAvsjTNTLrk3qqqvmy4CNxgXGpWkjMuKlYzwnC7LQvdrdH7wf3CBl8C0GSZHbgvADMUtrKiNjxJ5w==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.46.tgz", + "integrity": "sha512-ZCQ62KqFC5R3NPe5ug9pVqIHYJNup8UdEbE4IXw+s7zr4D/7AsKSt3pXA+FbML5AnQXeCSOuUWioggGmKuDV5g==", "dev": true, "requires": { - "@babel/helper-explode-assignable-expression": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42" + "@babel/helper-explode-assignable-expression": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-call-delegate": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.42.tgz", - "integrity": "sha512-iGZJrRSKIvla9m8VJNv8wlbPReOLmVqFTpefl07v6e5cMPvP2XOgVWR2B4HZ9UwVo7Lx8rPAQ8/UZgjvq+pJ+A==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.46.tgz", + "integrity": "sha512-7nhBu/MBlpvZLQsmw/C7VxN14wph+yp+1yxzPEd2oTsHg3oA73tHyguQ6wbtkw+9f1AZtP7ZJCLQ+nGLprF4Fw==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "7.0.0-beta.42", - "@babel/traverse": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42" + "@babel/helper-hoist-variables": "7.0.0-beta.46", + "@babel/traverse": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-define-map": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.42.tgz", - "integrity": "sha512-MKaHNaciAiPc7q4AS2XRqk+I0d2ADryuIxd6r0EykkQ57w2nQxFx/CTWWQEnob9OSAP5dPO1stWIZ9j/VeKtIQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.46.tgz", + "integrity": "sha512-rhi59ZVj+bhrgxqLi9VQmQOadcK9rLCArY8zqyjPNjDIsCurCwtQztRWhlz6CwBEhE9FO/KbSa9OFQm7Kobk+w==", "dev": true, "requires": { - "@babel/helper-function-name": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42", + "@babel/helper-function-name": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46", "lodash": "4.17.5" } }, "@babel/helper-explode-assignable-expression": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.42.tgz", - "integrity": "sha512-fT1kVF2PoogggBT9QBgb4IXjbpC3VzFh1sJ6p/k3fZhOXbyqqco7oQ6lzvcIAO6rA7b15/iaIyLj0E+SLCHbwQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.46.tgz", + "integrity": "sha512-SW1OUmx2fC2SqL7+vF1N72FITbPuEWGdr/Gm7I3Vqs8p8T1dfGwB9YFsD+tTpfagKXVMiCCuQ06+G0FB8uxg6Q==", "dev": true, "requires": { - "@babel/traverse": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42" + "@babel/traverse": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-function-name": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.42.tgz", - "integrity": "sha512-6IZ+kkPypwJrnmNzI3y31qAps2kXoPtCE241SvBva2YzB0n/YORWx2YM0jHPYOJBU9Xx5KkUhOKuWkeXZQgtTA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.46.tgz", + "integrity": "sha512-zm4Kc5XB2njGs8PkmjV1zE/g1hBuphbh+VcDyFLaQsxkxSFSUtCbKwFL8AQpL/qPIcGbvX1MBt50a/3ZZH2CQA==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.42", - "@babel/template": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42" + "@babel/helper-get-function-arity": "7.0.0-beta.46", + "@babel/template": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.42.tgz", - "integrity": "sha512-hF5KKcn+V/5PwU7KZ1aVwo535woLC9eV+djaoyNPZeMMJ2s+8bZlEa66Tarei0T68VRL5LXIs1Ao4hSabSkpBg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.46.tgz", + "integrity": "sha512-dPrTb7QHVx44xJLjUl3LGAc13iS7hdXdO0fiOxdRN1suIS91yGGgeuwiQBlrw5SxbFchYtwenhlKbqHdVfGyVA==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.42" + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-hoist-variables": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.42.tgz", - "integrity": "sha512-07NJrcvE2a5oOYiQUzSzih21R6nOpfoIe9saelKxORKXr9cOXcpoLXDi9XIAbRJoww8hqp57JbQxRK09FltZhQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.46.tgz", + "integrity": "sha512-9xDHLfaVA445mcHU2OEPwEddiyS0Zxao2WObFR2L/SK5MNOPj2VqVCvivYrO2OpzhnLLCTbOfXRmrwrc9WYN6Q==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.42" + "@babel/types": "7.0.0-beta.46" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0-beta.46.tgz", + "integrity": "sha512-Xb5iVUHXY8yz4pgGBvtuS1kxZH1oUYcxTcbIW8NFRvgpeH3Zcv4me02bbixsk7nhn8ttE79Lr1g4vrem4k5Z3Q==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-module-imports": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.42.tgz", - "integrity": "sha512-0kTX0cjuVKUKDJmHjmAb504kNrwae0Ja32hGii7zSHDKm0tVZvvpT8Cc1yYHo6UsIkUmzEvfGwIrNYemx1jTtQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.46.tgz", + "integrity": "sha512-xjgpwrqHiKCZgAcqsNIpZ9kOCC5Ty/VYN1H07v21HbAf/dl0/HeUA0taz3EFv6/7lRgS3qThawTSG0POJQX9vQ==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.42", + "@babel/types": "7.0.0-beta.46", "lodash": "4.17.5" } }, "@babel/helper-module-transforms": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.42.tgz", - "integrity": "sha512-XfCGsf6ijExiXw+oKL1Cp7VJttvgq8qalTGRqz4pviVNEjHU89Pfjsi1K/shdy5x4x+PiTSqn4zZ2PKfVp+vgg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.46.tgz", + "integrity": "sha512-IckoWSub3PHNvkWcUEWfKBe8pFUdMhsZMFDcaovcLb+gfxL/zZhQYwedKKKwbzVGIk9k44yjeMQ/OJd4yt4FGQ==", "dev": true, "requires": { - "@babel/helper-module-imports": "7.0.0-beta.42", - "@babel/helper-simple-access": "7.0.0-beta.42", - "@babel/helper-split-export-declaration": "7.0.0-beta.42", - "@babel/template": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42", + "@babel/helper-module-imports": "7.0.0-beta.46", + "@babel/helper-simple-access": "7.0.0-beta.46", + "@babel/helper-split-export-declaration": "7.0.0-beta.46", + "@babel/template": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46", "lodash": "4.17.5" } }, "@babel/helper-optimise-call-expression": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.42.tgz", - "integrity": "sha512-4Sssg3iFnLH/1fZQFCPNJ7ISZzrRwq/X8/T5OaURGP3NMVTR4mnEUqrc3v8/SfL3pfa57q3Fe4zIC2h7FuPkww==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.46.tgz", + "integrity": "sha512-PVd7/PGxi82pEKyuDcEpMmlenMLhJCII3lIK4MhXGWrT/6cNMpY6ob5rWOarpXgZjy+JNI5uLPOce28bqq0Wtw==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.42" + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-plugin-utils": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.42.tgz", - "integrity": "sha512-hZLw8Iz9/YOxI9mgWyPOP1S84OcdQo1WFkZrS1sSf45g16sEb4dVslds2uvZgmx9BiG94PoWyABGf48Py6D6CA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.46.tgz", + "integrity": "sha512-eRTFH+/1rqDfzx+Z//CYk4TNwhfPQpM/TCs4CmHu2DwCPrqFnKUZLI1KgStfLf//c8FdOqx/U9EPec7s8CbUIA==", "dev": true }, "@babel/helper-regex": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0-beta.42.tgz", - "integrity": "sha512-QdwTsTPjJ63StltU6cEtqmB0Lc+L/OkK9Pz2bL9rylDF3UloyXinBA+SI/FkVyXi5HhDbBRf4T/OeVhWrsK68A==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0-beta.46.tgz", + "integrity": "sha512-sPDHBt8Y4i6y9rwtxWMvcprlVHAZOOQK5xpS2Nw2q9QEDHRHwVbEpE6EejoUStSclnfJpPK/7ijFgypwc6rXlA==", "dev": true, "requires": { "lodash": "4.17.5" } }, "@babel/helper-remap-async-to-generator": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.42.tgz", - "integrity": "sha512-At+ipbHRYoN0AaafqPvTPqyVYi+beantKZ2orCYSb/AzP2+JywaWlOPH0wyXLOGzjkJX548Is4cV2wGbEG7++Q==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.46.tgz", + "integrity": "sha512-YrqQ98z8AMZx8f2PGJ4YV1MkXtj+qbwbFV7MOLTiavGSFY7UrN4uQfhKEJ/4GUf4QZdTr5NEmRt0AJrWno8y8w==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "7.0.0-beta.42", - "@babel/helper-wrap-function": "7.0.0-beta.42", - "@babel/template": "7.0.0-beta.42", - "@babel/traverse": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42" + "@babel/helper-annotate-as-pure": "7.0.0-beta.46", + "@babel/helper-wrap-function": "7.0.0-beta.46", + "@babel/template": "7.0.0-beta.46", + "@babel/traverse": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-replace-supers": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.42.tgz", - "integrity": "sha512-5OwdkTm7TaEBiBMOUV97j8a2goD3+avek9EOl/UdE/CYdtdQ/8RPdUPqtqXApay30aZ/EjIpBItcNlBtt29WBw==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.46.tgz", + "integrity": "sha512-FSpK3QKzb58oMEccanHzg1djsYHhGARl08i8BQGBoOyHS6Df+4/8bsQiTnc59Dz5sJoZdb67nKKFjgMsMYi6Kg==", "dev": true, "requires": { - "@babel/helper-optimise-call-expression": "7.0.0-beta.42", - "@babel/template": "7.0.0-beta.42", - "@babel/traverse": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42" + "@babel/helper-member-expression-to-functions": "7.0.0-beta.46", + "@babel/helper-optimise-call-expression": "7.0.0-beta.46", + "@babel/traverse": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-simple-access": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.42.tgz", - "integrity": "sha512-SK1nb/sx+Q/0N8USPR+/5G1D1U9tCo82MzJknmK7X4yexDacHmDHtqNP7xqUlSSo3xfMfyHgT7mAH17Cwik/gA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.46.tgz", + "integrity": "sha512-1OEjV/Qnl4u8Dg+jQIYf1TgnfdrYIrdrF7yZwp9mSgsVX2PCyLe7JNTqZ/5v/5RzlF6S+GTe9agkj+EFFTcZUw==", "dev": true, "requires": { - "@babel/template": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42", + "@babel/template": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46", "lodash": "4.17.5" } }, "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.42.tgz", - "integrity": "sha512-2r8pZG6SAJTTaI2OhxCmz5PKlMUPY5adOHrHtb1gM3ibJPDOzPAeOQNzItdxNnM33jjRakEGitXX6iYg7Sz73w==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.46.tgz", + "integrity": "sha512-UT7acgV7wsnBPwnqslqcnUFvsPBP4TtVaYM82xPGA7+evAa8q8HXOmFk08qsMK/pX/yy4+51gJJwyw2zofnacA==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.42" + "@babel/types": "7.0.0-beta.46" } }, "@babel/helper-wrap-function": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.42.tgz", - "integrity": "sha512-jpZDbZROEw2HfmlImLXDB7BFoyo6M/Wn8jOOc1+JfCpg2uaZ+n6Q0C3sA6mCN6o7ZgpJkgT7IHQwdB3RMV6KLA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.46.tgz", + "integrity": "sha512-W87M4bP6veTKK66OjzV/rU47tjsWmKj9J0J5BDmxq5BIJB1M13ouQ2FAURa4jGHwjPFWN3D5njBrsrifSOHzbQ==", "dev": true, "requires": { - "@babel/helper-function-name": "7.0.0-beta.42", - "@babel/template": "7.0.0-beta.42", - "@babel/traverse": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42" + "@babel/helper-function-name": "7.0.0-beta.46", + "@babel/template": "7.0.0-beta.46", + "@babel/traverse": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46" } }, "@babel/helpers": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.42.tgz", - "integrity": "sha512-att9SiG9GxOUdjai87LqjSstgNsdo1nXiGu+Eh078zwRiN8bM5Ww8vrbYkAm9PF4HaW6OzOKqyKxv595RT79bA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.46.tgz", + "integrity": "sha512-mbpH9pM3pJzo/tBr75U+zva3pqpyivogt1aofgEoD7bWFAYSuqOudRuz+m4XP6VPxxLoxcA4SFPGkuLRt9+7nQ==", "dev": true, "requires": { - "@babel/template": "7.0.0-beta.42", - "@babel/traverse": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42" + "@babel/template": "7.0.0-beta.46", + "@babel/traverse": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46" } }, "@babel/highlight": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.42.tgz", - "integrity": "sha512-X3Ur/A/lIbbP8W0pmwgqtDXIxhQmxPaiwY9SKP7kF9wvZfjZRwMvbJE92ozUhF3UDK3DCKaV7oGqmI1rP/zqWA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.46.tgz", + "integrity": "sha512-r4snW6Q8ICL3Y8hGzYJRvyG/+sc+kvkewXNedG9tQjoHmUFMwMSv/o45GWQUQswevGnWghiGkpRPivFfOuMsOA==", "dev": true, "requires": { "chalk": "2.3.2", @@ -274,426 +283,438 @@ } }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.42.tgz", - "integrity": "sha512-fPPsSCajWzefDSb49JEeZfd/UeMK3xEQSRAz/H3BZ1uaRatwNNZoOJq4/WRH/xDeISmYUdkLRtqs39VPWLKYVg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.46.tgz", + "integrity": "sha512-htHMsLBYkM89CplqHTbbemVvzTXXyXkpihetJZUTPpSayfxEd6oIH5uSM91efcf5Rog+1SC0Oq32q9yF/4W3ig==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-remap-async-to-generator": "7.0.0-beta.42", - "@babel/plugin-syntax-async-generators": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-remap-async-to-generator": "7.0.0-beta.46", + "@babel/plugin-syntax-async-generators": "7.0.0-beta.46" } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.42.tgz", - "integrity": "sha512-L4z5R8k3GxQKVYE2zGwftQ9K/IIIXMZKnY4C0lDyyMJAVk+H+cFUD0NfD4KTyZACc8DPqjkw6aEtC/AKCKUvEA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.46.tgz", + "integrity": "sha512-viGuWOgFT/Tbnn3sYi3g9iJcC3ql7bSjxDs+d+GFgyf3eV2qNIKO/6I+PJAD35fGqDGGBrQhlA6HvW0FzQVtoA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.46" } }, "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.42.tgz", - "integrity": "sha512-hD8HTOKzLqMXwKkqX+Qiig8aqsCoZ9k9Y0I3zLjkpYh7HBPoPhUhlN6McxtPHGRjM/qBCNcLCwtWuJetK/cNZg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.46.tgz", + "integrity": "sha512-ZorB1i84PiVCFmrxglRaDDepmIknWgt8k5jA+IHmPd0/8UN5iMz2RLdIgIhyl92091DgsNxnVI50KLvGNK3++Q==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/plugin-syntax-optional-catch-binding": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/plugin-syntax-optional-catch-binding": "7.0.0-beta.46" } }, "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.42.tgz", - "integrity": "sha512-aUEpQFuQydhs20dQSkz7edWkRaNHt8rVfcqHy5ykR4dqflq7+EclnuljuzIS+MJ3V8i5cyLMEXv/W1uWWf7UGg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.46.tgz", + "integrity": "sha512-H1F53Sc7mvVxAGzs1nH7IVs4Gh6tYx9azyaMzv92RUvLYQsRm6pKaX1dQtOHJMLMgY61i65y29fQ40mvwIhfFA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-regex": "7.0.0-beta.42", + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-regex": "7.0.0-beta.46", "regexpu-core": "4.1.3" } }, "@babel/plugin-syntax-async-generators": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.42.tgz", - "integrity": "sha512-k6oVMsmY/mcp+rPRcK4dJL/J1ahtIRucXtNHNvAVRV9WFc7G3r1rrb1GlM4iNHareXBNdRlf7mkxyVaVpyJ3TQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.46.tgz", + "integrity": "sha512-igLQzZYcSrY/W3eACq6Nrf9u9mfw7m5G6+JeTZlyI7w0z+upGvWvrpTaAP1Gni6MckQkx5q+pspgpV+/5ioPXg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-syntax-object-rest-spread": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.42.tgz", - "integrity": "sha512-Zhz6MdSpEviY3UFh/DUlrvf/Tn4wWosHXrnR52PBRtP/8ESWVaFuk57xWcBon3jJh0z5hYyRUr+D0wR7W7ZmnQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.46.tgz", + "integrity": "sha512-MMv6WG69jmcSLXdUeHvoev5RkuP/QuJZwCB4jXp2gtss//avs4Sns+t0VpGKTf9umhvRq44HFO6PVjVG85F+/Q==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-syntax-optional-catch-binding": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.42.tgz", - "integrity": "sha512-TXJpGMX/M9r0tkJPgZtoaBCdrhFMeAZtOiwNtVf5dWoA6TOmDwnnnbaUqynbBZm16jE7quWW5VhfFjDlOP1vMA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.46.tgz", + "integrity": "sha512-BRutzJrTLEPUidyRP1n4O2ySAww0wuJw2gIoT4iJ8Pm6qx4fqm/DM0+++TB8nR3/Tp456pHRm0bVOqpkMJdJbg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-arrow-functions": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.42.tgz", - "integrity": "sha512-/tpAo2Ur8m32U9pBcGQ6JKplWNEh462zxCnwVKL9yVwG02lttC4QSYBvreRK1wBidDz8JgRZFGGeB9N4l23/Sg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.46.tgz", + "integrity": "sha512-GgeFCCMHXWRkPDXWKin76qiZh+DAYdQShmk8SmzDj6IAgPHyNqkxHN/8gsmNe5/7IWFFOKUuM9TNU7fgY7z7Gg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.42.tgz", - "integrity": "sha512-TTu8z0xz/mS8H98nCVw3wp86RSzdvUhtM4hX32sItrauJX1X8shVZDKbDtG8ZdA1FMKLgfvmn/hxtPOqjOkkpw==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.46.tgz", + "integrity": "sha512-obykYLqAd3tujTjHYE+dln5+nDhm+R5FmUcxXFr/Mx6LK1NgrTQ9TdPPOcMCD08r8SDljFpMopuz9upN/xJlbw==", "dev": true, "requires": { - "@babel/helper-module-imports": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-remap-async-to-generator": "7.0.0-beta.42" + "@babel/helper-module-imports": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-remap-async-to-generator": "7.0.0-beta.46" } }, "@babel/plugin-transform-block-scoped-functions": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.42.tgz", - "integrity": "sha512-Ib3bSf7pYLbqe+46RrJFJae1DrNYvIrGleYjzaN/MFYNaG9ePaOevSBmFHPxuW1SM5l2tTloeu5a7mhs9h0oxg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.46.tgz", + "integrity": "sha512-0paq0AtTp3TXbXdzWwsL8ddacmo/g/14IgIZgs5BzUTrfROKQThYVccEBPqRnprTgvM0JXyDVfNSgLB4akCTjg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-block-scoping": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.42.tgz", - "integrity": "sha512-qvlAR1L7gZ1gqdj81a2AEfuar3lFsr7FSad4JrN5CJinQlVn/1eJe8oB1DQ7U8ocAzDDjn3tGit9lN7uKBWZsQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.46.tgz", + "integrity": "sha512-7OwS0ObI6nLacEKP1HCdnoIQnHBqOV6IgtKGiPO+Nj03OnZ1Yo2aeK9sfOtwL43aNztnKqFVt2L5PfZg4VGidA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", + "@babel/helper-plugin-utils": "7.0.0-beta.46", "lodash": "4.17.5" } }, "@babel/plugin-transform-classes": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.42.tgz", - "integrity": "sha512-0GCv1wNyfMXKuaulype6+TF02Bxq/zQZ4NUbn2w9aQxzIZviAe1jcA7IRrNN2eVQL9L4oi8N6B26Wf8xFoBNrQ==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "7.0.0-beta.42", - "@babel/helper-define-map": "7.0.0-beta.42", - "@babel/helper-function-name": "7.0.0-beta.42", - "@babel/helper-optimise-call-expression": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-replace-supers": "7.0.0-beta.42", - "@babel/helper-split-export-declaration": "7.0.0-beta.42", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.46.tgz", + "integrity": "sha512-EDp/qQAURfrX6hNM+VrLSSA+cGiwDeZL0ZTTt6a7PNSFABCw4qwKJHx3Q7me1oV7q3U/GJwPS4Aym2QTDmNGvg==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "7.0.0-beta.46", + "@babel/helper-define-map": "7.0.0-beta.46", + "@babel/helper-function-name": "7.0.0-beta.46", + "@babel/helper-optimise-call-expression": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-replace-supers": "7.0.0-beta.46", + "@babel/helper-split-export-declaration": "7.0.0-beta.46", "globals": "11.4.0" } }, "@babel/plugin-transform-computed-properties": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.42.tgz", - "integrity": "sha512-WYGXfe2uo2FdACubMhwV6Oq1Zx3SNSeBUHRe2X53WKbIKLMZlxRR5GfoLv4V2CeDGHL3mb97wYhmXSb56bIXeg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.46.tgz", + "integrity": "sha512-0ne9TL53fXH+cBI591R1JSpPhu0d2Wd9dbD8jLCJFV4tlMfqQ+Rcm65RhWWqjEBZfGv2+FuOnwB4HJRHakdW+Q==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-destructuring": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.42.tgz", - "integrity": "sha512-G3hwLdgeKCZ8EWqwMqeOEoXxRBc5aJthMUD5kN7sAIko+lvwIVQ0do9Op/+DAGVnrvC+g0Ool2Mihcej2NsCPQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.46.tgz", + "integrity": "sha512-l9x0+T29Njwp6smLbTIU2HG2s4ROd9DAIQcfciEfpjAqscXEst0M4X9+UvjQsuaOgPFmQTdAn9xOwNFXnRP7Tg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-dotall-regex": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.42.tgz", - "integrity": "sha512-g/XbJzib6qmbHOJv/2n/bVKLcfJUBRSo9zO73O7lvJEYh8JvHWM/oVU829ztVPpdPT3xgHMiTVhnV/O5r5dYNA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.46.tgz", + "integrity": "sha512-5bO0XvTP+2LFDQ9qT/WaXfyieLtqz1yGsfOuq86VXmwX9tDnBnNS6pCHEGFQ866c1HmlNBWtaXttTTnvWkFBkw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-regex": "7.0.0-beta.42", + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-regex": "7.0.0-beta.46", "regexpu-core": "4.1.3" } }, "@babel/plugin-transform-duplicate-keys": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.42.tgz", - "integrity": "sha512-Nze+na6pnoZdrMtQv5Ct/i3031ib+kctDwt8KgcrtnOr52qUlbogPe1jY2WxpwSMtiowdPY93XsRFZeq6ogMTA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.46.tgz", + "integrity": "sha512-mP2+3QQ+ArIMX98zVYSC9XBzV7A/Pxbz+2hPcEAGVeakFYm5AeTkcVHRQzzA21v4ecl0L5LE1XWX9yeK643CWw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-exponentiation-operator": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.42.tgz", - "integrity": "sha512-ylnAziSEho282hxQROK5tbNtxm0sSoQaQS74OCSE52eFeDNqSNGapyiNiWMZ71gqs8q5aqYsPgfa/vTccLT7uA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.46.tgz", + "integrity": "sha512-acomgoNW/fwWSmBlhH22C9Eyl1Y/vADBSqzyIRWJGpm4frLhd49QQgKXbRGRHUDxyifXuZDF9+3pRhEmi7/HXA==", "dev": true, "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-for-of": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.42.tgz", - "integrity": "sha512-pn+fmrr6pfXeEUMyx7JrKAOG/XCiABvXFOmQYqLoCl0POcW8sE75r8w/Lu2wHFayrNgDqR7/RCb7RW4h/U2u1Q==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.46.tgz", + "integrity": "sha512-a1gpwuO26szyz5K2FrRrI5nUDgvkaJfZ7GeDtFAH8XyrK/pNdtpW/7DFCf1PdQc6SbEMM/1QXsH7Y2YRkWoTeA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-function-name": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.42.tgz", - "integrity": "sha512-OopJXZQAgBsPUAHr49Z4S4X24XJa9Iu0zPUPCML9weHloyFnkw5SGQIDLC6BxxPOmqfiB49gfIuHjbtJfUsOJw==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.46.tgz", + "integrity": "sha512-XyxSW1jm7WKOoPYHUJA0mbOkDFdlHzGR4DzlWAEwXrzEI5ep0ZP1AttAbVkxsF63XG8p2t9VtKlgbyBq4Tyr7A==", "dev": true, "requires": { - "@babel/helper-function-name": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-function-name": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-literals": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.42.tgz", - "integrity": "sha512-mWEayRwUCY3/u8LZpcdR96TiWqofP60jjfVZUJ6agK6ifwEBgamv1Db8syIwUCjaZww5bjyZqX61AmP4fx3dvQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.46.tgz", + "integrity": "sha512-Uuo7pRsBkrLrDg6XpOAMfwhKw56SB5qVBniUVM04uf8wf92S2Z5tSPNNfn1iTgphuckAO9vg86l2XJ0Y/QD4YQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-modules-amd": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.42.tgz", - "integrity": "sha512-JCNM+WPKImpNHVLZG6x9F87AyX+K8KpMCkuCqyE7YgxAJWB+5FHVnpkdF6lprDilE/LXGwplmNb9OrWulMss2g==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.46.tgz", + "integrity": "sha512-GNp7F3EqJlQIMY9sfoDS03P7EHa/+Bdy6PUugTIo1TjZQUnCy3JbeL2YGI4tU8XOHJGHiBKRjFMpeOsjOSmMtw==", "dev": true, "requires": { - "@babel/helper-module-transforms": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-module-transforms": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.42.tgz", - "integrity": "sha512-tCN0FFdTHaXpuJokvW8iWtbDpjKDNDO2dIyb8rr0GMQxsA62914e8oclcDUPEbC5iF5SCDEF0CmVHXbxnvANfQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.46.tgz", + "integrity": "sha512-3wLCWVkEhhQiVqqml4y9G6GJT6WA/mkxQ6TRy+4I46z00WWbEDENJcRTS14oNKzeRIo4yJylbVB1wUCW7HuJ9A==", "dev": true, "requires": { - "@babel/helper-module-transforms": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-simple-access": "7.0.0-beta.42" + "@babel/helper-module-transforms": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-simple-access": "7.0.0-beta.46" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.42.tgz", - "integrity": "sha512-IEN3HVHpMPWrnI2EAEHg0248+Axkg2nrdspajefIyeZMlrN0dUt0gDgVsZtza5PK/1a+RZlpli7dDgcA7heTMg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.46.tgz", + "integrity": "sha512-dCIuCGaE4UyM6cYC/a2veO0vKT/iSjBZ6ux4v/LePXA/N6v9648nwE6CRmCK1/LtRw+eU0sCo+c0TPeALCszYA==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-hoist-variables": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-modules-umd": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.42.tgz", - "integrity": "sha512-yOA2qnk4snRxkdgKDp6xN+by3V3z8q14cDf/aB0j36Jv2YqpDWUWMMWLQjabCEE/l7ptePBS4qbFH8dffCm4Tg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.46.tgz", + "integrity": "sha512-t54bMSIY5xtb8uK8aM61xZmpjQ7FJ0M/8EiCFDdx7rHff5O9eJUNEGqGaly8ZTbdp80RqbzMkyiD1V+TXYQW/Q==", "dev": true, "requires": { - "@babel/helper-module-transforms": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-module-transforms": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-new-target": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.42.tgz", - "integrity": "sha512-P2zwIIeTOev0Xjo//4p7ugtsWazIsycbs/T6I/ghiV2lREFxo9s93fygbXNXt5ALRPRWDthiAYIDA9n1vrgkVg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.46.tgz", + "integrity": "sha512-VSuIdVFUhlqADj/ymm7NG4BVjGD0sBWWN5sONTLAYzKScGZA58Ys8jSkl1dxeqWnMOEjzo8lTRWxRVvz8HIaMg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-object-super": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.42.tgz", - "integrity": "sha512-d+gki0bYQtlleX4LnvpwjIkjmZScKQuHhDsD3N3nHLpwxbANp3YGtIfuf8dbY/PIbUKtd55/ErCvdsyuGlxAlw==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.46.tgz", + "integrity": "sha512-T+TV4rRuTubvjqEwBF5xib3vnfJgjQ62qJqHprTaJDBtF0ofpbv/A6x86EEr51iPymHc84eM+F1zyFEtJvKYwQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-replace-supers": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-replace-supers": "7.0.0-beta.46" } }, "@babel/plugin-transform-parameters": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.42.tgz", - "integrity": "sha512-z2iXwael/zMHkOvvkJSirg1jIxGA00JOIwdERB+x+VGxLfLb+1IdyiytVw9+w5RTNSVAGYt6R4jhvUdAeQwMiQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.46.tgz", + "integrity": "sha512-RnkdYrayTlQ0VFoyIjvY/cCp/1lJJkYE2lFcRNg6+Skd3g41PnocsHhQ5NUQjMNogL+RnNan3S/2S/i7S4zm+Q==", "dev": true, "requires": { - "@babel/helper-call-delegate": "7.0.0-beta.42", - "@babel/helper-get-function-arity": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-call-delegate": "7.0.0-beta.46", + "@babel/helper-get-function-arity": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-regenerator": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.42.tgz", - "integrity": "sha512-E1s/MBk8ztbXqxbeUvFH26x8vAWq/7qX3UdbB8fKoN3EX2Wg9+yXWyuI50jOhXOq7jfmbOrVe0BWoUOjCOqWPQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.46.tgz", + "integrity": "sha512-P6d8ckSjKlbr/1SL1NBO6ieFxSebTiRWd2R8/styUIizJWQlEB0ITQ7l8vv3jXGjJ0mh7lxBTegXejRkTGKKgw==", "dev": true, "requires": { "regenerator-transform": "0.12.3" } }, "@babel/plugin-transform-shorthand-properties": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.42.tgz", - "integrity": "sha512-GID8z2s6R/XOHgaoxrKBH+zdBOBqFJTDYDS91w30fJGiHxVM4qFVOpYDNIMxmsjqW6bKVHyLeHBezp0OHv+9QQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.46.tgz", + "integrity": "sha512-1QkKFWPsjrvMppycLwjPBXF+usSnGvbTxGe0Q+eIzcZyhabwGCsCgkmDIKMisPSAi6F7bM5H1S8VbE85IW3oRg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-spread": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.42.tgz", - "integrity": "sha512-ZzWt7RvGcV+9DcOTBwE6ArNqDpUMpzZhCToj3UNtULol9gGBbrGgUK/LdGwGInj+Z2aIdOjbAMFtEuC6626lJg==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.46.tgz", + "integrity": "sha512-R0GvFdJnFrgTlmZfFtCXk81uvq5S3FuY38FnRsxDt6Yx/sE8jCmmrRe7XHZOnXXGP3ZWY9icILUmzWHOf91jbA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-sticky-regex": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.42.tgz", - "integrity": "sha512-zQI5NhVfnSNNFiG8JhoXXzTV89aLTfHW22inWefATRmtqe64iHZ4bivBTkDbxt6X/St1yH0aZB+4XtBDZjzcKQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.46.tgz", + "integrity": "sha512-goMgOLODjG1cgFHlKACh/NT/wrnmuRi2CpXsjOan10eZce0fk9kahYz/04cqhppmwtV/vQWwH2ikAHODSD8r5w==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-regex": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-regex": "7.0.0-beta.46" } }, "@babel/plugin-transform-template-literals": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.42.tgz", - "integrity": "sha512-sCQmaa8fd3uPdy/J/qOkvPtxo3RtiH6SyW5bzdnUSOQ3+ND3Bj4OfJNziZxJwZZ8Y40lHrM0dKxZ8YnihlCETQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.46.tgz", + "integrity": "sha512-2iGMsHWVAQq9X6p3VNjktJCH6ZXHQHi3NTPLKh5d4bEW8+M3H7LXLNqk1yUm/Uwt0tzh1FUfb/EU2sEPbrBrVA==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-annotate-as-pure": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-typeof-symbol": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.42.tgz", - "integrity": "sha512-cuDOzCv7kpMqaLypTEN90ErVmKUV3vjTuO8qzCGlmJMZwCcteTpxCiwISJLnAxcGtj++fMVY0vntbcj4nXf9XQ==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.46.tgz", + "integrity": "sha512-l+CfLR2c5KzZ/uZlkflNe7nK2hiEahc/FeiUCTd5Krj4aCKDdLLSdb4Lowf5hdZbqIPQc9TdL9SZt80YhUlmFw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42" + "@babel/helper-plugin-utils": "7.0.0-beta.46" } }, "@babel/plugin-transform-unicode-regex": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.42.tgz", - "integrity": "sha512-iqQ8bhkRPZE2Vl5gR7GF0x4xUVlkncMxr7ve7Rjp/TMzNbO3S2XLr+1SPu+B+U3fIPDDA4I97enw5YL5V7QFOA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.46.tgz", + "integrity": "sha512-XWQ7uJ0HL/xdMesKzt1uq5CmZPBqDiEno+FBeYuOJu1IWjpr3yXfEzH/nW17KESXGRv68mLTr+fIeSwcC+qVFg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/helper-regex": "7.0.0-beta.42", + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/helper-regex": "7.0.0-beta.46", "regexpu-core": "4.1.3" } }, "@babel/preset-env": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0-beta.42.tgz", - "integrity": "sha512-DawmnYYDbOpMqq0H64iwtZJ7C1xjdwqJXBvAjRKv9WVnKPqZbMMli4JhwO30WnPELzOMGRwtLFAchPcEeyyCpQ==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "7.0.0-beta.42", - "@babel/helper-plugin-utils": "7.0.0-beta.42", - "@babel/plugin-proposal-async-generator-functions": "7.0.0-beta.42", - "@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.42", - "@babel/plugin-proposal-optional-catch-binding": "7.0.0-beta.42", - "@babel/plugin-proposal-unicode-property-regex": "7.0.0-beta.42", - "@babel/plugin-syntax-async-generators": "7.0.0-beta.42", - "@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.42", - "@babel/plugin-syntax-optional-catch-binding": "7.0.0-beta.42", - "@babel/plugin-transform-arrow-functions": "7.0.0-beta.42", - "@babel/plugin-transform-async-to-generator": "7.0.0-beta.42", - "@babel/plugin-transform-block-scoped-functions": "7.0.0-beta.42", - "@babel/plugin-transform-block-scoping": "7.0.0-beta.42", - "@babel/plugin-transform-classes": "7.0.0-beta.42", - "@babel/plugin-transform-computed-properties": "7.0.0-beta.42", - "@babel/plugin-transform-destructuring": "7.0.0-beta.42", - "@babel/plugin-transform-dotall-regex": "7.0.0-beta.42", - "@babel/plugin-transform-duplicate-keys": "7.0.0-beta.42", - "@babel/plugin-transform-exponentiation-operator": "7.0.0-beta.42", - "@babel/plugin-transform-for-of": "7.0.0-beta.42", - "@babel/plugin-transform-function-name": "7.0.0-beta.42", - "@babel/plugin-transform-literals": "7.0.0-beta.42", - "@babel/plugin-transform-modules-amd": "7.0.0-beta.42", - "@babel/plugin-transform-modules-commonjs": "7.0.0-beta.42", - "@babel/plugin-transform-modules-systemjs": "7.0.0-beta.42", - "@babel/plugin-transform-modules-umd": "7.0.0-beta.42", - "@babel/plugin-transform-new-target": "7.0.0-beta.42", - "@babel/plugin-transform-object-super": "7.0.0-beta.42", - "@babel/plugin-transform-parameters": "7.0.0-beta.42", - "@babel/plugin-transform-regenerator": "7.0.0-beta.42", - "@babel/plugin-transform-shorthand-properties": "7.0.0-beta.42", - "@babel/plugin-transform-spread": "7.0.0-beta.42", - "@babel/plugin-transform-sticky-regex": "7.0.0-beta.42", - "@babel/plugin-transform-template-literals": "7.0.0-beta.42", - "@babel/plugin-transform-typeof-symbol": "7.0.0-beta.42", - "@babel/plugin-transform-unicode-regex": "7.0.0-beta.42", - "browserslist": "3.2.3", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0-beta.46.tgz", + "integrity": "sha512-zC+QsTmteh2c1CtjeskvUKsqvRpgwBZxOxTk6p+F3gL6uJszP4OWzffgPrsV2wo9vccppTaCzYMFeiJscnne6g==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "7.0.0-beta.46", + "@babel/helper-plugin-utils": "7.0.0-beta.46", + "@babel/plugin-proposal-async-generator-functions": "7.0.0-beta.46", + "@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.46", + "@babel/plugin-proposal-optional-catch-binding": "7.0.0-beta.46", + "@babel/plugin-proposal-unicode-property-regex": "7.0.0-beta.46", + "@babel/plugin-syntax-async-generators": "7.0.0-beta.46", + "@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.46", + "@babel/plugin-syntax-optional-catch-binding": "7.0.0-beta.46", + "@babel/plugin-transform-arrow-functions": "7.0.0-beta.46", + "@babel/plugin-transform-async-to-generator": "7.0.0-beta.46", + "@babel/plugin-transform-block-scoped-functions": "7.0.0-beta.46", + "@babel/plugin-transform-block-scoping": "7.0.0-beta.46", + "@babel/plugin-transform-classes": "7.0.0-beta.46", + "@babel/plugin-transform-computed-properties": "7.0.0-beta.46", + "@babel/plugin-transform-destructuring": "7.0.0-beta.46", + "@babel/plugin-transform-dotall-regex": "7.0.0-beta.46", + "@babel/plugin-transform-duplicate-keys": "7.0.0-beta.46", + "@babel/plugin-transform-exponentiation-operator": "7.0.0-beta.46", + "@babel/plugin-transform-for-of": "7.0.0-beta.46", + "@babel/plugin-transform-function-name": "7.0.0-beta.46", + "@babel/plugin-transform-literals": "7.0.0-beta.46", + "@babel/plugin-transform-modules-amd": "7.0.0-beta.46", + "@babel/plugin-transform-modules-commonjs": "7.0.0-beta.46", + "@babel/plugin-transform-modules-systemjs": "7.0.0-beta.46", + "@babel/plugin-transform-modules-umd": "7.0.0-beta.46", + "@babel/plugin-transform-new-target": "7.0.0-beta.46", + "@babel/plugin-transform-object-super": "7.0.0-beta.46", + "@babel/plugin-transform-parameters": "7.0.0-beta.46", + "@babel/plugin-transform-regenerator": "7.0.0-beta.46", + "@babel/plugin-transform-shorthand-properties": "7.0.0-beta.46", + "@babel/plugin-transform-spread": "7.0.0-beta.46", + "@babel/plugin-transform-sticky-regex": "7.0.0-beta.46", + "@babel/plugin-transform-template-literals": "7.0.0-beta.46", + "@babel/plugin-transform-typeof-symbol": "7.0.0-beta.46", + "@babel/plugin-transform-unicode-regex": "7.0.0-beta.46", + "browserslist": "3.2.5", "invariant": "2.2.4", "semver": "5.5.0" }, "dependencies": { "browserslist": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.3.tgz", - "integrity": "sha512-cdpm0bFVz1KoRFuDTEk0IgxmZ2k2kTRKVlSQWf1RnxUe65GfjnMO30AxHpMkVv5wlPnpEYom7DhXwdMplKsKCw==", + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.5.tgz", + "integrity": "sha512-svi6zUwlR6uiQRwShFfNMSEWzwttsVqSFEcqlLOWsgJ4tYk0goE2KLNGzctsLUU3E1AGpES0cgiyzkvuFNIRIg==", "dev": true, "requires": { - "caniuse-lite": "1.0.30000820", - "electron-to-chromium": "1.3.40" + "caniuse-lite": "1.0.30000830", + "electron-to-chromium": "1.3.42" } + }, + "caniuse-lite": { + "version": "1.0.30000830", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000830.tgz", + "integrity": "sha512-yMqGkujkoOIZfvOYiWdqPALgY/PVGiqCHUJb6yNq7xhI/pR+gQO0U2K6lRDqAiJv4+CIU3CtTLblNGw0QGnr6g==", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.42", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.42.tgz", + "integrity": "sha1-lcM78B0MxAVVauyJn+Yf1NduoPk=", + "dev": true } } }, "@babel/template": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.42.tgz", - "integrity": "sha512-EK7YdTe47j4VxlwNvz5bnlk5Jx/wWublnqfgOY2IuSNdxCQgXrLD34PfTnabGxywNSkJkcSo6jwr2JGT+S48dA==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.46.tgz", + "integrity": "sha512-3/qi4m0l6G/vZbEwtqfzJk73mYtuE7nvAO1zT3/ZrTAHy4sHf2vaF9Eh1w+Tau263Yrkh0bjVQPb9zw6G+GeMQ==", "dev": true, "requires": { - "@babel/code-frame": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42", - "babylon": "7.0.0-beta.42", + "@babel/code-frame": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46", + "babylon": "7.0.0-beta.46", "lodash": "4.17.5" } }, "@babel/traverse": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.42.tgz", - "integrity": "sha512-DZwMuZBfYVIn/cxpXZzHDgKmarW/MWqplLv1k7QJYhK5r5l6GAac/DkKl75A0CjPYrD3VGco6H6ZQp12QaYKSw==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.46.tgz", + "integrity": "sha512-IU7MTGbcjpfhf5tyCu3sDB7sWYainZQcT+CqOBdVZXZfq5MMr130R7aiZBI2g5dJYUaW1PS81DVNpd0/Sq/Gzg==", "dev": true, "requires": { - "@babel/code-frame": "7.0.0-beta.42", - "@babel/generator": "7.0.0-beta.42", - "@babel/helper-function-name": "7.0.0-beta.42", - "@babel/helper-split-export-declaration": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42", - "babylon": "7.0.0-beta.42", + "@babel/code-frame": "7.0.0-beta.46", + "@babel/generator": "7.0.0-beta.46", + "@babel/helper-function-name": "7.0.0-beta.46", + "@babel/helper-split-export-declaration": "7.0.0-beta.46", + "@babel/types": "7.0.0-beta.46", + "babylon": "7.0.0-beta.46", "debug": "3.1.0", "globals": "11.4.0", "invariant": "2.2.4", @@ -701,9 +722,9 @@ } }, "@babel/types": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.42.tgz", - "integrity": "sha512-+pmpISmTHQqMMpHHtDLxcvtRhmn53bAxy8goJfHipS/uy/r3PLcuSdPizLW7DhtBWbtgIKZufLObfnIMoyMNsw==", + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.46.tgz", + "integrity": "sha512-uA5aruF2KKsJxToWdDpftsrPOIQtoGrGno2hiaeO9JRvfT9xZdK11nPoC+/RF9emNzmNbWn4HCRdCY+McT5Nbw==", "dev": true, "requires": { "esutils": "2.0.2", @@ -711,6 +732,24 @@ "to-fast-properties": "2.0.0" } }, + "@comandeer/babel-plugin-banner": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@comandeer/babel-plugin-banner/-/babel-plugin-banner-1.0.0.tgz", + "integrity": "sha1-QLzOC77ghLWwJUWjNjXQU8JINW8=", + "dev": true + }, + "@types/estree": { + "version": "0.0.38", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.38.tgz", + "integrity": "sha512-F/v7t1LwS4vnXuPooJQGBRKRGIoxWUTmA4VHfqjOccFsNDThD5bfUNpITive6s352O7o384wcpEaDV8rHCehDA==", + "dev": true + }, + "@types/node": { + "version": "9.6.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.6.tgz", + "integrity": "sha512-SJe0g5cZeGNDP5sD8mIX3scb+eq8LQQZ60FXiKZHipYSeEFZ5EKml+NNMiO76F74TY4PoMWlNxF/YRY40FOvZQ==", + "dev": true + }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -747,7 +786,7 @@ "dev": true, "requires": { "co": "4.6.0", - "fast-deep-equal": "1.1.0", + "fast-deep-equal": "1.2.0", "fast-json-stable-stringify": "2.0.0", "json-schema-traverse": "0.3.1" } @@ -799,6 +838,24 @@ "normalize-path": "2.1.1" } }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz", + "integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=", + "dev": true, + "optional": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.5" + } + }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -814,12 +871,12 @@ "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", "dev": true, "requires": { - "arr-flatten": "1.1.0" + "arr-flatten": "1.2.0" } }, "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.2.0.tgz", "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", "dev": true }, @@ -887,9 +944,9 @@ "dev": true }, "atob": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.0.3.tgz", - "integrity": "sha1-GcenYEc3dEaPILLS0DNyrX1Mv10=", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.0.tgz", + "integrity": "sha512-SuiKH8vbsOyCALjA/+EINmt/Kdl+TQPrtFgW7XZZcwtryFu9e5kQoX3bjCW6mIvGH1fbeAZZuvwGR5IlBRznGw==", "dev": true }, "babel-code-frame": { @@ -939,18 +996,179 @@ } } }, + "babel-core": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz", + "integrity": "sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g=", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-generator": "6.26.1", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.26.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "convert-source-map": "1.5.1", + "debug": "2.6.9", + "json5": "0.5.1", + "lodash": "4.17.5", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.8", + "slash": "1.0.0", + "source-map": "0.5.7" + }, + "dependencies": { + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, "babel-eslint": { - "version": "8.2.2", - "resolved": "http://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.2.tgz", - "integrity": "sha512-Qt2lz2egBxNYWqN9JIO2z4NOOf8i4b5JS6CFoYrOZZTDssueiV1jH/jsefyg+86SeNY3rB361/mi3kE1WK2WYQ==", + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.3.tgz", + "integrity": "sha512-0HeSTtaXg/Em7FCUWxwOT+KeFSO1O7LuRuzhk7g+1BjwdlQGlHq4OyMi3GqGxrNfEq8jEi6Hmt5ylEQUhurgiQ==", "dev": true, "requires": { - "@babel/code-frame": "7.0.0-beta.42", - "@babel/traverse": "7.0.0-beta.42", - "@babel/types": "7.0.0-beta.42", - "babylon": "7.0.0-beta.42", + "@babel/code-frame": "7.0.0-beta.44", + "@babel/traverse": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", "eslint-scope": "3.7.1", "eslint-visitor-keys": "1.0.0" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz", + "integrity": "sha512-cuAuTTIQ9RqcFRJ/Y8PvTh+paepNcaGxwQwjIDRWPXmzzyAeCO4KqS9ikMvq0MCbRk6GlYKwfzStrcP3/jSL8g==", + "dev": true, + "requires": { + "@babel/highlight": "7.0.0-beta.44" + } + }, + "@babel/generator": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.44.tgz", + "integrity": "sha512-5xVb7hlhjGcdkKpMXgicAVgx8syK5VJz193k0i/0sLP6DzE6lRrU1K3B/rFefgdo9LPGMAOOOAWW4jycj07ShQ==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44", + "jsesc": "2.5.1", + "lodash": "4.17.5", + "source-map": "0.5.7", + "trim-right": "1.0.1" + } + }, + "@babel/helper-function-name": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz", + "integrity": "sha512-MHRG2qZMKMFaBavX0LWpfZ2e+hLloT++N7rfM3DYOMUOGCD8cVjqZpwiL8a0bOX3IYcQev1ruciT0gdFFRTxzg==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "7.0.0-beta.44", + "@babel/template": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz", + "integrity": "sha512-w0YjWVwrM2HwP6/H3sEgrSQdkCaxppqFeJtAnB23pRiJB5E/O9Yp7JAAeWBl+gGEgmBFinnTyOv2RN7rcSmMiw==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz", + "integrity": "sha512-aQ7QowtkgKKzPGf0j6u77kBMdUFVBKNHw2p/3HX/POt5/oz8ec5cs0GwlgM8Hz7ui5EwJnzyfRmkNF1Nx1N7aA==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/highlight": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.44.tgz", + "integrity": "sha512-Il19yJvy7vMFm8AVAh6OZzaFoAd0hbkeMZiX3P5HGD+z7dyI7RzndHB0dg6Urh/VAFfHtpOIzDUSxmY6coyZWQ==", + "dev": true, + "requires": { + "chalk": "2.3.2", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + } + }, + "@babel/template": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.44.tgz", + "integrity": "sha512-w750Sloq0UNifLx1rUqwfbnC6uSUk0mfwwgGRfdLiaUzfAOiH0tHJE6ILQIUi3KYkjiCDTskoIsnfqZvWLBDng==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "lodash": "4.17.5" + } + }, + "@babel/traverse": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.44.tgz", + "integrity": "sha512-UHuDz8ukQkJCDASKHf+oDt3FVUzFd+QYfuBIsiNu/4+/ix6pP/C+uQZJ6K1oEfbCMv/IKWbgDEh7fcsnIE5AtA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/generator": "7.0.0-beta.44", + "@babel/helper-function-name": "7.0.0-beta.44", + "@babel/helper-split-export-declaration": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "debug": "3.1.0", + "globals": "11.4.0", + "invariant": "2.2.4", + "lodash": "4.17.5" + } + }, + "@babel/types": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.44.tgz", + "integrity": "sha512-5eTV4WRmqbaFM3v9gHAIljEQJU4Ssc6fxL61JN+Oe2ga/BwyjzjamwkCVVAQjHGuAX8i0BWo42dshL8eO5KfLQ==", + "dev": true, + "requires": { + "esutils": "2.0.2", + "lodash": "4.17.5", + "to-fast-properties": "2.0.0" + } + }, + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + } } }, "babel-generator": { @@ -977,160 +1195,971 @@ } } }, - "babel-messages": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", "dev": true, "requires": { - "babel-runtime": "6.26.0" + "babel-helper-explode-assignable-expression": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, - "babel-plugin-istanbul": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.5.tgz", - "integrity": "sha1-Z2DN2Xf0EdPhdbsGTyvDJ9mbK24=", + "babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", "dev": true, "requires": { - "find-up": "2.1.0", - "istanbul-lib-instrument": "1.10.1", - "test-exclude": "4.2.1" + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, - "babel-plugin-syntax-object-rest-spread": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", - "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", + "babel-helper-define-map": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.5" + } + }, + "babel-helper-evaluate-path": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.4.0.tgz", + "integrity": "sha1-LOvZ0j89wckSMpTntcD/M07BlDQ=", "dev": true }, - "babel-plugin-transform-es2015-modules-strip": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-strip/-/babel-plugin-transform-es2015-modules-strip-0.1.1.tgz", - "integrity": "sha1-c5PwccNWod+2rAMHfgwGy1ejEl8=", + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-flip-expressions": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.4.0.tgz", + "integrity": "sha1-NB2f+AKRNeidsbjpp1snxMxL8Ko=", "dev": true }, - "babel-plugin-transform-object-rest-spread": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", - "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", + "babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", "dev": true, "requires": { - "babel-plugin-syntax-object-rest-spread": "6.13.0", - "babel-runtime": "6.26.0" + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", "dev": true, "requires": { - "core-js": "2.5.3", - "regenerator-runtime": "0.11.1" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, - "babel-template": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", - "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", "dev": true, "requires": { "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "lodash": "4.17.5" - }, - "dependencies": { - "babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true - } + "babel-types": "6.26.0" } }, - "babel-traverse": { + "babel-helper-is-nodes-equiv": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz", + "integrity": "sha1-NOmzALFHnd2Y7HfqC76TQt/jloQ=", + "dev": true + }, + "babel-helper-is-void-0": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-helper-is-void-0/-/babel-helper-is-void-0-0.4.0.tgz", + "integrity": "sha1-/4aSGK3cras60wFH0zXS3vOV830=", + "dev": true + }, + "babel-helper-mark-eval-scopes": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.4.0.tgz", + "integrity": "sha1-tDJlrC3OZFHZlcMI9604bGkXBx8=", + "dev": true + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-regex": { "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", - "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", + "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", "dev": true, "requires": { - "babel-code-frame": "6.26.0", - "babel-messages": "6.23.0", "babel-runtime": "6.26.0", "babel-types": "6.26.0", - "babylon": "6.18.0", - "debug": "2.6.9", - "globals": "9.18.0", - "invariant": "2.2.4", "lodash": "4.17.5" - }, - "dependencies": { - "babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "globals": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", - "dev": true - } } }, - "babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", "dev": true, "requires": { + "babel-helper-function-name": "6.24.1", "babel-runtime": "6.26.0", - "esutils": "2.0.2", - "lodash": "4.17.5", - "to-fast-properties": "1.0.3" - }, - "dependencies": { - "to-fast-properties": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "dev": true - } + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, - "babylon": { - "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.42.tgz", - "integrity": "sha512-h6E/OkkvcBw/JimbL0p8dIaxrcuQn3QmIYGC/GtJlRYif5LTKBYPHXYwqluJpfS/kOXoz0go+9mkmOVC0M+zWw==", - "dev": true - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "babel-helper-remove-or-void": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.4.0.tgz", + "integrity": "sha1-ZUqcwtzCF+vtZmy0SqaH3FtwVzE=", "dev": true }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", "dev": true, "requires": { - "cache-base": "1.0.1", - "class-utils": "0.3.6", - "component-emitter": "1.2.1", + "babel-helper-optimise-call-expression": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-to-multiple-sequence-expressions": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.4.0.tgz", + "integrity": "sha1-RYr9QuIYUXaYFbjz0CtqUf9u6bc=", + "dev": true + }, + "babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-minify": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-minify/-/babel-minify-0.4.0.tgz", + "integrity": "sha1-w9p1QzasGxsrjg9DitzHiLQ8k0s=", + "dev": true, + "requires": { + "@babel/core": "7.0.0-beta.46", + "babel-preset-minify": "0.4.0", + "fs-readdir-recursive": "1.2.0", + "mkdirp": "0.5.1", + "util.promisify": "1.0.0", + "yargs-parser": "9.0.2" + } + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-external-helpers": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-external-helpers/-/babel-plugin-external-helpers-6.22.0.tgz", + "integrity": "sha1-IoX0iwK9Xe3oUXXK+MYuhq3M76E=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-istanbul": { + "version": "4.1.6", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz", + "integrity": "sha512-PWP9FQ1AhZhS01T/4qLSKoHGY/xvkZdVBGlKM/HuxxS3+sC66HhTNR7+MpbO/so/cz/wY94MeSWJuP1hXIPfwQ==", + "dev": true, + "requires": { + "babel-plugin-syntax-object-rest-spread": "6.13.0", + "find-up": "2.1.0", + "istanbul-lib-instrument": "1.10.1", + "test-exclude": "4.2.1" + } + }, + "babel-plugin-minify-builtins": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.4.0.tgz", + "integrity": "sha1-UwhjVq5FvhHZM1551bjfjZm1bcY=", + "dev": true, + "requires": { + "babel-helper-evaluate-path": "0.4.0" + } + }, + "babel-plugin-minify-constant-folding": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.4.0.tgz", + "integrity": "sha1-HKygo4kURlw1pw9okMmIJQxNTic=", + "dev": true, + "requires": { + "babel-helper-evaluate-path": "0.4.0" + } + }, + "babel-plugin-minify-dead-code-elimination": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.4.0.tgz", + "integrity": "sha1-FWp7he8xf9D/ENcLeSJyQzVYhPo=", + "dev": true, + "requires": { + "babel-helper-evaluate-path": "0.4.0", + "babel-helper-mark-eval-scopes": "0.4.0", + "babel-helper-remove-or-void": "0.4.0", + "lodash.some": "4.6.0" + } + }, + "babel-plugin-minify-flip-comparisons": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.4.0.tgz", + "integrity": "sha1-vC1v7gCqoRNsbWdTMS9Uo63bYKM=", + "dev": true, + "requires": { + "babel-helper-is-void-0": "0.4.0" + } + }, + "babel-plugin-minify-guarded-expressions": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.4.0.tgz", + "integrity": "sha1-t1xhxNFKV61syjcZJPO4xZICeJ8=", + "dev": true, + "requires": { + "babel-helper-flip-expressions": "0.4.0" + } + }, + "babel-plugin-minify-infinity": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.4.0.tgz", + "integrity": "sha1-cHYDQDKyucf7Ru9reH1VDWl5DCE=", + "dev": true + }, + "babel-plugin-minify-mangle-names": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.4.0.tgz", + "integrity": "sha1-0SdB+2TdKOubQv4eESmDglEsEDM=", + "dev": true, + "requires": { + "babel-helper-mark-eval-scopes": "0.4.0" + } + }, + "babel-plugin-minify-numeric-literals": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.4.0.tgz", + "integrity": "sha1-l7VPY0HH3FJSb5Z/A7mHwy4q3GE=", + "dev": true + }, + "babel-plugin-minify-replace": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.4.0.tgz", + "integrity": "sha1-O7gElNw0CywZ69j7sUMWkdjTRCk=", + "dev": true + }, + "babel-plugin-minify-simplify": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.4.0.tgz", + "integrity": "sha1-nHSuKvCzUPpmr6PBVBqdtYi5a9s=", + "dev": true, + "requires": { + "babel-helper-flip-expressions": "0.4.0", + "babel-helper-is-nodes-equiv": "0.0.1", + "babel-helper-to-multiple-sequence-expressions": "0.4.0" + } + }, + "babel-plugin-minify-type-constructors": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.4.0.tgz", + "integrity": "sha1-NGfDyEfG1vLDuACUFLSshXqpuzY=", + "dev": true, + "requires": { + "babel-helper-is-void-0": "0.4.0" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "dev": true + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", + "dev": true + }, + "babel-plugin-syntax-object-rest-spread": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", + "dev": true + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", + "dev": true + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-functions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.5" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "dev": true, + "requires": { + "babel-helper-define-map": "6.26.0", + "babel-helper-function-name": "6.24.1", + "babel-helper-optimise-call-expression": "6.24.1", + "babel-helper-replace-supers": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz", + "integrity": "sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo=", + "dev": true, + "requires": { + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-strip": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-strip/-/babel-plugin-transform-es2015-modules-strip-0.1.1.tgz", + "integrity": "sha1-c5PwccNWod+2rAMHfgwGy1ejEl8=", + "dev": true + }, + "babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "dev": true, + "requires": { + "babel-helper-replace-supers": "6.24.1", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", + "dev": true, + "requires": { + "babel-helper-call-delegate": "6.24.1", + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", + "dev": true, + "requires": { + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", + "dev": true, + "requires": { + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "regexpu-core": "2.0.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + }, + "regexpu-core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", + "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", + "dev": true, + "requires": { + "regenerate": "1.3.3", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + }, + "regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", + "dev": true + }, + "regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "dev": true, + "requires": { + "jsesc": "0.5.0" + } + } + } + }, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", + "dev": true, + "requires": { + "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", + "babel-plugin-syntax-exponentiation-operator": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-inline-consecutive-adds": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.4.0.tgz", + "integrity": "sha1-GqB1oSxrWhOMspQkfuEXKpieFOA=", + "dev": true + }, + "babel-plugin-transform-member-expression-literals": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.9.1.tgz", + "integrity": "sha1-lr4umWjn9UlzM64DKE7NU0BAVIk=", + "dev": true + }, + "babel-plugin-transform-merge-sibling-variables": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.9.1.tgz", + "integrity": "sha1-kHHkQ7IUWM5rCo04QbpaF09dwoI=", + "dev": true + }, + "babel-plugin-transform-minify-booleans": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.1.tgz", + "integrity": "sha1-UsunnAD6UJc3BkBV76siFm4UDE0=", + "dev": true + }, + "babel-plugin-transform-object-rest-spread": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", + "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", + "dev": true, + "requires": { + "babel-plugin-syntax-object-rest-spread": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-property-literals": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.9.1.tgz", + "integrity": "sha1-aXD5Oxd5OrzenPJdLozRPgCI5ck=", + "dev": true, + "requires": { + "esutils": "2.0.2" + } + }, + "babel-plugin-transform-regenerator": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", + "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", + "dev": true, + "requires": { + "regenerator-transform": "0.10.1" + }, + "dependencies": { + "regenerator-transform": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", + "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "private": "0.1.8" + } + } + } + }, + "babel-plugin-transform-regexp-constructors": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.4.0.tgz", + "integrity": "sha1-dWu0XAOBPcNpWQntAni0IZ9uxsw=", + "dev": true + }, + "babel-plugin-transform-remove-console": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.1.tgz", + "integrity": "sha1-QP6V2YyuWBHYoOGImBLXixKFllE=", + "dev": true + }, + "babel-plugin-transform-remove-debugger": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.9.1.tgz", + "integrity": "sha1-dlUtLp1sQ9nGdrv8CPPCoswUvhQ=", + "dev": true + }, + "babel-plugin-transform-remove-undefined": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.4.0.tgz", + "integrity": "sha1-+ipRMK6HTJlDKpvESiT7YZvA8sc=", + "dev": true, + "requires": { + "babel-helper-evaluate-path": "0.4.0" + } + }, + "babel-plugin-transform-simplify-comparison-operators": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.9.1.tgz", + "integrity": "sha1-Ww0GmAoXp4D1MYsnTAC+L7HHxP4=", + "dev": true + }, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-undefined-to-void": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.9.1.tgz", + "integrity": "sha1-19+cHdDsEuD/6JXtFEX2Hxv14iE=", + "dev": true + }, + "babel-preset-env": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.6.1.tgz", + "integrity": "sha512-W6VIyA6Ch9ePMI7VptNn2wBM6dbG0eSz25HEiL40nQXCsXGTGZSTZu1Iap+cj3Q0S5a7T9+529l/5Bkvd+afNA==", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "2.11.3", + "invariant": "2.2.4", + "semver": "5.5.0" + } + }, + "babel-preset-minify": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/babel-preset-minify/-/babel-preset-minify-0.4.0.tgz", + "integrity": "sha1-NOYHdoM2LN2nYR1SLgZOAsFBN/s=", + "dev": true, + "requires": { + "babel-plugin-minify-builtins": "0.4.0", + "babel-plugin-minify-constant-folding": "0.4.0", + "babel-plugin-minify-dead-code-elimination": "0.4.0", + "babel-plugin-minify-flip-comparisons": "0.4.0", + "babel-plugin-minify-guarded-expressions": "0.4.0", + "babel-plugin-minify-infinity": "0.4.0", + "babel-plugin-minify-mangle-names": "0.4.0", + "babel-plugin-minify-numeric-literals": "0.4.0", + "babel-plugin-minify-replace": "0.4.0", + "babel-plugin-minify-simplify": "0.4.0", + "babel-plugin-minify-type-constructors": "0.4.0", + "babel-plugin-transform-inline-consecutive-adds": "0.4.0", + "babel-plugin-transform-member-expression-literals": "6.9.1", + "babel-plugin-transform-merge-sibling-variables": "6.9.1", + "babel-plugin-transform-minify-booleans": "6.9.1", + "babel-plugin-transform-property-literals": "6.9.1", + "babel-plugin-transform-regexp-constructors": "0.4.0", + "babel-plugin-transform-remove-console": "6.9.1", + "babel-plugin-transform-remove-debugger": "6.9.1", + "babel-plugin-transform-remove-undefined": "0.4.0", + "babel-plugin-transform-simplify-comparison-operators": "6.9.1", + "babel-plugin-transform-undefined-to-void": "6.9.1", + "lodash.isplainobject": "4.0.6" + } + }, + "babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "dev": true, + "requires": { + "babel-core": "6.26.0", + "babel-runtime": "6.26.0", + "core-js": "2.5.3", + "home-or-tmp": "2.0.0", + "lodash": "4.17.5", + "mkdirp": "0.5.1", + "source-map-support": "0.4.18" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "requires": { + "core-js": "2.5.3", + "regenerator-runtime": "0.11.1" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "lodash": "4.17.5" + }, + "dependencies": { + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + } + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "debug": "2.6.9", + "globals": "9.18.0", + "invariant": "2.2.4", + "lodash": "4.17.5" + }, + "dependencies": { + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true + } + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.5", + "to-fast-properties": "1.0.3" + }, + "dependencies": { + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true + } + } + }, + "babylon": { + "version": "7.0.0-beta.46", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.46.tgz", + "integrity": "sha512-WFJlg2WatdkXRFMpk7BN/Uzzkjkcjk+WaqnrSCpay+RYl4ypW9ZetZyT9kNt22IH/BQNst3M6PaaBn9IXsUNrg==", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "1.0.1", + "class-utils": "0.3.6", + "component-emitter": "1.2.1", "define-property": "1.0.0", "isobject": "3.0.1", "mixin-deep": "1.3.1", @@ -1146,11 +2175,46 @@ "is-descriptor": "1.0.2" } }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, "isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true } } }, @@ -1308,7 +2372,7 @@ "requires": { "anymatch": "1.3.2", "async-each": "1.0.1", - "fsevents": "1.1.3", + "fsevents": "1.2.0", "glob-parent": "2.0.0", "inherits": "2.0.3", "is-binary-path": "1.0.1", @@ -1317,82 +2381,44 @@ "readdirp": "2.1.0" } }, - "circular-json": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", - "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", - "dev": true - }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "chownr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz", + "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=", "dev": true, - "requires": { - "arr-union": "3.1.0", - "define-property": "0.2.5", - "isobject": "3.0.1", - "static-extend": "0.1.2" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "0.1.6" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "optional": true + }, + "ci-info": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz", + "integrity": "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==", + "dev": true + }, + "circular-json": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", + "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", + "dev": true + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "define-property": "0.2.5", + "isobject": "3.0.1", + "static-extend": "0.1.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, "requires": { - "is-accessor-descriptor": "0.1.6", - "is-data-descriptor": "0.1.4", - "kind-of": "5.1.0" + "is-descriptor": "0.1.6" } }, "isobject": { @@ -1400,12 +2426,6 @@ "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true } } }, @@ -1436,6 +2456,12 @@ "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", "dev": true }, + "code-point-at": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.2.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -1492,9 +2518,9 @@ } }, "configstore": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.1.tgz", - "integrity": "sha512-5oNkD/L++l0O6xGXxb1EWS7SivtjfGQlRyxJsYgE0Z495/L81e2h4/d3r969hoPXuFItzNOKMtsXgYG4c7dYvw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz", + "integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==", "dev": true, "requires": { "dot-prop": "4.2.0", @@ -1505,6 +2531,12 @@ "xdg-basedir": "3.0.0" } }, + "console-control-strings": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.2.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, "convert-source-map": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", @@ -1572,6 +2604,14 @@ "dev": true, "requires": { "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } }, "decode-uri-component": { @@ -1612,11 +2652,46 @@ "isobject": "3.0.1" }, "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, "isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true } } }, @@ -1635,6 +2710,19 @@ "rimraf": "2.6.2" } }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true, + "optional": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, "detect-indent": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", @@ -1644,6 +2732,13 @@ "repeating": "2.0.1" } }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true, + "optional": true + }, "doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", @@ -1744,7 +2839,7 @@ "ignore": "3.3.7", "imurmurhash": "0.1.4", "inquirer": "3.3.0", - "is-resolvable": "1.1.0", + "is-resolvable": "1.2.0", "js-yaml": "3.11.0", "json-stable-stringify-without-jsonify": "1.0.1", "levn": "0.3.0", @@ -1834,6 +2929,12 @@ "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", "dev": true }, + "estree-walker": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.1.tgz", + "integrity": "sha512-7HgCgz1axW7w5aOvgOQkoR1RMBkllygJrssU3BvymKQ95lxXYv6Pon17fBRDm9qhkvXZGijOULoSF9ShOk/ZLg==", + "dev": true + }, "esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", @@ -1863,7 +2964,7 @@ "requires": { "cross-spawn": "5.1.0", "get-stream": "3.0.0", - "is-stream": "1.1.0", + "is-stream": "1.2.0", "npm-run-path": "2.0.2", "p-finally": "1.0.0", "signal-exit": "3.0.2", @@ -1936,8 +3037,8 @@ } }, "fast-deep-equal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.2.0.tgz", "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", "dev": true }, @@ -2048,9 +3149,19 @@ "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", "dev": true }, + "fs-minipass": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", + "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, "fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.2.0.tgz", "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", "dev": true }, @@ -2061,27 +3172,23 @@ "dev": true }, "fsevents": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz", - "integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.0.tgz", + "integrity": "sha512-ROrBIbmw4ulxmQTwYAAGyN/0xgIOAFd6gX/K3F1aGLP/K5KxkubrlGISMV5EEWEB7qtiEdE0HpaqvMMHR+Ib6w==", "dev": true, "optional": true, "requires": { "nan": "2.10.0", - "node-pre-gyp": "0.6.39" + "node-pre-gyp": "0.9.1" }, "dependencies": { "abbrev": { - "version": "1.1.0", - "bundled": true, - "dev": true, - "optional": true + "version": "1.2.0", + "bundled": true }, "ajv": { "version": "4.11.8", "bundled": true, - "dev": true, - "optional": true, "requires": { "co": "4.6.0", "json-stable-stringify": "1.0.1" @@ -2089,20 +3196,15 @@ }, "ansi-regex": { "version": "2.1.1", - "bundled": true, - "dev": true + "bundled": true }, "aproba": { "version": "1.1.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "are-we-there-yet": { "version": "1.1.4", "bundled": true, - "dev": true, - "optional": true, "requires": { "delegates": "1.0.0", "readable-stream": "2.2.9" @@ -2110,43 +3212,31 @@ }, "asn1": { "version": "0.2.3", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "assert-plus": { "version": "0.2.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "asynckit": { "version": "0.4.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "aws-sign2": { "version": "0.6.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "aws4": { "version": "1.6.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "balanced-match": { "version": "0.4.2", - "bundled": true, - "dev": true + "bundled": true }, "bcrypt-pbkdf": { "version": "1.0.1", "bundled": true, - "dev": true, "optional": true, "requires": { "tweetnacl": "0.14.5" @@ -2155,7 +3245,6 @@ "block-stream": { "version": "0.0.9", "bundled": true, - "dev": true, "requires": { "inherits": "2.0.3" } @@ -2163,7 +3252,6 @@ "boom": { "version": "2.10.1", "bundled": true, - "dev": true, "requires": { "hoek": "2.16.3" } @@ -2171,7 +3259,6 @@ "brace-expansion": { "version": "1.1.7", "bundled": true, - "dev": true, "requires": { "balanced-match": "0.4.2", "concat-map": "0.0.1" @@ -2179,53 +3266,42 @@ }, "buffer-shims": { "version": "1.0.0", - "bundled": true, - "dev": true + "bundled": true }, "caseless": { "version": "0.12.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "co": { "version": "4.6.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "code-point-at": { - "version": "1.1.0", - "bundled": true, - "dev": true + "version": "1.2.0", + "bundled": true }, "combined-stream": { "version": "1.0.5", "bundled": true, - "dev": true, "requires": { "delayed-stream": "1.0.0" } }, "concat-map": { "version": "0.0.1", - "bundled": true, - "dev": true + "bundled": true }, "console-control-strings": { - "version": "1.1.0", - "bundled": true, - "dev": true + "version": "1.2.0", + "bundled": true }, "core-util-is": { "version": "1.0.2", - "bundled": true, - "dev": true + "bundled": true }, "cryptiles": { "version": "2.0.5", "bundled": true, - "dev": true, "requires": { "boom": "2.10.1" } @@ -2233,56 +3309,42 @@ "dashdash": { "version": "1.14.1", "bundled": true, - "dev": true, - "optional": true, "requires": { "assert-plus": "1.0.0" }, "dependencies": { "assert-plus": { "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true } } }, "debug": { "version": "2.6.8", "bundled": true, - "dev": true, - "optional": true, "requires": { "ms": "2.0.0" } }, "deep-extend": { "version": "0.4.2", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "delayed-stream": { "version": "1.0.0", - "bundled": true, - "dev": true + "bundled": true }, "delegates": { "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "detect-libc": { "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "ecc-jsbn": { "version": "0.1.1", "bundled": true, - "dev": true, "optional": true, "requires": { "jsbn": "0.1.1" @@ -2290,26 +3352,19 @@ }, "extend": { "version": "3.0.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "extsprintf": { "version": "1.0.2", - "bundled": true, - "dev": true + "bundled": true }, "forever-agent": { "version": "0.6.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "form-data": { "version": "2.1.4", "bundled": true, - "dev": true, - "optional": true, "requires": { "asynckit": "0.4.0", "combined-stream": "1.0.5", @@ -2318,13 +3373,11 @@ }, "fs.realpath": { "version": "1.0.0", - "bundled": true, - "dev": true + "bundled": true }, "fstream": { "version": "1.0.11", "bundled": true, - "dev": true, "requires": { "graceful-fs": "4.1.11", "inherits": "2.0.3", @@ -2335,8 +3388,6 @@ "fstream-ignore": { "version": "1.0.5", "bundled": true, - "dev": true, - "optional": true, "requires": { "fstream": "1.0.11", "inherits": "2.0.3", @@ -2346,11 +3397,9 @@ "gauge": { "version": "2.7.4", "bundled": true, - "dev": true, - "optional": true, "requires": { "aproba": "1.1.1", - "console-control-strings": "1.1.0", + "console-control-strings": "1.2.0", "has-unicode": "2.0.1", "object-assign": "4.1.1", "signal-exit": "3.0.2", @@ -2362,24 +3411,19 @@ "getpass": { "version": "0.1.7", "bundled": true, - "dev": true, - "optional": true, "requires": { "assert-plus": "1.0.0" }, "dependencies": { "assert-plus": { "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true } } }, "glob": { "version": "7.1.2", "bundled": true, - "dev": true, "requires": { "fs.realpath": "1.0.0", "inflight": "1.0.6", @@ -2391,20 +3435,15 @@ }, "graceful-fs": { "version": "4.1.11", - "bundled": true, - "dev": true + "bundled": true }, "har-schema": { "version": "1.0.5", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "har-validator": { "version": "4.2.1", "bundled": true, - "dev": true, - "optional": true, "requires": { "ajv": "4.11.8", "har-schema": "1.0.5" @@ -2412,14 +3451,11 @@ }, "has-unicode": { "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "hawk": { "version": "3.1.3", "bundled": true, - "dev": true, "requires": { "boom": "2.10.1", "cryptiles": "2.0.5", @@ -2429,14 +3465,11 @@ }, "hoek": { "version": "2.16.3", - "bundled": true, - "dev": true + "bundled": true }, "http-signature": { "version": "1.1.1", "bundled": true, - "dev": true, - "optional": true, "requires": { "assert-plus": "0.2.0", "jsprim": "1.4.0", @@ -2446,7 +3479,6 @@ "inflight": { "version": "1.0.6", "bundled": true, - "dev": true, "requires": { "once": "1.4.0", "wrappy": "1.0.2" @@ -2454,44 +3486,34 @@ }, "inherits": { "version": "2.0.3", - "bundled": true, - "dev": true + "bundled": true }, "ini": { "version": "1.3.4", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, - "dev": true, "requires": { "number-is-nan": "1.0.1" } }, "is-typedarray": { "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "isarray": { "version": "1.0.0", - "bundled": true, - "dev": true + "bundled": true }, "isstream": { "version": "0.1.2", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "jodid25519": { "version": "1.0.2", "bundled": true, - "dev": true, "optional": true, "requires": { "jsbn": "0.1.1" @@ -2500,41 +3522,30 @@ "jsbn": { "version": "0.1.1", "bundled": true, - "dev": true, "optional": true }, "json-schema": { "version": "0.2.3", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "json-stable-stringify": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true, "requires": { "jsonify": "0.0.0" } }, "json-stringify-safe": { "version": "5.0.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "jsonify": { "version": "0.0.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "jsprim": { "version": "1.4.0", "bundled": true, - "dev": true, - "optional": true, "requires": { "assert-plus": "1.0.0", "extsprintf": "1.0.2", @@ -2544,21 +3555,17 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true } } }, "mime-db": { "version": "1.27.0", - "bundled": true, - "dev": true + "bundled": true }, "mime-types": { "version": "2.1.15", "bundled": true, - "dev": true, "requires": { "mime-db": "1.27.0" } @@ -2566,113 +3573,73 @@ "minimatch": { "version": "3.0.4", "bundled": true, - "dev": true, "requires": { "brace-expansion": "1.1.7" } }, "minimist": { "version": "0.0.8", - "bundled": true, - "dev": true + "bundled": true }, "mkdirp": { "version": "0.5.1", "bundled": true, - "dev": true, - "requires": { - "minimist": "0.0.8" - } - }, - "ms": { - "version": "2.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "node-pre-gyp": { - "version": "0.6.39", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "detect-libc": "1.0.2", - "hawk": "3.1.3", - "mkdirp": "0.5.1", - "nopt": "4.0.1", - "npmlog": "4.1.0", - "rc": "1.2.1", - "request": "2.81.0", - "rimraf": "2.6.1", - "semver": "5.3.0", - "tar": "2.2.1", - "tar-pack": "3.4.0" + "requires": { + "minimist": "0.0.8" } }, + "ms": { + "version": "2.0.0", + "bundled": true + }, "nopt": { "version": "4.0.1", "bundled": true, - "dev": true, - "optional": true, "requires": { - "abbrev": "1.1.0", + "abbrev": "1.2.0", "osenv": "0.1.4" } }, "npmlog": { "version": "4.1.0", "bundled": true, - "dev": true, - "optional": true, "requires": { "are-we-there-yet": "1.1.4", - "console-control-strings": "1.1.0", + "console-control-strings": "1.2.0", "gauge": "2.7.4", "set-blocking": "2.0.0" } }, "number-is-nan": { "version": "1.0.1", - "bundled": true, - "dev": true + "bundled": true }, "oauth-sign": { "version": "0.8.2", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "object-assign": { "version": "4.1.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "once": { "version": "1.4.0", "bundled": true, - "dev": true, "requires": { "wrappy": "1.0.2" } }, "os-homedir": { "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "os-tmpdir": { "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "osenv": { "version": "0.1.4", "bundled": true, - "dev": true, - "optional": true, "requires": { "os-homedir": "1.0.2", "os-tmpdir": "1.0.2" @@ -2680,37 +3647,27 @@ }, "path-is-absolute": { "version": "1.0.1", - "bundled": true, - "dev": true + "bundled": true }, "performance-now": { "version": "0.2.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "process-nextick-args": { "version": "1.0.7", - "bundled": true, - "dev": true + "bundled": true }, "punycode": { "version": "1.4.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "qs": { "version": "6.4.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "rc": { "version": "1.2.1", "bundled": true, - "dev": true, - "optional": true, "requires": { "deep-extend": "0.4.2", "ini": "1.3.4", @@ -2720,16 +3677,13 @@ "dependencies": { "minimist": { "version": "1.2.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true } } }, "readable-stream": { "version": "2.2.9", "bundled": true, - "dev": true, "requires": { "buffer-shims": "1.0.0", "core-util-is": "1.0.2", @@ -2743,8 +3697,6 @@ "request": { "version": "2.81.0", "bundled": true, - "dev": true, - "optional": true, "requires": { "aws-sign2": "0.6.0", "aws4": "1.6.0", @@ -2773,38 +3725,29 @@ "rimraf": { "version": "2.6.1", "bundled": true, - "dev": true, "requires": { "glob": "7.1.2" } }, "safe-buffer": { "version": "5.0.1", - "bundled": true, - "dev": true + "bundled": true }, "semver": { "version": "5.3.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "set-blocking": { "version": "2.0.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "signal-exit": { "version": "3.0.2", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "sntp": { "version": "1.0.9", "bundled": true, - "dev": true, "requires": { "hoek": "2.16.3" } @@ -2812,8 +3755,6 @@ "sshpk": { "version": "1.13.0", "bundled": true, - "dev": true, - "optional": true, "requires": { "asn1": "0.2.3", "assert-plus": "1.0.0", @@ -2828,18 +3769,15 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true + "bundled": true } } }, "string-width": { "version": "1.0.2", "bundled": true, - "dev": true, "requires": { - "code-point-at": "1.1.0", + "code-point-at": "1.2.0", "is-fullwidth-code-point": "1.0.0", "strip-ansi": "3.0.1" } @@ -2847,35 +3785,28 @@ "string_decoder": { "version": "1.0.1", "bundled": true, - "dev": true, "requires": { "safe-buffer": "5.0.1" } }, "stringstream": { "version": "0.0.5", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "strip-ansi": { "version": "3.0.1", "bundled": true, - "dev": true, "requires": { "ansi-regex": "2.1.1" } }, "strip-json-comments": { "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "tar": { "version": "2.2.1", "bundled": true, - "dev": true, "requires": { "block-stream": "0.0.9", "fstream": "1.0.11", @@ -2885,8 +3816,6 @@ "tar-pack": { "version": "3.4.0", "bundled": true, - "dev": true, - "optional": true, "requires": { "debug": "2.6.8", "fstream": "1.0.11", @@ -2901,8 +3830,6 @@ "tough-cookie": { "version": "2.3.2", "bundled": true, - "dev": true, - "optional": true, "requires": { "punycode": "1.4.1" } @@ -2910,8 +3837,6 @@ "tunnel-agent": { "version": "0.6.0", "bundled": true, - "dev": true, - "optional": true, "requires": { "safe-buffer": "5.0.1" } @@ -2919,31 +3844,23 @@ "tweetnacl": { "version": "0.14.5", "bundled": true, - "dev": true, "optional": true }, "uid-number": { "version": "0.0.6", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "util-deprecate": { "version": "1.0.2", - "bundled": true, - "dev": true + "bundled": true }, "uuid": { "version": "3.0.1", - "bundled": true, - "dev": true, - "optional": true + "bundled": true }, "verror": { "version": "1.3.6", "bundled": true, - "dev": true, - "optional": true, "requires": { "extsprintf": "1.0.2" } @@ -2951,16 +3868,13 @@ "wide-align": { "version": "1.1.2", "bundled": true, - "dev": true, - "optional": true, "requires": { "string-width": "1.0.2" } }, "wrappy": { "version": "1.0.2", - "bundled": true, - "dev": true + "bundled": true } } }, @@ -2976,6 +3890,56 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "optional": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.2.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "optional": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "optional": true, + "requires": { + "code-point-at": "1.2.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + } + } + }, "get-stream": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", @@ -3060,8 +4024,8 @@ "duplexer3": "0.1.4", "get-stream": "3.0.0", "is-redirect": "1.0.0", - "is-retry-allowed": "1.1.0", - "is-stream": "1.1.0", + "is-retry-allowed": "1.2.0", + "is-stream": "1.2.0", "lowercase-keys": "1.0.1", "safe-buffer": "5.1.1", "timed-out": "4.0.1", @@ -3099,6 +4063,13 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true, + "optional": true + }, "has-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", @@ -3159,6 +4130,16 @@ } } }, + "home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "dev": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, "hosted-git-info": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz", @@ -3183,6 +4164,16 @@ "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=", "dev": true }, + "ignore-walk": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", + "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", + "dev": true, + "optional": true, + "requires": { + "minimatch": "3.0.4" + } + }, "import-lazy": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", @@ -3239,6 +4230,12 @@ "through": "2.3.8" } }, + "interpret": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz", + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", + "dev": true + }, "invariant": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", @@ -3249,20 +4246,12 @@ } }, "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "dev": true, "requires": { - "kind-of": "6.0.2" - }, - "dependencies": { - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } + "kind-of": "3.2.2" } }, "is-arrayish": { @@ -3301,21 +4290,22 @@ "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=", "dev": true }, + "is-ci": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.0.tgz", + "integrity": "sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==", + "dev": true, + "requires": { + "ci-info": "1.1.3" + } + }, "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "dev": true, "requires": { - "kind-of": "6.0.2" - }, - "dependencies": { - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } + "kind-of": "3.2.2" } }, "is-date-object": { @@ -3325,20 +4315,20 @@ "dev": true }, "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "dev": true, "requires": { - "is-accessor-descriptor": "1.0.0", - "is-data-descriptor": "1.0.0", - "kind-of": "6.0.2" + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" }, "dependencies": { "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true } } @@ -3404,6 +4394,12 @@ "is-path-inside": "1.0.1" } }, + "is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "dev": true + }, "is-npm": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", @@ -3467,8 +4463,8 @@ } }, "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.2.0.tgz", "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", "dev": true }, @@ -3523,20 +4519,20 @@ } }, "is-resolvable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.2.0.tgz", "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", "dev": true }, "is-retry-allowed": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=", "dev": true }, "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.2.0.tgz", "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, @@ -3724,6 +4720,18 @@ "integrity": "sha512-svL3uiZf1RwhH+cWrfZn3A4+U58wbP0tGVTLQPbjplZxZ8ROD9VLuNgsRniTlLe7OlSqR79RUehXgpBW/s0IQw==", "dev": true }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", + "dev": true + }, + "lodash.some": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", + "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=", + "dev": true + }, "loose-envify": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", @@ -3749,6 +4757,15 @@ "yallist": "2.1.2" } }, + "magic-string": { + "version": "0.22.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", + "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", + "dev": true, + "requires": { + "vlq": "0.2.3" + } + }, "make-dir": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.2.0.tgz", @@ -3844,6 +4861,34 @@ "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "dev": true }, + "minipass": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.2.4.tgz", + "integrity": "sha512-hzXIWWet/BzWhYs2b+u7dRHlruXhwdgvlTMDKC6Cb1U7ps6Ac6yQlR39xsbjWJE377YTCtKwIXIpJ5oP+j5y8g==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + }, + "dependencies": { + "yallist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", + "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=", + "dev": true + } + } + }, + "minizlib": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.0.tgz", + "integrity": "sha512-4T6Ur/GctZ27nHfpt9THOdRZNgyJ9FZchYO1ceg5S8Q3DNLCKYy44nCZzgCJgcvx2UM8czmqak5BCxJMrq37lA==", + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, "mixin-deep": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", @@ -3875,10 +4920,9 @@ } }, "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" }, "mute-stream": { "version": "0.0.7", @@ -3939,22 +4983,62 @@ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, + "needle": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.2.0.tgz", + "integrity": "sha512-eFagy6c+TYayorXw/qtAdSvaUpEbBsDwDyxYFgLZ0lTojfH7K+OdBqAF7TAFwDokJaGpubpSGG0wO3iC0XPi8w==", + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.9", + "iconv-lite": "0.4.19", + "sax": "1.2.4" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "optional": true + } + } + }, + "node-pre-gyp": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.9.1.tgz", + "integrity": "sha1-8RwHUW3ZL4cZnbx+GDjqt81WyeA=", + "dev": true, + "optional": true, + "requires": { + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.2", + "rc": "1.2.6", + "rimraf": "2.6.2", + "semver": "5.5.0", + "tar": "4.4.1" + } + }, "nodemon": { - "version": "1.17.2", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-1.17.2.tgz", - "integrity": "sha512-v1fVfgaZanBHP/ZOc9V72uKKIF4dcRfZV7GISNVi/w/g5pwB7nIvOK+RGULjrzhs97cwUX41cM4+dlw+bg2igw==", + "version": "1.17.3", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-1.17.3.tgz", + "integrity": "sha512-8AtS+wA5u6qoE12LONjqOzUzxAI5ObzSw6U5LgqpaO/0y6wwId4l5dN0ZulYyYdpLZD1MbkBp7GjG1hqaoRqYg==", "dev": true, "requires": { "chokidar": "2.0.3", "debug": "3.1.0", "ignore-by-default": "1.0.1", "minimatch": "3.0.4", - "pstree.remy": "1.1.0", + "pstree.remy": "1.2.0", "semver": "5.5.0", "supports-color": "5.3.0", "touch": "3.1.0", "undefsafe": "2.0.2", - "update-notifier": "2.3.0" + "update-notifier": "2.5.0" }, "dependencies": { "anymatch": { @@ -3980,34 +5064,23 @@ "dev": true }, "braces": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.1.tgz", - "integrity": "sha512-SO5lYHA3vO6gz66erVvedSCkp7AKWdv6VcQ2N4ysXfPxdAlxAMMAdwegGGcv1Bqwm7naF1hNdk5d6AAIEHV2nQ==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "dev": true, "requires": { - "arr-flatten": "1.1.0", + "arr-flatten": "1.2.0", "array-unique": "0.3.2", - "define-property": "1.0.0", "extend-shallow": "2.0.1", "fill-range": "4.0.0", "isobject": "3.0.1", - "kind-of": "6.0.2", "repeat-element": "1.1.2", "snapdragon": "0.8.2", "snapdragon-node": "2.1.1", "split-string": "3.1.0", "to-regex": "3.0.2" }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "1.0.2" - } - }, + "dependencies": { "extend-shallow": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", @@ -4027,8 +5100,8 @@ "requires": { "anymatch": "2.0.0", "async-each": "1.0.1", - "braces": "2.3.1", - "fsevents": "1.1.3", + "braces": "2.3.2", + "fsevents": "1.2.0", "glob-parent": "3.1.0", "inherits": "2.0.3", "is-binary-path": "1.0.1", @@ -4061,6 +5134,14 @@ "dev": true, "requires": { "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } }, "define-property": { @@ -4081,6 +5162,46 @@ "is-extendable": "0.1.1" } }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", @@ -4181,43 +5302,32 @@ } }, "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } + "kind-of": "6.0.2" } }, "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } }, "is-extglob": { @@ -4275,7 +5385,7 @@ "requires": { "arr-diff": "4.0.0", "array-unique": "0.3.2", - "braces": "2.3.1", + "braces": "2.3.2", "define-property": "2.0.2", "extend-shallow": "3.0.2", "extglob": "2.0.4", @@ -4291,12 +5401,14 @@ } }, "nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "dev": true, + "optional": true, "requires": { - "abbrev": "1.1.1" + "abbrev": "1.1.1", + "osenv": "0.1.5" } }, "normalize-package-data": { @@ -4317,7 +5429,25 @@ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", "dev": true, "requires": { - "remove-trailing-separator": "1.1.0" + "remove-trailing-separator": "1.2.0" + } + }, + "npm-bundled": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.3.tgz", + "integrity": "sha512-ByQ3oJ/5ETLyglU2+8dBObvhfWXX8dtPZDMePCahptliFX2iIuhyEszyFk401PZUNQH20vvdW5MLjJxkwU80Ow==", + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.1.10.tgz", + "integrity": "sha512-AQC0Dyhzn4EiYEfIUjCdMl0JJ61I2ER9ukf/sLxJUcZHfo+VyEfz2rMJgLZSS1v30OxPQe1cN0LZA1xbcaVfWA==", + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.3" } }, "npm-run-all": { @@ -4331,7 +5461,7 @@ "cross-spawn": "5.1.0", "memorystream": "0.3.1", "minimatch": "3.0.4", - "ps-tree": "1.1.0", + "ps-tree": "1.2.0", "read-pkg": "3.0.0", "shell-quote": "1.6.1", "string.prototype.padend": "3.0.0" @@ -4346,6 +5476,19 @@ "path-key": "2.0.1" } }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.2.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", @@ -4377,43 +5520,6 @@ "requires": { "is-descriptor": "0.1.6" } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "0.1.6", - "is-data-descriptor": "0.1.4", - "kind-of": "5.1.0" - }, - "dependencies": { - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } - } } } }, @@ -4440,6 +5546,16 @@ } } }, + "object.getownpropertydescriptors": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz", + "integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=", + "dev": true, + "requires": { + "define-properties": "1.1.2", + "es-abstract": "1.11.0" + } + }, "object.omit": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", @@ -4499,12 +5615,29 @@ "wordwrap": "1.0.0" } }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "optional": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, "output-file-sync": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-2.0.1.tgz", @@ -4512,7 +5645,7 @@ "dev": true, "requires": { "graceful-fs": "4.1.11", - "is-plain-obj": "1.1.0", + "is-plain-obj": "1.2.0", "mkdirp": "0.5.1" } }, @@ -4718,8 +5851,8 @@ "dev": true }, "ps-tree": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.2.0.tgz", "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=", "dev": true, "requires": { @@ -4733,12 +5866,12 @@ "dev": true }, "pstree.remy": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.2.0.tgz", "integrity": "sha512-q5I5vLRMVtdWa8n/3UEzZX7Lfghzrg9eG2IKk2ENLSofKRCXVqMvMUHxCKgXNaqH/8ebhBxrqftHWnyTFweJ5Q==", "dev": true, "requires": { - "ps-tree": "1.1.0" + "ps-tree": "1.2.0" } }, "randomatic": { @@ -4820,7 +5953,7 @@ "dev": true, "requires": { "find-up": "1.1.2", - "read-pkg": "1.1.0" + "read-pkg": "1.2.0" }, "dependencies": { "find-up": { @@ -4834,8 +5967,8 @@ } }, "load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.2.0.tgz", "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "dev": true, "requires": { @@ -4865,8 +5998,8 @@ } }, "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.2.0.tgz", "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "dev": true, "requires": { @@ -4876,14 +6009,14 @@ } }, "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.2.0.tgz", "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", "dev": true, "requires": { - "load-json-file": "1.1.0", + "load-json-file": "1.2.0", "normalize-package-data": "2.4.0", - "path-type": "1.1.0" + "path-type": "1.2.0" } }, "strip-bom": { @@ -4924,6 +6057,15 @@ "set-immediate-shim": "1.0.1" } }, + "rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "requires": { + "resolve": "1.7.1" + } + }, "regenerate": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz", @@ -4970,7 +6112,7 @@ "dev": true, "requires": { "extend-shallow": "3.0.2", - "safe-regex": "1.1.0" + "safe-regex": "1.2.0" } }, "regexpp": { @@ -5036,8 +6178,8 @@ } }, "remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.2.0.tgz", "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", "dev": true }, @@ -5085,9 +6227,9 @@ "dev": true }, "resolve": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.6.0.tgz", - "integrity": "sha512-mw7JQNu5ExIkcw4LPih0owX/TZXjD/ZUF/ZQ/pDnkw3ZKhDcZZw5klmBlj6gVMwjQ3Pz5Jgu7F3d0jcDVuEWdw==", + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", + "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", "dev": true, "requires": { "path-parse": "1.0.5" @@ -5130,6 +6272,330 @@ "glob": "7.1.2" } }, + "rollup": { + "version": "0.58.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-0.58.2.tgz", + "integrity": "sha512-RZVvCWm9BHOYloaE6LLiE/ibpjv1CmI8F8k0B0Cp+q1eezo3cswszJH1DN0djgzSlo0hjuuCmyeI+1XOYLl4wg==", + "dev": true, + "requires": { + "@types/estree": "0.0.38", + "@types/node": "9.6.6" + } + }, + "rollup-plugin-babel": { + "version": "4.0.0-beta.4", + "resolved": "https://registry.npmjs.org/rollup-plugin-babel/-/rollup-plugin-babel-4.0.0-beta.4.tgz", + "integrity": "sha512-zr6iZ1yrd/0I36Lok+HFrTKSaolb4sKLQsJy/j27+dnFFjnavRlEgzec1zJXQr8owG22topvJ5rq3jfXIpvfnw==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "7.0.0-beta.44", + "rollup-pluginutils": "2.0.1" + }, + "dependencies": { + "@babel/helper-module-imports": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.44.tgz", + "integrity": "sha512-V95wi6rCffcLM46XdaUJHRc3D/XSvfsQshedaX1riHQCbs0uVopdswXrykwB6E/QEPfUGxXfs7l5GubupOi+Cw==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44", + "lodash": "4.17.5" + } + }, + "@babel/types": { + "version": "7.0.0-beta.44", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.44.tgz", + "integrity": "sha512-5eTV4WRmqbaFM3v9gHAIljEQJU4Ssc6fxL61JN+Oe2ga/BwyjzjamwkCVVAQjHGuAX8i0BWo42dshL8eO5KfLQ==", + "dev": true, + "requires": { + "esutils": "2.0.2", + "lodash": "4.17.5", + "to-fast-properties": "2.0.0" + } + } + } + }, + "rollup-plugin-babel-minify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-babel-minify/-/rollup-plugin-babel-minify-4.0.0.tgz", + "integrity": "sha512-aqQTNCjrYZrWogHVpPQPVFRB/oKT9pGQzW8M/l3lRRuNz1zPtsYR/3shd5/SA8Msfb4HIytBEFUOQBCMoVVx6Q==", + "dev": true, + "requires": { + "@comandeer/babel-plugin-banner": "1.0.0", + "babel-core": "6.26.0", + "babel-preset-minify": "0.3.0", + "depd": "1.1.2", + "magic-string": "0.22.5", + "semver": "5.5.0" + }, + "dependencies": { + "babel-helper-evaluate-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.3.0.tgz", + "integrity": "sha512-dRFlMTqUJRGzx5a2smKxmptDdNCXKSkPcXWzKLwAV72hvIZumrd/0z9RcewHkr7PmAEq+ETtpD1GK6wZ6ZUXzw==", + "dev": true + }, + "babel-helper-flip-expressions": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.3.0.tgz", + "integrity": "sha512-kNGohWmtAG3b7tN1xocRQ5rsKkH/hpvZsMiGOJ1VwGJKhnwzR5KlB3rvKBaBPl5/IGHcopB2JN+r1SUEX1iMAw==", + "dev": true + }, + "babel-helper-is-void-0": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-helper-is-void-0/-/babel-helper-is-void-0-0.3.0.tgz", + "integrity": "sha512-JVqdX8y7Rf/x4NwbqtUI7mdQjL9HWoDnoAEQ8Gv8oxzjvbJv+n75f7l36m9Y8C7sCUltX3V5edndrp7Hp1oSXQ==", + "dev": true + }, + "babel-helper-mark-eval-scopes": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.3.0.tgz", + "integrity": "sha512-nrho5Dg4vl0VUgURVpGpEGiwbst5JX7efIyDHFxmkCx/ocQFnrPt8ze9Kxl6TKjR29bJ7D/XKY1NMlSxOQJRbQ==", + "dev": true + }, + "babel-helper-remove-or-void": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.3.0.tgz", + "integrity": "sha512-D68W1M3ibCcbg0ysh3ww4/O0g10X1CXK720oOuR8kpfY7w0yP4tVcpK7zDmI1JecynycTQYAZ1rhLJo9aVtIKQ==", + "dev": true + }, + "babel-helper-to-multiple-sequence-expressions": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.3.0.tgz", + "integrity": "sha512-1uCrBD+EAaMnAYh7hc944n8Ga19y3daEnoXWPYDvFVsxMCc1l8aDjksApaCEaNSSuewq8BEcff47Cy1PbLg2Gw==", + "dev": true + }, + "babel-plugin-minify-builtins": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.3.0.tgz", + "integrity": "sha512-MqhSHlxkmgURqj3144qPksbZ/qof1JWdumcbucc4tysFcf3P3V3z3munTevQgKEFNMd8F5/ECGnwb63xogLjAg==", + "dev": true, + "requires": { + "babel-helper-evaluate-path": "0.3.0" + } + }, + "babel-plugin-minify-constant-folding": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.3.0.tgz", + "integrity": "sha512-1XeRpx+aY1BuNY6QU/cm6P+FtEi3ar3XceYbmC+4q4W+2Ewq5pL7V68oHg1hKXkBIE0Z4/FjSoHz6vosZLOe/A==", + "dev": true, + "requires": { + "babel-helper-evaluate-path": "0.3.0" + } + }, + "babel-plugin-minify-dead-code-elimination": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.3.0.tgz", + "integrity": "sha512-SjM2Fzg85YZz+q/PNJ/HU4O3W98FKFOiP9K5z3sfonlamGOzvZw3Eup2OTiEBsbbqTeY8yzNCAv3qpJRYCgGmw==", + "dev": true, + "requires": { + "babel-helper-evaluate-path": "0.3.0", + "babel-helper-mark-eval-scopes": "0.3.0", + "babel-helper-remove-or-void": "0.3.0", + "lodash.some": "4.6.0" + } + }, + "babel-plugin-minify-flip-comparisons": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.3.0.tgz", + "integrity": "sha512-B8lK+ekcpSNVH7PZpWDe5nC5zxjRiiT4nTsa6h3QkF3Kk6y9qooIFLemdGlqBq6j0zALEnebvCpw8v7gAdpgnw==", + "dev": true, + "requires": { + "babel-helper-is-void-0": "0.3.0" + } + }, + "babel-plugin-minify-guarded-expressions": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.3.0.tgz", + "integrity": "sha512-O+6CvF5/Ttsth3LMg4/BhyvVZ82GImeKMXGdVRQGK/8jFiP15EjRpdgFlxv3cnqRjqdYxLCS6r28VfLpb9C/kA==", + "dev": true, + "requires": { + "babel-helper-flip-expressions": "0.3.0" + } + }, + "babel-plugin-minify-infinity": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.3.0.tgz", + "integrity": "sha512-Sj8ia3/w9158DWieUxU6/VvnYVy59geeFEkVgLZYBE8EBP+sN48tHtBM/jSgz0ejEdBlcfqJ6TnvPmVXTzR2BQ==", + "dev": true + }, + "babel-plugin-minify-mangle-names": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.3.0.tgz", + "integrity": "sha512-PYTonhFWURsfAN8achDwvR5Xgy6EeTClLz+fSgGRqjAIXb0OyFm3/xfccbQviVi1qDXmlSnt6oJhBg8KE4Fn7Q==", + "dev": true, + "requires": { + "babel-helper-mark-eval-scopes": "0.3.0" + } + }, + "babel-plugin-minify-numeric-literals": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.3.0.tgz", + "integrity": "sha512-TgZj6ay8zDw74AS3yiIfoQ8vRSNJisYO/Du60S8nPV7EW7JM6fDMx5Sar6yVHlVuuwNgvDUBh191K33bVrAhpg==", + "dev": true + }, + "babel-plugin-minify-replace": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.3.0.tgz", + "integrity": "sha512-VR6tTg2Lt0TicHIOw04fsUtpPw7RaRP8PC8YzSFwEixnzvguZjZJoL7TgG7ZyEWQD1cJ96UezswECmFNa815bg==", + "dev": true + }, + "babel-plugin-minify-simplify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.3.0.tgz", + "integrity": "sha512-2M16ytQOCqBi7bYMu4DCWn8e6KyFCA108F6+tVrBJxOmm5u2sOmTFEa8s94tR9RHRRNYmcUf+rgidfnzL3ik9Q==", + "dev": true, + "requires": { + "babel-helper-flip-expressions": "0.3.0", + "babel-helper-is-nodes-equiv": "0.0.1", + "babel-helper-to-multiple-sequence-expressions": "0.3.0" + } + }, + "babel-plugin-minify-type-constructors": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.3.0.tgz", + "integrity": "sha512-XRXpvsUCPeVw9YEUw+9vSiugcSZfow81oIJT0yR9s8H4W7yJ6FHbImi5DJHoL8KcDUjYnL9wYASXk/fOkbyR6Q==", + "dev": true, + "requires": { + "babel-helper-is-void-0": "0.3.0" + } + }, + "babel-plugin-transform-inline-consecutive-adds": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.3.0.tgz", + "integrity": "sha512-iZsYAIjYLLfLK0yN5WVT7Xf7Y3wQ9Z75j9A8q/0IglQSpUt2ppTdHlwl/GeaXnxdaSmsxBu861klbTBbv2n+RA==", + "dev": true + }, + "babel-plugin-transform-regexp-constructors": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.3.0.tgz", + "integrity": "sha512-h92YHzyl042rb0naKO8frTHntpRFwRgKkfWD8602kFHoQingjJNtbvZzvxqHncJ6XmKVyYvfrBpDOSkCTDIIxw==", + "dev": true + }, + "babel-plugin-transform-remove-undefined": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.3.0.tgz", + "integrity": "sha512-TYGQucc8iP3LJwN3kDZLEz5aa/2KuFrqpT+s8f8NnHsBU1sAgR3y8Opns0xhC+smyDYWscqFCKM1gbkWQOhhnw==", + "dev": true, + "requires": { + "babel-helper-evaluate-path": "0.3.0" + } + }, + "babel-preset-minify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/babel-preset-minify/-/babel-preset-minify-0.3.0.tgz", + "integrity": "sha512-+VV2GWEyak3eDOmzT1DDMuqHrw3VbE9nBNkx2LLVs4pH/Me32ND8DRpVDd8IRvk1xX5p75nygyRPtkMh6GIAbQ==", + "dev": true, + "requires": { + "babel-plugin-minify-builtins": "0.3.0", + "babel-plugin-minify-constant-folding": "0.3.0", + "babel-plugin-minify-dead-code-elimination": "0.3.0", + "babel-plugin-minify-flip-comparisons": "0.3.0", + "babel-plugin-minify-guarded-expressions": "0.3.0", + "babel-plugin-minify-infinity": "0.3.0", + "babel-plugin-minify-mangle-names": "0.3.0", + "babel-plugin-minify-numeric-literals": "0.3.0", + "babel-plugin-minify-replace": "0.3.0", + "babel-plugin-minify-simplify": "0.3.0", + "babel-plugin-minify-type-constructors": "0.3.0", + "babel-plugin-transform-inline-consecutive-adds": "0.3.0", + "babel-plugin-transform-member-expression-literals": "6.9.1", + "babel-plugin-transform-merge-sibling-variables": "6.9.1", + "babel-plugin-transform-minify-booleans": "6.9.1", + "babel-plugin-transform-property-literals": "6.9.1", + "babel-plugin-transform-regexp-constructors": "0.3.0", + "babel-plugin-transform-remove-console": "6.9.1", + "babel-plugin-transform-remove-debugger": "6.9.1", + "babel-plugin-transform-remove-undefined": "0.3.0", + "babel-plugin-transform-simplify-comparison-operators": "6.9.1", + "babel-plugin-transform-undefined-to-void": "6.9.1", + "lodash.isplainobject": "4.0.6" + } + } + } + }, + "rollup-plugin-commonjs": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.1.0.tgz", + "integrity": "sha512-NrfE0g30QljNCnlJr7I2Xguz+44mh0dCxvfxwLnCwtaCK2LwFUp1zzAs8MQuOfhH4mRskqsjfOwGUap/L+WtEw==", + "dev": true, + "requires": { + "estree-walker": "0.5.1", + "magic-string": "0.22.5", + "resolve": "1.7.1", + "rollup-pluginutils": "2.0.1" + } + }, + "rollup-plugin-node-resolve": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.3.0.tgz", + "integrity": "sha512-9zHGr3oUJq6G+X0oRMYlzid9fXicBdiydhwGChdyeNRGPcN/majtegApRKHLR5drboUvEWU+QeUmGTyEZQs3WA==", + "dev": true, + "requires": { + "builtin-modules": "2.0.0", + "is-module": "1.0.0", + "resolve": "1.7.1" + }, + "dependencies": { + "builtin-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-2.0.0.tgz", + "integrity": "sha512-3U5kUA5VPsRUA3nofm/BXX7GVHKfxz0hOBAPxXrIvHzlDRkQVqEn6yi8QJegxl4LzOHLdvb7XF5dVawa/VVYBg==", + "dev": true + } + } + }, + "rollup-plugin-uglify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-uglify/-/rollup-plugin-uglify-3.0.0.tgz", + "integrity": "sha512-dehLu9eRRoV4l09aC+ySntRw1OAfoyKdbk8Nelblj03tHoynkSybqyEpgavemi1LBOH6S1vzI58/mpxkZIe1iQ==", + "dev": true, + "requires": { + "uglify-es": "3.3.9" + }, + "dependencies": { + "commander": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "uglify-es": { + "version": "3.3.9", + "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", + "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", + "dev": true, + "requires": { + "commander": "2.13.0", + "source-map": "0.6.1" + } + } + } + }, + "rollup-pluginutils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.0.1.tgz", + "integrity": "sha1-fslbNXP2VDpGpkYb2afFRFJdD8A=", + "dev": true, + "requires": { + "estree-walker": "0.3.1", + "micromatch": "2.3.11" + }, + "dependencies": { + "estree-walker": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.3.1.tgz", + "integrity": "sha1-5rGlHPcpJSTnI3wxLl/mZgwc4ao=", + "dev": true + } + } + }, "run-async": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", @@ -5161,14 +6627,21 @@ "dev": true }, "safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.2.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "dev": true, "requires": { "ret": "0.1.15" } }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true, + "optional": true + }, "semver": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", @@ -5184,6 +6657,13 @@ "semver": "5.5.0" } }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true, + "optional": true + }, "set-immediate-shim": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", @@ -5240,6 +6720,17 @@ "jsonify": "0.0.0" } }, + "shelljs": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.1.tgz", + "integrity": "sha512-YA/iYtZpzFe5HyWVGrb02FjPxc4EMCfpoU/Phg9fQoyMC72u9598OUBrsU8IrtwAKG0tO8IYaqbaLIw+k3IRGA==", + "dev": true, + "requires": { + "glob": "7.1.2", + "interpret": "1.2.0", + "rechoir": "0.6.2" + } + }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", @@ -5284,6 +6775,14 @@ "dev": true, "requires": { "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } }, "define-property": { @@ -5303,63 +6802,6 @@ "requires": { "is-extendable": "0.1.1" } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "0.1.6", - "is-data-descriptor": "0.1.4", - "kind-of": "5.1.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true } } }, @@ -5383,11 +6825,46 @@ "is-descriptor": "1.0.2" } }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, "isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true } } }, @@ -5412,13 +6889,22 @@ "integrity": "sha512-0KW2wvzfxm8NCTb30z0LMNyPqWCdDGE2viwzUaucqJdkTRXtZiSY3I+2A6nVAjmdOy0I4gU8DwnVVGsk9jvP2A==", "dev": true, "requires": { - "atob": "2.0.3", + "atob": "2.1.0", "decode-uri-component": "0.2.0", "resolve-url": "0.2.1", "source-map-url": "0.4.0", "urix": "0.1.0" } }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "0.5.7" + } + }, "source-map-url": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", @@ -5499,63 +6985,6 @@ "requires": { "is-descriptor": "0.1.6" } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "0.1.6", - "is-data-descriptor": "0.1.4", - "kind-of": "5.1.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true } } }, @@ -5656,6 +7085,31 @@ "string-width": "2.1.1" } }, + "tar": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.1.tgz", + "integrity": "sha512-O+v1r9yN4tOsvl90p5HAP4AEqbYhx4036AGMm075fH9F8Qwi3oJ+v4u50FkT/KkvywNGtwkk0zRI+8eYm1X/xg==", + "dev": true, + "optional": true, + "requires": { + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.2.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + }, + "dependencies": { + "yallist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", + "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=", + "dev": true, + "optional": true + } + } + }, "term-size": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz", @@ -5691,18 +7145,16 @@ "dev": true }, "braces": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.1.tgz", - "integrity": "sha512-SO5lYHA3vO6gz66erVvedSCkp7AKWdv6VcQ2N4ysXfPxdAlxAMMAdwegGGcv1Bqwm7naF1hNdk5d6AAIEHV2nQ==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "dev": true, "requires": { - "arr-flatten": "1.1.0", + "arr-flatten": "1.2.0", "array-unique": "0.3.2", - "define-property": "1.0.0", "extend-shallow": "2.0.1", "fill-range": "4.0.0", "isobject": "3.0.1", - "kind-of": "6.0.2", "repeat-element": "1.1.2", "snapdragon": "0.8.2", "snapdragon-node": "2.1.1", @@ -5710,15 +7162,6 @@ "to-regex": "3.0.2" }, "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "1.0.2" - } - }, "extend-shallow": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", @@ -5737,6 +7180,14 @@ "dev": true, "requires": { "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } }, "expand-brackets": { @@ -5772,6 +7223,46 @@ "is-extendable": "0.1.1" } }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", @@ -5851,43 +7342,32 @@ } }, "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } + "kind-of": "6.0.2" } }, "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } }, "is-number": { @@ -5930,7 +7410,7 @@ "requires": { "arr-diff": "4.0.0", "array-unique": "0.3.2", - "braces": "2.3.1", + "braces": "2.3.2", "define-property": "2.0.2", "extend-shallow": "3.0.2", "extglob": "2.0.4", @@ -5996,7 +7476,7 @@ "define-property": "2.0.2", "extend-shallow": "3.0.2", "regex-not": "1.0.2", - "safe-regex": "1.1.0" + "safe-regex": "1.2.0" } }, "to-regex-range": { @@ -6027,6 +7507,17 @@ "dev": true, "requires": { "nopt": "1.0.10" + }, + "dependencies": { + "nopt": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", + "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", + "dev": true, + "requires": { + "abbrev": "1.1.1" + } + } } }, "trim-right": { @@ -6051,9 +7542,9 @@ "dev": true }, "uglify-js": { - "version": "3.3.16", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.3.16.tgz", - "integrity": "sha512-FMh5SRqJRGhv9BbaTffENIpDDQIoPDR8DBraunGORGhySArsXlw9++CN+BWzPBLpoI4RcSnpfGPnilTxWL3Vvg==", + "version": "3.3.22", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.3.22.tgz", + "integrity": "sha512-tqw96rL6/BG+7LM5VItdhDjTQmL5zG/I0b2RqWytlgeHe2eydZHuBHdA9vuGpCDhH/ZskNGcqDhivoR2xt8RIw==", "dev": true, "requires": { "commander": "2.15.1", @@ -6084,6 +7575,14 @@ "dev": true, "requires": { "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } } } @@ -6219,15 +7718,16 @@ "dev": true }, "update-notifier": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.3.0.tgz", - "integrity": "sha1-TognpruRUUCrCTVZ1wFOPruDdFE=", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz", + "integrity": "sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw==", "dev": true, "requires": { "boxen": "1.3.0", "chalk": "2.3.2", - "configstore": "3.1.1", + "configstore": "3.1.2", "import-lazy": "2.1.0", + "is-ci": "1.2.0", "is-installed-globally": "0.1.0", "is-npm": "1.0.0", "latest-version": "3.1.0", @@ -6273,6 +7773,16 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, + "util.promisify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", + "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", + "dev": true, + "requires": { + "define-properties": "1.1.2", + "object.getownpropertydescriptors": "2.0.3" + } + }, "validate-npm-package-license": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", @@ -6283,6 +7793,12 @@ "spdx-expression-parse": "3.0.0" } }, + "vlq": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", + "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==", + "dev": true + }, "which": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", @@ -6292,6 +7808,50 @@ "isexe": "2.0.0" } }, + "wide-align": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", + "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", + "dev": true, + "optional": true, + "requires": { + "string-width": "1.0.2" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "optional": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "optional": true, + "requires": { + "code-point-at": "1.2.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "optional": true, + "requires": { + "ansi-regex": "2.1.1" + } + } + } + }, "widest-line": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz", @@ -6344,6 +7904,15 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true + }, + "yargs-parser": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz", + "integrity": "sha1-nM9qQ0YP5O1Aqbto9I1DuKaMwHc=", + "dev": true, + "requires": { + "camelcase": "4.1.0" + } } } } diff --git a/package.json b/package.json index 2154882..f6d90de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/coreui-plugin-chartjs-custom-tooltips", - "version": "1.1.0", + "version": "1.2.0", "description": "Chart.js custom tooltips designed for CoreUI Templates", "keywords": [ "chart", @@ -28,34 +28,54 @@ "dist/", "js/" ], - "main": "dist/js/custom-tooltips.js", + "main": "dist/cjs/custom-tooltips.js", + "module": "dist/esm/custom-tooltips.js", + "browser": "dist/umd/custom-tooltips.js", + "browserMin": "dist/umd/custom-tooltips.min.js", "repository": { "type": "git", "url": "https://githubom/coreui/coreui-plugin-chartjs-custom-tooltips.git" }, "scripts": { + "clean": "rimraf dist", "increment-version": "node build/increment-version.js", "js": "npm-run-all js-compile* js-minify* js-lint", "js-lint": "eslint js/", "js-compile": "cross-env PLUGINS=true babel js/ --out-dir dist/js/ --source-maps", "js-minify": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/custom-tooltips.js.map,includeSources,url=custom-tooltips.min.js.map\" --output dist/js/custom-tooltips.min.js dist/js/custom-tooltips.js", "release-version": "node build/change-version.js", - "watch-js": "nodemon --ignore dist/ -e js -x npm run js" + "watch-js": "nodemon --ignore dist/ -e js -x npm run js", + "build": "npm-run-all clean build:roll js", + "build:roll": "rollup -c", + "dev": "rollup -c -w" + }, + "dependencies": { + "ms": "^2.1.1" }, "devDependencies": { "@babel/cli": "7.0.0-beta.46", "@babel/core": "7.0.0-beta.46", "@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.46", "@babel/preset-env": "7.0.0-beta.46", - "babel-eslint": "^8.2.3", + "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-istanbul": "^4.1.6", "babel-plugin-transform-es2015-modules-strip": "^0.1.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", + "babel-preset-env": "^1.6.1", + "babel-preset-minify": "^0.4.0", "cross-env": "^5.1.4", "eslint": "^4.19.1", "eslint-plugin-compat": "^2.2.0", "nodemon": "^1.17.3", "npm-run-all": "^4.1.2", + "rimraf": "^2.6.2", + "rollup": "^0.58.2", + "rollup-plugin-babel": "^4.0.0-beta.4", + "rollup-plugin-babel-minify": "^4.0.0", + "rollup-plugin-commonjs": "^9.1.0", + "rollup-plugin-node-resolve": "^3.3.0", + "rollup-plugin-uglify": "^3.0.0", + "shelljs": "^0.8.1", "uglify-js": "^3.3.22" }, "peerDependencies": { diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 0000000..ad738db --- /dev/null +++ b/rollup.config.js @@ -0,0 +1,70 @@ +import babel from 'rollup-plugin-babel' +import commonjs from 'rollup-plugin-commonjs' +import pkg from './package.json' +import resolve from 'rollup-plugin-node-resolve' +import uglify from 'rollup-plugin-uglify' + +export default [ + // browser-friendly UMD build + { + input: 'js/index.js', + output: { + name: 'custom-tooltips', + file: pkg.browser, + format: 'umd', + sourcemap: true + }, + plugins: [ + resolve(), // so Rollup can find `ms` + commonjs(), // so Rollup can convert `ms` to an ES module + babel({ + exclude: 'node_modules/**' // only transpile our source code + }) + ] + }, + { + input: 'js/index.js', + output: { + name: 'custom-tooltips', + file: pkg.browserMin, + format: 'umd', + sourcemap: true + }, + plugins: [ + resolve(), // so Rollup can find `ms` + commonjs(), // so Rollup can convert `ms` to an ES module + babel({ + exclude: 'node_modules/**' // only transpile our source code + }), + uglify() + ] + }, + // CommonJS (for Node) and ES module (for bundlers) build. + // (We could have three entries in the configuration array + // instead of two, but it's quicker to generate multiple + // builds from a single configuration where possible, using + // an array for the `output` option, where we can specify + // `file` and `format` for each target) + { + input: 'js/index.js', + external: ['ms'], + output: [ + { + file: pkg.main, + format: 'cjs', + sourcemap: true + }, + { + file: pkg.module, + format: 'es', + sourcemap: true + } + ], + plugins: [ + resolve(), + babel({ + exclude: 'node_modules/**' // only transpile our source code + }) + ] + } +]