diff --git a/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.ts b/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.ts index 0af7dce36fa82..9ae90bd4e4095 100644 --- a/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.ts @@ -115,15 +115,18 @@ describe('Visualization > Table', () => { metrics: [NUM_METRIC, MAX_DS], groupby: ['name'], }); - cy.verifySliceSuccess({ - waitAlias: '@chartData', - querySubstring: /group by.*name/i, - chartSelector: 'table', + cy.wait('@chartData').then(({ response }) => { + cy.verifySliceContainer('table'); + const records = response?.body.result[0].data; + // should sort by first metric when no sort by metric is set + expect(records[0][NUM_METRIC.label]).greaterThan( + records[1][NUM_METRIC.label], + ); }); - // should handle sorting correctly + // should handle frontend sorting correctly cy.get('.chart-container th').contains('name').click(); - cy.get('.chart-container td:nth-child(2):eq(0)').contains('Aaron'); + cy.get('.chart-container td:nth-child(2):eq(0)').contains('Adam'); cy.get('.chart-container th').contains('Time').click().click(); cy.get('.chart-container td:nth-child(1):eq(0)').contains('2008'); }); diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 4e3ffb43bc306..d17af4794a8f8 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -18552,19 +18552,19 @@ } }, "@superset-ui/chart-controls": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/chart-controls/-/chart-controls-0.17.2.tgz", - "integrity": "sha512-Rqk68T0sJlB77E1mO9If64NAymi4POy6STsdODtGQ7UlRx9DnbKMUxUqfPgGhLqiDRpYmsoQpG/CPHEvCdE5Pg==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/chart-controls/-/chart-controls-0.17.5.tgz", + "integrity": "sha512-GRvC0JPK6XEZIr680fVE1FUdf9KvCHwLKF29aoXz9V16aQltNS53Ost+gYm9K7HESD5lfDJyol2avwxeZxdTYg==", "requires": { - "@superset-ui/core": "0.17.1", + "@superset-ui/core": "0.17.5", "lodash": "^4.17.15", "prop-types": "^15.7.2" } }, "@superset-ui/core": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@superset-ui/core/-/core-0.17.1.tgz", - "integrity": "sha512-VnWhb5FjMOrAF2+PJG4WkvscmgtRnnFZBEqG+2g8TSSby2RfIrGB390Dq6abqc9SmBmjNPLj6zkzsvJZv8DsOA==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/core/-/core-0.17.5.tgz", + "integrity": "sha512-9yNsskd+4XHcEI8YVJ2+aS+kun/HQx2p7ssBggfRR5ponOHoudLtNbDLxDtO1C1l+eMabr3YpWaebGB3xQd96w==", "requires": { "@babel/runtime": "^7.1.2", "@emotion/core": "^10.0.28", @@ -18647,12 +18647,12 @@ } }, "@superset-ui/legacy-plugin-chart-calendar": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-calendar/-/legacy-plugin-chart-calendar-0.17.2.tgz", - "integrity": "sha512-syc/v+lCp9Xfx76171YZ5PD0ZxdxneKQViUY0L4I6KtvIHPtUQqj3kQJRELPSWh933pKdqO1HtWTMG8jyNsmEw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-calendar/-/legacy-plugin-chart-calendar-0.17.5.tgz", + "integrity": "sha512-Rf5nEQ1z0lSCW6k8AqVQMifeFi6HAeXYHIFCltt/egCKYlyz3Pra8SBW/L5c0hH4mdSua9UZmKraTUd4ITsFtQ==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3-array": "^2.0.3", "d3-selection": "^1.4.0", "d3-tip": "^0.9.1", @@ -18670,24 +18670,24 @@ } }, "@superset-ui/legacy-plugin-chart-chord": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-chord/-/legacy-plugin-chart-chord-0.17.2.tgz", - "integrity": "sha512-ya0f6IBwc3JumcM4510glquY7OAV04fimgFpoH+9XEpTx2ikKnUwS02gGVzpWw4/0VfrSJNQqTy3vG+wmGvkSQ==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-chord/-/legacy-plugin-chart-chord-0.17.5.tgz", + "integrity": "sha512-EUbnX2Hah3z353SyUWWqk19R8pIWz26nvjvO4Y6a2i/0I9ukKUGgpQlyhgIFLL4SPyRwGjdStcsFNQeoMGLheQ==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "prop-types": "^15.6.2", "react": "^16.13.1" } }, "@superset-ui/legacy-plugin-chart-country-map": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-country-map/-/legacy-plugin-chart-country-map-0.17.2.tgz", - "integrity": "sha512-+5SnkN/KzPkWDUNMVJ7E9hljG2ldsrAqpCget+x7oIfE1Nb0sbMm7q2ewQeAmUXs9ftSlrKVvb0560G9uLRqMQ==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-country-map/-/legacy-plugin-chart-country-map-0.17.5.tgz", + "integrity": "sha512-dzqTZtx1oKrKT4JFGsGAx2aEmGsx7VziDo4SUaLiq1W7W7S/ABjCq2Mu9M4NRT8lkowJq3WAEgVtMy+DzONkmg==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "d3-array": "^2.0.3", "prop-types": "^15.6.2" @@ -18704,34 +18704,34 @@ } }, "@superset-ui/legacy-plugin-chart-event-flow": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-event-flow/-/legacy-plugin-chart-event-flow-0.17.2.tgz", - "integrity": "sha512-9sIO2ilA1iJ4MhYqdO8oj+byjyLvSdtsx/wmhGf6U4QqjLDSVpXgf3g2hQt6x34foMQodL8WcC9vAHa11ILpfw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-event-flow/-/legacy-plugin-chart-event-flow-0.17.5.tgz", + "integrity": "sha512-zjC5PLRaimevhZxAAjy/oAtvKxNi0cWSwdy05p//1k/ypuVsmjws+k1SlEbB8ZZwMYBVz1WbYKy+u5uqcc+O8g==", "requires": { "@data-ui/event-flow": "^0.0.84", - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-force-directed": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-force-directed/-/legacy-plugin-chart-force-directed-0.17.2.tgz", - "integrity": "sha512-0S/iF17heD+UNetgQvE7jO4bvym2py54hGersDhtLuZm9Ch5Vhk+1q6X9j8QOTR5lcupIxkMvFIV/rCf3tjR+A==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-force-directed/-/legacy-plugin-chart-force-directed-0.17.5.tgz", + "integrity": "sha512-kvU0xW23aWB/QUl6JgbyGJ52b4mFhdoUo92YdKicbKsI2rcZ+VEFDwJLCmIe3oosrQID0d9fnZQ/XctqeORB1Q==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "prop-types": "^15.7.2" } }, "@superset-ui/legacy-plugin-chart-heatmap": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-heatmap/-/legacy-plugin-chart-heatmap-0.17.2.tgz", - "integrity": "sha512-15XO5xoFn118TVgdp+GBnHd1cSM+/ieb1N5fZmulgSy88v0kLG/hl4NdG+lMSMWXoDkaWMlzJnz9EsP3hb+Vmw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-heatmap/-/legacy-plugin-chart-heatmap-0.17.5.tgz", + "integrity": "sha512-wsfmyyToMDWOBLrPa71RWJ4NLTzCZ/FscKVHYYyYJltpDr/PGhPeiHp2Ma5RxglMJivdBxgewONKjVjm1tloRw==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "d3-svg-legend": "^1.x", "d3-tip": "^0.9.1", @@ -18739,14 +18739,14 @@ } }, "@superset-ui/legacy-plugin-chart-histogram": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-histogram/-/legacy-plugin-chart-histogram-0.17.2.tgz", - "integrity": "sha512-VbQ+5qGEg+XF3ovPPXDDfBYXwZyqkbqnA4R+yPG1y/rJldsvQ1/3TINT90Hz4rve9agvJihc0ERkoMUaFBgXtg==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-histogram/-/legacy-plugin-chart-histogram-0.17.5.tgz", + "integrity": "sha512-fcLzgpjospFLfplvGbMZIX7iys5ULNabDa+CAI+9tF+e+v3ZaYWYvNo7BXJrmW1Hn9ufNwDmL2CN8J5V5qGWiA==", "requires": { "@data-ui/histogram": "^0.0.84", "@data-ui/theme": "^0.0.84", - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "@vx/legend": "^0.0.198", "@vx/responsive": "^0.0.199", "@vx/scale": "^0.0.197", @@ -18814,12 +18814,12 @@ } }, "@superset-ui/legacy-plugin-chart-horizon": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-horizon/-/legacy-plugin-chart-horizon-0.17.2.tgz", - "integrity": "sha512-JaEeIkWP0D2iAxNA7cOqJnjnaYWcG74DFYOWNzNdnzHwz4830yglHwzBH1gK9+5QxW7BiQ2MvLRA9T8Qzql5Hg==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-horizon/-/legacy-plugin-chart-horizon-0.17.5.tgz", + "integrity": "sha512-1rkv+sbC6VKl5f0m/CtnYRueplr+bl5lLuseZRks0DPjO5m1VUGQrWsa2wCrCui0GmAdqogdJCQVcQF3I2aZxQ==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3-array": "^2.0.3", "d3-scale": "^3.0.1", "prop-types": "^15.6.2" @@ -18848,12 +18848,12 @@ } }, "@superset-ui/legacy-plugin-chart-map-box": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-map-box/-/legacy-plugin-chart-map-box-0.17.2.tgz", - "integrity": "sha512-lg8jLk62T/QRVutyArUvw+rac/ee00IRG8EL6QIRxiHSayrST6GRcTQ6EZ6wxQ9444O3oDYBkFAwiCEXe9NHEA==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-map-box/-/legacy-plugin-chart-map-box-0.17.5.tgz", + "integrity": "sha512-gDhmAL8qULqhHdDRRYsfMbqEmx3m3ND2sjPtFGtAZa5HOUGWqBzHtW6vAgRetO6e2EU//6EZRa/MO1KNykPm1w==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "immutable": "^3.8.2", "mapbox-gl": "^0.53.0", "prop-types": "^15.6.2", @@ -18870,118 +18870,118 @@ } }, "@superset-ui/legacy-plugin-chart-paired-t-test": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.17.2.tgz", - "integrity": "sha512-BEdZxUXx8SiK0QXmdcXF0uPL/ctF3oiHofQvx6Doi1WWb9QBJMV+jgG5vtEuQvQGMI9DNm/71g9iqt50onMjTQ==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.17.5.tgz", + "integrity": "sha512-3MR1OsZ+NQixK5iSjTUmM5NKvNWqB3wq3h5RdS5VfpmjjiJzMqB3ntKr6jwvc+9BY/UR0ffgwMjSe7Vg3RZZIg==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "distributions": "^1.0.0", "prop-types": "^15.6.2", "reactable-arc": "0.15.0" } }, "@superset-ui/legacy-plugin-chart-parallel-coordinates": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.17.2.tgz", - "integrity": "sha512-/jeQtKEQvxQFllcgD3I45176GgCnxsvbgdM3ztUgCflsLhrHQMD685PMDXacbhNE3WKnLszDZ/9Ayw+3PXu3vw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.17.5.tgz", + "integrity": "sha512-aXlmOs8JGdaoq+3XnSMTK8Kj8YRKdgGxB54Kr3uI16aw7vgwO8iBq0YgI88+XLJqiKHAsJ57mmDrtCV9UxB7Aw==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "prop-types": "^15.7.2" } }, "@superset-ui/legacy-plugin-chart-partition": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-partition/-/legacy-plugin-chart-partition-0.17.2.tgz", - "integrity": "sha512-F0R8+JW6xrdVufjzoKx+/iyswWR+9I0lf2kODArcwyEYa4OkhqVjBJIWF1x8VpA6YFWreRmq1Tn0c3QcZrhh4w==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-partition/-/legacy-plugin-chart-partition-0.17.5.tgz", + "integrity": "sha512-LKtJ7+chkL9Vz0hKX0no+a/9/fa4n4fQO5CMSICwlNcxvURznhkKddYn5QD5fFjdFXM/JUv+jXEX9zniq/0KyA==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "d3-hierarchy": "^1.1.8", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-pivot-table": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-pivot-table/-/legacy-plugin-chart-pivot-table-0.17.2.tgz", - "integrity": "sha512-7eILPkjFvJuE6vbOAHHumfjEvJAT2j7pgOe9oS/4WYJrc/LCmOKRhZy/Fqn3yEMQX18TDfusu+hWsG8fD9T0Bw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-pivot-table/-/legacy-plugin-chart-pivot-table-0.17.5.tgz", + "integrity": "sha512-7e/8J16ZIyOe006XDieOpJ5ajk4C0OGkbA7m/OaFqH7cjgpWsfM7lL4SgWtmSmn8vJlidpnIy0J1BLM9Lnh67A==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "datatables.net-bs": "^1.10.15", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-rose": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-rose/-/legacy-plugin-chart-rose-0.17.2.tgz", - "integrity": "sha512-c/Ka3mKmL5SisrkDVJ6TaRg0eAIZVDWcJdtOzXRsU7cUExtSDhkxc4aQ1LAOKc8cldxvQatI21HF3hAzk13NSw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-rose/-/legacy-plugin-chart-rose-0.17.5.tgz", + "integrity": "sha512-r6ztR7M6WD7BywPM5pmqlb6+exB1sUE4vIScs3h80eeAQsWtaGMevzTvkNetYv3t4vZiSvelcl1Z9OpcJgar6Q==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "nvd3": "1.8.6", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-sankey": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey/-/legacy-plugin-chart-sankey-0.17.2.tgz", - "integrity": "sha512-DpKWknNlxGuwQhVCa/gwRTzTGnTMBHjnwC0M0kq1AtcoaYRgOnRN8XurNvXVIByxS9m4Y3YqhpYmQ65NIT7xAA==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey/-/legacy-plugin-chart-sankey-0.17.5.tgz", + "integrity": "sha512-HYKbeqRfJYTiGenv36U6rcNg/gRepeEMwGTWYjevVg6UNNkR5e+/efbFeX+ypMePHRtkaYX+TIe3oAFzkpk9gw==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "d3-sankey": "^0.4.2", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-sankey-loop": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey-loop/-/legacy-plugin-chart-sankey-loop-0.17.2.tgz", - "integrity": "sha512-6iP5lSUvb4WaUikoeVGpmRZ9dzg7uS+1hTrOTxl+e0WgmOfbopH6I/Iv/oNLs+hAklrrLvWT14nKFRvmOayZ1g==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey-loop/-/legacy-plugin-chart-sankey-loop-0.17.5.tgz", + "integrity": "sha512-6YrhvSMSB8c7UhCVP0taLONK5dNkwxNEiGSOjuFdxqElPE/8mTPHUAPHlG+NIYECV8tcJq76/8C7V/RUIj0Hcw==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3-sankey-diagram": "^0.7.3", "d3-selection": "^1.4.0", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-sunburst": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sunburst/-/legacy-plugin-chart-sunburst-0.17.2.tgz", - "integrity": "sha512-bPiw75rEwt+Q2EPNbeM4CAb0g697F7P1WaVOnyo623o1jwZR61y4Gs1n5DvSijQvD3flHOuzK1oGnVSWEwG4sw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sunburst/-/legacy-plugin-chart-sunburst-0.17.5.tgz", + "integrity": "sha512-rw5QqAbx7BeHdnJDM9nYVyTHH6Yzp2hHB2C0bHXVPIBe4L2zu71s/T8vRpGqdgFpumdpo1TgZhnrNqx4fgo3yw==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-treemap": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-treemap/-/legacy-plugin-chart-treemap-0.17.2.tgz", - "integrity": "sha512-9rLBpx6DvCNndMmlenardcn5P350xyKyHWZtJrdAhmWK5IZ/G2VbPiynciApXZpBIK+cAiPM5VENp7G80sxLWw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-treemap/-/legacy-plugin-chart-treemap-0.17.5.tgz", + "integrity": "sha512-HCv4EiKdu8NLcW4YjXcYUSKfoj+Wj+E3UIHvz9YNh3unO2fe926DohWEQO/y24xz59s1Ha4FmJuPS4cFD5bq6w==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3-hierarchy": "^1.1.8", "d3-selection": "^1.4.0", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-world-map": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-world-map/-/legacy-plugin-chart-world-map-0.17.2.tgz", - "integrity": "sha512-gOmugDzjLWK39ab2WYA+lEYaqv39bipH2aal6Dz2MtfODzZbF7JfDzeyquUhdMEr89fWHmEjiB2FU+DeXZN9yQ==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-world-map/-/legacy-plugin-chart-world-map-0.17.5.tgz", + "integrity": "sha512-aOJvC9uhHaJuwGWoxjB70VIG8fDljXG1skVPX7m7fjvrw2QIanv3c6mENWFYjCXjtTNjXj3XXly8d8BAv94Emw==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "d3-array": "^2.4.0", "d3-color": "^1.4.1", @@ -19005,13 +19005,13 @@ } }, "@superset-ui/legacy-preset-chart-big-number": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.17.2.tgz", - "integrity": "sha512-zgPTBuHxdSgCT2B3H0YF5zvlCLp+iLluSIUfFHMpfE7deMKPOnR+dObgozXJfDus3kVXWp6qr8uWFlMN3crtyw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.17.5.tgz", + "integrity": "sha512-dhXXSR20ekNgzVysT0LuyKgTF9Kr8wM9tceQK/zSNdpcJu4zBPuau1wSKKNm0uuuB9KrwYTNMd4JgtgrrGDqYQ==", "requires": { "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "@types/d3-color": "^1.2.2", "@types/shortid": "^0.0.29", "d3-color": "^1.2.3", @@ -19044,13 +19044,13 @@ } }, "@superset-ui/legacy-preset-chart-nvd3": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-nvd3/-/legacy-preset-chart-nvd3-0.17.2.tgz", - "integrity": "sha512-hoxc93lYYHoh02hxEogMREe5pHPjU/f69Jv1r0IOiApzeCJ9EG6rOVf1f1sfCaESZWG63Y1QpaHaQxb5koLyaw==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-nvd3/-/legacy-preset-chart-nvd3-0.17.5.tgz", + "integrity": "sha512-0+xxCz97Yg8bA/2uN4CHrhfzSyPQViB0p1lxKVgi8S8Gd/AX3oDD3XCn84kyAFzo3aNmD27KpFfZN/GwzDJDGg==", "requires": { "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "d3": "^3.5.17", "d3-tip": "^0.9.1", "dompurify": "^2.0.6", @@ -19064,12 +19064,12 @@ } }, "@superset-ui/plugin-chart-echarts": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.2.tgz", - "integrity": "sha512-wvxCUFvC4q7bBB2aZsylC6P3+qJp1vuAFpOCt4Bmk0QXn5IRchzpxwv+xv6f9G/XEKAS0O2BHgbbeepyF0z6FA==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.5.tgz", + "integrity": "sha512-7HpREiMqUUR1wiYxZVOlR/25jMeWRsShBHulanGYGSR6DHuvjL1S/lq1WiK6qbUxqZ/iDhzoJpSsFzZxkhbwdA==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "@types/echarts": "^4.9.3", "@types/mathjs": "^6.0.7", "echarts": "^5.0.0", @@ -19077,13 +19077,13 @@ } }, "@superset-ui/plugin-chart-table": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-table/-/plugin-chart-table-0.17.4.tgz", - "integrity": "sha512-lP8lA85ycTczYmEK33X56INQopAd+5lsORAfN0rglgGexIOGmHpIsNsMQDlDmr0QYGOyUcU+uk27Nxn3zfg05Q==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-table/-/plugin-chart-table-0.17.5.tgz", + "integrity": "sha512-OJmQJkCtNZORjl2sLhkyJPQaCOV7igHJRDnVbRBDa5rTVoYETK5lb3j6fO/Oxq1PXufqwsf58SJeVzl3NCogHA==", "requires": { "@emotion/core": "^10.0.28", - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "@types/d3-array": "^2.0.0", "@types/react-table": "^7.0.19", "d3-array": "^2.4.0", @@ -19106,12 +19106,12 @@ } }, "@superset-ui/plugin-chart-word-cloud": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.17.2.tgz", - "integrity": "sha512-mfBPE+xZ2mjND2jqkHZAIWY2v+sMZ2n+rBfHJbK8EQhttqXrD7fJ5tmzDjWQqrYWpkGYwgdxLXZeZVgOedgg0w==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.17.5.tgz", + "integrity": "sha512-jUE2RTKeLQcpKmk3ktxn7NwJOUIg7n4GCQFR0meFCJqH5TRV4E9UEfmZSo0FXhSzcUUerJSyfmXdxtzcCQMC3Q==", "requires": { - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "@types/d3-cloud": "^1.2.1", "@types/d3-scale": "^2.0.2", "d3-cloud": "^1.2.5", @@ -19143,14 +19143,14 @@ } }, "@superset-ui/preset-chart-xy": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/@superset-ui/preset-chart-xy/-/preset-chart-xy-0.17.2.tgz", - "integrity": "sha512-OaZgtt+e5Jncum18lOvpYWJ3cbVMElTL+YO6MEpk3CvFvcROjH8R6MleK1Vm4iM8CTL3865Ycu8KeHwdpoSetg==", + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@superset-ui/preset-chart-xy/-/preset-chart-xy-0.17.5.tgz", + "integrity": "sha512-hFPVjc7IfgFEmh3Vqt2OYGawbRu1hdbQzo/Q/p0u9Q1lKdW6TNXBkATEKTBSTbVqFxgQSGktalAW3gzlpYKK/A==", "requires": { "@data-ui/theme": "^0.0.84", "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.2", - "@superset-ui/core": "0.17.1", + "@superset-ui/chart-controls": "0.17.5", + "@superset-ui/core": "0.17.5", "@vx/axis": "^0.0.198", "@vx/legend": "^0.0.198", "@vx/scale": "^0.0.197", @@ -31263,7 +31263,7 @@ "dependencies": { "core-js": { "version": "1.2.7", - "resolved": "http://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" } } @@ -39498,9 +39498,9 @@ } }, "mathfn": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/mathfn/-/mathfn-1.1.0.tgz", - "integrity": "sha512-glxPY9PZqaoGUySN1QOVnKfnWH4Az2PnHEYMRVWUnR1RZpWTLNzdCm7RxEiEJ0SJ7G95ruF6Q2/1s/LuQnhXyg==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mathfn/-/mathfn-1.2.0.tgz", + "integrity": "sha512-QBcepxkFxuGk12q4G0KuNbuU3UCXhDROxWZllaNZSpBivkHl2z8qNvi7UGE/WLJt+c7GTC4jigYtur+JDL+40A==" }, "mathjs": { "version": "8.0.1", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 2054ae884112f..1ab6654a27c26 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -65,34 +65,34 @@ "@babel/runtime-corejs3": "^7.12.5", "@data-ui/sparkline": "^0.0.84", "@emotion/core": "^10.0.35", - "@superset-ui/chart-controls": "^0.17.2", - "@superset-ui/core": "^0.17.1", - "@superset-ui/legacy-plugin-chart-calendar": "^0.17.2", - "@superset-ui/legacy-plugin-chart-chord": "^0.17.2", - "@superset-ui/legacy-plugin-chart-country-map": "^0.17.2", - "@superset-ui/legacy-plugin-chart-event-flow": "^0.17.2", - "@superset-ui/legacy-plugin-chart-force-directed": "^0.17.2", - "@superset-ui/legacy-plugin-chart-heatmap": "^0.17.2", - "@superset-ui/legacy-plugin-chart-histogram": "^0.17.2", - "@superset-ui/legacy-plugin-chart-horizon": "^0.17.2", - "@superset-ui/legacy-plugin-chart-map-box": "^0.17.2", - "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.2", - "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.2", - "@superset-ui/legacy-plugin-chart-partition": "^0.17.2", - "@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.2", - "@superset-ui/legacy-plugin-chart-rose": "^0.17.2", - "@superset-ui/legacy-plugin-chart-sankey": "^0.17.2", - "@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.2", - "@superset-ui/legacy-plugin-chart-sunburst": "^0.17.2", - "@superset-ui/legacy-plugin-chart-treemap": "^0.17.2", - "@superset-ui/legacy-plugin-chart-world-map": "^0.17.2", - "@superset-ui/legacy-preset-chart-big-number": "^0.17.2", + "@superset-ui/chart-controls": "^0.17.5", + "@superset-ui/core": "^0.17.5", + "@superset-ui/legacy-plugin-chart-calendar": "^0.17.5", + "@superset-ui/legacy-plugin-chart-chord": "^0.17.5", + "@superset-ui/legacy-plugin-chart-country-map": "^0.17.5", + "@superset-ui/legacy-plugin-chart-event-flow": "^0.17.5", + "@superset-ui/legacy-plugin-chart-force-directed": "^0.17.5", + "@superset-ui/legacy-plugin-chart-heatmap": "^0.17.5", + "@superset-ui/legacy-plugin-chart-histogram": "^0.17.5", + "@superset-ui/legacy-plugin-chart-horizon": "^0.17.5", + "@superset-ui/legacy-plugin-chart-map-box": "^0.17.5", + "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.5", + "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.5", + "@superset-ui/legacy-plugin-chart-partition": "^0.17.5", + "@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.5", + "@superset-ui/legacy-plugin-chart-rose": "^0.17.5", + "@superset-ui/legacy-plugin-chart-sankey": "^0.17.5", + "@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.5", + "@superset-ui/legacy-plugin-chart-sunburst": "^0.17.5", + "@superset-ui/legacy-plugin-chart-treemap": "^0.17.5", + "@superset-ui/legacy-plugin-chart-world-map": "^0.17.5", + "@superset-ui/legacy-preset-chart-big-number": "^0.17.5", "@superset-ui/legacy-preset-chart-deckgl": "^0.4.1", - "@superset-ui/legacy-preset-chart-nvd3": "^0.17.2", - "@superset-ui/plugin-chart-echarts": "^0.17.2", - "@superset-ui/plugin-chart-table": "^0.17.4", - "@superset-ui/plugin-chart-word-cloud": "^0.17.2", - "@superset-ui/preset-chart-xy": "^0.17.2", + "@superset-ui/legacy-preset-chart-nvd3": "^0.17.5", + "@superset-ui/plugin-chart-echarts": "^0.17.5", + "@superset-ui/plugin-chart-table": "^0.17.5", + "@superset-ui/plugin-chart-word-cloud": "^0.17.5", + "@superset-ui/preset-chart-xy": "^0.17.5", "@vx/responsive": "^0.0.195", "abortcontroller-polyfill": "^1.1.9", "antd": "^4.9.4",