You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by za...@apache.org on 2023/03/13 02:12:48 UTC
[echarts] 01/01: prepare for release v5.4.3
This is an automated email from the ASF dual-hosted git repository.
zakwu pushed a commit to branch release-dev
in repository https://gitbox.apache.org/repos/asf/echarts.git
commit c7030540d7a1cb2b43331ca9231a9b0d46dd5b78
Author: zakwu <12...@qq.com>
AuthorDate: Mon Mar 13 10:11:13 2023 +0800
prepare for release v5.4.3
---
dist/echarts.common.js | 286 +++++----
dist/echarts.common.js.map | 2 +-
dist/echarts.common.min.js | 4 +-
dist/echarts.esm.js | 326 ++++++----
dist/echarts.esm.js.map | 2 +-
dist/echarts.esm.min.js | 4 +-
dist/echarts.js | 326 ++++++----
dist/echarts.js.map | 2 +-
dist/echarts.min.js | 4 +-
dist/echarts.simple.js | 206 ++++---
dist/echarts.simple.js.map | 2 +-
dist/echarts.simple.min.js | 4 +-
i18n/langCS-obj.js | 1 +
i18n/langCS.js | 1 +
i18n/langDE-obj.js | 1 +
i18n/langDE.js | 1 +
i18n/langSI-obj.js | 1 +
i18n/langSI.js | 1 +
i18n/langZH-obj.js | 1 +
i18n/langZH.js | 1 +
package-lock.json | 1428 ++++++++++++++++++++++++++++++++------------
package.json | 7 +-
src/core/echarts.ts | 4 +-
23 files changed, 1760 insertions(+), 855 deletions(-)
diff --git a/dist/echarts.common.js b/dist/echarts.common.js
index e55eef732..4a5506157 100644
--- a/dist/echarts.common.js
+++ b/dist/echarts.common.js
@@ -7270,7 +7270,7 @@
function registerPainter(name, Ctor) {
painterCtors[name] = Ctor;
}
- var version = '5.4.1';
+ var version = '5.4.3';
var zrender = /*#__PURE__*/Object.freeze({
__proto__: null,
@@ -9354,16 +9354,19 @@
}
}
}
- function isLatin(ch) {
+ function isAlphabeticLetter(ch) {
var code = ch.charCodeAt(0);
- return code >= 0x21 && code <= 0x17F;
+ return code >= 0x20 && code <= 0x24F
+ || code >= 0x370 && code <= 0x10FF
+ || code >= 0x1200 && code <= 0x13FF
+ || code >= 0x1E00 && code <= 0x206F;
}
var breakCharMap = reduce(',&?/;] '.split(''), function (obj, ch) {
obj[ch] = true;
return obj;
}, {});
function isWordBreakChar(ch) {
- if (isLatin(ch)) {
+ if (isAlphabeticLetter(ch)) {
if (breakCharMap[ch]) {
return true;
}
@@ -16121,23 +16124,23 @@
*/
/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
/**
* Language: English.
@@ -20243,11 +20246,7 @@
if (obj) {
- var dimensions_1 = [];
- each(obj, function (value, key) {
- dimensions_1.push(key);
- });
- return dimensions_1;
+ return keys(obj);
}
} // Consider dimensions defined like ['A', 'price', 'B', 'price', 'C', 'price'],
// which is reasonable. But dimension name is duplicated.
@@ -21828,7 +21827,7 @@
/** @class */
function () {
function DataStore() {
- this._chunks = []; // It will not be calculated util needed.
+ this._chunks = []; // It will not be calculated until needed.
this._rawExtent = [];
this._extent = [];
@@ -22246,7 +22245,7 @@
// When the `value` is at the middle of `this.get(dim, i)` and `this.get(dim, i+1)`,
// we'd better not push both of them to `nearestIndices`, otherwise it is easy to
// get more than one item in `nearestIndices` (more specifically, in `tooltip`).
- // So we chose the one that `diff >= 0` in this csae.
+ // So we choose the one that `diff >= 0` in this case.
// But if `this.get(dim, i)` and `this.get(dim, j)` get the same value, both of them
// should be push to `nearestIndices`.
if (dist < minDist || dist === minDist && diff >= 0 && minDiff < 0) {
@@ -22598,7 +22597,7 @@
maxArea = -1;
nextRawIndex = frameStart;
var firstNaNIndex = -1;
- var countNaN = 0; // Find a point from current frame that construct a triangel with largest area with previous selected point
+ var countNaN = 0; // Find a point from current frame that construct a triangle with largest area with previous selected point
// And the average of next frame.
for (var idx = frameStart; idx < frameEnd; idx++) {
@@ -23589,8 +23588,8 @@
/** @class */
function () {
function TooltipMarkupStyleCreator() {
- this.richTextStyles = {}; // Notice that "generate a style name" usuall happens repeatly when mouse moving and
- // displaying a tooltip. So we put the `_nextStyleNameId` as a member of each creator
+ this.richTextStyles = {}; // Notice that "generate a style name" usually happens repeatedly when mouse is moving and
+ // a tooltip is displayed. So we put the `_nextStyleNameId` as a member of each creator
// rather than static shared by all creators (which will cause it increase to fast).
this._nextStyleNameId = getRandomIdBase();
@@ -23695,8 +23694,8 @@
var inlineName = multipleSeries ? seriesName : itemName;
return createTooltipMarkup('section', {
header: seriesName,
- // When series name not specified, do not show a header line with only '-'.
- // This case alway happen in tooltip.trigger: 'item'.
+ // When series name is not specified, do not show a header line with only '-'.
+ // This case always happens in tooltip.trigger: 'item'.
noHeader: multipleSeries || !seriesNameSpecified,
sortParam: sortParam,
blocks: [createTooltipMarkup('nameValue', {
@@ -24308,7 +24307,7 @@
}
function dataTaskProgress(param, context) {
- // Avoid repead cloneShallow when data just created in reset.
+ // Avoid repeat cloneShallow when data just created in reset.
if (context.outputData && param.end > context.outputData.count()) {
context.model.getRawData().cloneShallow(context.outputData);
}
@@ -26169,7 +26168,7 @@
}
}
- // Inlucdes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
+ // Includes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
function createLegacyDataSelectAction(seriesType, ecRegisterAction) {
function getSeriesIndices(ecModel, payload) {
@@ -27789,9 +27788,9 @@
return implsStore[name];
}
- var version$1 = '5.4.1';
+ var version$1 = '5.4.3';
var dependencies = {
- zrender: '5.4.1'
+ zrender: '5.4.3'
};
var TEST_FRAME_REMAIN_TIME = 1;
var PRIORITY_PROCESSOR_SERIES_FILTER = 800; // Some data processors depends on the stack result dimension (to calculate data extent).
@@ -37436,9 +37435,9 @@
opts = opts || {};
var S = opts.newline ? '\n' : '';
function convertElToString(el) {
- var children = el.children, tag = el.tag, attrs = el.attrs;
+ var children = el.children, tag = el.tag, attrs = el.attrs, text = el.text;
return createElementOpen(tag, attrs)
- + encodeHTML(el.text)
+ + (tag !== 'style' ? encodeHTML(text) : text || '')
+ (children ? "" + S + map(children, function (child) { return convertElToString(child); }).join(S) + S : '')
+ createElementClose(tag);
}
@@ -41567,7 +41566,7 @@
var polyline = this._polyline;
var polygon = this._polygon;
var lineGroup = this._lineGroup;
- var hasAnimation = seriesModel.get('animation');
+ var hasAnimation = !ecModel.ssr && seriesModel.isAnimationEnabled();
var isAreaChart = !areaStyleModel.isEmpty();
var valueOrigin = areaStyleModel.get('origin');
var dataCoordInfo = prepareDataCoordInfo(coordSys, data, valueOrigin);
@@ -41947,8 +41946,8 @@
seriesDuration = seriesDuration(null);
}
- var seriesDalay = seriesModel.get('animationDelay') || 0;
- var seriesDalayValue = isFunction(seriesDalay) ? seriesDalay(null) : seriesDalay;
+ var seriesDelay = seriesModel.get('animationDelay') || 0;
+ var seriesDelayValue = isFunction(seriesDelay) ? seriesDelay(null) : seriesDelay;
data.eachItemGraphicEl(function (symbol, idx) {
var el = symbol;
@@ -41993,7 +41992,7 @@
ratio = 1 - ratio;
}
- var delay = isFunction(seriesDalay) ? seriesDalay(idx) : seriesDuration * ratio + seriesDalayValue;
+ var delay = isFunction(seriesDelay) ? seriesDelay(idx) : seriesDuration * ratio + seriesDelayValue;
var symbolPath = el.getSymbolPath();
var text = symbolPath.getTextContent();
el.attr({
@@ -42491,22 +42490,75 @@
if (coordSys && coordSys.clampData) {
// PENDING if clamp ?
- var pt_1 = coordSys.dataToPoint(coordSys.clampData(value));
+ var clampData_1 = coordSys.clampData(value);
+ var pt_1 = coordSys.dataToPoint(clampData_1);
if (startingAtTick) {
each(coordSys.getAxes(), function (axis, idx) {
// If axis type is category, use tick coords instead
- if (axis.type === 'category') {
+ if (axis.type === 'category' && dims != null) {
var tickCoords = axis.getTicksCoords();
- var tickIdx = coordSys.clampData(value)[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
+ var targetTickId = clampData_1[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
+
+ var isEnd = dims[idx] === 'x1' || dims[idx] === 'y1';
+
+ if (isEnd) {
+ targetTickId += 1;
+ } // The only contains one tick, tickCoords is
+ // like [{coord: 0, tickValue: 0}, {coord: 0}]
+ // to the length should always be larger than 1
+
+
+ if (tickCoords.length < 2) {
+ return;
+ } else if (tickCoords.length === 2) {
+ // The left value and right value of the axis are
+ // the same. coord is 0 in both items. Use the max
+ // value of the axis as the coord
+ pt_1[idx] = axis.toGlobalCoord(axis.getExtent()[isEnd ? 1 : 0]);
+ return;
+ }
+
+ var leftCoord = void 0;
+ var coord = void 0;
+ var stepTickValue = 1;
- if (dims && (dims[idx] === 'x1' || dims[idx] === 'y1')) {
- tickIdx += 1;
+ for (var i = 0; i < tickCoords.length; i++) {
+ var tickCoord = tickCoords[i].coord; // The last item of tickCoords doesn't contain
+ // tickValue
+
+ var tickValue = i === tickCoords.length - 1 ? tickCoords[i - 1].tickValue + stepTickValue : tickCoords[i].tickValue;
+
+ if (tickValue === targetTickId) {
+ coord = tickCoord;
+ break;
+ } else if (tickValue < targetTickId) {
+ leftCoord = tickCoord;
+ } else if (leftCoord != null && tickValue > targetTickId) {
+ coord = (tickCoord + leftCoord) / 2;
+ break;
+ }
+
+ if (i === 1) {
+ // Here we assume the step of category axes is
+ // the same
+ stepTickValue = tickValue - tickCoords[0].tickValue;
+ }
}
- tickIdx > tickCoords.length - 1 && (tickIdx = tickCoords.length - 1);
- tickIdx < 0 && (tickIdx = 0);
- tickCoords[tickIdx] && (pt_1[idx] = axis.toGlobalCoord(tickCoords[tickIdx].coord));
+ if (coord == null) {
+ if (!leftCoord) {
+ // targetTickId is smaller than all tick ids in the
+ // visible area, use the leftmost tick coord
+ coord = tickCoords[0].coord;
+ } else if (leftCoord) {
+ // targetTickId is larger than all tick ids in the
+ // visible area, use the rightmost tick coord
+ coord = tickCoords[tickCoords.length - 1].coord;
+ }
+ }
+
+ pt_1[idx] = axis.toGlobalCoord(coord);
}
});
} else {
@@ -42882,6 +42934,27 @@
return distance * Math.cos(angle) * (isEnd ? 1 : -1);
}
+ function getSectorCornerRadius(model, shape, zeroIfNull) {
+ var cornerRadius = model.get('borderRadius');
+
+ if (cornerRadius == null) {
+ return zeroIfNull ? {
+ cornerRadius: 0
+ } : null;
+ }
+
+ if (!isArray(cornerRadius)) {
+ cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
+ }
+
+ var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
+ return {
+ cornerRadius: map(cornerRadius, function (cr) {
+ return parsePercent(cr, dr);
+ })
+ };
+ }
+
var mathMax$6 = Math.max;
var mathMin$6 = Math.min;
@@ -43014,6 +43087,8 @@
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
+ } else {
+ bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[dataIndex] = bgEl;
@@ -43086,6 +43161,8 @@
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
+ } else {
+ bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[newIndex] = bgEl;
@@ -43479,7 +43556,7 @@
var sectorShape = sector.shape;
var animateProperty = isRadial ? 'r' : 'endAngle';
var animateTarget = {};
- sectorShape[animateProperty] = isRadial ? 0 : layout.startAngle;
+ sectorShape[animateProperty] = isRadial ? layout.r0 : layout.startAngle;
animateTarget[animateProperty] = layout[animateProperty];
(isUpdate ? updateProps : initProps)(sector, {
shape: animateTarget // __value: typeof dataValue === 'string' ? parseInt(dataValue, 10) : dataValue
@@ -43629,7 +43706,13 @@
var style = data.getItemVisual(dataIndex, 'style');
if (!isPolar) {
- el.setShape('r', itemModel.get(['itemStyle', 'borderRadius']) || 0);
+ var borderRadius = itemModel.get(['itemStyle', 'borderRadius']) || 0;
+ el.setShape('r', borderRadius);
+ } else if (!seriesModel.get('roundCap')) {
+ var sectorShape = el.shape;
+ var cornerRadius = getSectorCornerRadius(itemModel.getModel('itemStyle'), sectorShape, true);
+ extend(sectorShape, cornerRadius);
+ el.setShape(sectorShape);
}
el.useStyle(style);
@@ -44608,27 +44691,6 @@
}
}
- function getSectorCornerRadius(model, shape, zeroIfNull) {
- var cornerRadius = model.get('borderRadius');
-
- if (cornerRadius == null) {
- return zeroIfNull ? {
- cornerRadius: 0
- } : null;
- }
-
- if (!isArray(cornerRadius)) {
- cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
- }
-
- var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
- return {
- cornerRadius: map(cornerRadius, function (cr) {
- return parsePercent(cr, dr);
- })
- };
- }
-
/**
* Piece of pie including Sector, Label, LabelLine
*/
@@ -47041,7 +47103,7 @@
handleAutoShown: function () {
return true;
}
- }); // FIXME Not use a seperate text group?
+ }); // FIXME Not use a separate text group?
var transformGroup = new Group({
x: opt.position[0],
@@ -47549,7 +47611,7 @@
// in category axis.
// (2) Compatible with previous version, which always use formatted label as
// input. But in interval scale the formatted label is like '223,445', which
- // maked user repalce ','. So we modify it to return original val but remain
+ // maked user replace ','. So we modify it to return original val but remain
// it as 'string' to avoid error in replacing.
axis.type === 'category' ? rawLabel : axis.type === 'value' ? tickValue + '' : tickValue, index) : textColor
})
@@ -47627,8 +47689,8 @@
var coordSysKey = makeKey(coordSys.model);
var axesInfoInCoordSys = result.coordSysAxesInfo[coordSysKey] = {};
- result.coordSysMap[coordSysKey] = coordSys; // Set tooltip (like 'cross') is a convienent way to show axisPointer
- // for user. So we enable seting tooltip on coordSys model.
+ result.coordSysMap[coordSysKey] = coordSys; // Set tooltip (like 'cross') is a convenient way to show axisPointer
+ // for user. So we enable setting tooltip on coordSys model.
var coordSysModel = coordSys.model;
var baseTooltipModel = coordSysModel.getModel('tooltip', globalTooltipModel);
@@ -47710,8 +47772,8 @@
// has value can not be hovered. value/time/log axis default snap if
// triggered from tooltip and trigger tooltip.
- volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; // Compatibel with previous behavior, tooltip axis do not show label by default.
- // Only these properties can be overrided from tooltip to axisPointer.
+ volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; // Compatible with previous behavior, tooltip axis does not show label by default.
+ // Only these properties can be overridden from tooltip to axisPointer.
if (tooltipAxisPointerModel.get('type') === 'cross') {
volatileOption.type = 'line';
@@ -48353,7 +48415,7 @@
this._axisModel = axisModel;
this._axisPointerModel = axisPointerModel;
- this._api = api; // Optimize: `render` will be called repeatly during mouse move.
+ this._api = api; // Optimize: `render` will be called repeatedly during mouse move.
// So it is power consuming if performing `render` each time,
// especially on mobile device.
@@ -48462,7 +48524,7 @@
*/
- BaseAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {// Shoule be implemenented by sub-class.
+ BaseAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {// Should be implemenented by sub-class.
};
/**
* @protected
@@ -48557,7 +48619,7 @@
cursor: 'move',
draggable: true,
onmousemove: function (e) {
- // Fot mobile devicem, prevent screen slider on the button.
+ // For mobile device, prevent screen slider on the button.
stop(e.event);
},
onmousedown: bind$1(this._onHandleDragMove, this, 0, 0),
@@ -48799,7 +48861,7 @@
padding: paddings,
backgroundColor: bgColor
}),
- // Lable should be over axisPointer.
+ // Label should be over axisPointer.
z2: 10
};
} // Do not overflow ec container
@@ -49559,8 +49621,8 @@
});
return;
} // In most case only one axis (or event one series is used). It is
- // convinient to fetch payload.seriesIndex and payload.dataIndex
- // dirtectly. So put the first seriesIndex and dataIndex of the first
+ // convenient to fetch payload.seriesIndex and payload.dataIndex
+ // directly. So put the first seriesIndex and dataIndex of the first
// axis on the payload.
@@ -49581,7 +49643,7 @@
function dispatchHighDownActually(axesInfo, dispatchAction, api) {
// FIXME
- // highlight status modification shoule be a stage of main process?
+ // highlight status modification should be a stage of main process?
// (Consider confilct (e.g., legend and axisPointer) and setOption)
var zr = api.getZr();
var highDownKey = 'axisPointerLastHighlights';
@@ -52502,7 +52564,7 @@
features[featureName] = feature;
} else {
- feature = features[oldName]; // If feature does not exsit.
+ feature = features[oldName]; // If feature does not exist.
if (!feature) {
return;
@@ -52547,7 +52609,7 @@
function createIconPaths(featureModel, feature, featureName) {
var iconStyleModel = featureModel.getModel('iconStyle');
- var iconStyleEmphasisModel = featureModel.getModel(['emphasis', 'iconStyle']); // If one feature has mutiple icon. they are orginaized as
+ var iconStyleEmphasisModel = featureModel.getModel(['emphasis', 'iconStyle']); // If one feature has multiple icons, they are organized as
// {
// icon: {
// foo: '',
@@ -53806,7 +53868,7 @@
function addOrUpdate(newIndex, oldIndex) {
var newBrushInternal = coverConfigList[newIndex]; // Consider setOption in event listener of brushSelect,
- // where updating cover when creating should be forbiden.
+ // where updating cover when creating should be forbidden.
if (oldIndex != null && oldCovers[oldIndex] === creatingCover) {
newCovers[newIndex] = oldCovers[oldIndex];
@@ -54292,7 +54354,7 @@
var eventParams = updateCoverByMouse(controller, e, localCursorPoint, true);
controller._dragging = false;
controller._track = [];
- controller._creatingCover = null; // trigger event shoule be at final, after procedure will be nested.
+ controller._creatingCover = null; // trigger event should be at final, after procedure will be nested.
eventParams && trigger(controller, eventParams);
}
@@ -54570,7 +54632,7 @@
area.range = area.range || []; // convert coordRange to global range and set panelId.
if (targetInfo && targetInfo !== true) {
- area.panelId = targetInfo.panelId; // (1) area.range shoule always be calculate from coordRange but does
+ area.panelId = targetInfo.panelId; // (1) area.range should always be calculate from coordRange but does
// not keep its original value, for the sake of the dataZoom scenario,
// where area.coordRange remains unchanged but area.range may be changed.
// (2) Only support converting one coordRange to pixel range in brush
@@ -54605,7 +54667,7 @@
};
/**
* If return Object, a coord found.
- * If reutrn true, global found.
+ * If return true, global found.
* Otherwise nothing found.
*/
@@ -55359,6 +55421,7 @@
this._show = false;
this._styleCoord = [0, 0, 0, 0];
this._enterable = true;
+ this._alwaysShowContent = false;
this._firstShow = true;
this._longHide = true;
@@ -55442,7 +55505,9 @@
var alwaysShowContent = tooltipModel.get('alwaysShowContent');
- alwaysShowContent && this._moveIfResized(); // update className
+ alwaysShowContent && this._moveIfResized(); // update alwaysShowContent
+
+ this._alwaysShowContent = alwaysShowContent; // update className
this.el.className = tooltipModel.get('className') || ''; // Hide the tooltip
// PENDING
@@ -55563,7 +55628,7 @@
};
TooltipHTMLContent.prototype.hideLater = function (time) {
- if (this._show && !(this._inContent && this._enterable)) {
+ if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) {
if (time) {
this._hideDelay = time; // Set show false to avoid invoke hideLater multiple times
@@ -55592,6 +55657,7 @@
function TooltipRichContent(api) {
this._show = false;
this._styleCoord = [0, 0, 0, 0];
+ this._alwaysShowContent = false;
this._enterable = true;
this._zr = api.getZr();
makeStyleCoord$1(this._styleCoord, this._zr, api.getWidth() / 2, api.getHeight() / 2);
@@ -55603,7 +55669,9 @@
TooltipRichContent.prototype.update = function (tooltipModel) {
var alwaysShowContent = tooltipModel.get('alwaysShowContent');
- alwaysShowContent && this._moveIfResized();
+ alwaysShowContent && this._moveIfResized(); // update alwaysShowContent
+
+ this._alwaysShowContent = alwaysShowContent;
};
TooltipRichContent.prototype.show = function () {
@@ -55729,7 +55797,7 @@
};
TooltipRichContent.prototype.hideLater = function (time) {
- if (this._show && !(this._inContent && this._enterable)) {
+ if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) {
if (time) {
this._hideDelay = time; // Set show false to avoid invoke hideLater multiple times
@@ -55818,12 +55886,6 @@
this._tooltipModel = tooltipModel;
this._ecModel = ecModel;
this._api = api;
- /**
- * @private
- * @type {boolean}
- */
-
- this._alwaysShowContent = tooltipModel.get('alwaysShowContent');
var tooltipContent = this._tooltipContent;
tooltipContent.update(tooltipModel);
tooltipContent.setEnterable(tooltipModel.get('enterable'));
@@ -55991,7 +56053,7 @@
TooltipView.prototype.manuallyHideTip = function (tooltipModel, ecModel, api, payload) {
var tooltipContent = this._tooltipContent;
- if (!this._alwaysShowContent && this._tooltipModel) {
+ if (this._tooltipModel) {
tooltipContent.hideLater(this._tooltipModel.get('hideDelay'));
}
@@ -56260,8 +56322,8 @@
if (cmpt) {
tooltipModelCascade.push(cmpt);
} // In most cases, component tooltip formatter has different params with series tooltip formatter,
- // so that they can not share the same formatter. Since the global tooltip formatter is used for series
- // by convension, we do not use it as the default formatter for component.
+ // so that they cannot share the same formatter. Since the global tooltip formatter is used for series
+ // by convention, we do not use it as the default formatter for component.
tooltipModelCascade.push({
@@ -56542,7 +56604,7 @@
if (gapH != null) {
// Add extra 2 pixels for this case:
- // At present the "values" in defaut tooltip are using CSS `float: right`.
+ // At present the "values" in default tooltip are using CSS `float: right`.
// When the right edge of the tooltip box is on the right side of the
// viewport, the `float` layout might push the "values" to the second line.
if (x + width + gapH + 2 > viewWidth) {
@@ -57140,12 +57202,12 @@
var data = seriesModel.getData();
var coordSys = seriesModel.coordinateSystem;
- var dims = coordSys.dimensions; // 1. If not specify the position with pixel directly
+ var dims = coordSys && coordSys.dimensions; // 1. If not specify the position with pixel directly
// 2. If `coord` is not a data array. Which uses `xAxis`,
// `yAxis` to specify the coord on each dimension
// parseFloat first because item.x and item.y can be percent string like '20%'
- if (!hasXAndY(item) && !isArray(item.coord) && coordSys) {
+ if (!hasXAndY(item) && !isArray(item.coord) && isArray(dims)) {
var axisInfo = getAxisInfo$1(item, data, coordSys, seriesModel); // Clone the option
// Transform the properties xAxis, yAxis, radiusAxis, angleAxis, geoCoord to value
@@ -57166,7 +57228,7 @@
} // x y is provided
- if (item.coord == null) {
+ if (item.coord == null || !isArray(dims)) {
item.coord = [];
} else {
// Each coord support max, min, average
@@ -61320,7 +61382,7 @@
scaleY: otherAxisInverse ? -1 : 1,
scaleX: 1,
rotation: Math.PI / 2
- } // Dont use Math.PI, considering shadow direction.
+ } // Don't use Math.PI, considering shadow direction.
: {
scaleY: otherAxisInverse ? -1 : 1,
scaleX: -1,
@@ -61986,7 +62048,7 @@
};
SliderZoomView.prototype._findCoordRect = function () {
- // Find the grid coresponding to the first axis referred by dataZoom.
+ // Find the grid corresponding to the first axis referred by dataZoom.
var rect;
var coordSysInfoList = collectReferCoordSysModelInfo(this.dataZoomModel).infoList;
diff --git a/dist/echarts.common.js.map b/dist/echarts.common.js.map
index 750765251..31ae1eb0b 100644
--- a/dist/echarts.common.js.map
+++ b/dist/echarts.common.js.map
@@ -1 +1 @@
-{"version":3,"file":"echarts.common.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/zrender/lib/core/env.js","../node_modules/zrender/lib/core/platform.js","../node_modules/zrender/lib/core/util.js","../node_modules/zrender/lib/core/vector.js","../node_modules/zrender/lib/mixin/Draggable.js","../node_modules/zrender/lib/core/Eventful.js","../node_modules/zrender/lib/core/fourPointsTransform.js","../node_modules/zrender/lib/core/dom.js","../node_modules/zrender/lib/co [...]
\ No newline at end of file
+{"version":3,"file":"echarts.common.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/zrender/lib/core/env.js","../node_modules/zrender/lib/core/platform.js","../node_modules/zrender/lib/core/util.js","../node_modules/zrender/lib/core/vector.js","../node_modules/zrender/lib/mixin/Draggable.js","../node_modules/zrender/lib/core/Eventful.js","../node_modules/zrender/lib/core/fourPointsTransform.js","../node_modules/zrender/lib/core/dom.js","../node_modules/zrender/lib/co [...]
\ No newline at end of file
diff --git a/dist/echarts.common.min.js b/dist/echarts.common.min.js
index 04eeac4b5..7c453d87b 100644
--- a/dist/echarts.common.min.js
+++ b/dist/echarts.common.min.js
@@ -32,7 +32,7 @@
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Objec [...]
+ ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Objec [...]
/*!
* ZRender, a high performance 2d drawing library.
*
@@ -42,4 +42,4 @@
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/
-var kr={},Ar={};var Pr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new $e,a=n.renderer||"canvas";kr[a]||(a=F(kr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new kr[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u,h=r.node||r.worker||l?null:new ji(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"au [...]
+var Ar={},Pr={};var Lr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new Qe,a=n.renderer||"canvas";Ar[a]||(a=F(Ar)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new Ar[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u,h=r.node||r.worker||l?null:new qi(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"au [...]
diff --git a/dist/echarts.esm.js b/dist/echarts.esm.js
index 6bf0e437e..5e710a857 100644
--- a/dist/echarts.esm.js
+++ b/dist/echarts.esm.js
@@ -7264,7 +7264,7 @@ function getInstance(id) {
function registerPainter(name, Ctor) {
painterCtors[name] = Ctor;
}
-var version = '5.4.1';
+var version = '5.4.3';
var zrender = /*#__PURE__*/Object.freeze({
__proto__: null,
@@ -9425,16 +9425,19 @@ function pushTokens(block, str, style, wrapInfo, styleName) {
}
}
}
-function isLatin(ch) {
+function isAlphabeticLetter(ch) {
var code = ch.charCodeAt(0);
- return code >= 0x21 && code <= 0x17F;
+ return code >= 0x20 && code <= 0x24F
+ || code >= 0x370 && code <= 0x10FF
+ || code >= 0x1200 && code <= 0x13FF
+ || code >= 0x1E00 && code <= 0x206F;
}
var breakCharMap = reduce(',&?/;] '.split(''), function (obj, ch) {
obj[ch] = true;
return obj;
}, {});
function isWordBreakChar(ch) {
- if (isLatin(ch)) {
+ if (isAlphabeticLetter(ch)) {
if (breakCharMap[ch]) {
return true;
}
@@ -16284,23 +16287,23 @@ function inheritDefaultOption(superOption, subOption) {
*/
/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements. See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership. The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
/**
* Language: English.
@@ -20448,11 +20451,7 @@ function objectRowsCollectDimensions(data) {
if (obj) {
- var dimensions_1 = [];
- each(obj, function (value, key) {
- dimensions_1.push(key);
- });
- return dimensions_1;
+ return keys(obj);
}
} // Consider dimensions defined like ['A', 'price', 'B', 'price', 'C', 'price'],
// which is reasonable. But dimension name is duplicated.
@@ -22151,7 +22150,7 @@ var DataStore =
/** @class */
function () {
function DataStore() {
- this._chunks = []; // It will not be calculated util needed.
+ this._chunks = []; // It will not be calculated until needed.
this._rawExtent = [];
this._extent = [];
@@ -22569,7 +22568,7 @@ function () {
// When the `value` is at the middle of `this.get(dim, i)` and `this.get(dim, i+1)`,
// we'd better not push both of them to `nearestIndices`, otherwise it is easy to
// get more than one item in `nearestIndices` (more specifically, in `tooltip`).
- // So we chose the one that `diff >= 0` in this csae.
+ // So we choose the one that `diff >= 0` in this case.
// But if `this.get(dim, i)` and `this.get(dim, j)` get the same value, both of them
// should be push to `nearestIndices`.
if (dist < minDist || dist === minDist && diff >= 0 && minDiff < 0) {
@@ -22921,7 +22920,7 @@ function () {
maxArea = -1;
nextRawIndex = frameStart;
var firstNaNIndex = -1;
- var countNaN = 0; // Find a point from current frame that construct a triangel with largest area with previous selected point
+ var countNaN = 0; // Find a point from current frame that construct a triangle with largest area with previous selected point
// And the average of next frame.
for (var idx = frameStart; idx < frameEnd; idx++) {
@@ -23912,8 +23911,8 @@ var TooltipMarkupStyleCreator =
/** @class */
function () {
function TooltipMarkupStyleCreator() {
- this.richTextStyles = {}; // Notice that "generate a style name" usuall happens repeatly when mouse moving and
- // displaying a tooltip. So we put the `_nextStyleNameId` as a member of each creator
+ this.richTextStyles = {}; // Notice that "generate a style name" usually happens repeatedly when mouse is moving and
+ // a tooltip is displayed. So we put the `_nextStyleNameId` as a member of each creator
// rather than static shared by all creators (which will cause it increase to fast).
this._nextStyleNameId = getRandomIdBase();
@@ -24018,8 +24017,8 @@ function defaultSeriesFormatTooltip(opt) {
var inlineName = multipleSeries ? seriesName : itemName;
return createTooltipMarkup('section', {
header: seriesName,
- // When series name not specified, do not show a header line with only '-'.
- // This case alway happen in tooltip.trigger: 'item'.
+ // When series name is not specified, do not show a header line with only '-'.
+ // This case always happens in tooltip.trigger: 'item'.
noHeader: multipleSeries || !seriesNameSpecified,
sortParam: sortParam,
blocks: [createTooltipMarkup('nameValue', {
@@ -24631,7 +24630,7 @@ function dataTaskReset(context) {
}
function dataTaskProgress(param, context) {
- // Avoid repead cloneShallow when data just created in reset.
+ // Avoid repeat cloneShallow when data just created in reset.
if (context.outputData && param.end > context.outputData.count()) {
context.model.getRawData().cloneShallow(context.outputData);
}
@@ -26519,7 +26518,7 @@ function setItemVisualFromData(data, dataIndex, key, value) {
}
}
-// Inlucdes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
+// Includes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
function createLegacyDataSelectAction(seriesType, ecRegisterAction) {
function getSeriesIndices(ecModel, payload) {
@@ -28139,9 +28138,9 @@ function getImpl(name) {
return implsStore[name];
}
-var version$1 = '5.4.1';
+var version$1 = '5.4.3';
var dependencies = {
- zrender: '5.4.1'
+ zrender: '5.4.3'
};
var TEST_FRAME_REMAIN_TIME = 1;
var PRIORITY_PROCESSOR_SERIES_FILTER = 800; // Some data processors depends on the stack result dimension (to calculate data extent).
@@ -38583,9 +38582,9 @@ function vNodeToString(el, opts) {
opts = opts || {};
var S = opts.newline ? '\n' : '';
function convertElToString(el) {
- var children = el.children, tag = el.tag, attrs = el.attrs;
+ var children = el.children, tag = el.tag, attrs = el.attrs, text = el.text;
return createElementOpen(tag, attrs)
- + encodeHTML(el.text)
+ + (tag !== 'style' ? encodeHTML(text) : text || '')
+ (children ? "" + S + map(children, function (child) { return convertElToString(child); }).join(S) + S : '')
+ createElementClose(tag);
}
@@ -42714,7 +42713,7 @@ function (_super) {
var polyline = this._polyline;
var polygon = this._polygon;
var lineGroup = this._lineGroup;
- var hasAnimation = seriesModel.get('animation');
+ var hasAnimation = !ecModel.ssr && seriesModel.isAnimationEnabled();
var isAreaChart = !areaStyleModel.isEmpty();
var valueOrigin = areaStyleModel.get('origin');
var dataCoordInfo = prepareDataCoordInfo(coordSys, data, valueOrigin);
@@ -43094,8 +43093,8 @@ function (_super) {
seriesDuration = seriesDuration(null);
}
- var seriesDalay = seriesModel.get('animationDelay') || 0;
- var seriesDalayValue = isFunction(seriesDalay) ? seriesDalay(null) : seriesDalay;
+ var seriesDelay = seriesModel.get('animationDelay') || 0;
+ var seriesDelayValue = isFunction(seriesDelay) ? seriesDelay(null) : seriesDelay;
data.eachItemGraphicEl(function (symbol, idx) {
var el = symbol;
@@ -43140,7 +43139,7 @@ function (_super) {
ratio = 1 - ratio;
}
- var delay = isFunction(seriesDalay) ? seriesDalay(idx) : seriesDuration * ratio + seriesDalayValue;
+ var delay = isFunction(seriesDelay) ? seriesDelay(idx) : seriesDuration * ratio + seriesDelayValue;
var symbolPath = el.getSymbolPath();
var text = symbolPath.getTextContent();
el.attr({
@@ -43638,22 +43637,75 @@ function (_super) {
if (coordSys && coordSys.clampData) {
// PENDING if clamp ?
- var pt_1 = coordSys.dataToPoint(coordSys.clampData(value));
+ var clampData_1 = coordSys.clampData(value);
+ var pt_1 = coordSys.dataToPoint(clampData_1);
if (startingAtTick) {
each(coordSys.getAxes(), function (axis, idx) {
// If axis type is category, use tick coords instead
- if (axis.type === 'category') {
+ if (axis.type === 'category' && dims != null) {
var tickCoords = axis.getTicksCoords();
- var tickIdx = coordSys.clampData(value)[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
+ var targetTickId = clampData_1[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
+
+ var isEnd = dims[idx] === 'x1' || dims[idx] === 'y1';
+
+ if (isEnd) {
+ targetTickId += 1;
+ } // The only contains one tick, tickCoords is
+ // like [{coord: 0, tickValue: 0}, {coord: 0}]
+ // to the length should always be larger than 1
- if (dims && (dims[idx] === 'x1' || dims[idx] === 'y1')) {
- tickIdx += 1;
+
+ if (tickCoords.length < 2) {
+ return;
+ } else if (tickCoords.length === 2) {
+ // The left value and right value of the axis are
+ // the same. coord is 0 in both items. Use the max
+ // value of the axis as the coord
+ pt_1[idx] = axis.toGlobalCoord(axis.getExtent()[isEnd ? 1 : 0]);
+ return;
+ }
+
+ var leftCoord = void 0;
+ var coord = void 0;
+ var stepTickValue = 1;
+
+ for (var i = 0; i < tickCoords.length; i++) {
+ var tickCoord = tickCoords[i].coord; // The last item of tickCoords doesn't contain
+ // tickValue
+
+ var tickValue = i === tickCoords.length - 1 ? tickCoords[i - 1].tickValue + stepTickValue : tickCoords[i].tickValue;
+
+ if (tickValue === targetTickId) {
+ coord = tickCoord;
+ break;
+ } else if (tickValue < targetTickId) {
+ leftCoord = tickCoord;
+ } else if (leftCoord != null && tickValue > targetTickId) {
+ coord = (tickCoord + leftCoord) / 2;
+ break;
+ }
+
+ if (i === 1) {
+ // Here we assume the step of category axes is
+ // the same
+ stepTickValue = tickValue - tickCoords[0].tickValue;
+ }
+ }
+
+ if (coord == null) {
+ if (!leftCoord) {
+ // targetTickId is smaller than all tick ids in the
+ // visible area, use the leftmost tick coord
+ coord = tickCoords[0].coord;
+ } else if (leftCoord) {
+ // targetTickId is larger than all tick ids in the
+ // visible area, use the rightmost tick coord
+ coord = tickCoords[tickCoords.length - 1].coord;
+ }
}
- tickIdx > tickCoords.length - 1 && (tickIdx = tickCoords.length - 1);
- tickIdx < 0 && (tickIdx = 0);
- tickCoords[tickIdx] && (pt_1[idx] = axis.toGlobalCoord(tickCoords[tickIdx].coord));
+ pt_1[idx] = axis.toGlobalCoord(coord);
}
});
} else {
@@ -44029,6 +44081,27 @@ function adjustAngleDistanceY(angle, distance, isEnd) {
return distance * Math.cos(angle) * (isEnd ? 1 : -1);
}
+function getSectorCornerRadius(model, shape, zeroIfNull) {
+ var cornerRadius = model.get('borderRadius');
+
+ if (cornerRadius == null) {
+ return zeroIfNull ? {
+ cornerRadius: 0
+ } : null;
+ }
+
+ if (!isArray(cornerRadius)) {
+ cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
+ }
+
+ var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
+ return {
+ cornerRadius: map(cornerRadius, function (cr) {
+ return parsePercent(cr, dr);
+ })
+ };
+}
+
var mathMax$6 = Math.max;
var mathMin$6 = Math.min;
@@ -44161,6 +44234,8 @@ function (_super) {
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
+ } else {
+ bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[dataIndex] = bgEl;
@@ -44233,6 +44308,8 @@ function (_super) {
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
+ } else {
+ bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[newIndex] = bgEl;
@@ -44626,7 +44703,7 @@ var elementCreator = {
var sectorShape = sector.shape;
var animateProperty = isRadial ? 'r' : 'endAngle';
var animateTarget = {};
- sectorShape[animateProperty] = isRadial ? 0 : layout.startAngle;
+ sectorShape[animateProperty] = isRadial ? layout.r0 : layout.startAngle;
animateTarget[animateProperty] = layout[animateProperty];
(isUpdate ? updateProps : initProps)(sector, {
shape: animateTarget // __value: typeof dataValue === 'string' ? parseInt(dataValue, 10) : dataValue
@@ -44776,7 +44853,13 @@ function updateStyle(el, data, dataIndex, itemModel, layout, seriesModel, isHori
var style = data.getItemVisual(dataIndex, 'style');
if (!isPolar) {
- el.setShape('r', itemModel.get(['itemStyle', 'borderRadius']) || 0);
+ var borderRadius = itemModel.get(['itemStyle', 'borderRadius']) || 0;
+ el.setShape('r', borderRadius);
+ } else if (!seriesModel.get('roundCap')) {
+ var sectorShape = el.shape;
+ var cornerRadius = getSectorCornerRadius(itemModel.getModel('itemStyle'), sectorShape, true);
+ extend(sectorShape, cornerRadius);
+ el.setShape(sectorShape);
}
el.useStyle(style);
@@ -45755,27 +45838,6 @@ function pieLabelLayout(seriesModel) {
}
}
-function getSectorCornerRadius(model, shape, zeroIfNull) {
- var cornerRadius = model.get('borderRadius');
-
- if (cornerRadius == null) {
- return zeroIfNull ? {
- cornerRadius: 0
- } : null;
- }
-
- if (!isArray(cornerRadius)) {
- cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
- }
-
- var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
- return {
- cornerRadius: map(cornerRadius, function (cr) {
- return parsePercent(cr, dr);
- })
- };
-}
-
/**
* Piece of pie including Sector, Label, LabelLine
*/
@@ -48188,7 +48250,7 @@ function () {
handleAutoShown: function () {
return true;
}
- }); // FIXME Not use a seperate text group?
+ }); // FIXME Not use a separate text group?
var transformGroup = new Group({
x: opt.position[0],
@@ -48696,7 +48758,7 @@ function buildAxisLabel(group, transformGroup, axisModel, opt) {
// in category axis.
// (2) Compatible with previous version, which always use formatted label as
// input. But in interval scale the formatted label is like '223,445', which
- // maked user repalce ','. So we modify it to return original val but remain
+ // maked user replace ','. So we modify it to return original val but remain
// it as 'string' to avoid error in replacing.
axis.type === 'category' ? rawLabel : axis.type === 'value' ? tickValue + '' : tickValue, index) : textColor
})
@@ -48774,8 +48836,8 @@ function collectAxesInfo(result, ecModel, api) {
var coordSysKey = makeKey(coordSys.model);
var axesInfoInCoordSys = result.coordSysAxesInfo[coordSysKey] = {};
- result.coordSysMap[coordSysKey] = coordSys; // Set tooltip (like 'cross') is a convienent way to show axisPointer
- // for user. So we enable seting tooltip on coordSys model.
+ result.coordSysMap[coordSysKey] = coordSys; // Set tooltip (like 'cross') is a convenient way to show axisPointer
+ // for user. So we enable setting tooltip on coordSys model.
var coordSysModel = coordSys.model;
var baseTooltipModel = coordSysModel.getModel('tooltip', globalTooltipModel);
@@ -48857,8 +48919,8 @@ function makeAxisPointerModel(axis, baseTooltipModel, globalAxisPointerModel, ec
// has value can not be hovered. value/time/log axis default snap if
// triggered from tooltip and trigger tooltip.
- volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; // Compatibel with previous behavior, tooltip axis do not show label by default.
- // Only these properties can be overrided from tooltip to axisPointer.
+ volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; // Compatible with previous behavior, tooltip axis does not show label by default.
+ // Only these properties can be overridden from tooltip to axisPointer.
if (tooltipAxisPointerModel.get('type') === 'cross') {
volatileOption.type = 'line';
@@ -52347,10 +52409,10 @@ function () {
MapDraw.prototype._enableBlurEntireSVG = function (focusSelf, viewBuildCtx) {
// It's a little complicated to support blurring the entire geoSVG in series-map.
- // So do not suport it until some requirements come.
+ // So do not support it until some requirements come.
// At present, in series-map, only regions can be blurred.
if (focusSelf && viewBuildCtx.isGeo) {
- var blurStyle = viewBuildCtx.mapOrGeoModel.getModel(['blur', 'itemStyle']).getItemStyle(); // Only suport `opacity` here. Because not sure that other props are suitable for
+ var blurStyle = viewBuildCtx.mapOrGeoModel.getModel(['blur', 'itemStyle']).getItemStyle(); // Only support `opacity` here. Because not sure that other props are suitable for
// all of the elements generated by SVG (especially for Text/TSpan/Image/... ).
var opacity_1 = blurStyle.opacity;
@@ -52544,12 +52606,12 @@ function applyOptionStyleForRegion(viewBuildCtx, el, dataIndex, regionModel) {
// polyline and polygon is "open" or "close" but not fill or not).
// (2) For the common props like opacity, if some use itemStyle
// and some use `lineStyle`, it might confuse users.
- // (3) Most SVG use <path>, where can not detect wether draw a "line"
+ // (3) Most SVG use <path>, where can not detect whether to draw a "line"
// or a filled shape, so use `itemStyle` for <path>.
var normalStyleModel = regionModel.getModel('itemStyle');
var emphasisStyleModel = regionModel.getModel(['emphasis', 'itemStyle']);
var blurStyleModel = regionModel.getModel(['blur', 'itemStyle']);
- var selectStyleModel = regionModel.getModel(['select', 'itemStyle']); // NOTE: DONT use 'style' in visual when drawing map.
+ var selectStyleModel = regionModel.getModel(['select', 'itemStyle']); // NOTE: DON'T use 'style' in visual when drawing map.
// This component is used for drawing underlying map for both geo component and map series.
var normalStyle = getFixedItemStyle(normalStyleModel);
@@ -61148,7 +61210,7 @@ function () {
Graph.prototype.addEdge = function (n1, n2, dataIndex) {
var nodesMap = this._nodesMap;
- var edgesMap = this._edgesMap; // PNEDING
+ var edgesMap = this._edgesMap; // PENDING
if (isNumber(n1)) {
n1 = this.nodes[n1];
@@ -64703,7 +64765,7 @@ function (_super) {
function addOrUpdate(newIndex, oldIndex) {
var newBrushInternal = coverConfigList[newIndex]; // Consider setOption in event listener of brushSelect,
- // where updating cover when creating should be forbiden.
+ // where updating cover when creating should be forbidden.
if (oldIndex != null && oldCovers[oldIndex] === creatingCover) {
newCovers[newIndex] = oldCovers[oldIndex];
@@ -65189,7 +65251,7 @@ function handleDragEnd(controller, e) {
var eventParams = updateCoverByMouse(controller, e, localCursorPoint, true);
controller._dragging = false;
controller._track = [];
- controller._creatingCover = null; // trigger event shoule be at final, after procedure will be nested.
+ controller._creatingCover = null; // trigger event should be at final, after procedure will be nested.
eventParams && trigger$1(controller, eventParams);
}
@@ -71311,7 +71373,7 @@ function (_super) {
if (firstCreate) {
sector.setShape(sectorShape);
sector.shape.r = layout.r0;
- updateProps(sector, {
+ initProps(sector, {
shape: {
r: layout.r
}
@@ -71425,9 +71487,9 @@ function (_super) {
var rotate = 0;
if (rotateType === 'radial') {
- rotate = -midAngle;
+ rotate = normalizeRadian(-midAngle);
- if (rotate < -Math.PI / 2) {
+ if (rotate > Math.PI / 2 && rotate < Math.PI * 1.5) {
rotate += Math.PI;
}
} else if (rotateType === 'tangential') {
@@ -74268,7 +74330,7 @@ function () {
this._axisModel = axisModel;
this._axisPointerModel = axisPointerModel;
- this._api = api; // Optimize: `render` will be called repeatly during mouse move.
+ this._api = api; // Optimize: `render` will be called repeatedly during mouse move.
// So it is power consuming if performing `render` each time,
// especially on mobile device.
@@ -74377,7 +74439,7 @@ function () {
*/
- BaseAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {// Shoule be implemenented by sub-class.
+ BaseAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {// Should be implemenented by sub-class.
};
/**
* @protected
@@ -74472,7 +74534,7 @@ function () {
cursor: 'move',
draggable: true,
onmousemove: function (e) {
- // Fot mobile devicem, prevent screen slider on the button.
+ // For mobile device, prevent screen slider on the button.
stop(e.event);
},
onmousedown: bind$1(this._onHandleDragMove, this, 0, 0),
@@ -74714,7 +74776,7 @@ function buildLabelElOption(elOption, axisModel, axisPointerModel, api, labelPos
padding: paddings,
backgroundColor: bgColor
}),
- // Lable should be over axisPointer.
+ // Label should be over axisPointer.
z2: 10
};
} // Do not overflow ec container
@@ -75485,8 +75547,8 @@ function dispatchTooltipActually(dataByCoordSys, point, payload, dispatchAction)
});
return;
} // In most case only one axis (or event one series is used). It is
- // convinient to fetch payload.seriesIndex and payload.dataIndex
- // dirtectly. So put the first seriesIndex and dataIndex of the first
+ // convenient to fetch payload.seriesIndex and payload.dataIndex
+ // directly. So put the first seriesIndex and dataIndex of the first
// axis on the payload.
@@ -75507,7 +75569,7 @@ function dispatchTooltipActually(dataByCoordSys, point, payload, dispatchAction)
function dispatchHighDownActually(axesInfo, dispatchAction, api) {
// FIXME
- // highlight status modification shoule be a stage of main process?
+ // highlight status modification should be a stage of main process?
// (Consider confilct (e.g., legend and axisPointer) and setOption)
var zr = api.getZr();
var highDownKey = 'axisPointerLastHighlights';
@@ -80483,7 +80545,7 @@ function (_super) {
features[featureName] = feature;
} else {
- feature = features[oldName]; // If feature does not exsit.
+ feature = features[oldName]; // If feature does not exist.
if (!feature) {
return;
@@ -80528,7 +80590,7 @@ function (_super) {
function createIconPaths(featureModel, feature, featureName) {
var iconStyleModel = featureModel.getModel('iconStyle');
- var iconStyleEmphasisModel = featureModel.getModel(['emphasis', 'iconStyle']); // If one feature has mutiple icon. they are orginaized as
+ var iconStyleEmphasisModel = featureModel.getModel(['emphasis', 'iconStyle']); // If one feature has multiple icons, they are organized as
// {
// icon: {
// foo: '',
@@ -81637,7 +81699,7 @@ function () {
area.range = area.range || []; // convert coordRange to global range and set panelId.
if (targetInfo && targetInfo !== true) {
- area.panelId = targetInfo.panelId; // (1) area.range shoule always be calculate from coordRange but does
+ area.panelId = targetInfo.panelId; // (1) area.range should always be calculate from coordRange but does
// not keep its original value, for the sake of the dataZoom scenario,
// where area.coordRange remains unchanged but area.range may be changed.
// (2) Only support converting one coordRange to pixel range in brush
@@ -81672,7 +81734,7 @@ function () {
};
/**
* If return Object, a coord found.
- * If reutrn true, global found.
+ * If return true, global found.
* Otherwise nothing found.
*/
@@ -82426,6 +82488,7 @@ function () {
this._show = false;
this._styleCoord = [0, 0, 0, 0];
this._enterable = true;
+ this._alwaysShowContent = false;
this._firstShow = true;
this._longHide = true;
@@ -82509,7 +82572,9 @@ function () {
var alwaysShowContent = tooltipModel.get('alwaysShowContent');
- alwaysShowContent && this._moveIfResized(); // update className
+ alwaysShowContent && this._moveIfResized(); // update alwaysShowContent
+
+ this._alwaysShowContent = alwaysShowContent; // update className
this.el.className = tooltipModel.get('className') || ''; // Hide the tooltip
// PENDING
@@ -82630,7 +82695,7 @@ function () {
};
TooltipHTMLContent.prototype.hideLater = function (time) {
- if (this._show && !(this._inContent && this._enterable)) {
+ if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) {
if (time) {
this._hideDelay = time; // Set show false to avoid invoke hideLater multiple times
@@ -82659,6 +82724,7 @@ function () {
function TooltipRichContent(api) {
this._show = false;
this._styleCoord = [0, 0, 0, 0];
+ this._alwaysShowContent = false;
this._enterable = true;
this._zr = api.getZr();
makeStyleCoord$1(this._styleCoord, this._zr, api.getWidth() / 2, api.getHeight() / 2);
@@ -82670,7 +82736,9 @@ function () {
TooltipRichContent.prototype.update = function (tooltipModel) {
var alwaysShowContent = tooltipModel.get('alwaysShowContent');
- alwaysShowContent && this._moveIfResized();
+ alwaysShowContent && this._moveIfResized(); // update alwaysShowContent
+
+ this._alwaysShowContent = alwaysShowContent;
};
TooltipRichContent.prototype.show = function () {
@@ -82796,7 +82864,7 @@ function () {
};
TooltipRichContent.prototype.hideLater = function (time) {
- if (this._show && !(this._inContent && this._enterable)) {
+ if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) {
if (time) {
this._hideDelay = time; // Set show false to avoid invoke hideLater multiple times
@@ -82885,12 +82953,6 @@ function (_super) {
this._tooltipModel = tooltipModel;
this._ecModel = ecModel;
this._api = api;
- /**
- * @private
- * @type {boolean}
- */
-
- this._alwaysShowContent = tooltipModel.get('alwaysShowContent');
var tooltipContent = this._tooltipContent;
tooltipContent.update(tooltipModel);
tooltipContent.setEnterable(tooltipModel.get('enterable'));
@@ -83058,7 +83120,7 @@ function (_super) {
TooltipView.prototype.manuallyHideTip = function (tooltipModel, ecModel, api, payload) {
var tooltipContent = this._tooltipContent;
- if (!this._alwaysShowContent && this._tooltipModel) {
+ if (this._tooltipModel) {
tooltipContent.hideLater(this._tooltipModel.get('hideDelay'));
}
@@ -83327,8 +83389,8 @@ function (_super) {
if (cmpt) {
tooltipModelCascade.push(cmpt);
} // In most cases, component tooltip formatter has different params with series tooltip formatter,
- // so that they can not share the same formatter. Since the global tooltip formatter is used for series
- // by convension, we do not use it as the default formatter for component.
+ // so that they cannot share the same formatter. Since the global tooltip formatter is used for series
+ // by convention, we do not use it as the default formatter for component.
tooltipModelCascade.push({
@@ -83609,7 +83671,7 @@ function refixTooltipPosition(x, y, content, viewWidth, viewHeight, gapH, gapV)
if (gapH != null) {
// Add extra 2 pixels for this case:
- // At present the "values" in defaut tooltip are using CSS `float: right`.
+ // At present the "values" in default tooltip are using CSS `float: right`.
// When the right edge of the tooltip box is on the right side of the
// viewport, the `float` layout might push the "values" to the second line.
if (x + width + gapH + 2 > viewWidth) {
@@ -86245,12 +86307,12 @@ function dataTransform(seriesModel, item) {
var data = seriesModel.getData();
var coordSys = seriesModel.coordinateSystem;
- var dims = coordSys.dimensions; // 1. If not specify the position with pixel directly
+ var dims = coordSys && coordSys.dimensions; // 1. If not specify the position with pixel directly
// 2. If `coord` is not a data array. Which uses `xAxis`,
// `yAxis` to specify the coord on each dimension
// parseFloat first because item.x and item.y can be percent string like '20%'
- if (!hasXAndY(item) && !isArray(item.coord) && coordSys) {
+ if (!hasXAndY(item) && !isArray(item.coord) && isArray(dims)) {
var axisInfo = getAxisInfo$1(item, data, coordSys, seriesModel); // Clone the option
// Transform the properties xAxis, yAxis, radiusAxis, angleAxis, geoCoord to value
@@ -86271,7 +86333,7 @@ function dataTransform(seriesModel, item) {
} // x y is provided
- if (item.coord == null) {
+ if (item.coord == null || !isArray(dims)) {
item.coord = [];
} else {
// Each coord support max, min, average
@@ -89558,7 +89620,7 @@ function (_super) {
scaleY: otherAxisInverse ? -1 : 1,
scaleX: 1,
rotation: Math.PI / 2
- } // Dont use Math.PI, considering shadow direction.
+ } // Don't use Math.PI, considering shadow direction.
: {
scaleY: otherAxisInverse ? -1 : 1,
scaleX: -1,
@@ -90224,7 +90286,7 @@ function (_super) {
};
SliderZoomView.prototype._findCoordRect = function () {
- // Find the grid coresponding to the first axis referred by dataZoom.
+ // Find the grid corresponding to the first axis referred by dataZoom.
var rect;
var coordSysInfoList = collectReferCoordSysModelInfo(this.dataZoomModel).infoList;
@@ -90506,7 +90568,7 @@ function (_super) {
* PENDING:
* delete this method if no outer usage.
*
- * Return Concrete dimention. If return null/undefined, no dimension used.
+ * Return Concrete dimension. If null/undefined is returned, no dimension is used.
*/
// getDataDimension(data: SeriesData) {
// const optDim = this.option.dimension;
@@ -90578,7 +90640,7 @@ function (_super) {
base.inRange = {
color: thisOption.color.slice().reverse()
};
- } // Compatible with previous logic, always give a defautl color, otherwise
+ } // Compatible with previous logic, always give a default color, otherwise
// simple config with no inRange and outOfRange will not work.
// Originally we use visualMap.color as the default color, but setOption at
// the second time the default color will be erased. So we change to use
@@ -90798,7 +90860,7 @@ function (_super) {
var range = this.option.range;
if (!range || range.auto) {
- // `range` should always be array (so we dont use other
+ // `range` should always be array (so we don't use other
// value like 'auto') for user-friend. (consider getOption).
dataExtent.auto = 1;
this.option.range = dataExtent;
@@ -91351,7 +91413,7 @@ function (_super) {
draggable: true,
drift: onDrift,
onmousemove: function (e) {
- // Fot mobile devicem, prevent screen slider on the button.
+ // For mobile device, prevent screen slider on the button.
stop(e.event);
},
ondragend: onDragEnd,
@@ -91479,7 +91541,7 @@ function (_super) {
var visualMapModel = this.visualMapModel;
var handleEnds = this._handleEnds;
var sizeExtent = [0, visualMapModel.itemSize[1]];
- sliderMove(delta, handleEnds, sizeExtent, handleIndex, // cross is forbiden
+ sliderMove(delta, handleEnds, sizeExtent, handleIndex, // cross is forbidden
0);
var dataExtent = visualMapModel.getExtent(); // Update data interval.
@@ -91530,7 +91592,7 @@ function (_super) {
ContinuousView.prototype._makeColorGradient = function (dataInterval, opts) {
// Considering colorHue, which is not linear, so we have to sample
- // to calculate gradient color stops, but not only caculate head
+ // to calculate gradient color stops, but not only calculate head
// and tail.
var sampleNumber = 100; // Arbitrary value.
@@ -91892,7 +91954,7 @@ function createPolygon(points, cursor, onDrift, onDragEnd) {
cursor: cursor,
drift: onDrift,
onmousemove: function (e) {
- // Fot mobile devicem, prevent screen slider on the button.
+ // For mobile device, prevent screen slider on the button.
stop(e.event);
},
ondragend: onDragEnd
@@ -92508,7 +92570,7 @@ var resetMethods = {
item.close = [1, 1];
} else {
// `min` `max` is legacy option.
- // `lt` `gt` `lte` `gte` is recommanded.
+ // `lt` `gt` `lte` `gte` is recommended.
var interval = item.interval = [];
var close_1 = item.close = [0, 0];
var closeList = [1, 0, 1];
@@ -93290,12 +93352,12 @@ function parseConditionalExpression(exprOption, getters) {
var filterTransform = {
type: 'echarts:filter',
- // PEDING: enhance to filter by index rather than create new data
+ // PENDING: enhance to filter by index rather than create new data
transform: function (params) {
// [Caveat] Fail-Fast:
- // Do not return the whole dataset unless user config indicate it explicitly.
- // For example, if no condition specified by mistake, return an empty result
- // is better than return the entire raw soruce for user to find the mistake.
+ // Do not return the whole dataset unless user config indicates it explicitly.
+ // For example, if no condition is specified by mistake, returning an empty result
+ // is better than returning the entire raw source for the user to find the mistake.
var upstream = params.upstream;
var rawItem;
var condition = parseConditionalExpression(params.config, {
diff --git a/dist/echarts.esm.js.map b/dist/echarts.esm.js.map
index 72524c0c3..a9906b164 100644
--- a/dist/echarts.esm.js.map
+++ b/dist/echarts.esm.js.map
@@ -1 +1 @@
-{"version":3,"file":"echarts.esm.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/zrender/lib/core/env.js","../node_modules/zrender/lib/core/platform.js","../node_modules/zrender/lib/core/util.js","../node_modules/zrender/lib/core/vector.js","../node_modules/zrender/lib/mixin/Draggable.js","../node_modules/zrender/lib/core/Eventful.js","../node_modules/zrender/lib/core/fourPointsTransform.js","../node_modules/zrender/lib/core/dom.js","../node_modules/zrender/lib/core/ [...]
\ No newline at end of file
+{"version":3,"file":"echarts.esm.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/zrender/lib/core/env.js","../node_modules/zrender/lib/core/platform.js","../node_modules/zrender/lib/core/util.js","../node_modules/zrender/lib/core/vector.js","../node_modules/zrender/lib/mixin/Draggable.js","../node_modules/zrender/lib/core/Eventful.js","../node_modules/zrender/lib/core/fourPointsTransform.js","../node_modules/zrender/lib/core/dom.js","../node_modules/zrender/lib/core/ [...]
\ No newline at end of file
diff --git a/dist/echarts.esm.min.js b/dist/echarts.esm.min.js
index ada957e6f..79336e081 100644
--- a/dist/echarts.esm.min.js
+++ b/dist/echarts.esm.min.js
@@ -32,7 +32,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
-var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};function e(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var n=function(){this.firefox=!1,this.ie [...]
+var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};function e(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var n=function(){this.firefox=!1,this.ie [...]
/*!
* ZRender, a high performance 2d drawing library.
*
@@ -42,4 +42,4 @@ var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Arr
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/
-var Ir={},Tr={};var Cr=function(){function t(t,e,n){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new $e,a=n.renderer||"canvas";Ir[a]||(a=B(Ir)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new Ir[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u,h=i.node||i.worker||l?null:new ji(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"au [...]
+var zr={},Vr={};var Br=function(){function t(t,e,n){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new nn,a=n.renderer||"canvas";zr[a]||(a=F(zr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new zr[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u,h=i.node||i.worker||l?null:new nr(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"au [...]
diff --git a/dist/echarts.js b/dist/echarts.js
index c9357a5ff..fb1d4778e 100644
--- a/dist/echarts.js
+++ b/dist/echarts.js
@@ -7270,7 +7270,7 @@
function registerPainter(name, Ctor) {
painterCtors[name] = Ctor;
}
- var version = '5.4.1';
+ var version = '5.4.3';
var zrender = /*#__PURE__*/Object.freeze({
__proto__: null,
@@ -9431,16 +9431,19 @@
}
}
}
- function isLatin(ch) {
+ function isAlphabeticLetter(ch) {
var code = ch.charCodeAt(0);
- return code >= 0x21 && code <= 0x17F;
+ return code >= 0x20 && code <= 0x24F
+ || code >= 0x370 && code <= 0x10FF
+ || code >= 0x1200 && code <= 0x13FF
+ || code >= 0x1E00 && code <= 0x206F;
}
var breakCharMap = reduce(',&?/;] '.split(''), function (obj, ch) {
obj[ch] = true;
return obj;
}, {});
function isWordBreakChar(ch) {
- if (isLatin(ch)) {
+ if (isAlphabeticLetter(ch)) {
if (breakCharMap[ch]) {
return true;
}
@@ -16290,23 +16293,23 @@
*/
/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
/**
* Language: English.
@@ -20454,11 +20457,7 @@
if (obj) {
- var dimensions_1 = [];
- each(obj, function (value, key) {
- dimensions_1.push(key);
- });
- return dimensions_1;
+ return keys(obj);
}
} // Consider dimensions defined like ['A', 'price', 'B', 'price', 'C', 'price'],
// which is reasonable. But dimension name is duplicated.
@@ -22157,7 +22156,7 @@
/** @class */
function () {
function DataStore() {
- this._chunks = []; // It will not be calculated util needed.
+ this._chunks = []; // It will not be calculated until needed.
this._rawExtent = [];
this._extent = [];
@@ -22575,7 +22574,7 @@
// When the `value` is at the middle of `this.get(dim, i)` and `this.get(dim, i+1)`,
// we'd better not push both of them to `nearestIndices`, otherwise it is easy to
// get more than one item in `nearestIndices` (more specifically, in `tooltip`).
- // So we chose the one that `diff >= 0` in this csae.
+ // So we choose the one that `diff >= 0` in this case.
// But if `this.get(dim, i)` and `this.get(dim, j)` get the same value, both of them
// should be push to `nearestIndices`.
if (dist < minDist || dist === minDist && diff >= 0 && minDiff < 0) {
@@ -22927,7 +22926,7 @@
maxArea = -1;
nextRawIndex = frameStart;
var firstNaNIndex = -1;
- var countNaN = 0; // Find a point from current frame that construct a triangel with largest area with previous selected point
+ var countNaN = 0; // Find a point from current frame that construct a triangle with largest area with previous selected point
// And the average of next frame.
for (var idx = frameStart; idx < frameEnd; idx++) {
@@ -23918,8 +23917,8 @@
/** @class */
function () {
function TooltipMarkupStyleCreator() {
- this.richTextStyles = {}; // Notice that "generate a style name" usuall happens repeatly when mouse moving and
- // displaying a tooltip. So we put the `_nextStyleNameId` as a member of each creator
+ this.richTextStyles = {}; // Notice that "generate a style name" usually happens repeatedly when mouse is moving and
+ // a tooltip is displayed. So we put the `_nextStyleNameId` as a member of each creator
// rather than static shared by all creators (which will cause it increase to fast).
this._nextStyleNameId = getRandomIdBase();
@@ -24024,8 +24023,8 @@
var inlineName = multipleSeries ? seriesName : itemName;
return createTooltipMarkup('section', {
header: seriesName,
- // When series name not specified, do not show a header line with only '-'.
- // This case alway happen in tooltip.trigger: 'item'.
+ // When series name is not specified, do not show a header line with only '-'.
+ // This case always happens in tooltip.trigger: 'item'.
noHeader: multipleSeries || !seriesNameSpecified,
sortParam: sortParam,
blocks: [createTooltipMarkup('nameValue', {
@@ -24637,7 +24636,7 @@
}
function dataTaskProgress(param, context) {
- // Avoid repead cloneShallow when data just created in reset.
+ // Avoid repeat cloneShallow when data just created in reset.
if (context.outputData && param.end > context.outputData.count()) {
context.model.getRawData().cloneShallow(context.outputData);
}
@@ -26525,7 +26524,7 @@
}
}
- // Inlucdes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
+ // Includes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
function createLegacyDataSelectAction(seriesType, ecRegisterAction) {
function getSeriesIndices(ecModel, payload) {
@@ -28145,9 +28144,9 @@
return implsStore[name];
}
- var version$1 = '5.4.1';
+ var version$1 = '5.4.3';
var dependencies = {
- zrender: '5.4.1'
+ zrender: '5.4.3'
};
var TEST_FRAME_REMAIN_TIME = 1;
var PRIORITY_PROCESSOR_SERIES_FILTER = 800; // Some data processors depends on the stack result dimension (to calculate data extent).
@@ -38589,9 +38588,9 @@
opts = opts || {};
var S = opts.newline ? '\n' : '';
function convertElToString(el) {
- var children = el.children, tag = el.tag, attrs = el.attrs;
+ var children = el.children, tag = el.tag, attrs = el.attrs, text = el.text;
return createElementOpen(tag, attrs)
- + encodeHTML(el.text)
+ + (tag !== 'style' ? encodeHTML(text) : text || '')
+ (children ? "" + S + map(children, function (child) { return convertElToString(child); }).join(S) + S : '')
+ createElementClose(tag);
}
@@ -42720,7 +42719,7 @@
var polyline = this._polyline;
var polygon = this._polygon;
var lineGroup = this._lineGroup;
- var hasAnimation = seriesModel.get('animation');
+ var hasAnimation = !ecModel.ssr && seriesModel.isAnimationEnabled();
var isAreaChart = !areaStyleModel.isEmpty();
var valueOrigin = areaStyleModel.get('origin');
var dataCoordInfo = prepareDataCoordInfo(coordSys, data, valueOrigin);
@@ -43100,8 +43099,8 @@
seriesDuration = seriesDuration(null);
}
- var seriesDalay = seriesModel.get('animationDelay') || 0;
- var seriesDalayValue = isFunction(seriesDalay) ? seriesDalay(null) : seriesDalay;
+ var seriesDelay = seriesModel.get('animationDelay') || 0;
+ var seriesDelayValue = isFunction(seriesDelay) ? seriesDelay(null) : seriesDelay;
data.eachItemGraphicEl(function (symbol, idx) {
var el = symbol;
@@ -43146,7 +43145,7 @@
ratio = 1 - ratio;
}
- var delay = isFunction(seriesDalay) ? seriesDalay(idx) : seriesDuration * ratio + seriesDalayValue;
+ var delay = isFunction(seriesDelay) ? seriesDelay(idx) : seriesDuration * ratio + seriesDelayValue;
var symbolPath = el.getSymbolPath();
var text = symbolPath.getTextContent();
el.attr({
@@ -43644,22 +43643,75 @@
if (coordSys && coordSys.clampData) {
// PENDING if clamp ?
- var pt_1 = coordSys.dataToPoint(coordSys.clampData(value));
+ var clampData_1 = coordSys.clampData(value);
+ var pt_1 = coordSys.dataToPoint(clampData_1);
if (startingAtTick) {
each(coordSys.getAxes(), function (axis, idx) {
// If axis type is category, use tick coords instead
- if (axis.type === 'category') {
+ if (axis.type === 'category' && dims != null) {
var tickCoords = axis.getTicksCoords();
- var tickIdx = coordSys.clampData(value)[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
+ var targetTickId = clampData_1[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
+
+ var isEnd = dims[idx] === 'x1' || dims[idx] === 'y1';
+
+ if (isEnd) {
+ targetTickId += 1;
+ } // The only contains one tick, tickCoords is
+ // like [{coord: 0, tickValue: 0}, {coord: 0}]
+ // to the length should always be larger than 1
- if (dims && (dims[idx] === 'x1' || dims[idx] === 'y1')) {
- tickIdx += 1;
+
+ if (tickCoords.length < 2) {
+ return;
+ } else if (tickCoords.length === 2) {
+ // The left value and right value of the axis are
+ // the same. coord is 0 in both items. Use the max
+ // value of the axis as the coord
+ pt_1[idx] = axis.toGlobalCoord(axis.getExtent()[isEnd ? 1 : 0]);
+ return;
+ }
+
+ var leftCoord = void 0;
+ var coord = void 0;
+ var stepTickValue = 1;
+
+ for (var i = 0; i < tickCoords.length; i++) {
+ var tickCoord = tickCoords[i].coord; // The last item of tickCoords doesn't contain
+ // tickValue
+
+ var tickValue = i === tickCoords.length - 1 ? tickCoords[i - 1].tickValue + stepTickValue : tickCoords[i].tickValue;
+
+ if (tickValue === targetTickId) {
+ coord = tickCoord;
+ break;
+ } else if (tickValue < targetTickId) {
+ leftCoord = tickCoord;
+ } else if (leftCoord != null && tickValue > targetTickId) {
+ coord = (tickCoord + leftCoord) / 2;
+ break;
+ }
+
+ if (i === 1) {
+ // Here we assume the step of category axes is
+ // the same
+ stepTickValue = tickValue - tickCoords[0].tickValue;
+ }
+ }
+
+ if (coord == null) {
+ if (!leftCoord) {
+ // targetTickId is smaller than all tick ids in the
+ // visible area, use the leftmost tick coord
+ coord = tickCoords[0].coord;
+ } else if (leftCoord) {
+ // targetTickId is larger than all tick ids in the
+ // visible area, use the rightmost tick coord
+ coord = tickCoords[tickCoords.length - 1].coord;
+ }
}
- tickIdx > tickCoords.length - 1 && (tickIdx = tickCoords.length - 1);
- tickIdx < 0 && (tickIdx = 0);
- tickCoords[tickIdx] && (pt_1[idx] = axis.toGlobalCoord(tickCoords[tickIdx].coord));
+ pt_1[idx] = axis.toGlobalCoord(coord);
}
});
} else {
@@ -44035,6 +44087,27 @@
return distance * Math.cos(angle) * (isEnd ? 1 : -1);
}
+ function getSectorCornerRadius(model, shape, zeroIfNull) {
+ var cornerRadius = model.get('borderRadius');
+
+ if (cornerRadius == null) {
+ return zeroIfNull ? {
+ cornerRadius: 0
+ } : null;
+ }
+
+ if (!isArray(cornerRadius)) {
+ cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
+ }
+
+ var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
+ return {
+ cornerRadius: map(cornerRadius, function (cr) {
+ return parsePercent(cr, dr);
+ })
+ };
+ }
+
var mathMax$6 = Math.max;
var mathMin$6 = Math.min;
@@ -44167,6 +44240,8 @@
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
+ } else {
+ bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[dataIndex] = bgEl;
@@ -44239,6 +44314,8 @@
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
+ } else {
+ bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[newIndex] = bgEl;
@@ -44632,7 +44709,7 @@
var sectorShape = sector.shape;
var animateProperty = isRadial ? 'r' : 'endAngle';
var animateTarget = {};
- sectorShape[animateProperty] = isRadial ? 0 : layout.startAngle;
+ sectorShape[animateProperty] = isRadial ? layout.r0 : layout.startAngle;
animateTarget[animateProperty] = layout[animateProperty];
(isUpdate ? updateProps : initProps)(sector, {
shape: animateTarget // __value: typeof dataValue === 'string' ? parseInt(dataValue, 10) : dataValue
@@ -44782,7 +44859,13 @@
var style = data.getItemVisual(dataIndex, 'style');
if (!isPolar) {
- el.setShape('r', itemModel.get(['itemStyle', 'borderRadius']) || 0);
+ var borderRadius = itemModel.get(['itemStyle', 'borderRadius']) || 0;
+ el.setShape('r', borderRadius);
+ } else if (!seriesModel.get('roundCap')) {
+ var sectorShape = el.shape;
+ var cornerRadius = getSectorCornerRadius(itemModel.getModel('itemStyle'), sectorShape, true);
+ extend(sectorShape, cornerRadius);
+ el.setShape(sectorShape);
}
el.useStyle(style);
@@ -45761,27 +45844,6 @@
}
}
- function getSectorCornerRadius(model, shape, zeroIfNull) {
- var cornerRadius = model.get('borderRadius');
-
- if (cornerRadius == null) {
- return zeroIfNull ? {
- cornerRadius: 0
- } : null;
- }
-
- if (!isArray(cornerRadius)) {
- cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
- }
-
- var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
- return {
- cornerRadius: map(cornerRadius, function (cr) {
- return parsePercent(cr, dr);
- })
- };
- }
-
/**
* Piece of pie including Sector, Label, LabelLine
*/
@@ -48194,7 +48256,7 @@
handleAutoShown: function () {
return true;
}
- }); // FIXME Not use a seperate text group?
+ }); // FIXME Not use a separate text group?
var transformGroup = new Group({
x: opt.position[0],
@@ -48702,7 +48764,7 @@
// in category axis.
// (2) Compatible with previous version, which always use formatted label as
// input. But in interval scale the formatted label is like '223,445', which
- // maked user repalce ','. So we modify it to return original val but remain
+ // maked user replace ','. So we modify it to return original val but remain
// it as 'string' to avoid error in replacing.
axis.type === 'category' ? rawLabel : axis.type === 'value' ? tickValue + '' : tickValue, index) : textColor
})
@@ -48780,8 +48842,8 @@
var coordSysKey = makeKey(coordSys.model);
var axesInfoInCoordSys = result.coordSysAxesInfo[coordSysKey] = {};
- result.coordSysMap[coordSysKey] = coordSys; // Set tooltip (like 'cross') is a convienent way to show axisPointer
- // for user. So we enable seting tooltip on coordSys model.
+ result.coordSysMap[coordSysKey] = coordSys; // Set tooltip (like 'cross') is a convenient way to show axisPointer
+ // for user. So we enable setting tooltip on coordSys model.
var coordSysModel = coordSys.model;
var baseTooltipModel = coordSysModel.getModel('tooltip', globalTooltipModel);
@@ -48863,8 +48925,8 @@
// has value can not be hovered. value/time/log axis default snap if
// triggered from tooltip and trigger tooltip.
- volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; // Compatibel with previous behavior, tooltip axis do not show label by default.
- // Only these properties can be overrided from tooltip to axisPointer.
+ volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; // Compatible with previous behavior, tooltip axis does not show label by default.
+ // Only these properties can be overridden from tooltip to axisPointer.
if (tooltipAxisPointerModel.get('type') === 'cross') {
volatileOption.type = 'line';
@@ -52353,10 +52415,10 @@
MapDraw.prototype._enableBlurEntireSVG = function (focusSelf, viewBuildCtx) {
// It's a little complicated to support blurring the entire geoSVG in series-map.
- // So do not suport it until some requirements come.
+ // So do not support it until some requirements come.
// At present, in series-map, only regions can be blurred.
if (focusSelf && viewBuildCtx.isGeo) {
- var blurStyle = viewBuildCtx.mapOrGeoModel.getModel(['blur', 'itemStyle']).getItemStyle(); // Only suport `opacity` here. Because not sure that other props are suitable for
+ var blurStyle = viewBuildCtx.mapOrGeoModel.getModel(['blur', 'itemStyle']).getItemStyle(); // Only support `opacity` here. Because not sure that other props are suitable for
// all of the elements generated by SVG (especially for Text/TSpan/Image/... ).
var opacity_1 = blurStyle.opacity;
@@ -52550,12 +52612,12 @@
// polyline and polygon is "open" or "close" but not fill or not).
// (2) For the common props like opacity, if some use itemStyle
// and some use `lineStyle`, it might confuse users.
- // (3) Most SVG use <path>, where can not detect wether draw a "line"
+ // (3) Most SVG use <path>, where can not detect whether to draw a "line"
// or a filled shape, so use `itemStyle` for <path>.
var normalStyleModel = regionModel.getModel('itemStyle');
var emphasisStyleModel = regionModel.getModel(['emphasis', 'itemStyle']);
var blurStyleModel = regionModel.getModel(['blur', 'itemStyle']);
- var selectStyleModel = regionModel.getModel(['select', 'itemStyle']); // NOTE: DONT use 'style' in visual when drawing map.
+ var selectStyleModel = regionModel.getModel(['select', 'itemStyle']); // NOTE: DON'T use 'style' in visual when drawing map.
// This component is used for drawing underlying map for both geo component and map series.
var normalStyle = getFixedItemStyle(normalStyleModel);
@@ -61154,7 +61216,7 @@
Graph.prototype.addEdge = function (n1, n2, dataIndex) {
var nodesMap = this._nodesMap;
- var edgesMap = this._edgesMap; // PNEDING
+ var edgesMap = this._edgesMap; // PENDING
if (isNumber(n1)) {
n1 = this.nodes[n1];
@@ -64709,7 +64771,7 @@
function addOrUpdate(newIndex, oldIndex) {
var newBrushInternal = coverConfigList[newIndex]; // Consider setOption in event listener of brushSelect,
- // where updating cover when creating should be forbiden.
+ // where updating cover when creating should be forbidden.
if (oldIndex != null && oldCovers[oldIndex] === creatingCover) {
newCovers[newIndex] = oldCovers[oldIndex];
@@ -65195,7 +65257,7 @@
var eventParams = updateCoverByMouse(controller, e, localCursorPoint, true);
controller._dragging = false;
controller._track = [];
- controller._creatingCover = null; // trigger event shoule be at final, after procedure will be nested.
+ controller._creatingCover = null; // trigger event should be at final, after procedure will be nested.
eventParams && trigger$1(controller, eventParams);
}
@@ -71317,7 +71379,7 @@
if (firstCreate) {
sector.setShape(sectorShape);
sector.shape.r = layout.r0;
- updateProps(sector, {
+ initProps(sector, {
shape: {
r: layout.r
}
@@ -71431,9 +71493,9 @@
var rotate = 0;
if (rotateType === 'radial') {
- rotate = -midAngle;
+ rotate = normalizeRadian(-midAngle);
- if (rotate < -Math.PI / 2) {
+ if (rotate > Math.PI / 2 && rotate < Math.PI * 1.5) {
rotate += Math.PI;
}
} else if (rotateType === 'tangential') {
@@ -74274,7 +74336,7 @@
this._axisModel = axisModel;
this._axisPointerModel = axisPointerModel;
- this._api = api; // Optimize: `render` will be called repeatly during mouse move.
+ this._api = api; // Optimize: `render` will be called repeatedly during mouse move.
// So it is power consuming if performing `render` each time,
// especially on mobile device.
@@ -74383,7 +74445,7 @@
*/
- BaseAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {// Shoule be implemenented by sub-class.
+ BaseAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {// Should be implemenented by sub-class.
};
/**
* @protected
@@ -74478,7 +74540,7 @@
cursor: 'move',
draggable: true,
onmousemove: function (e) {
- // Fot mobile devicem, prevent screen slider on the button.
+ // For mobile device, prevent screen slider on the button.
stop(e.event);
},
onmousedown: bind$1(this._onHandleDragMove, this, 0, 0),
@@ -74720,7 +74782,7 @@
padding: paddings,
backgroundColor: bgColor
}),
- // Lable should be over axisPointer.
+ // Label should be over axisPointer.
z2: 10
};
} // Do not overflow ec container
@@ -75491,8 +75553,8 @@
});
return;
} // In most case only one axis (or event one series is used). It is
- // convinient to fetch payload.seriesIndex and payload.dataIndex
- // dirtectly. So put the first seriesIndex and dataIndex of the first
+ // convenient to fetch payload.seriesIndex and payload.dataIndex
+ // directly. So put the first seriesIndex and dataIndex of the first
// axis on the payload.
@@ -75513,7 +75575,7 @@
function dispatchHighDownActually(axesInfo, dispatchAction, api) {
// FIXME
- // highlight status modification shoule be a stage of main process?
+ // highlight status modification should be a stage of main process?
// (Consider confilct (e.g., legend and axisPointer) and setOption)
var zr = api.getZr();
var highDownKey = 'axisPointerLastHighlights';
@@ -80489,7 +80551,7 @@
features[featureName] = feature;
} else {
- feature = features[oldName]; // If feature does not exsit.
+ feature = features[oldName]; // If feature does not exist.
if (!feature) {
return;
@@ -80534,7 +80596,7 @@
function createIconPaths(featureModel, feature, featureName) {
var iconStyleModel = featureModel.getModel('iconStyle');
- var iconStyleEmphasisModel = featureModel.getModel(['emphasis', 'iconStyle']); // If one feature has mutiple icon. they are orginaized as
+ var iconStyleEmphasisModel = featureModel.getModel(['emphasis', 'iconStyle']); // If one feature has multiple icons, they are organized as
// {
// icon: {
// foo: '',
@@ -81643,7 +81705,7 @@
area.range = area.range || []; // convert coordRange to global range and set panelId.
if (targetInfo && targetInfo !== true) {
- area.panelId = targetInfo.panelId; // (1) area.range shoule always be calculate from coordRange but does
+ area.panelId = targetInfo.panelId; // (1) area.range should always be calculate from coordRange but does
// not keep its original value, for the sake of the dataZoom scenario,
// where area.coordRange remains unchanged but area.range may be changed.
// (2) Only support converting one coordRange to pixel range in brush
@@ -81678,7 +81740,7 @@
};
/**
* If return Object, a coord found.
- * If reutrn true, global found.
+ * If return true, global found.
* Otherwise nothing found.
*/
@@ -82432,6 +82494,7 @@
this._show = false;
this._styleCoord = [0, 0, 0, 0];
this._enterable = true;
+ this._alwaysShowContent = false;
this._firstShow = true;
this._longHide = true;
@@ -82515,7 +82578,9 @@
var alwaysShowContent = tooltipModel.get('alwaysShowContent');
- alwaysShowContent && this._moveIfResized(); // update className
+ alwaysShowContent && this._moveIfResized(); // update alwaysShowContent
+
+ this._alwaysShowContent = alwaysShowContent; // update className
this.el.className = tooltipModel.get('className') || ''; // Hide the tooltip
// PENDING
@@ -82636,7 +82701,7 @@
};
TooltipHTMLContent.prototype.hideLater = function (time) {
- if (this._show && !(this._inContent && this._enterable)) {
+ if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) {
if (time) {
this._hideDelay = time; // Set show false to avoid invoke hideLater multiple times
@@ -82665,6 +82730,7 @@
function TooltipRichContent(api) {
this._show = false;
this._styleCoord = [0, 0, 0, 0];
+ this._alwaysShowContent = false;
this._enterable = true;
this._zr = api.getZr();
makeStyleCoord$1(this._styleCoord, this._zr, api.getWidth() / 2, api.getHeight() / 2);
@@ -82676,7 +82742,9 @@
TooltipRichContent.prototype.update = function (tooltipModel) {
var alwaysShowContent = tooltipModel.get('alwaysShowContent');
- alwaysShowContent && this._moveIfResized();
+ alwaysShowContent && this._moveIfResized(); // update alwaysShowContent
+
+ this._alwaysShowContent = alwaysShowContent;
};
TooltipRichContent.prototype.show = function () {
@@ -82802,7 +82870,7 @@
};
TooltipRichContent.prototype.hideLater = function (time) {
- if (this._show && !(this._inContent && this._enterable)) {
+ if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) {
if (time) {
this._hideDelay = time; // Set show false to avoid invoke hideLater multiple times
@@ -82891,12 +82959,6 @@
this._tooltipModel = tooltipModel;
this._ecModel = ecModel;
this._api = api;
- /**
- * @private
- * @type {boolean}
- */
-
- this._alwaysShowContent = tooltipModel.get('alwaysShowContent');
var tooltipContent = this._tooltipContent;
tooltipContent.update(tooltipModel);
tooltipContent.setEnterable(tooltipModel.get('enterable'));
@@ -83064,7 +83126,7 @@
TooltipView.prototype.manuallyHideTip = function (tooltipModel, ecModel, api, payload) {
var tooltipContent = this._tooltipContent;
- if (!this._alwaysShowContent && this._tooltipModel) {
+ if (this._tooltipModel) {
tooltipContent.hideLater(this._tooltipModel.get('hideDelay'));
}
@@ -83333,8 +83395,8 @@
if (cmpt) {
tooltipModelCascade.push(cmpt);
} // In most cases, component tooltip formatter has different params with series tooltip formatter,
- // so that they can not share the same formatter. Since the global tooltip formatter is used for series
- // by convension, we do not use it as the default formatter for component.
+ // so that they cannot share the same formatter. Since the global tooltip formatter is used for series
+ // by convention, we do not use it as the default formatter for component.
tooltipModelCascade.push({
@@ -83615,7 +83677,7 @@
if (gapH != null) {
// Add extra 2 pixels for this case:
- // At present the "values" in defaut tooltip are using CSS `float: right`.
+ // At present the "values" in default tooltip are using CSS `float: right`.
// When the right edge of the tooltip box is on the right side of the
// viewport, the `float` layout might push the "values" to the second line.
if (x + width + gapH + 2 > viewWidth) {
@@ -86251,12 +86313,12 @@
var data = seriesModel.getData();
var coordSys = seriesModel.coordinateSystem;
- var dims = coordSys.dimensions; // 1. If not specify the position with pixel directly
+ var dims = coordSys && coordSys.dimensions; // 1. If not specify the position with pixel directly
// 2. If `coord` is not a data array. Which uses `xAxis`,
// `yAxis` to specify the coord on each dimension
// parseFloat first because item.x and item.y can be percent string like '20%'
- if (!hasXAndY(item) && !isArray(item.coord) && coordSys) {
+ if (!hasXAndY(item) && !isArray(item.coord) && isArray(dims)) {
var axisInfo = getAxisInfo$1(item, data, coordSys, seriesModel); // Clone the option
// Transform the properties xAxis, yAxis, radiusAxis, angleAxis, geoCoord to value
@@ -86277,7 +86339,7 @@
} // x y is provided
- if (item.coord == null) {
+ if (item.coord == null || !isArray(dims)) {
item.coord = [];
} else {
// Each coord support max, min, average
@@ -89564,7 +89626,7 @@
scaleY: otherAxisInverse ? -1 : 1,
scaleX: 1,
rotation: Math.PI / 2
- } // Dont use Math.PI, considering shadow direction.
+ } // Don't use Math.PI, considering shadow direction.
: {
scaleY: otherAxisInverse ? -1 : 1,
scaleX: -1,
@@ -90230,7 +90292,7 @@
};
SliderZoomView.prototype._findCoordRect = function () {
- // Find the grid coresponding to the first axis referred by dataZoom.
+ // Find the grid corresponding to the first axis referred by dataZoom.
var rect;
var coordSysInfoList = collectReferCoordSysModelInfo(this.dataZoomModel).infoList;
@@ -90512,7 +90574,7 @@
* PENDING:
* delete this method if no outer usage.
*
- * Return Concrete dimention. If return null/undefined, no dimension used.
+ * Return Concrete dimension. If null/undefined is returned, no dimension is used.
*/
// getDataDimension(data: SeriesData) {
// const optDim = this.option.dimension;
@@ -90584,7 +90646,7 @@
base.inRange = {
color: thisOption.color.slice().reverse()
};
- } // Compatible with previous logic, always give a defautl color, otherwise
+ } // Compatible with previous logic, always give a default color, otherwise
// simple config with no inRange and outOfRange will not work.
// Originally we use visualMap.color as the default color, but setOption at
// the second time the default color will be erased. So we change to use
@@ -90804,7 +90866,7 @@
var range = this.option.range;
if (!range || range.auto) {
- // `range` should always be array (so we dont use other
+ // `range` should always be array (so we don't use other
// value like 'auto') for user-friend. (consider getOption).
dataExtent.auto = 1;
this.option.range = dataExtent;
@@ -91357,7 +91419,7 @@
draggable: true,
drift: onDrift,
onmousemove: function (e) {
- // Fot mobile devicem, prevent screen slider on the button.
+ // For mobile device, prevent screen slider on the button.
stop(e.event);
},
ondragend: onDragEnd,
@@ -91485,7 +91547,7 @@
var visualMapModel = this.visualMapModel;
var handleEnds = this._handleEnds;
var sizeExtent = [0, visualMapModel.itemSize[1]];
- sliderMove(delta, handleEnds, sizeExtent, handleIndex, // cross is forbiden
+ sliderMove(delta, handleEnds, sizeExtent, handleIndex, // cross is forbidden
0);
var dataExtent = visualMapModel.getExtent(); // Update data interval.
@@ -91536,7 +91598,7 @@
ContinuousView.prototype._makeColorGradient = function (dataInterval, opts) {
// Considering colorHue, which is not linear, so we have to sample
- // to calculate gradient color stops, but not only caculate head
+ // to calculate gradient color stops, but not only calculate head
// and tail.
var sampleNumber = 100; // Arbitrary value.
@@ -91898,7 +91960,7 @@
cursor: cursor,
drift: onDrift,
onmousemove: function (e) {
- // Fot mobile devicem, prevent screen slider on the button.
+ // For mobile device, prevent screen slider on the button.
stop(e.event);
},
ondragend: onDragEnd
@@ -92514,7 +92576,7 @@
item.close = [1, 1];
} else {
// `min` `max` is legacy option.
- // `lt` `gt` `lte` `gte` is recommanded.
+ // `lt` `gt` `lte` `gte` is recommended.
var interval = item.interval = [];
var close_1 = item.close = [0, 0];
var closeList = [1, 0, 1];
@@ -93296,12 +93358,12 @@
var filterTransform = {
type: 'echarts:filter',
- // PEDING: enhance to filter by index rather than create new data
+ // PENDING: enhance to filter by index rather than create new data
transform: function (params) {
// [Caveat] Fail-Fast:
- // Do not return the whole dataset unless user config indicate it explicitly.
- // For example, if no condition specified by mistake, return an empty result
- // is better than return the entire raw soruce for user to find the mistake.
+ // Do not return the whole dataset unless user config indicates it explicitly.
+ // For example, if no condition is specified by mistake, returning an empty result
+ // is better than returning the entire raw source for the user to find the mistake.
var upstream = params.upstream;
var rawItem;
var condition = parseConditionalExpression(params.config, {
diff --git a/dist/echarts.js.map b/dist/echarts.js.map
index 09d3ba272..0b64c45b3 100644
--- a/dist/echarts.js.map
+++ b/dist/echarts.js.map
@@ -1 +1 @@
-{"version":3,"file":"echarts.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/zrender/lib/core/env.js","../node_modules/zrender/lib/core/platform.js","../node_modules/zrender/lib/core/util.js","../node_modules/zrender/lib/core/vector.js","../node_modules/zrender/lib/mixin/Draggable.js","../node_modules/zrender/lib/core/Eventful.js","../node_modules/zrender/lib/core/fourPointsTransform.js","../node_modules/zrender/lib/core/dom.js","../node_modules/zrender/lib/core/even [...]
\ No newline at end of file
+{"version":3,"file":"echarts.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/zrender/lib/core/env.js","../node_modules/zrender/lib/core/platform.js","../node_modules/zrender/lib/core/util.js","../node_modules/zrender/lib/core/vector.js","../node_modules/zrender/lib/mixin/Draggable.js","../node_modules/zrender/lib/core/Eventful.js","../node_modules/zrender/lib/core/fourPointsTransform.js","../node_modules/zrender/lib/core/dom.js","../node_modules/zrender/lib/core/even [...]
\ No newline at end of file
diff --git a/dist/echarts.min.js b/dist/echarts.min.js
index 85daf7e8d..463dbd661 100644
--- a/dist/echarts.min.js
+++ b/dist/echarts.min.js
@@ -32,7 +32,7 @@
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Objec [...]
+ ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Objec [...]
/*!
* ZRender, a high performance 2d drawing library.
*
@@ -42,4 +42,4 @@
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/
-var zr={},Vr={};var Br=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new nn,a=n.renderer||"canvas";zr[a]||(a=G(zr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new zr[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u,h=r.node||r.worker||l?null:new nr(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"au [...]
+var Vr={},Br={};var Fr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new rn,a=n.renderer||"canvas";Vr[a]||(a=G(Vr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new Vr[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u,h=r.node||r.worker||l?null:new ir(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"au [...]
diff --git a/dist/echarts.simple.js b/dist/echarts.simple.js
index 653347481..1b0876367 100644
--- a/dist/echarts.simple.js
+++ b/dist/echarts.simple.js
@@ -7131,7 +7131,7 @@
function registerPainter(name, Ctor) {
painterCtors[name] = Ctor;
}
- var version = '5.4.1';
+ var version = '5.4.3';
var zrender = /*#__PURE__*/Object.freeze({
__proto__: null,
@@ -9199,16 +9199,19 @@
}
}
}
- function isLatin(ch) {
+ function isAlphabeticLetter(ch) {
var code = ch.charCodeAt(0);
- return code >= 0x21 && code <= 0x17F;
+ return code >= 0x20 && code <= 0x24F
+ || code >= 0x370 && code <= 0x10FF
+ || code >= 0x1200 && code <= 0x13FF
+ || code >= 0x1E00 && code <= 0x206F;
}
var breakCharMap = reduce(',&?/;] '.split(''), function (obj, ch) {
obj[ch] = true;
return obj;
}, {});
function isWordBreakChar(ch) {
- if (isLatin(ch)) {
+ if (isAlphabeticLetter(ch)) {
if (breakCharMap[ch]) {
return true;
}
@@ -15790,23 +15793,23 @@
*/
/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
/**
* Language: English.
@@ -19746,11 +19749,7 @@
if (obj) {
- var dimensions_1 = [];
- each(obj, function (value, key) {
- dimensions_1.push(key);
- });
- return dimensions_1;
+ return keys(obj);
}
} // Consider dimensions defined like ['A', 'price', 'B', 'price', 'C', 'price'],
// which is reasonable. But dimension name is duplicated.
@@ -21231,7 +21230,7 @@
/** @class */
function () {
function DataStore() {
- this._chunks = []; // It will not be calculated util needed.
+ this._chunks = []; // It will not be calculated until needed.
this._rawExtent = [];
this._extent = [];
@@ -21649,7 +21648,7 @@
// When the `value` is at the middle of `this.get(dim, i)` and `this.get(dim, i+1)`,
// we'd better not push both of them to `nearestIndices`, otherwise it is easy to
// get more than one item in `nearestIndices` (more specifically, in `tooltip`).
- // So we chose the one that `diff >= 0` in this csae.
+ // So we choose the one that `diff >= 0` in this case.
// But if `this.get(dim, i)` and `this.get(dim, j)` get the same value, both of them
// should be push to `nearestIndices`.
if (dist < minDist || dist === minDist && diff >= 0 && minDiff < 0) {
@@ -22001,7 +22000,7 @@
maxArea = -1;
nextRawIndex = frameStart;
var firstNaNIndex = -1;
- var countNaN = 0; // Find a point from current frame that construct a triangel with largest area with previous selected point
+ var countNaN = 0; // Find a point from current frame that construct a triangle with largest area with previous selected point
// And the average of next frame.
for (var idx = frameStart; idx < frameEnd; idx++) {
@@ -22797,8 +22796,8 @@
var inlineName = multipleSeries ? seriesName : itemName;
return createTooltipMarkup('section', {
header: seriesName,
- // When series name not specified, do not show a header line with only '-'.
- // This case alway happen in tooltip.trigger: 'item'.
+ // When series name is not specified, do not show a header line with only '-'.
+ // This case always happens in tooltip.trigger: 'item'.
noHeader: multipleSeries || !seriesNameSpecified,
sortParam: sortParam,
blocks: [createTooltipMarkup('nameValue', {
@@ -23410,7 +23409,7 @@
}
function dataTaskProgress(param, context) {
- // Avoid repead cloneShallow when data just created in reset.
+ // Avoid repeat cloneShallow when data just created in reset.
if (context.outputData && param.end > context.outputData.count()) {
context.model.getRawData().cloneShallow(context.outputData);
}
@@ -25167,7 +25166,7 @@
}
}
- // Inlucdes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
+ // Includes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
function createLegacyDataSelectAction(seriesType, ecRegisterAction) {
function getSeriesIndices(ecModel, payload) {
@@ -26787,9 +26786,9 @@
return implsStore[name];
}
- var version$1 = '5.4.1';
+ var version$1 = '5.4.3';
var dependencies = {
- zrender: '5.4.1'
+ zrender: '5.4.3'
};
var TEST_FRAME_REMAIN_TIME = 1;
var PRIORITY_PROCESSOR_SERIES_FILTER = 800; // Some data processors depends on the stack result dimension (to calculate data extent).
@@ -39041,7 +39040,7 @@
var polyline = this._polyline;
var polygon = this._polygon;
var lineGroup = this._lineGroup;
- var hasAnimation = seriesModel.get('animation');
+ var hasAnimation = !ecModel.ssr && seriesModel.isAnimationEnabled();
var isAreaChart = !areaStyleModel.isEmpty();
var valueOrigin = areaStyleModel.get('origin');
var dataCoordInfo = prepareDataCoordInfo(coordSys, data, valueOrigin);
@@ -39421,8 +39420,8 @@
seriesDuration = seriesDuration(null);
}
- var seriesDalay = seriesModel.get('animationDelay') || 0;
- var seriesDalayValue = isFunction(seriesDalay) ? seriesDalay(null) : seriesDalay;
+ var seriesDelay = seriesModel.get('animationDelay') || 0;
+ var seriesDelayValue = isFunction(seriesDelay) ? seriesDelay(null) : seriesDelay;
data.eachItemGraphicEl(function (symbol, idx) {
var el = symbol;
@@ -39467,7 +39466,7 @@
ratio = 1 - ratio;
}
- var delay = isFunction(seriesDalay) ? seriesDalay(idx) : seriesDuration * ratio + seriesDalayValue;
+ var delay = isFunction(seriesDelay) ? seriesDelay(idx) : seriesDuration * ratio + seriesDelayValue;
var symbolPath = el.getSymbolPath();
var text = symbolPath.getTextContent();
el.attr({
@@ -39965,22 +39964,75 @@
if (coordSys && coordSys.clampData) {
// PENDING if clamp ?
- var pt_1 = coordSys.dataToPoint(coordSys.clampData(value));
+ var clampData_1 = coordSys.clampData(value);
+ var pt_1 = coordSys.dataToPoint(clampData_1);
if (startingAtTick) {
each(coordSys.getAxes(), function (axis, idx) {
// If axis type is category, use tick coords instead
- if (axis.type === 'category') {
+ if (axis.type === 'category' && dims != null) {
var tickCoords = axis.getTicksCoords();
- var tickIdx = coordSys.clampData(value)[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
+ var targetTickId = clampData_1[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
+
+ var isEnd = dims[idx] === 'x1' || dims[idx] === 'y1';
+
+ if (isEnd) {
+ targetTickId += 1;
+ } // The only contains one tick, tickCoords is
+ // like [{coord: 0, tickValue: 0}, {coord: 0}]
+ // to the length should always be larger than 1
- if (dims && (dims[idx] === 'x1' || dims[idx] === 'y1')) {
- tickIdx += 1;
+
+ if (tickCoords.length < 2) {
+ return;
+ } else if (tickCoords.length === 2) {
+ // The left value and right value of the axis are
+ // the same. coord is 0 in both items. Use the max
+ // value of the axis as the coord
+ pt_1[idx] = axis.toGlobalCoord(axis.getExtent()[isEnd ? 1 : 0]);
+ return;
}
- tickIdx > tickCoords.length - 1 && (tickIdx = tickCoords.length - 1);
- tickIdx < 0 && (tickIdx = 0);
- tickCoords[tickIdx] && (pt_1[idx] = axis.toGlobalCoord(tickCoords[tickIdx].coord));
+ var leftCoord = void 0;
+ var coord = void 0;
+ var stepTickValue = 1;
+
+ for (var i = 0; i < tickCoords.length; i++) {
+ var tickCoord = tickCoords[i].coord; // The last item of tickCoords doesn't contain
+ // tickValue
+
+ var tickValue = i === tickCoords.length - 1 ? tickCoords[i - 1].tickValue + stepTickValue : tickCoords[i].tickValue;
+
+ if (tickValue === targetTickId) {
+ coord = tickCoord;
+ break;
+ } else if (tickValue < targetTickId) {
+ leftCoord = tickCoord;
+ } else if (leftCoord != null && tickValue > targetTickId) {
+ coord = (tickCoord + leftCoord) / 2;
+ break;
+ }
+
+ if (i === 1) {
+ // Here we assume the step of category axes is
+ // the same
+ stepTickValue = tickValue - tickCoords[0].tickValue;
+ }
+ }
+
+ if (coord == null) {
+ if (!leftCoord) {
+ // targetTickId is smaller than all tick ids in the
+ // visible area, use the leftmost tick coord
+ coord = tickCoords[0].coord;
+ } else if (leftCoord) {
+ // targetTickId is larger than all tick ids in the
+ // visible area, use the rightmost tick coord
+ coord = tickCoords[tickCoords.length - 1].coord;
+ }
+ }
+
+ pt_1[idx] = axis.toGlobalCoord(coord);
}
});
} else {
@@ -40356,6 +40408,27 @@
return distance * Math.cos(angle) * (isEnd ? 1 : -1);
}
+ function getSectorCornerRadius(model, shape, zeroIfNull) {
+ var cornerRadius = model.get('borderRadius');
+
+ if (cornerRadius == null) {
+ return zeroIfNull ? {
+ cornerRadius: 0
+ } : null;
+ }
+
+ if (!isArray(cornerRadius)) {
+ cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
+ }
+
+ var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
+ return {
+ cornerRadius: map(cornerRadius, function (cr) {
+ return parsePercent(cr, dr);
+ })
+ };
+ }
+
var mathMax$6 = Math.max;
var mathMin$6 = Math.min;
@@ -40488,6 +40561,8 @@
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
+ } else {
+ bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[dataIndex] = bgEl;
@@ -40560,6 +40635,8 @@
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
+ } else {
+ bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[newIndex] = bgEl;
@@ -40953,7 +41030,7 @@
var sectorShape = sector.shape;
var animateProperty = isRadial ? 'r' : 'endAngle';
var animateTarget = {};
- sectorShape[animateProperty] = isRadial ? 0 : layout.startAngle;
+ sectorShape[animateProperty] = isRadial ? layout.r0 : layout.startAngle;
animateTarget[animateProperty] = layout[animateProperty];
(isUpdate ? updateProps : initProps)(sector, {
shape: animateTarget // __value: typeof dataValue === 'string' ? parseInt(dataValue, 10) : dataValue
@@ -41103,7 +41180,13 @@
var style = data.getItemVisual(dataIndex, 'style');
if (!isPolar) {
- el.setShape('r', itemModel.get(['itemStyle', 'borderRadius']) || 0);
+ var borderRadius = itemModel.get(['itemStyle', 'borderRadius']) || 0;
+ el.setShape('r', borderRadius);
+ } else if (!seriesModel.get('roundCap')) {
+ var sectorShape = el.shape;
+ var cornerRadius = getSectorCornerRadius(itemModel.getModel('itemStyle'), sectorShape, true);
+ extend(sectorShape, cornerRadius);
+ el.setShape(sectorShape);
}
el.useStyle(style);
@@ -42082,27 +42165,6 @@
}
}
- function getSectorCornerRadius(model, shape, zeroIfNull) {
- var cornerRadius = model.get('borderRadius');
-
- if (cornerRadius == null) {
- return zeroIfNull ? {
- cornerRadius: 0
- } : null;
- }
-
- if (!isArray(cornerRadius)) {
- cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
- }
-
- var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
- return {
- cornerRadius: map(cornerRadius, function (cr) {
- return parsePercent(cr, dr);
- })
- };
- }
-
/**
* Piece of pie including Sector, Label, LabelLine
*/
@@ -44001,7 +44063,7 @@
handleAutoShown: function () {
return true;
}
- }); // FIXME Not use a seperate text group?
+ }); // FIXME Not use a separate text group?
var transformGroup = new Group({
x: opt.position[0],
@@ -44509,7 +44571,7 @@
// in category axis.
// (2) Compatible with previous version, which always use formatted label as
// input. But in interval scale the formatted label is like '223,445', which
- // maked user repalce ','. So we modify it to return original val but remain
+ // maked user replace ','. So we modify it to return original val but remain
// it as 'string' to avoid error in replacing.
axis.type === 'category' ? rawLabel : axis.type === 'value' ? tickValue + '' : tickValue, index) : textColor
})
diff --git a/dist/echarts.simple.js.map b/dist/echarts.simple.js.map
index 1c2188d8d..baee21a9e 100644
--- a/dist/echarts.simple.js.map
+++ b/dist/echarts.simple.js.map
@@ -1 +1 @@
-{"version":3,"file":"echarts.simple.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/zrender/lib/core/env.js","../node_modules/zrender/lib/core/platform.js","../node_modules/zrender/lib/core/util.js","../node_modules/zrender/lib/core/vector.js","../node_modules/zrender/lib/mixin/Draggable.js","../node_modules/zrender/lib/core/Eventful.js","../node_modules/zrender/lib/core/fourPointsTransform.js","../node_modules/zrender/lib/core/dom.js","../node_modules/zrender/lib/co [...]
\ No newline at end of file
+{"version":3,"file":"echarts.simple.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/zrender/lib/core/env.js","../node_modules/zrender/lib/core/platform.js","../node_modules/zrender/lib/core/util.js","../node_modules/zrender/lib/core/vector.js","../node_modules/zrender/lib/mixin/Draggable.js","../node_modules/zrender/lib/core/Eventful.js","../node_modules/zrender/lib/core/fourPointsTransform.js","../node_modules/zrender/lib/core/dom.js","../node_modules/zrender/lib/co [...]
\ No newline at end of file
diff --git a/dist/echarts.simple.min.js b/dist/echarts.simple.min.js
index dc3ce863e..2e16bc7f8 100644
--- a/dist/echarts.simple.min.js
+++ b/dist/echarts.simple.min.js
@@ -32,7 +32,7 @@
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Objec [...]
+ ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Objec [...]
/*!
* ZRender, a high performance 2d drawing library.
*
@@ -42,4 +42,4 @@
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/
-var or={},ar={};var sr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new Xe,a=n.renderer||"canvas";or[a]||(a=B(or)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new or[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u,h=r.node||r.worker||l?null:new Ti(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"au [...]
+var ar={},sr={};var lr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new Ye,a=n.renderer||"canvas";ar[a]||(a=B(ar)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new ar[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u,h=r.node||r.worker||l?null:new Ci(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"au [...]
diff --git a/i18n/langCS-obj.js b/i18n/langCS-obj.js
index e2387fc9e..b4a4e926b 100644
--- a/i18n/langCS-obj.js
+++ b/i18n/langCS-obj.js
@@ -163,6 +163,7 @@
}
}
};
+
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
diff --git a/i18n/langCS.js b/i18n/langCS.js
index 8584a8cc9..567607ccf 100644
--- a/i18n/langCS.js
+++ b/i18n/langCS.js
@@ -163,6 +163,7 @@
}
}
};
+
echarts.registerLocale('CS', localeObj);
});
\ No newline at end of file
diff --git a/i18n/langDE-obj.js b/i18n/langDE-obj.js
index 27f91425c..d3c9b4697 100644
--- a/i18n/langDE-obj.js
+++ b/i18n/langDE-obj.js
@@ -163,6 +163,7 @@ var localeObj = {
}
}
};
+
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
diff --git a/i18n/langDE.js b/i18n/langDE.js
index 0f87876ac..0006960cd 100644
--- a/i18n/langDE.js
+++ b/i18n/langDE.js
@@ -163,6 +163,7 @@ var localeObj = {
}
}
};
+
echarts.registerLocale('DE', localeObj);
});
\ No newline at end of file
diff --git a/i18n/langSI-obj.js b/i18n/langSI-obj.js
index 61724e7d1..fa2436549 100644
--- a/i18n/langSI-obj.js
+++ b/i18n/langSI-obj.js
@@ -163,6 +163,7 @@ var localeObj = {
}
}
};
+
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
diff --git a/i18n/langSI.js b/i18n/langSI.js
index d19b33040..64200ccc3 100644
--- a/i18n/langSI.js
+++ b/i18n/langSI.js
@@ -163,6 +163,7 @@ var localeObj = {
}
}
};
+
echarts.registerLocale('SI', localeObj);
});
\ No newline at end of file
diff --git a/i18n/langZH-obj.js b/i18n/langZH-obj.js
index 8807ba483..bae126b89 100644
--- a/i18n/langZH-obj.js
+++ b/i18n/langZH-obj.js
@@ -159,6 +159,7 @@ var localeObj = {
}
}
};
+
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
diff --git a/i18n/langZH.js b/i18n/langZH.js
index 52ae06c8b..01cc26500 100644
--- a/i18n/langZH.js
+++ b/i18n/langZH.js
@@ -159,6 +159,7 @@ var localeObj = {
}
}
};
+
echarts.registerLocale('ZH', localeObj);
});
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 6cb83c5c6..2305fa940 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,16 +1,17 @@
{
"name": "echarts",
- "version": "5.4.1",
+ "version": "5.4.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "echarts",
- "version": "5.4.1",
+ "version": "5.4.3",
"license": "Apache-2.0",
"dependencies": {
+ "puppeteer": "^19.7.3",
"tslib": "2.3.0",
- "zrender": "5.4.1"
+ "zrender": "5.4.3"
},
"devDependencies": {
"@babel/code-frame": "7.10.4",
@@ -59,7 +60,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
- "dev": true,
"dependencies": {
"@babel/highlight": "^7.10.4"
}
@@ -381,8 +381,7 @@
"node_modules/@babel/helper-validator-identifier": {
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
- "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",
- "dev": true
+ "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="
},
"node_modules/@babel/helpers": {
"version": "7.10.4",
@@ -399,7 +398,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz",
"integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==",
- "dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.10.4",
"chalk": "^2.0.0",
@@ -410,7 +408,6 @@
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
"dependencies": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -642,23 +639,6 @@
"node": ">=0.1.95"
}
},
- "node_modules/@definitelytyped/header-parser": {
- "version": "0.0.59",
- "resolved": "https://registry.npmjs.org/@definitelytyped/header-parser/-/header-parser-0.0.59.tgz",
- "integrity": "sha512-Y0Hoi+I0tD1xRNYUlt9dpZ2sykPoNAsS/nVtyaGJDYhVg0Q3U4U8afAOFlK3Fro2MfdM+1Kxc7DeaabaUeFmYw==",
- "dev": true,
- "dependencies": {
- "@definitelytyped/typescript-versions": "^0.0.59",
- "@types/parsimmon": "^1.10.1",
- "parsimmon": "^1.13.0"
- }
- },
- "node_modules/@definitelytyped/header-parser/node_modules/@definitelytyped/typescript-versions": {
- "version": "0.0.59",
- "resolved": "https://registry.npmjs.org/@definitelytyped/typescript-versions/-/typescript-versions-0.0.59.tgz",
- "integrity": "sha512-R3DNeeNDK4l55OD28cNsvtmzz6K71O7XMf6Xd/BR45mfqn2wZUovghGMV3iCs9B3z2OsdhXqRnjX2Hhnj8NKJA==",
- "dev": true
- },
"node_modules/@definitelytyped/typescript-versions": {
"version": "0.0.64",
"resolved": "https://registry.npmjs.org/@definitelytyped/typescript-versions/-/typescript-versions-0.0.64.tgz",
@@ -1628,9 +1608,6 @@
"dependencies": {
"is-core-module": "^2.1.0",
"path-parse": "^1.0.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/@nodelib/fs.scandir": {
@@ -1668,6 +1645,99 @@
"node": ">= 8"
}
},
+ "node_modules/@qiwi/npm-registry-client": {
+ "version": "8.9.1",
+ "resolved": "https://npm.shopee.io/@qiwi%2fnpm-registry-client/-/npm-registry-client-8.9.1.tgz",
+ "integrity": "sha512-rZF+mG+NfijR0SHphhTLHRr4aM4gtfdwoAMY6we2VGQam8vkN1cxGG1Lg/Llrj8Dd0Mu6VjdFQRyMMRZxtZR2A==",
+ "dev": true,
+ "dependencies": {
+ "concat-stream": "^2.0.0",
+ "graceful-fs": "^4.2.4",
+ "normalize-package-data": "~1.0.1 || ^2.0.0 || ^3.0.0",
+ "npm-package-arg": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^8.0.0",
+ "once": "^1.4.0",
+ "request": "^2.88.2",
+ "retry": "^0.12.0",
+ "safe-buffer": "^5.2.1",
+ "semver": "2 >=2.2.1 || 3.x || 4 || 5 || 7",
+ "slide": "^1.1.6",
+ "ssri": "^8.0.0"
+ },
+ "optionalDependencies": {
+ "npmlog": "2 || ^3.1.0 || ^4.0.0"
+ }
+ },
+ "node_modules/@qiwi/npm-registry-client/node_modules/concat-stream": {
+ "version": "2.0.0",
+ "resolved": "https://npm.shopee.io/concat-stream/-/concat-stream-2.0.0.tgz",
+ "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==",
+ "dev": true,
+ "engines": [
+ "node >= 6.0"
+ ],
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.0.2",
+ "typedarray": "^0.0.6"
+ }
+ },
+ "node_modules/@qiwi/npm-registry-client/node_modules/readable-stream": {
+ "version": "3.6.1",
+ "resolved": "https://npm.shopee.io/readable-stream/-/readable-stream-3.6.1.tgz",
+ "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==",
+ "dev": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@qiwi/npm-registry-client/node_modules/retry": {
+ "version": "0.12.0",
+ "resolved": "https://npm.shopee.io/retry/-/retry-0.12.0.tgz",
+ "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=",
+ "dev": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/@qiwi/npm-registry-client/node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://npm.shopee.io/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "dev": true
+ },
+ "node_modules/@qiwi/npm-registry-client/node_modules/semver": {
+ "version": "7.3.8",
+ "resolved": "https://npm.shopee.io/semver/-/semver-7.3.8.tgz",
+ "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
+ "dev": true,
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@qiwi/npm-registry-client/node_modules/ssri": {
+ "version": "8.0.1",
+ "resolved": "https://npm.shopee.io/ssri/-/ssri-8.0.1.tgz",
+ "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==",
+ "dev": true,
+ "dependencies": {
+ "minipass": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
"node_modules/@rollup/plugin-commonjs": {
"version": "17.0.0",
"resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.0.0.tgz",
@@ -1852,9 +1922,6 @@
"dev": true,
"engines": {
"node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/@rushstack/ts-command-line": {
@@ -2011,7 +2078,7 @@
"version": "12.20.24",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.24.tgz",
"integrity": "sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==",
- "dev": true
+ "devOptional": true
},
"node_modules/@types/normalize-package-data": {
"version": "2.4.0",
@@ -2067,6 +2134,15 @@
"integrity": "sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw==",
"dev": true
},
+ "node_modules/@types/yauzl": {
+ "version": "2.10.0",
+ "resolved": "https://npm.shopee.io/@types%2fyauzl/-/yauzl-2.10.0.tgz",
+ "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
"node_modules/@typescript-eslint/eslint-plugin": {
"version": "4.33.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz",
@@ -2085,10 +2161,6 @@
"engines": {
"node": "^10.12.0 || >=12.0.0"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
"peerDependencies": {
"@typescript-eslint/parser": "^4.0.0",
"eslint": "^5.0.0 || ^6.0.0 || ^7.0.0"
@@ -2151,10 +2223,6 @@
"engines": {
"node": "^10.12.0 || >=12.0.0"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
"peerDependencies": {
"eslint": "*"
}
@@ -2170,9 +2238,6 @@
"engines": {
"node": "^10.0.0 || ^12.0.0 || >= 14.0.0"
},
- "funding": {
- "url": "https://github.com/sponsors/mysticatea"
- },
"peerDependencies": {
"eslint": ">=5"
}
@@ -2191,10 +2256,6 @@
"engines": {
"node": "^10.12.0 || >=12.0.0"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
"peerDependencies": {
"eslint": "^5.0.0 || ^6.0.0 || ^7.0.0"
},
@@ -2215,10 +2276,6 @@
},
"engines": {
"node": "^8.10.0 || ^10.13.0 || >=11.10.1"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/types": {
@@ -2228,10 +2285,6 @@
"dev": true,
"engines": {
"node": "^8.10.0 || ^10.13.0 || >=11.10.1"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/typescript-estree": {
@@ -2251,10 +2304,6 @@
"engines": {
"node": "^10.12.0 || >=12.0.0"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
"peerDependenciesMeta": {
"typescript": {
"optional": true
@@ -2276,9 +2325,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
@@ -2328,10 +2374,6 @@
},
"engines": {
"node": "^8.10.0 || ^10.13.0 || >=11.10.1"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/abab": {
@@ -2403,7 +2445,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
- "dev": true,
"dependencies": {
"debug": "4"
},
@@ -2445,7 +2486,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
"dependencies": {
"color-convert": "^1.9.0"
},
@@ -2938,8 +2978,7 @@
"node_modules/base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
- "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
- "dev": true
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="
},
"node_modules/base64id": {
"version": "2.0.0",
@@ -3345,7 +3384,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
- "dev": true,
"dependencies": {
"buffer": "^5.5.0",
"inherits": "^2.0.4",
@@ -3356,7 +3394,6 @@
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
- "dev": true,
"dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
@@ -3437,7 +3474,6 @@
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
"integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
- "dev": true,
"dependencies": {
"base64-js": "^1.3.1",
"ieee754": "^1.1.13"
@@ -3463,7 +3499,6 @@
"version": "0.2.13",
"resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
"integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=",
- "dev": true,
"engines": {
"node": "*"
}
@@ -3561,7 +3596,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
"engines": {
"node": ">=6"
}
@@ -3690,6 +3724,26 @@
"inherits": "^2.0.1"
}
},
+ "node_modules/chownr": {
+ "version": "2.0.0",
+ "resolved": "https://npm.shopee.io/chownr/-/chownr-2.0.0.tgz",
+ "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/chromium-bidi": {
+ "version": "0.4.4",
+ "resolved": "https://npm.shopee.io/chromium-bidi/-/chromium-bidi-0.4.4.tgz",
+ "integrity": "sha512-4BX5cSaponuvVT1+SbLYTOAgDoVtX/Khoc9UsbFJ/AsPVUeFAM3RiIDFI6XFhLYMi9WmVJqh1ZH+dRpNKkKwiQ==",
+ "dependencies": {
+ "mitt": "3.0.0"
+ },
+ "peerDependencies": {
+ "devtools-protocol": "*"
+ }
+ },
"node_modules/ci-info": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
@@ -3875,7 +3929,6 @@
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dev": true,
"dependencies": {
"color-name": "1.1.3"
}
@@ -3883,8 +3936,7 @@
"node_modules/color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
- "dev": true
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"node_modules/colors": {
"version": "1.2.5",
@@ -4054,6 +4106,14 @@
"node": ">=10"
}
},
+ "node_modules/cross-fetch": {
+ "version": "3.1.5",
+ "resolved": "https://npm.shopee.io/cross-fetch/-/cross-fetch-3.1.5.tgz",
+ "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==",
+ "dependencies": {
+ "node-fetch": "2.6.7"
+ }
+ },
"node_modules/cross-spawn": {
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
@@ -4124,9 +4184,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/imagemin/cwebp-bin?sponsor=1"
}
},
"node_modules/dashdash": {
@@ -4165,7 +4222,6 @@
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "dev": true,
"dependencies": {
"ms": "2.1.2"
},
@@ -4451,6 +4507,11 @@
"node": ">=8"
}
},
+ "node_modules/devtools-protocol": {
+ "version": "0.0.1094867",
+ "resolved": "https://npm.shopee.io/devtools-protocol/-/devtools-protocol-0.0.1094867.tgz",
+ "integrity": "sha512-pmMDBKiRVjh0uKK6CT1WqZmM3hBVSgD+N2MrgyV1uNizAZMw4tx6i/RTc+/uCsKSCmg0xXx7arCP/OFcIwTsiQ=="
+ },
"node_modules/diff": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
@@ -4613,67 +4674,6 @@
"node": ">=4"
}
},
- "node_modules/dts-critic": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/dts-critic/-/dts-critic-3.3.3.tgz",
- "integrity": "sha512-Pd27sNICo8mUqZ7XBdefy/+eWG8uG02GaYgOv5DBpxiF+8hduojztVm4935dqocyDv/STdF1uh6a8WnAhBK7tQ==",
- "dev": true,
- "dependencies": {
- "@definitelytyped/header-parser": "latest",
- "command-exists": "^1.2.8",
- "rimraf": "^3.0.2",
- "semver": "^6.2.0",
- "tmp": "^0.2.1",
- "yargs": "^15.3.1"
- },
- "engines": {
- "node": ">=10.17.0"
- },
- "peerDependencies": {
- "typescript": "*"
- }
- },
- "node_modules/dts-critic/node_modules/glob": {
- "version": "7.1.6",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
- "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
- "dev": true,
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/dts-critic/node_modules/rimraf": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
- "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "dev": true,
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- }
- },
- "node_modules/dts-critic/node_modules/tmp": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz",
- "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==",
- "dev": true,
- "dependencies": {
- "rimraf": "^3.0.0"
- },
- "engines": {
- "node": ">=8.17.0"
- }
- },
"node_modules/dtslint": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/dtslint/-/dtslint-4.2.1.tgz",
@@ -4701,31 +4701,48 @@
"typescript": ">= 3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.7.0-dev || >= 3.8.0-dev || >= 3.9.0-dev || >= 4.0.0-dev"
}
},
+ "node_modules/dtslint/node_modules/@definitelytyped/header-parser": {
+ "version": "0.0.151",
+ "resolved": "https://npm.shopee.io/@definitelytyped%2fheader-parser/-/header-parser-0.0.151.tgz",
+ "integrity": "sha512-LnL9EKxDFZUT6WvNRheea3YqT8k/BVfvVKZt3qiXjC4rwij1s2XpOrL/YOiMq8BdvQCw4WL95qlXuZqiXhRP8A==",
+ "dev": true,
+ "dependencies": {
+ "@definitelytyped/typescript-versions": "^0.0.151",
+ "@types/parsimmon": "^1.10.1",
+ "parsimmon": "^1.13.0"
+ }
+ },
"node_modules/dtslint/node_modules/@definitelytyped/typescript-versions": {
- "version": "0.0.65",
- "resolved": "https://registry.npmjs.org/@definitelytyped/typescript-versions/-/typescript-versions-0.0.65.tgz",
- "integrity": "sha512-7chRIxoMxM38okhDA1NARtd4NX5QXVAQe2nfnBTgpOG8VgW/YCqFSeM4Feb+diqglwoxvHJNh7muF7/0VqR+nA==",
+ "version": "0.0.151",
+ "resolved": "https://npm.shopee.io/@definitelytyped%2ftypescript-versions/-/typescript-versions-0.0.151.tgz",
+ "integrity": "sha512-ewIZOG5nBM/pUw/AOJ4oWG1iZzH516xzbH2K3CQiwrEu1Y8nRpIWARM2ayx7gLLjljw31P3hVumnH9pYPfyeVw==",
"dev": true
},
"node_modules/dtslint/node_modules/@definitelytyped/utils": {
- "version": "0.0.65",
- "resolved": "https://registry.npmjs.org/@definitelytyped/utils/-/utils-0.0.65.tgz",
- "integrity": "sha512-3I5OsaebF+LXWqS0uZbhmMvUNTRS3vtyoXRvQMGhE0Y6ZSihQgC4LaP12rnixpFVjO0ZrJru3W9DKTaEYJS8Yw==",
+ "version": "0.0.151",
+ "resolved": "https://npm.shopee.io/@definitelytyped%2futils/-/utils-0.0.151.tgz",
+ "integrity": "sha512-C7YlSF4XXxPcfk3I362jmzWW+aMkMwD4msAzP0Pf45TyIOvtQMVBK3xOWeqXJnLSKDVEugeLe9Db8fIBwMb3/Q==",
"dev": true,
"dependencies": {
- "@definitelytyped/typescript-versions": "^0.0.65",
- "@types/node": "^12.12.29",
+ "@definitelytyped/typescript-versions": "^0.0.151",
+ "@qiwi/npm-registry-client": "^8.9.1",
+ "@types/node": "^14.14.35",
"charm": "^1.0.2",
"fs-extra": "^8.1.0",
"fstream": "^1.0.12",
- "npm-registry-client": "^8.6.0",
- "tar": "^2.2.2",
+ "tar": "^6.1.11",
"tar-stream": "^2.1.4"
}
},
+ "node_modules/dtslint/node_modules/@definitelytyped/utils/node_modules/@types/node": {
+ "version": "14.18.37",
+ "resolved": "https://npm.shopee.io/@types%2fnode/-/node-14.18.37.tgz",
+ "integrity": "sha512-7GgtHCs/QZrBrDzgIJnQtuSvhFSwhyYSI2uafSwZoNt1iOGhEN5fwNrQMjtONyHm9+/LoA4453jH0CMYcr06Pg==",
+ "dev": true
+ },
"node_modules/dtslint/node_modules/@definitelytyped/utils/node_modules/fs-extra": {
"version": "8.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
+ "resolved": "https://npm.shopee.io/fs-extra/-/fs-extra-8.1.0.tgz",
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
"dev": true,
"dependencies": {
@@ -4737,6 +4754,43 @@
"node": ">=6 <7 || >=8"
}
},
+ "node_modules/dtslint/node_modules/@definitelytyped/utils/node_modules/tar": {
+ "version": "6.1.13",
+ "resolved": "https://npm.shopee.io/tar/-/tar-6.1.13.tgz",
+ "integrity": "sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==",
+ "dev": true,
+ "dependencies": {
+ "chownr": "^2.0.0",
+ "fs-minipass": "^2.0.0",
+ "minipass": "^4.0.0",
+ "minizlib": "^2.1.1",
+ "mkdirp": "^1.0.3",
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/dtslint/node_modules/dts-critic": {
+ "version": "3.3.11",
+ "resolved": "https://npm.shopee.io/dts-critic/-/dts-critic-3.3.11.tgz",
+ "integrity": "sha512-HMO2f9AO7ge44YO8OK18f+cxm/IaE1CFuyNFbfJRCEbyazWj5X5wWDF6W4CGdo5Ax0ILYVfJ7L/rOwuUN1fzWw==",
+ "dev": true,
+ "dependencies": {
+ "@definitelytyped/header-parser": "latest",
+ "command-exists": "^1.2.8",
+ "rimraf": "^3.0.2",
+ "semver": "^6.2.0",
+ "tmp": "^0.2.1",
+ "yargs": "^15.3.1"
+ },
+ "engines": {
+ "node": ">=10.17.0"
+ },
+ "peerDependencies": {
+ "typescript": "*"
+ }
+ },
"node_modules/dtslint/node_modules/fs-extra": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-6.0.1.tgz",
@@ -4748,6 +4802,68 @@
"universalify": "^0.1.0"
}
},
+ "node_modules/dtslint/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://npm.shopee.io/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/dtslint/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://npm.shopee.io/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/dtslint/node_modules/minipass": {
+ "version": "4.2.4",
+ "resolved": "https://npm.shopee.io/minipass/-/minipass-4.2.4.tgz",
+ "integrity": "sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/dtslint/node_modules/mkdirp": {
+ "version": "1.0.4",
+ "resolved": "https://npm.shopee.io/mkdirp/-/mkdirp-1.0.4.tgz",
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
+ "dev": true,
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/dtslint/node_modules/rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://npm.shopee.io/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dev": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"node_modules/dtslint/node_modules/tslib": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
@@ -4801,7 +4917,6 @@
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
- "dev": true,
"dependencies": {
"once": "^1.4.0"
}
@@ -4944,7 +5059,6 @@
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
"integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "dev": true,
"dependencies": {
"is-arrayish": "^0.2.1"
}
@@ -4963,7 +5077,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
- "dev": true,
"engines": {
"node": ">=0.8.0"
}
@@ -5728,7 +5841,37 @@
"kind-of": "^6.0.2"
},
"engines": {
- "node": ">=0.10.0"
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extract-zip": {
+ "version": "2.0.1",
+ "resolved": "https://npm.shopee.io/extract-zip/-/extract-zip-2.0.1.tgz",
+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
+ "dependencies": {
+ "debug": "^4.1.1",
+ "get-stream": "^5.1.0",
+ "yauzl": "^2.10.0"
+ },
+ "bin": {
+ "extract-zip": "cli.js"
+ },
+ "engines": {
+ "node": ">= 10.17.0"
+ },
+ "optionalDependencies": {
+ "@types/yauzl": "^2.9.1"
+ }
+ },
+ "node_modules/extract-zip/node_modules/get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://npm.shopee.io/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
"node_modules/extsprintf": {
@@ -5811,7 +5954,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
"integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
- "dev": true,
"dependencies": {
"pend": "~1.2.0"
}
@@ -6002,8 +6144,7 @@
"node_modules/fs-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
- "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
- "dev": true
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
},
"node_modules/fs-extra": {
"version": "10.0.0",
@@ -6040,6 +6181,18 @@
"node": ">= 10.0.0"
}
},
+ "node_modules/fs-minipass": {
+ "version": "2.1.0",
+ "resolved": "https://npm.shopee.io/fs-minipass/-/fs-minipass-2.1.0.tgz",
+ "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
+ "dev": true,
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -6368,7 +6521,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true,
"engines": {
"node": ">=4"
}
@@ -6564,7 +6716,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
- "dev": true,
"dependencies": {
"agent-base": "6",
"debug": "4"
@@ -6606,10 +6757,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/husky"
}
},
"node_modules/husky/node_modules/ansi-styles": {
@@ -6666,9 +6813,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/husky/node_modules/find-versions": {
@@ -6681,9 +6825,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/husky/node_modules/has-flag": {
@@ -6705,9 +6846,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/husky/node_modules/p-limit": {
@@ -6720,9 +6858,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/husky/node_modules/p-locate": {
@@ -6735,9 +6870,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/husky/node_modules/pkg-dir": {
@@ -6759,9 +6891,6 @@
"dev": true,
"engines": {
"node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/husky/node_modules/supports-color": {
@@ -6791,8 +6920,7 @@
"node_modules/ieee754": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
- "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
- "dev": true
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
},
"node_modules/ignore": {
"version": "5.2.0",
@@ -6807,7 +6935,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
"integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
- "dev": true,
"dependencies": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
@@ -6869,8 +6996,7 @@
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"node_modules/ini": {
"version": "1.3.8",
@@ -6918,8 +7044,7 @@
"node_modules/is-arrayish": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
- "dev": true
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
},
"node_modules/is-buffer": {
"version": "1.1.6",
@@ -6946,9 +7071,6 @@
"dev": true,
"dependencies": {
"has": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/is-data-descriptor": {
@@ -9091,8 +9213,7 @@
"node_modules/js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"node_modules/js-yaml": {
"version": "3.14.0",
@@ -9236,8 +9357,7 @@
"node_modules/json-parse-even-better-errors": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
- "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
- "dev": true
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
},
"node_modules/json-schema": {
"version": "0.4.0",
@@ -9369,8 +9489,7 @@
"node_modules/lines-and-columns": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",
- "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=",
- "dev": true
+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA="
},
"node_modules/locate-path": {
"version": "5.0.0",
@@ -9559,6 +9678,36 @@
"integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
"dev": true
},
+ "node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://npm.shopee.io/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dev": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minizlib": {
+ "version": "2.1.2",
+ "resolved": "https://npm.shopee.io/minizlib/-/minizlib-2.1.2.tgz",
+ "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
+ "dev": true,
+ "dependencies": {
+ "minipass": "^3.0.0",
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/mitt": {
+ "version": "3.0.0",
+ "resolved": "https://npm.shopee.io/mitt/-/mitt-3.0.0.tgz",
+ "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ=="
+ },
"node_modules/mixin-deep": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
@@ -9596,6 +9745,11 @@
"mkdirp": "bin/cmd.js"
}
},
+ "node_modules/mkdirp-classic": {
+ "version": "0.5.3",
+ "resolved": "https://npm.shopee.io/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
+ },
"node_modules/moo-color": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/moo-color/-/moo-color-1.0.2.tgz",
@@ -9614,8 +9768,7 @@
"node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"node_modules/nanomatch": {
"version": "1.2.13",
@@ -9660,6 +9813,44 @@
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
"dev": true
},
+ "node_modules/node-fetch": {
+ "version": "2.6.7",
+ "resolved": "https://npm.shopee.io/node-fetch/-/node-fetch-2.6.7.tgz",
+ "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
+ "dependencies": {
+ "whatwg-url": "^5.0.0"
+ },
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ },
+ "peerDependencies": {
+ "encoding": "^0.1.0"
+ },
+ "peerDependenciesMeta": {
+ "encoding": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/node-fetch/node_modules/tr46": {
+ "version": "0.0.3",
+ "resolved": "https://npm.shopee.io/tr46/-/tr46-0.0.3.tgz",
+ "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
+ },
+ "node_modules/node-fetch/node_modules/webidl-conversions": {
+ "version": "3.0.1",
+ "resolved": "https://npm.shopee.io/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
+ "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE="
+ },
+ "node_modules/node-fetch/node_modules/whatwg-url": {
+ "version": "5.0.0",
+ "resolved": "https://npm.shopee.io/whatwg-url/-/whatwg-url-5.0.0.tgz",
+ "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=",
+ "dependencies": {
+ "tr46": "~0.0.3",
+ "webidl-conversions": "^3.0.0"
+ }
+ },
"node_modules/node-int64": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
@@ -9996,7 +10187,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dev": true,
"dependencies": {
"wrappy": "1"
}
@@ -10197,7 +10387,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
"dependencies": {
"callsites": "^3.0.0"
},
@@ -10209,7 +10398,6 @@
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz",
"integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==",
- "dev": true,
"dependencies": {
"@babel/code-frame": "^7.0.0",
"error-ex": "^1.3.1",
@@ -10302,7 +10490,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -10310,8 +10497,7 @@
"node_modules/pend": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
- "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
- "dev": true
+ "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
},
"node_modules/performance-now": {
"version": "2.1.0",
@@ -10326,9 +10512,6 @@
"dev": true,
"engines": {
"node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/pify": {
@@ -10506,7 +10689,6 @@
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
"integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
- "dev": true,
"engines": {
"node": ">=0.4.0"
}
@@ -10530,6 +10712,11 @@
"integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=",
"dev": true
},
+ "node_modules/proxy-from-env": {
+ "version": "1.1.0",
+ "resolved": "https://npm.shopee.io/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
+ },
"node_modules/pseudomap": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
@@ -10546,7 +10733,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
"integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dev": true,
"dependencies": {
"end-of-stream": "^1.1.0",
"once": "^1.3.1"
@@ -10561,6 +10747,97 @@
"node": ">=6"
}
},
+ "node_modules/puppeteer": {
+ "version": "19.7.3",
+ "resolved": "https://npm.shopee.io/puppeteer/-/puppeteer-19.7.3.tgz",
+ "integrity": "sha512-QEiRHPUAJp8VOK27zE6h2ne4xKVYibKUZpvjCuLYaAe8/2SOLKIgstF8wK3YaLgTkeruMrYfqZo+Qlw4ZkJDAQ==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "cosmiconfig": "8.1.0",
+ "https-proxy-agent": "5.0.1",
+ "progress": "2.0.3",
+ "proxy-from-env": "1.1.0",
+ "puppeteer-core": "19.7.3"
+ }
+ },
+ "node_modules/puppeteer-core": {
+ "version": "19.7.3",
+ "resolved": "https://npm.shopee.io/puppeteer-core/-/puppeteer-core-19.7.3.tgz",
+ "integrity": "sha512-9Q5HahsstfoTnllcpNkxNu2z9J7V0Si5Mr5q90K6XSXwW1P8iqe8q3HzWViVuBuEYTSMZ2LaXXzTEYeoCzLEWg==",
+ "dependencies": {
+ "chromium-bidi": "0.4.4",
+ "cross-fetch": "3.1.5",
+ "debug": "4.3.4",
+ "devtools-protocol": "0.0.1094867",
+ "extract-zip": "2.0.1",
+ "https-proxy-agent": "5.0.1",
+ "proxy-from-env": "1.1.0",
+ "tar-fs": "2.1.1",
+ "unbzip2-stream": "1.4.3",
+ "ws": "8.12.1"
+ },
+ "engines": {
+ "node": ">=14.14.0"
+ },
+ "peerDependencies": {
+ "typescript": ">= 4.7.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/puppeteer-core/node_modules/ws": {
+ "version": "8.12.1",
+ "resolved": "https://npm.shopee.io/ws/-/ws-8.12.1.tgz",
+ "integrity": "sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/puppeteer/node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://npm.shopee.io/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
+ },
+ "node_modules/puppeteer/node_modules/cosmiconfig": {
+ "version": "8.1.0",
+ "resolved": "https://npm.shopee.io/cosmiconfig/-/cosmiconfig-8.1.0.tgz",
+ "integrity": "sha512-0tLZ9URlPGU7JsKq0DQOQ3FoRsYX8xDZ7xMiATQfaiGMz7EHowNkbU9u1coAOmnh9p/1ySpm0RB3JNWRXM5GCg==",
+ "dependencies": {
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/puppeteer/node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://npm.shopee.io/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
"node_modules/qs": {
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
@@ -10820,7 +11097,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
"engines": {
"node": ">=4"
}
@@ -10917,6 +11193,7 @@
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz",
"integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==",
+ "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser",
"dev": true,
"dependencies": {
"@babel/code-frame": "^7.10.4",
@@ -10946,8 +11223,7 @@
"node_modules/safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/safe-regex": {
"version": "1.1.0",
@@ -11746,6 +12022,7 @@
"version": "1.4.8",
"resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",
"integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==",
+ "deprecated": "Please use @jridgewell/sourcemap-codec instead",
"dev": true
},
"node_modules/spdx-correct": {
@@ -11891,7 +12168,6 @@
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
- "dev": true,
"dependencies": {
"safe-buffer": "~5.1.0"
}
@@ -12027,7 +12303,6 @@
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
"dependencies": {
"has-flag": "^3.0.0"
},
@@ -12164,11 +12439,26 @@
"inherits": "2"
}
},
+ "node_modules/tar-fs": {
+ "version": "2.1.1",
+ "resolved": "https://npm.shopee.io/tar-fs/-/tar-fs-2.1.1.tgz",
+ "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "mkdirp-classic": "^0.5.2",
+ "pump": "^3.0.0",
+ "tar-stream": "^2.1.4"
+ }
+ },
+ "node_modules/tar-fs/node_modules/chownr": {
+ "version": "1.1.4",
+ "resolved": "https://npm.shopee.io/chownr/-/chownr-1.1.4.tgz",
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
+ },
"node_modules/tar-stream": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
"integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
- "dev": true,
"dependencies": {
"bl": "^4.0.3",
"end-of-stream": "^1.4.1",
@@ -12184,7 +12474,6 @@
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
- "dev": true,
"dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
@@ -12342,8 +12631,7 @@
"node_modules/through": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
- "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
- "dev": true
+ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
},
"node_modules/timed-out": {
"version": "4.0.1",
@@ -12354,6 +12642,59 @@
"node": ">=0.10.0"
}
},
+ "node_modules/tmp": {
+ "version": "0.2.1",
+ "resolved": "https://npm.shopee.io/tmp/-/tmp-0.2.1.tgz",
+ "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==",
+ "dev": true,
+ "dependencies": {
+ "rimraf": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8.17.0"
+ }
+ },
+ "node_modules/tmp/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://npm.shopee.io/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/tmp/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://npm.shopee.io/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/tmp/node_modules/rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://npm.shopee.io/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dev": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"node_modules/tmpl": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
@@ -12699,7 +13040,7 @@
"version": "4.4.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
"integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
- "dev": true,
+ "devOptional": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -12712,7 +13053,6 @@
"version": "1.4.3",
"resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
"integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
- "dev": true,
"dependencies": {
"buffer": "^5.2.1",
"through": "^2.3.8"
@@ -12839,8 +13179,7 @@
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
- "dev": true
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"node_modules/uuid": {
"version": "8.3.1",
@@ -13125,8 +13464,7 @@
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
- "dev": true
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/write-file-atomic": {
"version": "3.0.3",
@@ -13197,6 +13535,12 @@
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
"dev": true
},
+ "node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://npm.shopee.io/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
"node_modules/yaml": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",
@@ -13289,7 +13633,6 @@
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
"integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
- "dev": true,
"dependencies": {
"buffer-crc32": "~0.2.3",
"fd-slicer": "~1.1.0"
@@ -13308,9 +13651,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/z-schema": {
@@ -13341,9 +13681,9 @@
"optional": true
},
"node_modules/zrender": {
- "version": "5.4.1",
- "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.4.1.tgz",
- "integrity": "sha512-M4Z05BHWtajY2241EmMPHglDQAJ1UyHQcYsxDNzD9XLSkPDqMq4bB28v9Pb4mvHnVQ0GxyTklZ/69xCFP6RXBA==",
+ "version": "5.4.3",
+ "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.4.3.tgz",
+ "integrity": "sha512-DRUM4ZLnoaT0PBVvGBDO9oWIDBKFdAVieNWxWwK0niYzJCMwGchRk21/hsE+RKkIveH3XHCyvXcJDkgLVvfizQ==",
"dependencies": {
"tslib": "2.3.0"
}
@@ -13354,7 +13694,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
- "dev": true,
"requires": {
"@babel/highlight": "^7.10.4"
}
@@ -13674,8 +14013,7 @@
"@babel/helper-validator-identifier": {
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
- "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",
- "dev": true
+ "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="
},
"@babel/helpers": {
"version": "7.10.4",
@@ -13692,7 +14030,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz",
"integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==",
- "dev": true,
"requires": {
"@babel/helper-validator-identifier": "^7.10.4",
"chalk": "^2.0.0",
@@ -13703,7 +14040,6 @@
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
"requires": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -13891,25 +14227,6 @@
"minimist": "^1.2.0"
}
},
- "@definitelytyped/header-parser": {
- "version": "0.0.59",
- "resolved": "https://registry.npmjs.org/@definitelytyped/header-parser/-/header-parser-0.0.59.tgz",
- "integrity": "sha512-Y0Hoi+I0tD1xRNYUlt9dpZ2sykPoNAsS/nVtyaGJDYhVg0Q3U4U8afAOFlK3Fro2MfdM+1Kxc7DeaabaUeFmYw==",
- "dev": true,
- "requires": {
- "@definitelytyped/typescript-versions": "^0.0.59",
- "@types/parsimmon": "^1.10.1",
- "parsimmon": "^1.13.0"
- },
- "dependencies": {
- "@definitelytyped/typescript-versions": {
- "version": "0.0.59",
- "resolved": "https://registry.npmjs.org/@definitelytyped/typescript-versions/-/typescript-versions-0.0.59.tgz",
- "integrity": "sha512-R3DNeeNDK4l55OD28cNsvtmzz6K71O7XMf6Xd/BR45mfqn2wZUovghGMV3iCs9B3z2OsdhXqRnjX2Hhnj8NKJA==",
- "dev": true
- }
- }
- },
"@definitelytyped/typescript-versions": {
"version": "0.0.64",
"resolved": "https://registry.npmjs.org/@definitelytyped/typescript-versions/-/typescript-versions-0.0.64.tgz",
@@ -14728,6 +15045,81 @@
"fastq": "^1.6.0"
}
},
+ "@qiwi/npm-registry-client": {
+ "version": "8.9.1",
+ "resolved": "https://npm.shopee.io/@qiwi%2fnpm-registry-client/-/npm-registry-client-8.9.1.tgz",
+ "integrity": "sha512-rZF+mG+NfijR0SHphhTLHRr4aM4gtfdwoAMY6we2VGQam8vkN1cxGG1Lg/Llrj8Dd0Mu6VjdFQRyMMRZxtZR2A==",
+ "dev": true,
+ "requires": {
+ "concat-stream": "^2.0.0",
+ "graceful-fs": "^4.2.4",
+ "normalize-package-data": "~1.0.1 || ^2.0.0 || ^3.0.0",
+ "npm-package-arg": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^8.0.0",
+ "npmlog": "2 || ^3.1.0 || ^4.0.0",
+ "once": "^1.4.0",
+ "request": "^2.88.2",
+ "retry": "^0.12.0",
+ "safe-buffer": "^5.2.1",
+ "semver": "2 >=2.2.1 || 3.x || 4 || 5 || 7",
+ "slide": "^1.1.6",
+ "ssri": "^8.0.0"
+ },
+ "dependencies": {
+ "concat-stream": {
+ "version": "2.0.0",
+ "resolved": "https://npm.shopee.io/concat-stream/-/concat-stream-2.0.0.tgz",
+ "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==",
+ "dev": true,
+ "requires": {
+ "buffer-from": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.0.2",
+ "typedarray": "^0.0.6"
+ }
+ },
+ "readable-stream": {
+ "version": "3.6.1",
+ "resolved": "https://npm.shopee.io/readable-stream/-/readable-stream-3.6.1.tgz",
+ "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==",
+ "dev": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ },
+ "retry": {
+ "version": "0.12.0",
+ "resolved": "https://npm.shopee.io/retry/-/retry-0.12.0.tgz",
+ "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=",
+ "dev": true
+ },
+ "safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://npm.shopee.io/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "dev": true
+ },
+ "semver": {
+ "version": "7.3.8",
+ "resolved": "https://npm.shopee.io/semver/-/semver-7.3.8.tgz",
+ "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
+ "dev": true,
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "ssri": {
+ "version": "8.0.1",
+ "resolved": "https://npm.shopee.io/ssri/-/ssri-8.0.1.tgz",
+ "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==",
+ "dev": true,
+ "requires": {
+ "minipass": "^3.1.1"
+ }
+ }
+ }
+ },
"@rollup/plugin-commonjs": {
"version": "17.0.0",
"resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.0.0.tgz",
@@ -15030,7 +15422,7 @@
"version": "12.20.24",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.24.tgz",
"integrity": "sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==",
- "dev": true
+ "devOptional": true
},
"@types/normalize-package-data": {
"version": "2.4.0",
@@ -15086,6 +15478,15 @@
"integrity": "sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw==",
"dev": true
},
+ "@types/yauzl": {
+ "version": "2.10.0",
+ "resolved": "https://npm.shopee.io/@types%2fyauzl/-/yauzl-2.10.0.tgz",
+ "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
"@typescript-eslint/eslint-plugin": {
"version": "4.33.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz",
@@ -15301,7 +15702,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
- "dev": true,
"requires": {
"debug": "4"
}
@@ -15334,7 +15734,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
"requires": {
"color-convert": "^1.9.0"
}
@@ -15727,8 +16126,7 @@
"base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
- "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
- "dev": true
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="
},
"base64id": {
"version": "2.0.0",
@@ -16067,7 +16465,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
- "dev": true,
"requires": {
"buffer": "^5.5.0",
"inherits": "^2.0.4",
@@ -16078,7 +16475,6 @@
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
- "dev": true,
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
@@ -16149,7 +16545,6 @@
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
"integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
- "dev": true,
"requires": {
"base64-js": "^1.3.1",
"ieee754": "^1.1.13"
@@ -16174,8 +16569,7 @@
"buffer-crc32": {
"version": "0.2.13",
"resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
- "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=",
- "dev": true
+ "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI="
},
"buffer-fill": {
"version": "1.0.0",
@@ -16256,8 +16650,7 @@
"callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
},
"camelcase": {
"version": "5.3.1",
@@ -16358,6 +16751,20 @@
"inherits": "^2.0.1"
}
},
+ "chownr": {
+ "version": "2.0.0",
+ "resolved": "https://npm.shopee.io/chownr/-/chownr-2.0.0.tgz",
+ "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
+ "dev": true
+ },
+ "chromium-bidi": {
+ "version": "0.4.4",
+ "resolved": "https://npm.shopee.io/chromium-bidi/-/chromium-bidi-0.4.4.tgz",
+ "integrity": "sha512-4BX5cSaponuvVT1+SbLYTOAgDoVtX/Khoc9UsbFJ/AsPVUeFAM3RiIDFI6XFhLYMi9WmVJqh1ZH+dRpNKkKwiQ==",
+ "requires": {
+ "mitt": "3.0.0"
+ }
+ },
"ci-info": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
@@ -16514,7 +16921,6 @@
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dev": true,
"requires": {
"color-name": "1.1.3"
}
@@ -16522,8 +16928,7 @@
"color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
- "dev": true
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"colors": {
"version": "1.2.5",
@@ -16672,6 +17077,14 @@
"yaml": "^1.10.0"
}
},
+ "cross-fetch": {
+ "version": "3.1.5",
+ "resolved": "https://npm.shopee.io/cross-fetch/-/cross-fetch-3.1.5.tgz",
+ "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==",
+ "requires": {
+ "node-fetch": "2.6.7"
+ }
+ },
"cross-spawn": {
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
@@ -16762,7 +17175,6 @@
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "dev": true,
"requires": {
"ms": "2.1.2"
}
@@ -16992,6 +17404,11 @@
"integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
"dev": true
},
+ "devtools-protocol": {
+ "version": "0.0.1094867",
+ "resolved": "https://npm.shopee.io/devtools-protocol/-/devtools-protocol-0.0.1094867.tgz",
+ "integrity": "sha512-pmMDBKiRVjh0uKK6CT1WqZmM3hBVSgD+N2MrgyV1uNizAZMw4tx6i/RTc+/uCsKSCmg0xXx7arCP/OFcIwTsiQ=="
+ },
"diff": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
@@ -17130,54 +17547,6 @@
}
}
},
- "dts-critic": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/dts-critic/-/dts-critic-3.3.3.tgz",
- "integrity": "sha512-Pd27sNICo8mUqZ7XBdefy/+eWG8uG02GaYgOv5DBpxiF+8hduojztVm4935dqocyDv/STdF1uh6a8WnAhBK7tQ==",
- "dev": true,
- "requires": {
- "@definitelytyped/header-parser": "latest",
- "command-exists": "^1.2.8",
- "rimraf": "^3.0.2",
- "semver": "^6.2.0",
- "tmp": "^0.2.1",
- "yargs": "^15.3.1"
- },
- "dependencies": {
- "glob": {
- "version": "7.1.6",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
- "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
- "dev": true,
- "requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- }
- },
- "rimraf": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
- "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "dev": true,
- "requires": {
- "glob": "^7.1.3"
- }
- },
- "tmp": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz",
- "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==",
- "dev": true,
- "requires": {
- "rimraf": "^3.0.0"
- }
- }
- }
- },
"dtslint": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/dtslint/-/dtslint-4.2.1.tgz",
@@ -17196,31 +17565,48 @@
"yargs": "^15.1.0"
},
"dependencies": {
+ "@definitelytyped/header-parser": {
+ "version": "0.0.151",
+ "resolved": "https://npm.shopee.io/@definitelytyped%2fheader-parser/-/header-parser-0.0.151.tgz",
+ "integrity": "sha512-LnL9EKxDFZUT6WvNRheea3YqT8k/BVfvVKZt3qiXjC4rwij1s2XpOrL/YOiMq8BdvQCw4WL95qlXuZqiXhRP8A==",
+ "dev": true,
+ "requires": {
+ "@definitelytyped/typescript-versions": "^0.0.151",
+ "@types/parsimmon": "^1.10.1",
+ "parsimmon": "^1.13.0"
+ }
+ },
"@definitelytyped/typescript-versions": {
- "version": "0.0.65",
- "resolved": "https://registry.npmjs.org/@definitelytyped/typescript-versions/-/typescript-versions-0.0.65.tgz",
- "integrity": "sha512-7chRIxoMxM38okhDA1NARtd4NX5QXVAQe2nfnBTgpOG8VgW/YCqFSeM4Feb+diqglwoxvHJNh7muF7/0VqR+nA==",
+ "version": "0.0.151",
+ "resolved": "https://npm.shopee.io/@definitelytyped%2ftypescript-versions/-/typescript-versions-0.0.151.tgz",
+ "integrity": "sha512-ewIZOG5nBM/pUw/AOJ4oWG1iZzH516xzbH2K3CQiwrEu1Y8nRpIWARM2ayx7gLLjljw31P3hVumnH9pYPfyeVw==",
"dev": true
},
"@definitelytyped/utils": {
- "version": "0.0.65",
- "resolved": "https://registry.npmjs.org/@definitelytyped/utils/-/utils-0.0.65.tgz",
- "integrity": "sha512-3I5OsaebF+LXWqS0uZbhmMvUNTRS3vtyoXRvQMGhE0Y6ZSihQgC4LaP12rnixpFVjO0ZrJru3W9DKTaEYJS8Yw==",
+ "version": "0.0.151",
+ "resolved": "https://npm.shopee.io/@definitelytyped%2futils/-/utils-0.0.151.tgz",
+ "integrity": "sha512-C7YlSF4XXxPcfk3I362jmzWW+aMkMwD4msAzP0Pf45TyIOvtQMVBK3xOWeqXJnLSKDVEugeLe9Db8fIBwMb3/Q==",
"dev": true,
"requires": {
- "@definitelytyped/typescript-versions": "^0.0.65",
- "@types/node": "^12.12.29",
+ "@definitelytyped/typescript-versions": "^0.0.151",
+ "@qiwi/npm-registry-client": "^8.9.1",
+ "@types/node": "^14.14.35",
"charm": "^1.0.2",
"fs-extra": "^8.1.0",
"fstream": "^1.0.12",
- "npm-registry-client": "^8.6.0",
- "tar": "^2.2.2",
+ "tar": "^6.1.11",
"tar-stream": "^2.1.4"
},
"dependencies": {
+ "@types/node": {
+ "version": "14.18.37",
+ "resolved": "https://npm.shopee.io/@types%2fnode/-/node-14.18.37.tgz",
+ "integrity": "sha512-7GgtHCs/QZrBrDzgIJnQtuSvhFSwhyYSI2uafSwZoNt1iOGhEN5fwNrQMjtONyHm9+/LoA4453jH0CMYcr06Pg==",
+ "dev": true
+ },
"fs-extra": {
"version": "8.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
+ "resolved": "https://npm.shopee.io/fs-extra/-/fs-extra-8.1.0.tgz",
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
"dev": true,
"requires": {
@@ -17228,9 +17614,37 @@
"jsonfile": "^4.0.0",
"universalify": "^0.1.0"
}
+ },
+ "tar": {
+ "version": "6.1.13",
+ "resolved": "https://npm.shopee.io/tar/-/tar-6.1.13.tgz",
+ "integrity": "sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==",
+ "dev": true,
+ "requires": {
+ "chownr": "^2.0.0",
+ "fs-minipass": "^2.0.0",
+ "minipass": "^4.0.0",
+ "minizlib": "^2.1.1",
+ "mkdirp": "^1.0.3",
+ "yallist": "^4.0.0"
+ }
}
}
},
+ "dts-critic": {
+ "version": "3.3.11",
+ "resolved": "https://npm.shopee.io/dts-critic/-/dts-critic-3.3.11.tgz",
+ "integrity": "sha512-HMO2f9AO7ge44YO8OK18f+cxm/IaE1CFuyNFbfJRCEbyazWj5X5wWDF6W4CGdo5Ax0ILYVfJ7L/rOwuUN1fzWw==",
+ "dev": true,
+ "requires": {
+ "@definitelytyped/header-parser": "latest",
+ "command-exists": "^1.2.8",
+ "rimraf": "^3.0.2",
+ "semver": "^6.2.0",
+ "tmp": "^0.2.1",
+ "yargs": "^15.3.1"
+ }
+ },
"fs-extra": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-6.0.1.tgz",
@@ -17242,6 +17656,50 @@
"universalify": "^0.1.0"
}
},
+ "glob": {
+ "version": "7.2.3",
+ "resolved": "https://npm.shopee.io/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://npm.shopee.io/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ },
+ "minipass": {
+ "version": "4.2.4",
+ "resolved": "https://npm.shopee.io/minipass/-/minipass-4.2.4.tgz",
+ "integrity": "sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ==",
+ "dev": true
+ },
+ "mkdirp": {
+ "version": "1.0.4",
+ "resolved": "https://npm.shopee.io/mkdirp/-/mkdirp-1.0.4.tgz",
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
+ "dev": true
+ },
+ "rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://npm.shopee.io/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dev": true,
+ "requires": {
+ "glob": "^7.1.3"
+ }
+ },
"tslib": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
@@ -17291,7 +17749,6 @@
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
- "dev": true,
"requires": {
"once": "^1.4.0"
}
@@ -17403,7 +17860,6 @@
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
"integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "dev": true,
"requires": {
"is-arrayish": "^0.2.1"
}
@@ -17417,8 +17873,7 @@
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
- "dev": true
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
},
"escodegen": {
"version": "2.0.0",
@@ -18016,6 +18471,27 @@
}
}
},
+ "extract-zip": {
+ "version": "2.0.1",
+ "resolved": "https://npm.shopee.io/extract-zip/-/extract-zip-2.0.1.tgz",
+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
+ "requires": {
+ "@types/yauzl": "^2.9.1",
+ "debug": "^4.1.1",
+ "get-stream": "^5.1.0",
+ "yauzl": "^2.10.0"
+ },
+ "dependencies": {
+ "get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://npm.shopee.io/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ }
+ }
+ },
"extsprintf": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
@@ -18092,7 +18568,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
"integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
- "dev": true,
"requires": {
"pend": "~1.2.0"
}
@@ -18243,8 +18718,7 @@
"fs-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
- "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
- "dev": true
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
},
"fs-extra": {
"version": "10.0.0",
@@ -18275,6 +18749,15 @@
}
}
},
+ "fs-minipass": {
+ "version": "2.1.0",
+ "resolved": "https://npm.shopee.io/fs-minipass/-/fs-minipass-2.1.0.tgz",
+ "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
+ "dev": true,
+ "requires": {
+ "minipass": "^3.0.0"
+ }
+ },
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -18540,8 +19023,7 @@
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
},
"has-symbol-support-x": {
"version": "1.4.2",
@@ -18709,7 +19191,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
- "dev": true,
"requires": {
"agent-base": "6",
"debug": "4"
@@ -18863,8 +19344,7 @@
"ieee754": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
- "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
- "dev": true
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
},
"ignore": {
"version": "5.2.0",
@@ -18876,7 +19356,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
"integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
- "dev": true,
"requires": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
@@ -18923,8 +19402,7 @@
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"ini": {
"version": "1.3.8",
@@ -18965,8 +19443,7 @@
"is-arrayish": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
- "dev": true
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
},
"is-buffer": {
"version": "1.1.6",
@@ -20697,8 +21174,7 @@
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"js-yaml": {
"version": "3.14.0",
@@ -20808,8 +21284,7 @@
"json-parse-even-better-errors": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
- "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
- "dev": true
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
},
"json-schema": {
"version": "0.4.0",
@@ -20917,8 +21392,7 @@
"lines-and-columns": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",
- "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=",
- "dev": true
+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA="
},
"locate-path": {
"version": "5.0.0",
@@ -21076,6 +21550,30 @@
"integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
"dev": true
},
+ "minipass": {
+ "version": "3.3.6",
+ "resolved": "https://npm.shopee.io/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dev": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "minizlib": {
+ "version": "2.1.2",
+ "resolved": "https://npm.shopee.io/minizlib/-/minizlib-2.1.2.tgz",
+ "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
+ "dev": true,
+ "requires": {
+ "minipass": "^3.0.0",
+ "yallist": "^4.0.0"
+ }
+ },
+ "mitt": {
+ "version": "3.0.0",
+ "resolved": "https://npm.shopee.io/mitt/-/mitt-3.0.0.tgz",
+ "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ=="
+ },
"mixin-deep": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
@@ -21106,6 +21604,11 @@
"minimist": "^1.2.5"
}
},
+ "mkdirp-classic": {
+ "version": "0.5.3",
+ "resolved": "https://npm.shopee.io/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
+ },
"moo-color": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/moo-color/-/moo-color-1.0.2.tgz",
@@ -21126,8 +21629,7 @@
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"nanomatch": {
"version": "1.2.13",
@@ -21166,6 +21668,35 @@
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
"dev": true
},
+ "node-fetch": {
+ "version": "2.6.7",
+ "resolved": "https://npm.shopee.io/node-fetch/-/node-fetch-2.6.7.tgz",
+ "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
+ "requires": {
+ "whatwg-url": "^5.0.0"
+ },
+ "dependencies": {
+ "tr46": {
+ "version": "0.0.3",
+ "resolved": "https://npm.shopee.io/tr46/-/tr46-0.0.3.tgz",
+ "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
+ },
+ "webidl-conversions": {
+ "version": "3.0.1",
+ "resolved": "https://npm.shopee.io/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
+ "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE="
+ },
+ "whatwg-url": {
+ "version": "5.0.0",
+ "resolved": "https://npm.shopee.io/whatwg-url/-/whatwg-url-5.0.0.tgz",
+ "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=",
+ "requires": {
+ "tr46": "~0.0.3",
+ "webidl-conversions": "^3.0.0"
+ }
+ }
+ }
+ },
"node-int64": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
@@ -21442,7 +21973,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dev": true,
"requires": {
"wrappy": "1"
}
@@ -21592,7 +22122,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
"requires": {
"callsites": "^3.0.0"
}
@@ -21601,7 +22130,6 @@
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz",
"integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==",
- "dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
"error-ex": "^1.3.1",
@@ -21678,14 +22206,12 @@
"path-type": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
- "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
- "dev": true
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="
},
"pend": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
- "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
- "dev": true
+ "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
},
"performance-now": {
"version": "2.1.0",
@@ -21833,8 +22359,7 @@
"progress": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
- "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
- "dev": true
+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="
},
"prompts": {
"version": "2.4.0",
@@ -21852,6 +22377,11 @@
"integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=",
"dev": true
},
+ "proxy-from-env": {
+ "version": "1.1.0",
+ "resolved": "https://npm.shopee.io/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
+ },
"pseudomap": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
@@ -21868,7 +22398,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
"integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dev": true,
"requires": {
"end-of-stream": "^1.1.0",
"once": "^1.3.1"
@@ -21880,6 +22409,69 @@
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
"dev": true
},
+ "puppeteer": {
+ "version": "19.7.3",
+ "resolved": "https://npm.shopee.io/puppeteer/-/puppeteer-19.7.3.tgz",
+ "integrity": "sha512-QEiRHPUAJp8VOK27zE6h2ne4xKVYibKUZpvjCuLYaAe8/2SOLKIgstF8wK3YaLgTkeruMrYfqZo+Qlw4ZkJDAQ==",
+ "requires": {
+ "cosmiconfig": "8.1.0",
+ "https-proxy-agent": "5.0.1",
+ "progress": "2.0.3",
+ "proxy-from-env": "1.1.0",
+ "puppeteer-core": "19.7.3"
+ },
+ "dependencies": {
+ "argparse": {
+ "version": "2.0.1",
+ "resolved": "https://npm.shopee.io/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
+ },
+ "cosmiconfig": {
+ "version": "8.1.0",
+ "resolved": "https://npm.shopee.io/cosmiconfig/-/cosmiconfig-8.1.0.tgz",
+ "integrity": "sha512-0tLZ9URlPGU7JsKq0DQOQ3FoRsYX8xDZ7xMiATQfaiGMz7EHowNkbU9u1coAOmnh9p/1ySpm0RB3JNWRXM5GCg==",
+ "requires": {
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0"
+ }
+ },
+ "js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://npm.shopee.io/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "requires": {
+ "argparse": "^2.0.1"
+ }
+ }
+ }
+ },
+ "puppeteer-core": {
+ "version": "19.7.3",
+ "resolved": "https://npm.shopee.io/puppeteer-core/-/puppeteer-core-19.7.3.tgz",
+ "integrity": "sha512-9Q5HahsstfoTnllcpNkxNu2z9J7V0Si5Mr5q90K6XSXwW1P8iqe8q3HzWViVuBuEYTSMZ2LaXXzTEYeoCzLEWg==",
+ "requires": {
+ "chromium-bidi": "0.4.4",
+ "cross-fetch": "3.1.5",
+ "debug": "4.3.4",
+ "devtools-protocol": "0.0.1094867",
+ "extract-zip": "2.0.1",
+ "https-proxy-agent": "5.0.1",
+ "proxy-from-env": "1.1.0",
+ "tar-fs": "2.1.1",
+ "unbzip2-stream": "1.4.3",
+ "ws": "8.12.1"
+ },
+ "dependencies": {
+ "ws": {
+ "version": "8.12.1",
+ "resolved": "https://npm.shopee.io/ws/-/ws-8.12.1.tgz",
+ "integrity": "sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==",
+ "requires": {}
+ }
+ }
+ },
"qs": {
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
@@ -22091,8 +22683,7 @@
"resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="
},
"resolve-url": {
"version": "0.2.1",
@@ -22188,8 +22779,7 @@
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"safe-regex": {
"version": "1.1.0",
@@ -23000,7 +23590,6 @@
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
- "dev": true,
"requires": {
"safe-buffer": "~5.1.0"
}
@@ -23105,7 +23694,6 @@
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
"requires": {
"has-flag": "^3.0.0"
}
@@ -23218,11 +23806,28 @@
"inherits": "2"
}
},
+ "tar-fs": {
+ "version": "2.1.1",
+ "resolved": "https://npm.shopee.io/tar-fs/-/tar-fs-2.1.1.tgz",
+ "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
+ "requires": {
+ "chownr": "^1.1.1",
+ "mkdirp-classic": "^0.5.2",
+ "pump": "^3.0.0",
+ "tar-stream": "^2.1.4"
+ },
+ "dependencies": {
+ "chownr": {
+ "version": "1.1.4",
+ "resolved": "https://npm.shopee.io/chownr/-/chownr-1.1.4.tgz",
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
+ }
+ }
+ },
"tar-stream": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
"integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
- "dev": true,
"requires": {
"bl": "^4.0.3",
"end-of-stream": "^1.4.1",
@@ -23235,7 +23840,6 @@
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
- "dev": true,
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
@@ -23363,8 +23967,7 @@
"through": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
- "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
- "dev": true
+ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
},
"timed-out": {
"version": "4.0.1",
@@ -23372,6 +23975,49 @@
"integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=",
"dev": true
},
+ "tmp": {
+ "version": "0.2.1",
+ "resolved": "https://npm.shopee.io/tmp/-/tmp-0.2.1.tgz",
+ "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==",
+ "dev": true,
+ "requires": {
+ "rimraf": "^3.0.0"
+ },
+ "dependencies": {
+ "glob": {
+ "version": "7.2.3",
+ "resolved": "https://npm.shopee.io/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://npm.shopee.io/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ },
+ "rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://npm.shopee.io/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dev": true,
+ "requires": {
+ "glob": "^7.1.3"
+ }
+ }
+ }
+ },
"tmpl": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
@@ -23641,13 +24287,12 @@
"version": "4.4.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
"integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
- "dev": true
+ "devOptional": true
},
"unbzip2-stream": {
"version": "1.4.3",
"resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
"integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
- "dev": true,
"requires": {
"buffer": "^5.2.1",
"through": "^2.3.8"
@@ -23750,8 +24395,7 @@
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
- "dev": true
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"uuid": {
"version": "8.3.1",
@@ -23989,8 +24633,7 @@
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
- "dev": true
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"write-file-atomic": {
"version": "3.0.3",
@@ -24041,6 +24684,12 @@
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
"dev": true
},
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://npm.shopee.io/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
"yaml": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",
@@ -24114,7 +24763,6 @@
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
"integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
- "dev": true,
"requires": {
"buffer-crc32": "~0.2.3",
"fd-slicer": "~1.1.0"
@@ -24154,9 +24802,9 @@
}
},
"zrender": {
- "version": "5.4.1",
- "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.4.1.tgz",
- "integrity": "sha512-M4Z05BHWtajY2241EmMPHglDQAJ1UyHQcYsxDNzD9XLSkPDqMq4bB28v9Pb4mvHnVQ0GxyTklZ/69xCFP6RXBA==",
+ "version": "5.4.3",
+ "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.4.3.tgz",
+ "integrity": "sha512-DRUM4ZLnoaT0PBVvGBDO9oWIDBKFdAVieNWxWwK0niYzJCMwGchRk21/hsE+RKkIveH3XHCyvXcJDkgLVvfizQ==",
"requires": {
"tslib": "2.3.0"
}
diff --git a/package.json b/package.json
index 802b21d40..77124c5ac 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "echarts",
- "version": "5.4.1",
+ "version": "5.4.3",
"description": "Apache ECharts is a powerful, interactive charting and data visualization library for browser",
"license": "Apache-2.0",
"keywords": [
@@ -46,7 +46,7 @@
"build:lib": "node build/build.js --prepublish",
"build:extension": "node build/build.js --type extension",
"dev:fast": "node build/build-i18n.js && node build/dev-fast.js",
- "dev": "npx -y concurrently -n build,server \"npm run dev:fast\" \"npx -y http-server -c-1 -s -o test\"",
+ "dev": "npx concurrently -n build,server \"npm run dev:fast\" \"npx http-server -c-1 -s -o test\"",
"prepublish": "npm run build:lib",
"release": "npm run build:lib && npm run build:i18n && npm run build && npm run build:esm && npm run build:extension",
"help": "node build/build.js --help",
@@ -63,8 +63,9 @@
"lint:dist": "echo 'It might take a while. Please wait ...' && npx jshint --config .jshintrc-dist dist/echarts.js"
},
"dependencies": {
+ "puppeteer": "^19.7.3",
"tslib": "2.3.0",
- "zrender": "5.4.1"
+ "zrender": "5.4.3"
},
"devDependencies": {
"@babel/code-frame": "7.10.4",
diff --git a/src/core/echarts.ts b/src/core/echarts.ts
index ccd7d6084..b5adf721c 100644
--- a/src/core/echarts.ts
+++ b/src/core/echarts.ts
@@ -137,10 +137,10 @@ declare let global: any;
type ModelFinder = modelUtil.ModelFinder;
-export const version = '5.4.1';
+export const version = '5.4.3';
export const dependencies = {
- zrender: '5.4.1'
+ zrender: '5.4.3'
};
const TEST_FRAME_REMAIN_TIME = 1;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org