diff --git a/packages/cli/package.json b/packages/cli/package.json index 5290c812..8c62310d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/cli", - "version": "0.4.7", + "version": "0.4.8", "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rsdoctor", diff --git a/packages/client/package.json b/packages/client/package.json index 97de9c2f..872e3c8d 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/client", - "version": "0.4.7", + "version": "0.4.8", "main": "dist/index.html", "repository": { "type": "git", @@ -43,7 +43,7 @@ "normalize.css": "8.0.1", "react": "18.3.1", "react-dom": "18.3.1", - "react-error-boundary": "^4.0.13", + "react-error-boundary": "^4.1.2", "react-router-dom": "6.4.3", "serve-static": "1.16.2", "typescript": "^5.2.2" diff --git a/packages/components/package.json b/packages/components/package.json index ffaa8bd4..aed8b7b1 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/components", - "version": "0.4.7", + "version": "0.4.8", "main": "./dist/index.js", "license": "MIT", "module": "dist/index.js", @@ -81,7 +81,7 @@ "react-markdown": "^9.0.1", "react-router-dom": "6.4.3", "socket.io-client": "4.6.1", - "terser": "^5.34.1", + "terser": "^5.36.0", "typescript": "^5.2.2", "url-parse": "1.5.10" }, diff --git a/packages/components/src/components/Layout/index.tsx b/packages/components/src/components/Layout/index.tsx index c4934724..388a5809 100644 --- a/packages/components/src/components/Layout/index.tsx +++ b/packages/components/src/components/Layout/index.tsx @@ -1,8 +1,14 @@ import { PropsWithChildren, useContext, useEffect } from 'react'; import { FloatButton, Layout as L } from 'antd'; -import { MAIN_BG, Size } from '../../constants'; +import { Language, MAIN_BG, Size } from '../../constants'; import { Header } from './header'; -import { useLocale, useI18n } from '../../utils'; +import { + useLocale, + useI18n, + getFirstVisitFromStorage, + setFirstVisitToStorage, + getLanguage, +} from '../../utils'; import { Progress } from './progress'; import { ConfigContext } from '../../config'; @@ -16,8 +22,21 @@ export const Layout = (props: PropsWithChildren): JSX.Element => { const { children } = props; useEffect(() => { - if (i18n.language !== locale) { - i18n.changeLanguage(locale); + let currentLocale = locale; + // Check if the user is visiting the site for the first time + const visited = getFirstVisitFromStorage(); + if (!visited) { + setFirstVisitToStorage('1'); + const targetLang = window.navigator.language.split('-')[0]; + const userLang = getLanguage(targetLang); + + if (Object.values(Language).includes(userLang)) { + currentLocale = userLang; + } + } + + if (i18n.language !== currentLocale) { + i18n.changeLanguage(currentLocale); } }, [locale]); diff --git a/packages/components/src/utils/locale.ts b/packages/components/src/utils/locale.ts index 5b18b4ff..c566e8fa 100644 --- a/packages/components/src/utils/locale.ts +++ b/packages/components/src/utils/locale.ts @@ -1,8 +1,14 @@ import cn from 'antd/es/locale/zh_CN'; import en from 'antd/es/locale/en_GB'; import type { Locale } from 'antd/es/locale'; +import { Language } from '../constants'; export function getLocale(locale: string): Locale { const res = locale === 'cn' || locale === 'zh-CN' ? cn : en; return res; } + +export function getLanguage(locale: string): Language { + const res = locale === 'cn' || locale === 'zh' ? Language.Cn : Language.En; + return res; +} diff --git a/packages/components/src/utils/storage.tsx b/packages/components/src/utils/storage.tsx index 913080c4..b136ea34 100644 --- a/packages/components/src/utils/storage.tsx +++ b/packages/components/src/utils/storage.tsx @@ -7,6 +7,7 @@ enum Keys { Locale = 'LOCALE', ViewMode = 'VIEWMODE', APILoaderMode4Dev = 'APILOADERMODE_DEV', + FirstVisit = 'FIRST_VISIT' } export function getStorage(key: string): string | null { @@ -67,3 +68,11 @@ export function setAPILoaderModeToStorage(mode: APILoaderMode4Dev) { export function getAPILoaderModeFromStorage() { return getStorage(Keys.APILoaderMode4Dev) || APILoaderMode4Dev.Default; } + +export function getFirstVisitFromStorage() { + return getStorage(Keys.FirstVisit); +} + +export function setFirstVisitToStorage(value: '1') { + setStorage(Keys.FirstVisit, value); +} diff --git a/packages/core/package.json b/packages/core/package.json index ab99c392..178ad403 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/core", - "version": "0.4.7", + "version": "0.4.8", "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rsdoctor", diff --git a/packages/document/docs/zh/config/options/options-shared.mdx b/packages/document/docs/zh/config/options/options-shared.mdx index 64e2e425..8e68385d 100644 --- a/packages/document/docs/zh/config/options/options-shared.mdx +++ b/packages/document/docs/zh/config/options/options-shared.mdx @@ -35,7 +35,7 @@ features 属性是用于分析功能开关的,具体的功能项如下: - **resolver**:resolver 分析,默认关闭。 - **lite**: **(废弃,参考:[mode.lite]())** lite 模式。lite 模式和普通模式的区别就是不再缓存源码信息,只缓存打包后的代码信息,这样分析页面上的代码也将是打包后的。默认普通模式。 -所以,**默认配置是开启了 Bundle 分析能力、 Loader he Plugin 构建时分析**。没有开启 Resolver 分析能力, Rspack 暂不支持 Resolver 分析能力。 +所以,**默认配置是开启了 Bundle 分析能力、 Loader 和 Plugin 构建时分析**。没有开启 Resolver 分析能力, Rspack 暂不支持 Resolver 分析能力。 :::tip **如果出现了 out of memory 的报错,可以尝试:** diff --git a/packages/document/docs/zh/config/options/options.mdx b/packages/document/docs/zh/config/options/options.mdx index 024459f6..3a489aa3 100644 --- a/packages/document/docs/zh/config/options/options.mdx +++ b/packages/document/docs/zh/config/options/options.mdx @@ -105,7 +105,7 @@ features 属性是用于分析功能开关的,具体的功能项如下: - **resolver**:resolver 分析,默认关闭。 - **lite**: **(废弃,使用 [mode.lite](#mode))** lite 模式。lite 模式和普通模式的区别就是不再展示源码信息,只展示打包后的代码信息,这样分析页面上的代码也将是打包后的。默认普通模式。 -所以,**默认配置是开启了 Bundle 分析能力、 Loader he Plugin 构建时分析**。没有开启 Resolver 分析能力, Rspack 暂不支持 Resolver 分析能力。 +所以,**默认配置是开启了 Bundle 分析能力、 Loader 和 Plugin 构建时分析**。没有开启 Resolver 分析能力, Rspack 暂不支持 Resolver 分析能力。 :::tip **如果出现了 out of memory 的报错,可以尝试:** diff --git a/packages/document/package.json b/packages/document/package.json index 42a38fb5..980422ef 100644 --- a/packages/document/package.json +++ b/packages/document/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/docs", - "version": "0.4.7", + "version": "0.4.8", "scripts": { "dev": "rspress dev", "build": "rspress build", diff --git a/packages/graph/package.json b/packages/graph/package.json index 21284bce..e5840eb3 100644 --- a/packages/graph/package.json +++ b/packages/graph/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/graph", - "version": "0.4.7", + "version": "0.4.8", "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rsdoctor", diff --git a/packages/rspack-plugin/package.json b/packages/rspack-plugin/package.json index ebe8e79d..e7536bc6 100644 --- a/packages/rspack-plugin/package.json +++ b/packages/rspack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/rspack-plugin", - "version": "0.4.7", + "version": "0.4.8", "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rsdoctor", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 46ab0317..038741f9 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/sdk", - "version": "0.4.7", + "version": "0.4.8", "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rsdoctor", diff --git a/packages/types/package.json b/packages/types/package.json index e9caba80..78b0fcc2 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/types", - "version": "0.4.7", + "version": "0.4.8", "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rsdoctor", diff --git a/packages/utils/package.json b/packages/utils/package.json index d069458c..bf591464 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/utils", - "version": "0.4.7", + "version": "0.4.8", "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rsdoctor", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index d3bd5317..9b6a67aa 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@rsdoctor/webpack-plugin", - "version": "0.4.7", + "version": "0.4.8", "repository": { "type": "git", "url": "https://github.com/web-infra-dev/rsdoctor", diff --git a/packages/webpack-plugin/src/plugin.ts b/packages/webpack-plugin/src/plugin.ts index 971a8109..547335f6 100644 --- a/packages/webpack-plugin/src/plugin.ts +++ b/packages/webpack-plugin/src/plugin.ts @@ -44,8 +44,6 @@ export class RsdoctorWebpackPlugin public modulesGraph: ModuleGraph; - private outsideInstance = false; - public _bootstrapTask!: Promise; protected browserIsOpened = false; @@ -69,7 +67,6 @@ export class RsdoctorWebpackPlugin brief: this.options.brief, }, }); - this.outsideInstance = Boolean(this.options.sdkInstance); this.modulesGraph = new ModuleGraph(); this.chunkGraph = new ChunkGraph(); this.isRsdoctorPlugin = true; @@ -86,9 +83,8 @@ export class RsdoctorWebpackPlugin } // External instances do not need to be injected into the global. - if (!this.outsideInstance) { - setSDK(this.sdk); - } + setSDK(this.sdk); + // TODO: to fix the TypeError: Type instantiation is excessively deep and possibly infinite. // @ts-ignore new InternalSummaryPlugin(this).apply(compiler); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dcf51722..10d0990c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -507,8 +507,8 @@ importers: specifier: 18.3.1 version: 18.3.1(react@18.3.1) react-error-boundary: - specifier: ^4.0.13 - version: 4.0.13(react@18.3.1) + specifier: ^4.1.2 + version: 4.1.2(react@18.3.1) react-router-dom: specifier: 6.4.3 version: 6.4.3(react-dom@18.3.1)(react@18.3.1) @@ -615,8 +615,8 @@ importers: specifier: 4.6.1 version: 4.6.1 terser: - specifier: ^5.34.1 - version: 5.34.1 + specifier: ^5.36.0 + version: 5.36.0 typescript: specifier: ^5.2.2 version: 5.5.4 @@ -1131,8 +1131,8 @@ importers: specifier: ^2.2.2 version: 2.2.2 '@modern-js/generator-utils': - specifier: ^3.6.3 - version: 3.6.3(@modern-js/codesmith@2.6.4)(typescript@5.6.2) + specifier: ^3.7.2 + version: 3.7.2(@modern-js/codesmith@2.6.5)(typescript@5.6.2) fs-extra: specifier: ^11.1.1 version: 11.2.0 @@ -4841,23 +4841,23 @@ packages: - supports-color dev: true - /@modern-js/codesmith-formily@2.5.2(@modern-js/codesmith@2.6.4)(typescript@5.6.2): - resolution: {integrity: sha512-Oj6278W/kwAc4u/1g3QHwlfgMiQvZq1nUvNEPUCRsvWOp0+fq2kr+ocHJsBoa8xM7AFCnBml+5MHN2V5Lx2zTw==} + /@modern-js/codesmith-formily@2.6.5(@modern-js/codesmith@2.6.5)(typescript@5.6.2): + resolution: {integrity: sha512-FFbp9eBGd3Kr62O8HHBhwv8+aeTBXvvmQ0+BRt2fhbQ8Dpz0HLtIcSuAuawROQYif0VzIKBZscCvmpxkko400A==} peerDependencies: - '@modern-js/codesmith': ^2.5.2 + '@modern-js/codesmith': ^2.6.5 dependencies: '@formily/json-schema': 2.3.2(typescript@5.6.2) '@formily/validator': 2.3.2 - '@modern-js/codesmith': 2.6.4 - '@modern-js/utils': 2.60.3 + '@modern-js/codesmith': 2.6.5 + '@modern-js/codesmith-utils': 2.6.5 '@swc/helpers': 0.5.1 inquirer: 8.2.6 transitivePeerDependencies: - typescript dev: false - /@modern-js/codesmith-utils@2.6.4: - resolution: {integrity: sha512-x/n3Q00k6r+SESAy3ABnY2aGxtyd1K30QKP+sQbOgCbFbKI0elbpabYaxLGDxr3MZNKY2sezPKoq6J+jzuL8AA==} + /@modern-js/codesmith-utils@2.6.5: + resolution: {integrity: sha512-sAEqSANgO3fKb/OZuq/IO6iFt+1Mn82NgkgK5sUqdJCgSJ83fxcUB9/h7GywVAwKkogc7M+kVbscInCTqqRXow==} dependencies: '@swc/helpers': 0.5.1 chalk: 4.1.2 @@ -4874,10 +4874,10 @@ packages: semver: 7.6.0 dev: false - /@modern-js/codesmith@2.6.4: - resolution: {integrity: sha512-O/xR5rK5w86x0stoGgVWxxG1pqnruB1D2SB2hN9+tOWN+Lied3oyIJ8PHTWFIpHAWvSdk4lqigd5CAEPfD8KCQ==} + /@modern-js/codesmith@2.6.5: + resolution: {integrity: sha512-AxQuFAl63KDA8Izv0W12/IrMsPLrbc9/jU0dEzCHJKx8bpeqJiCtxdAUx7idb39zzP6xux+2qi1ETMF5WUaUQQ==} dependencies: - '@modern-js/codesmith-utils': 2.6.4 + '@modern-js/codesmith-utils': 2.6.5 '@swc/helpers': 0.5.1 axios: 1.7.7(debug@4.3.7) debug: 4.3.7 @@ -4895,24 +4895,27 @@ packages: '@swc/helpers': 0.5.13 dev: true - /@modern-js/generator-common@3.6.3(@modern-js/codesmith@2.6.4)(typescript@5.6.2): - resolution: {integrity: sha512-DnmsFO0gk43moizXze5JdOiebzl8QIzBl5cx+OBY7giVUP7zt/VRLxNFcvlAcqlIXTPCid3c0NrS7TAtaeWOvQ==} + /@modern-js/generator-common@3.7.2(@modern-js/codesmith@2.6.5)(typescript@5.6.2): + resolution: {integrity: sha512-f8OyB64AIn12dWZSrdg5q87Rxh0UC/7NzQLtz4WtXF3d73GzBpsGiSocSn3LJWsPbsyeiz/yZN3cHhPm0PCqgw==} dependencies: - '@modern-js/codesmith-formily': 2.5.2(@modern-js/codesmith@2.6.4)(typescript@5.6.2) - '@modern-js/plugin-i18n': 2.60.3 + '@modern-js/codesmith-formily': 2.6.5(@modern-js/codesmith@2.6.5)(typescript@5.6.2) + '@modern-js/plugin-i18n': 2.60.6 '@swc/helpers': 0.5.13 transitivePeerDependencies: - '@modern-js/codesmith' - typescript dev: false - /@modern-js/generator-utils@3.6.3(@modern-js/codesmith@2.6.4)(typescript@5.6.2): - resolution: {integrity: sha512-GQAa/GzbvwBztlHeiLDslRWcDqxybMDeMoEZXsXgUWmO3Mhj7XQx4RD9/v/iCKk6UgPDkS8o14cmF39oHEtQjQ==} + /@modern-js/generator-utils@3.7.2(@modern-js/codesmith@2.6.5)(typescript@5.6.2): + resolution: {integrity: sha512-qA0v2MTGjCHVNqZ68kSMahlJv/wg+EIKAYqU3tLXXffq0ktJBe94vYW2ebW9bwNiSozK2XrJ8S0NUYIigCF3CA==} dependencies: - '@modern-js/generator-common': 3.6.3(@modern-js/codesmith@2.6.4)(typescript@5.6.2) - '@modern-js/plugin-i18n': 2.60.3 - '@modern-js/utils': 2.60.3 + '@modern-js/codesmith-utils': 2.6.5 + '@modern-js/generator-common': 3.7.2(@modern-js/codesmith@2.6.5)(typescript@5.6.2) + '@modern-js/plugin-i18n': 2.60.6 '@swc/helpers': 0.5.13 + glob: 7.2.3 + js-yaml: 4.1.0 + json5: 2.2.3 transitivePeerDependencies: - '@modern-js/codesmith' - typescript @@ -5004,6 +5007,14 @@ packages: dependencies: '@modern-js/utils': 2.60.3 '@swc/helpers': 0.5.13 + dev: true + + /@modern-js/plugin-i18n@2.60.6: + resolution: {integrity: sha512-0yVbRH/bkXEs7oh75GcPaK9CqV+j+UPNVGOIvMliH3ZmHnesGDbK9huzYscBfoDb9zNLmArI9lNsDmS/074mAQ==} + dependencies: + '@modern-js/utils': 2.60.6 + '@swc/helpers': 0.5.13 + dev: false /@modern-js/plugin@2.60.3: resolution: {integrity: sha512-nWyCemxpXfngfWJamfHihBYh0sOQ3MuQleRpFTY3qMwtemmPr8SJPIZuoP/svA3mccOVmdlYNoFeRP3adqC89g==} @@ -5363,6 +5374,15 @@ packages: lodash: 4.17.21 rslog: 1.2.3 + /@modern-js/utils@2.60.6: + resolution: {integrity: sha512-rAeqAHiUUnStwBTkP1tdQSz29o/Qtoc2OUfz6TEAtEPoAxcFSc44+hwux7mQkSxXSzBjkbev5RMkwVwuM2FWtw==} + dependencies: + '@swc/helpers': 0.5.13 + caniuse-lite: 1.0.30001669 + lodash: 4.17.21 + rslog: 1.2.3 + dev: false + /@module-federation/runtime-tools@0.1.6: resolution: {integrity: sha512-7ILVnzMIa0Dlc0Blck5tVZG1tnk1MmLnuZpLOMpbdW+zl+N6wdMjjHMjEZFCUAJh2E5XJ3BREwfX8Ets0nIkLg==} dependencies: @@ -6132,7 +6152,7 @@ packages: dependencies: '@rsbuild/core': 1.0.14 deepmerge: 4.3.1 - terser: 5.34.1 + terser: 5.36.0 dev: true /@rsbuild/plugin-sass@0.7.10(@rsbuild/core@0.7.10): @@ -11460,6 +11480,7 @@ packages: /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -11891,7 +11912,7 @@ packages: he: 1.2.0 param-case: 3.0.4 relateurl: 0.2.7 - terser: 5.34.1 + terser: 5.36.0 dev: true /html-minifier-terser@7.2.0: @@ -11905,7 +11926,7 @@ packages: entities: 4.5.0 param-case: 3.0.4 relateurl: 0.2.7 - terser: 5.34.1 + terser: 5.36.0 dev: true /html-parse-stringify@3.0.1: @@ -12639,6 +12660,7 @@ packages: /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true dependencies: argparse: 2.0.1 @@ -12690,6 +12712,7 @@ packages: /json5@2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} + hasBin: true /jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} @@ -16082,8 +16105,8 @@ packages: react: 18.3.1 scheduler: 0.23.2 - /react-error-boundary@4.0.13(react@18.3.1): - resolution: {integrity: sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==} + /react-error-boundary@4.1.2(react@18.3.1): + resolution: {integrity: sha512-GQDxZ5Jd+Aq/qUxbCm1UtzmL/s++V7zKgE8yMktJiCQXCCFZnMZh9ng+6/Ne6PjNSXH0L9CjeOEREfRnq6Duag==} peerDependencies: react: '>=16.13.1' dependencies: @@ -18056,7 +18079,7 @@ packages: jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 - terser: 5.34.1 + terser: 5.36.0 webpack: 5.95.0(esbuild@0.17.19) dev: true @@ -18080,7 +18103,7 @@ packages: jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 - terser: 5.34.1 + terser: 5.36.0 webpack: 5.94.0(webpack-cli@5.1.4) /terser-webpack-plugin@5.3.10(webpack@5.95.0): @@ -18103,7 +18126,7 @@ packages: jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 - terser: 5.34.1 + terser: 5.36.0 webpack: 5.95.0 /terser@5.34.1: @@ -18115,6 +18138,17 @@ packages: acorn: 8.12.1 commander: 2.20.3 source-map-support: 0.5.21 + dev: true + + /terser@5.36.0: + resolution: {integrity: sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==} + engines: {node: '>=10'} + hasBin: true + dependencies: + '@jridgewell/source-map': 0.3.6 + acorn: 8.12.1 + commander: 2.20.3 + source-map-support: 0.5.21 /text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} @@ -19275,7 +19309,7 @@ packages: '@webassemblyjs/wasm-parser': 1.12.1 acorn: 8.12.1 acorn-import-attributes: 1.9.5(acorn@8.12.1) - browserslist: 4.24.0 + browserslist: 4.23.3 chrome-trace-event: 1.0.4 enhanced-resolve: 5.17.1 es-module-lexer: 1.5.4 diff --git a/scripts/update-packages/package.json b/scripts/update-packages/package.json index 3d0e9dd3..ab6b2c79 100644 --- a/scripts/update-packages/package.json +++ b/scripts/update-packages/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@manypkg/get-packages": "^2.2.2", - "@modern-js/generator-utils": "^3.6.3", + "@modern-js/generator-utils": "^3.7.2", "fs-extra": "^11.1.1" }, "devDependencies": {