feat(build): uplift Lerna + replace insecure shortid with nanoid + uplift Yeoman-related packages + ESM-ize generator-superset (#29419)

Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
Đỗ Trọng Hải
2024-07-17 06:35:37 +07:00
committed by GitHub
parent 028e9c9294
commit c30ca534a3
35 changed files with 12553 additions and 16800 deletions

View File

@@ -31,7 +31,7 @@ import { pick } from 'lodash';
import ButtonGroup from 'src/components/ButtonGroup';
import Alert from 'src/components/Alert';
import Button from 'src/components/Button';
import shortid from 'shortid';
import { nanoid } from 'nanoid';
import {
QueryState,
styled,
@@ -250,7 +250,7 @@ const ResultSet = ({
const popSelectStar = (tempSchema: string | null, tempTable: string) => {
const qe = {
id: shortid.generate(),
id: nanoid(11),
name: tempTable,
autorun: false,
dbId: query.dbId,

View File

@@ -18,7 +18,7 @@
*/
import { createRef, useMemo } from 'react';
import { shallowEqual, useDispatch, useSelector } from 'react-redux';
import shortid from 'shortid';
import { nanoid } from 'nanoid';
import Tabs from 'src/components/Tabs';
import { styled, t } from '@superset-ui/core';
@@ -139,7 +139,7 @@ const SouthPane = ({
activeKey={activeSouthPaneTab}
className="SouthPaneTabs"
onChange={switchTab}
id={shortid.generate()}
id={nanoid(11)}
fullWidth={false}
animated={false}
>