chore(deps): update dayjs requirement from ^1.11.13 to ^1.11.18 in /superset-frontend/plugins/plugin-chart-echarts (#34955)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
dependabot[bot]
2025-12-10 16:59:12 -08:00
committed by GitHub
parent 683a65488f
commit ee2ab7e078
8 changed files with 18 additions and 10 deletions

View File

@@ -43,7 +43,6 @@
"d3-array": "^1.2.4",
"d3-color": "^1.4.1",
"d3-scale": "^3.0.0",
"dayjs": "^1.11.18",
"handlebars": "^4.7.8",
"lodash": "^4.17.21",
"mousetrap": "^1.6.5",
@@ -60,9 +59,10 @@
"@types/urijs": "^1.19.25"
},
"peerDependencies": {
"@apache-superset/core": "*",
"@superset-ui/chart-controls": "*",
"@superset-ui/core": "*",
"@apache-superset/core": "*",
"dayjs": "^1.11.18",
"mapbox-gl": "*",
"react": "^17.0.2",
"react-dom": "^17.0.2",

View File

@@ -33,16 +33,16 @@
"d3-tip": "^0.9.1",
"fast-safe-stringify": "^2.1.1",
"lodash": "^4.17.21",
"dayjs": "^1.11.18",
"nvd3-fork": "^2.0.5",
"dompurify": "^3.3.0",
"prop-types": "^15.8.1",
"urijs": "^1.19.11"
},
"peerDependencies": {
"@apache-superset/core": "*",
"@superset-ui/chart-controls": "*",
"@superset-ui/core": "*",
"@apache-superset/core": "*",
"dayjs": "^1.11.18",
"react": "^17.0.2"
}
}

View File

@@ -26,13 +26,13 @@
"dependencies": {
"@types/react-redux": "^7.1.34",
"d3-array": "^1.2.0",
"dayjs": "^1.11.18",
"lodash": "^4.17.21"
},
"peerDependencies": {
"@apache-superset/core": "*",
"@superset-ui/chart-controls": "*",
"@superset-ui/core": "*",
"dayjs": "^1.11.18",
"echarts": "*",
"memoize-one": "*",
"react": "^17.0.2"

View File

@@ -16,6 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
// Type augmentation for dayjs plugins
import 'dayjs/plugin/utc';
import { Metric } from '@superset-ui/chart-controls';
import {
ChartProps,
@@ -26,7 +28,6 @@ import {
ensureIsArray,
} from '@superset-ui/core';
import { extendedDayjs as dayjs } from '@superset-ui/core/utils/dates';
import 'dayjs/plugin/utc';
import {
getComparisonFontSize,
getHeaderFontSize,

View File

@@ -17,7 +17,8 @@
* under the License.
*/
import utc from 'dayjs/plugin/utc';
// Type augmentation for dayjs plugins
import 'dayjs/plugin/utc';
import {
getTimeFormatter,
getTimeFormatterForGranularity,
@@ -30,8 +31,6 @@ import {
} from '@superset-ui/core';
import { extendedDayjs as dayjs } from '@superset-ui/core/utils/dates';
dayjs.extend(utc);
export const parseMetricValue = (metricValue: number | string | null) => {
if (typeof metricValue === 'string') {
const dateObject = dayjs.utc(metricValue, undefined, true);

View File

@@ -16,6 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
// Type augmentation for dayjs plugins
import 'dayjs/plugin/utc';
import {
CustomSeriesOption,
CustomSeriesRenderItem,

View File

@@ -37,7 +37,7 @@
"ace-builds": "^1.4.14",
"handlebars": "^4.7.8",
"lodash": "^4.17.11",
"dayjs": "^1.11.13",
"dayjs": "^1.11.18",
"react": "^17.0.2",
"react-ace": "^10.1.0",
"react-dom": "^17.0.2"