From 9349886205c313155ad118ed90f01e0a126b13b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Mon, 11 Sep 2023 16:08:52 +0800 Subject: [PATCH 1/2] chore: rm demos --- examples/normal/src/Foo/demo/work.tsx | 5 +++ package.json | 1 + src/templates/ContextWrapper.ts.tpl | 54 ++++++++++++++++++++++----- src/templates/meta.ts.tpl | 16 +------- 4 files changed, 52 insertions(+), 24 deletions(-) diff --git a/examples/normal/src/Foo/demo/work.tsx b/examples/normal/src/Foo/demo/work.tsx index b7846b8892..e73dd6052a 100644 --- a/examples/normal/src/Foo/demo/work.tsx +++ b/examples/normal/src/Foo/demo/work.tsx @@ -1 +1,6 @@ +/** + * title: 我是标题 + * description: 我是简介,我可以用 `Markdown` 来编写 + */ + export default () => 'External Demo Block'; diff --git a/package.json b/package.json index 753fdf6254..74576c10b8 100644 --- a/package.json +++ b/package.json @@ -117,6 +117,7 @@ "rc-motion": "^2.7.3", "rc-tabs": "^12.10.0", "rc-tree": "^5.7.9", + "rc-util": "^5.37.0", "react-copy-to-clipboard": "^5.1.0", "react-error-boundary": "^4.0.10", "react-intl": "^6.4.4", diff --git a/src/templates/ContextWrapper.ts.tpl b/src/templates/ContextWrapper.ts.tpl index 1fc843af8c..9ad158afba 100644 --- a/src/templates/ContextWrapper.ts.tpl +++ b/src/templates/ContextWrapper.ts.tpl @@ -1,7 +1,8 @@ import React, { useState, useEffect, useRef } from 'react'; import { useOutlet, history } from 'dumi'; -import { SiteContext } from '{{{contextPath}}}'; -import { demos, components } from '../meta'; +import { warning } from 'rc-util' +import { SiteContext, type ISiteContext } from '{{{contextPath}}}'; +import { components } from '../meta'; import { getDemoById } from '../meta/demos'; import { locales } from '../locales/config'; {{{defaultExport}}} @@ -16,6 +17,13 @@ const entryExports = { {{/hasNamedExport}} }; +// Static content +const pkg = {{{pkg}}}; +const historyType = "{{{historyType}}}"; +const hostname = {{{hostname}}}; +const themeConfig = {{{themeConfig}}}; +const _2_level_nav_available = {{{_2_level_nav_available}}}; + export default function DumiContextWrapper() { const outlet = useOutlet(); const [loading, setLoading] = useState(false); @@ -32,20 +40,46 @@ export default function DumiContextWrapper() { }); }, []); - const context = { - pkg: {{{pkg}}}, - historyType: "{{{historyType}}}", + const context: ISiteContext = React.useMemo(() => { + const ctx = { + pkg, + historyType, + entryExports, + demos: null, + components, + locales, + loading, + setLoading, + hostname, + themeConfig, + _2_level_nav_available, + getDemoById, + }; + + // Proxy do not warning since `Object.keys` will get nothing to loop + Object.defineProperty(ctx, 'demos', { + get: () => { + warning(false, '`demos` return empty in latest version.'); + return {}; + }, + }); + + return ctx; + }, [ + pkg, + historyType, entryExports, - demos, components, locales, loading, setLoading, - hostname: {{{hostname}}}, - themeConfig: {{{themeConfig}}}, - _2_level_nav_available: {{{_2_level_nav_available}}}, + hostname, + themeConfig, + _2_level_nav_available, getDemoById, - }; + ]); + + return ( diff --git a/src/templates/meta.ts.tpl b/src/templates/meta.ts.tpl index 022aaa593a..c5f5c94555 100644 --- a/src/templates/meta.ts.tpl +++ b/src/templates/meta.ts.tpl @@ -11,7 +11,7 @@ export const filesMeta = { frontmatter: fm{{{index}}}, toc: toc{{{index}}}, texts: txt{{{index}}}, - demos: dm{{{index}}}, + demos: {}, {{#tabs}} tabs: {{{tabs}}}, {{/tabs}} @@ -20,16 +20,4 @@ export const filesMeta = { } // generate demos data in runtime, for reuse route.id to reduce bundle size -export const demos = Object.entries(filesMeta).reduce((acc, [id, meta]) => { - // append route id to demo - Object.values(meta.demos).forEach((demo) => { - demo.routeId = id; - }); - // merge demos - Object.assign(acc, meta.demos); - - // remove demos from meta, to avoid deep clone demos in umi routes/children compatible logic - delete meta.demos; - - return acc; -}, {}); \ No newline at end of file +export const demos = {}; \ No newline at end of file From f8bdab613f1cb36eb930a7b3a9b57d5b38efe8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Mon, 11 Sep 2023 16:20:09 +0800 Subject: [PATCH 2/2] chore: update lock file --- pnpm-lock.yaml | 144 ++++++++++++++++++++++++------------------------- 1 file changed, 69 insertions(+), 75 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46f322a4f4..35aa1b6f26 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + importers: .: @@ -127,6 +131,9 @@ importers: rc-tree: specifier: ^5.7.9 version: 5.7.9(react-dom@17.0.2)(react@18.2.0) + rc-util: + specifier: ^5.37.0 + version: 5.37.0(react-dom@17.0.2)(react@18.2.0) react-copy-to-clipboard: specifier: ^5.1.0 version: 5.1.0(react@18.2.0) @@ -391,7 +398,7 @@ packages: '@emotion/unitless': 0.7.5 classnames: 2.3.2 csstype: 3.1.1 - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) stylis: 4.1.3 @@ -408,7 +415,7 @@ packages: '@emotion/unitless': 0.7.5 classnames: 2.3.2 csstype: 3.1.1 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) stylis: 4.1.3 @@ -428,7 +435,7 @@ packages: '@ant-design/icons-svg': 4.2.1 '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -444,7 +451,7 @@ packages: '@ant-design/icons-svg': 4.2.1 '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -462,7 +469,7 @@ packages: antd: 5.4.7(react-dom@17.0.2)(react@18.2.0) classnames: 2.3.2 omit.js: 2.0.2 - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 transitivePeerDependencies: - prop-types @@ -506,7 +513,7 @@ packages: '@ant-design/pro-skeleton': 2.0.4(antd@5.4.7)(react-dom@17.0.2)(react@18.2.0) '@ant-design/pro-utils': 2.3.2(antd@5.4.7)(prop-types@15.8.1)(react-dom@17.0.2)(react@18.2.0) '@babel/runtime': 7.21.0 - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 use-json-comparison: 1.0.6(react@18.2.0) transitivePeerDependencies: @@ -531,7 +538,7 @@ packages: dayjs: 1.11.6 lodash.tonumber: 4.0.3 omit.js: 2.0.2 - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 swr: 1.3.0(react@18.2.0) transitivePeerDependencies: @@ -562,7 +569,7 @@ packages: omit.js: 2.0.2 rc-field-form: 1.30.0(react-dom@17.0.2)(react@18.2.0) rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) use-json-comparison: 1.0.6(react@18.2.0) @@ -591,7 +598,7 @@ packages: omit.js: 2.0.2 path-to-regexp: 2.4.0 rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) swr: 1.3.0(react@18.2.0) @@ -641,7 +648,7 @@ packages: '@babel/runtime': 7.21.0 '@ctrl/tinycolor': 3.4.1 antd: 5.4.7(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) swr: 1.3.0(react@18.2.0) @@ -681,7 +688,7 @@ packages: dayjs: 1.11.6 omit.js: 2.0.2 rc-field-form: 1.30.0(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) react-sortable-hoc: 2.0.0(prop-types@15.8.1)(react-dom@17.0.2)(react@18.2.0) @@ -706,7 +713,7 @@ packages: antd: 5.4.7(react-dom@17.0.2)(react@18.2.0) classnames: 2.3.2 dayjs: 1.11.6 - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) react-sortable-hoc: 2.0.0(prop-types@15.8.1)(react-dom@17.0.2)(react@18.2.0) @@ -2483,7 +2490,7 @@ packages: react-dom: '>=16.9.0' dependencies: '@babel/runtime': 7.21.0 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -2504,7 +2511,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -2518,7 +2525,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) @@ -2533,7 +2540,7 @@ packages: '@rc-component/portal': 1.1.1(react-dom@17.0.2)(react@18.2.0) '@rc-component/trigger': 1.12.0(react-dom@17.0.2)(react@18.2.0) classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -2551,7 +2558,7 @@ packages: rc-align: 4.0.12(react-dom@17.0.2)(react@18.2.0) rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) @@ -3760,7 +3767,7 @@ packages: axios: 0.27.2 babel-plugin-import: 1.13.5 dayjs: 1.11.6 - dva-core: 2.0.4(redux@3.7.2) + dva-core: 2.0.4(redux@4.2.0) dva-immer: 1.0.0(dva@2.5.0-beta.2) dva-loading: 3.0.22(dva-core@2.0.4) event-emitter: 0.3.5 @@ -4346,7 +4353,7 @@ packages: rc-tree: 5.7.9(react-dom@17.0.2)(react@18.2.0) rc-tree-select: 5.8.0(react-dom@17.0.2)(react@18.2.0) rc-upload: 4.3.4(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) scroll-into-view-if-needed: 3.0.10 @@ -5981,7 +5988,7 @@ packages: warning: 3.0.0 dev: true - /dva-core@2.0.4(redux@3.7.2): + /dva-core@2.0.4(redux@4.2.0): resolution: {integrity: sha512-Zh39llFyItu9HKXKfCZVf9UFtDTcypdAjGBew1S+wK8BGVzFpm1GPTdd6uIMeg7O6STtCvt2Qv+RwUut1GFynA==} peerDependencies: redux: 4.x @@ -5991,7 +5998,7 @@ packages: global: 4.4.0 invariant: 2.2.4 is-plain-object: 2.0.4 - redux: 3.7.2 + redux: 4.2.0 redux-saga: 0.16.2 warning: 3.0.0 dev: true @@ -6012,7 +6019,7 @@ packages: dva-core: ^1.1.0 | ^1.5.0-0 | ^1.6.0-0 dependencies: '@babel/runtime': 7.21.0 - dva-core: 2.0.4(redux@3.7.2) + dva-core: 2.0.4(redux@4.2.0) dev: true /dva@2.5.0-beta.2(react-dom@17.0.2)(react@18.2.0): @@ -10637,6 +10644,7 @@ packages: /pify@4.0.1: resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} engines: {node: '>=6'} + requiresBuild: true optional: true /pino-abstract-transport@0.5.0: @@ -11229,6 +11237,7 @@ packages: /prr@1.0.1: resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} + requiresBuild: true optional: true /pseudomap@1.0.2: @@ -11375,7 +11384,7 @@ packages: classnames: 2.3.2 dom-align: 1.12.3 lodash: 4.17.21 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) resize-observer-polyfill: 1.5.1 @@ -11391,7 +11400,7 @@ packages: classnames: 2.3.2 rc-select: 14.4.3(react-dom@17.0.2)(react@18.2.0) rc-tree: 5.7.9(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11404,7 +11413,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11418,7 +11427,7 @@ packages: '@babel/runtime': 7.21.0 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11433,7 +11442,7 @@ packages: '@rc-component/portal': 1.1.1(react-dom@17.0.2)(react@18.2.0) classnames: 2.3.2 rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11448,7 +11457,7 @@ packages: '@rc-component/portal': 1.1.1(react-dom@17.0.2)(react@18.2.0) classnames: 2.3.2 rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11462,7 +11471,7 @@ packages: '@babel/runtime': 7.21.0 classnames: 2.3.2 rc-trigger: 5.3.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11476,7 +11485,7 @@ packages: '@babel/runtime': 7.21.0 '@rc-component/trigger': 1.12.0(react-dom@17.0.2)(react@18.2.0) classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: false @@ -11490,7 +11499,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 async-validator: 4.2.5 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11506,7 +11515,7 @@ packages: classnames: 2.3.2 rc-dialog: 9.1.0(react-dom@17.0.2)(react@18.2.0) rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11520,7 +11529,7 @@ packages: '@babel/runtime': 7.21.0 '@rc-component/mini-decimal': 1.0.1 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11533,7 +11542,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11550,7 +11559,7 @@ packages: rc-input: 1.0.4(react-dom@17.0.2)(react@18.2.0) rc-menu: 9.8.4(react-dom@17.0.2)(react@18.2.0) rc-textarea: 1.2.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11566,7 +11575,7 @@ packages: classnames: 2.3.2 rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) rc-overflow: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: false @@ -11582,7 +11591,7 @@ packages: rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) rc-overflow: 1.3.1(react-dom@17.0.2)(react@18.2.0) rc-trigger: 5.3.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11595,7 +11604,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) @@ -11609,7 +11618,7 @@ packages: '@babel/runtime': 7.21.0 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11623,7 +11632,7 @@ packages: '@babel/runtime': 7.21.0 classnames: 2.3.2 rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) @@ -11663,7 +11672,7 @@ packages: '@rc-component/trigger': 1.12.0(react-dom@17.0.2)(react@18.2.0) classnames: 2.3.2 dayjs: 1.11.6 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11676,7 +11685,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11690,7 +11699,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11703,7 +11712,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) resize-observer-polyfill: 1.5.1 @@ -11717,7 +11726,7 @@ packages: '@babel/runtime': 7.21.0 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11734,7 +11743,7 @@ packages: classnames: 2.3.2 rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) rc-overflow: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) rc-virtual-list: 3.5.3(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) @@ -11749,7 +11758,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11763,7 +11772,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11776,7 +11785,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11792,7 +11801,7 @@ packages: '@rc-component/context': 1.3.0(react-dom@17.0.2)(react@18.2.0) classnames: 2.3.2 rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11810,7 +11819,7 @@ packages: rc-menu: 9.11.1(react-dom@17.0.2)(react@18.2.0) rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: false @@ -11828,7 +11837,7 @@ packages: rc-menu: 9.8.4(react-dom@17.0.2)(react@18.2.0) rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11843,7 +11852,7 @@ packages: classnames: 2.3.2 rc-input: 1.0.4(react-dom@17.0.2)(react@18.2.0) rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11871,7 +11880,7 @@ packages: classnames: 2.3.2 rc-select: 14.4.3(react-dom@17.0.2)(react@18.2.0) rc-tree: 5.7.9(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11886,7 +11895,7 @@ packages: '@babel/runtime': 7.21.0 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) rc-virtual-list: 3.5.3(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) @@ -11902,7 +11911,7 @@ packages: classnames: 2.3.2 rc-align: 4.0.12(react-dom@17.0.2)(react@18.2.0) rc-motion: 2.7.3(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11915,7 +11924,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 classnames: 2.3.2 - rc-util: 5.35.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) dev: true @@ -11930,19 +11939,8 @@ packages: shallowequal: 1.1.0 dev: true - /rc-util@5.30.0(react-dom@17.0.2)(react@18.2.0): - resolution: {integrity: sha512-uaWpF/CZGyXuhQG71MWxkU+0bWkPEgqZUxEv251Cu7p3kpHDNm5+Ygu/U8ux0a/zbfGW8PsKcJL0XVBOMrlIZg==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.21.0 - react: 18.2.0 - react-dom: 17.0.2(react@18.2.0) - react-is: 16.13.1 - - /rc-util@5.35.0(react-dom@17.0.2)(react@18.2.0): - resolution: {integrity: sha512-MTXlixb3EoSTEchsOc7XWsVyoUQqoCsh2Z1a2IptwNgqleMF6ZgQeY52UzUbNj5CcVBg9YljOWjuOV07jSSm4Q==} + /rc-util@5.37.0(react-dom@17.0.2)(react@18.2.0): + resolution: {integrity: sha512-cPMV8DzaHI1KDaS7XPRXAf4J7mtBqjvjikLpQieaeOO7+cEbqY2j7Kso/T0R0OiEZTNcLS/8Zl9YrlXiO9UbjQ==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -11962,7 +11960,7 @@ packages: '@babel/runtime': 7.21.0 classnames: 2.3.2 rc-resize-observer: 1.3.1(react-dom@17.0.2)(react@18.2.0) - rc-util: 5.30.0(react-dom@17.0.2)(react@18.2.0) + rc-util: 5.37.0(react-dom@17.0.2)(react@18.2.0) react: 18.2.0 react-dom: 17.0.2(react@18.2.0) @@ -14754,7 +14752,3 @@ packages: /zwitch@2.0.2: resolution: {integrity: sha512-JZxotl7SxAJH0j7dN4pxsTV6ZLXoLdGME+PsjkL/DaBrVryK9kTGq06GfKrwcSOqypP+fdXGoCHE36b99fWVoA==} dev: false - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false