From 18b6ff6be1f2dfe67c8212ff97e11e99c3730f70 Mon Sep 17 00:00:00 2001 From: "gaoyuan.1226" Date: Wed, 22 Nov 2023 17:29:41 +0800 Subject: [PATCH 1/3] chore(rspack-provider): update rspack to 0.4.0 --- .changeset/small-grapes-fetch.md | 7 + .../builder-rspack-provider/package.json | 6 +- pnpm-lock.yaml | 162 +++++++++--------- 3 files changed, 89 insertions(+), 86 deletions(-) create mode 100644 .changeset/small-grapes-fetch.md diff --git a/.changeset/small-grapes-fetch.md b/.changeset/small-grapes-fetch.md new file mode 100644 index 000000000000..09ecb0685072 --- /dev/null +++ b/.changeset/small-grapes-fetch.md @@ -0,0 +1,7 @@ +--- +'@modern-js/builder-rspack-provider': patch +--- + +chore(rspack-provider): update rspack to 0.4.0 + +chore(rspack-provider): 升级 rspack 到 0.4.0 diff --git a/packages/builder/builder-rspack-provider/package.json b/packages/builder/builder-rspack-provider/package.json index bc8f8b93a9a6..43380673e9e0 100644 --- a/packages/builder/builder-rspack-provider/package.json +++ b/packages/builder/builder-rspack-provider/package.json @@ -56,9 +56,9 @@ "@modern-js/types": "workspace:*", "@modern-js/utils": "workspace:*", "@babel/preset-typescript": "^7.22.15", - "@rspack/core": "0.3.11", - "@rspack/dev-client": "0.3.11", - "@rspack/plugin-html": "0.3.11", + "@rspack/core": "0.4.0", + "@rspack/dev-client": "0.4.0", + "@rspack/plugin-html": "0.4.0", "@swc/helpers": "0.5.3", "rspack-manifest-plugin": "5.0.0-alpha0", "caniuse-lite": "^1.0.30001520", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 018c8c82d345..20735a0bbf33 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -171,14 +171,14 @@ importers: specifier: workspace:* version: link:../../toolkit/utils '@rspack/core': - specifier: 0.3.11 - version: 0.3.11 + specifier: 0.4.0 + version: 0.4.0 '@rspack/dev-client': - specifier: 0.3.11 - version: 0.3.11(react-refresh@0.14.0)(webpack@5.88.1) + specifier: 0.4.0 + version: 0.4.0(react-refresh@0.14.0)(webpack@5.88.1) '@rspack/plugin-html': - specifier: 0.3.11 - version: 0.3.11(@rspack/core@0.3.11) + specifier: 0.4.0 + version: 0.4.0(@rspack/core@0.4.0) '@swc/helpers': specifier: 0.5.3 version: 0.5.3 @@ -7231,6 +7231,8 @@ importers: specifier: 7.22.15 version: 7.22.15(@babel/core@7.23.2) + tests/integration/module/plugins/hooks: {} + tests/integration/module/plugins/node-polyfill: {} tests/integration/module/plugins/polyfill: {} @@ -14793,14 +14795,6 @@ packages: fs-extra: 11.1.1 dev: false - /@rspack/binding-darwin-arm64@0.3.11: - resolution: {integrity: sha512-rTDHDvhGEk/6B+42ptlvMn8EkYi3mR0A0+safWeO87Ca0j73Zs0lN0wNGkpQmWjX4xul8flBw1VcRfFvCAfKmg==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-darwin-arm64@0.3.13: resolution: {integrity: sha512-mXAmBn+cvG1o5p8F3IYIq9Mn4g1u/xGY++MwuAtWMwx7IFrZR+94j9W9K4JKGfixiuUFB2FsVOT5AdxWiqTO5w==} cpu: [arm64] @@ -14809,9 +14803,9 @@ packages: dev: true optional: true - /@rspack/binding-darwin-x64@0.3.11: - resolution: {integrity: sha512-bKFvkVE5emmnvbjy7Te7gzo5yv6hWGzDp2j2uWWo6uK+fZ49UMcQW0JmpMs6TNkCEGXO6V1DKnCdDn0aQrQajA==} - cpu: [x64] + /@rspack/binding-darwin-arm64@0.4.0: + resolution: {integrity: sha512-iQ6ERHXzY58zgHIZZAC7L7hrosO7BZXH3RpOTTibiZdTVex4Bq10CVmy6q6m88iQuqAQS2BHOXzAYLJtZlZRRw==} + cpu: [arm64] os: [darwin] requiresBuild: true dev: false @@ -14825,10 +14819,10 @@ packages: dev: true optional: true - /@rspack/binding-linux-arm64-gnu@0.3.11: - resolution: {integrity: sha512-3Mo2YoCbAm1aDCuPMP/wZoYivHQ1V2U/LeD1Hn5DDSGxQhSFUSx+SADiVIycG9MgaUlYEfDT/14NCsv23DawNw==} - cpu: [arm64] - os: [linux] + /@rspack/binding-darwin-x64@0.4.0: + resolution: {integrity: sha512-LRCiMPCbAIwwo0euqao7+8peUXj+qPDSi0nSK2y6wjaXfUVi8FwpWQ+O+B3RH3rpyFBU63IqatC8razalt8JgQ==} + cpu: [x64] + os: [darwin] requiresBuild: true dev: false optional: true @@ -14841,8 +14835,8 @@ packages: dev: true optional: true - /@rspack/binding-linux-arm64-musl@0.3.11: - resolution: {integrity: sha512-lAZCBD6mZJwQ9BgTmreLHq2aPnu8rKxBIA+g+NVe48k+Z8YqwIj3lxSv6r6EDdH9Zq5TCgdfei99QK4tCwlc6g==} + /@rspack/binding-linux-arm64-gnu@0.4.0: + resolution: {integrity: sha512-trfEUQ7awu6dLWUlIXmSJmwW48lSxEl7kW4FUas/UMNH3/B/wim8TPx6ZuDrCzVhYk5HP7ccjbQg7mnbJ+E48w==} cpu: [arm64] os: [linux] requiresBuild: true @@ -14857,9 +14851,9 @@ packages: dev: true optional: true - /@rspack/binding-linux-x64-gnu@0.3.11: - resolution: {integrity: sha512-9LuB64CaFt+G4a245HLdOvg8C4Ei1zIjeU0eghrd0svWQewQnOeoC+vXI0pSTGpNlcXiieKzJi502A/cwIJFIA==} - cpu: [x64] + /@rspack/binding-linux-arm64-musl@0.4.0: + resolution: {integrity: sha512-ubIcXmRopSJ6n+F/cRXDfGSgK847OX0CPeSSL4tiJ4dah5lz8iISZ9GLrNHJQ+SvphOH8F9lDpp8h2iwVt0Pbw==} + cpu: [arm64] os: [linux] requiresBuild: true dev: false @@ -14873,8 +14867,8 @@ packages: dev: true optional: true - /@rspack/binding-linux-x64-musl@0.3.11: - resolution: {integrity: sha512-zaZVY3o02M6UMmCPozEFNJ9vurkMPdtdxaSutnVS5s8fVAioSVrojaKGy2A2mtnWkNlUmhkiUaafFrHsTjV9gw==} + /@rspack/binding-linux-x64-gnu@0.4.0: + resolution: {integrity: sha512-Q3mqjgV2k68F8VuzZwaqhHggBhcSlD0N+vvtFP8BxXIX4Pdkmk2shwwVjniZmY+oKB16dbSmXxShdMlCE3CCng==} cpu: [x64] os: [linux] requiresBuild: true @@ -14889,10 +14883,10 @@ packages: dev: true optional: true - /@rspack/binding-win32-arm64-msvc@0.3.11: - resolution: {integrity: sha512-Hee6+g8q/o+sXs42lE5skzwGrjMoWbugu9Vjzoqi4cEnzVLaiJ3tVO7z5Ov8gdhvyb31r8yFJL7tJW8qkIcTjQ==} - cpu: [arm64] - os: [win32] + /@rspack/binding-linux-x64-musl@0.4.0: + resolution: {integrity: sha512-5l6Q00yZDIeT8T1ruxEfF1Wj3m3SqnSHrPFiUqYydmgmNll1iCCRC2AmGVsmAACDQ7rg9z8BhhHtKukNBvmwTQ==} + cpu: [x64] + os: [linux] requiresBuild: true dev: false optional: true @@ -14905,9 +14899,9 @@ packages: dev: true optional: true - /@rspack/binding-win32-ia32-msvc@0.3.11: - resolution: {integrity: sha512-les3RZWROP/rvM43hKydxsBIJbKB4XmhJcB9+0ihJTOlu7saX+3twkW2dd/5NFlcbahdw0SHDq1Nz6DFWnC3Eg==} - cpu: [ia32] + /@rspack/binding-win32-arm64-msvc@0.4.0: + resolution: {integrity: sha512-k96/PSkVT/VEvqHygenzgr8Z7n4SuCSKONVFB5zazWDPaJwCqaqANQuvX0PbuazVy6PbiLE/YI0+4TDjL7dHCw==} + cpu: [arm64] os: [win32] requiresBuild: true dev: false @@ -14921,9 +14915,9 @@ packages: dev: true optional: true - /@rspack/binding-win32-x64-msvc@0.3.11: - resolution: {integrity: sha512-+KK96D9/lSq/d28gf+Fuki4/AF7TKoiMP8CcfXoUoQaNyThb7Kr43je16NNfCIbAQHPCEbdeevIkn7+yuSyIdw==} - cpu: [x64] + /@rspack/binding-win32-ia32-msvc@0.4.0: + resolution: {integrity: sha512-DmC7MumePZuss1AigT4FaIbFPZFtZXdcWBhD7dF88CvsvQRVtOcMujtByWkkNJ6ZDp+IUHyXOtPQWr1iRjDOCQ==} + cpu: [ia32] os: [win32] requiresBuild: true dev: false @@ -14937,19 +14931,13 @@ packages: dev: true optional: true - /@rspack/binding@0.3.11: - resolution: {integrity: sha512-0l46yjP7WCWkUngSKbyR2hYqH/AQ3ya0jT4rMPmQose9uKFZCqAd/otLDqKI4akRn6gDrESkBQXzfcvhyP9bhA==} - optionalDependencies: - '@rspack/binding-darwin-arm64': 0.3.11 - '@rspack/binding-darwin-x64': 0.3.11 - '@rspack/binding-linux-arm64-gnu': 0.3.11 - '@rspack/binding-linux-arm64-musl': 0.3.11 - '@rspack/binding-linux-x64-gnu': 0.3.11 - '@rspack/binding-linux-x64-musl': 0.3.11 - '@rspack/binding-win32-arm64-msvc': 0.3.11 - '@rspack/binding-win32-ia32-msvc': 0.3.11 - '@rspack/binding-win32-x64-msvc': 0.3.11 + /@rspack/binding-win32-x64-msvc@0.4.0: + resolution: {integrity: sha512-F3pAxz1GakFkyq8S+iPTqVkvIFnHG9te36wLW+tIzY4oC0vNPsEVunBp6NrYHzTaOf3aBZ+bvsLZyfvg+pKxqA==} + cpu: [x64] + os: [win32] + requiresBuild: true dev: false + optional: true /@rspack/binding@0.3.13: resolution: {integrity: sha512-4ZktTw7IxE7XR4JwKlja08jww4u3FyzT2YxPpykPvUupR69zjkznXKJX4IZ8LVXbc/hKCdrULtaUKlfT+9ir1Q==} @@ -14965,10 +14953,24 @@ packages: '@rspack/binding-win32-x64-msvc': 0.3.13 dev: true - /@rspack/core@0.3.11: - resolution: {integrity: sha512-aEjCshlm1dXD5Wls2ksROEjpl5yVWVbd0BwkoRpDz27qr2bmAecnCwROjEWKZFoEZ10VHDrvSc8n/Q3mH3Erhg==} + /@rspack/binding@0.4.0: + resolution: {integrity: sha512-SpjaySPGmyRnRHrQItl9W9NGE2WoHsUPnererZaLK+pfVgO92q9uoEoKl3EBNNI9uttG132SCz4cx1zXwN394w==} + optionalDependencies: + '@rspack/binding-darwin-arm64': 0.4.0 + '@rspack/binding-darwin-x64': 0.4.0 + '@rspack/binding-linux-arm64-gnu': 0.4.0 + '@rspack/binding-linux-arm64-musl': 0.4.0 + '@rspack/binding-linux-x64-gnu': 0.4.0 + '@rspack/binding-linux-x64-musl': 0.4.0 + '@rspack/binding-win32-arm64-msvc': 0.4.0 + '@rspack/binding-win32-ia32-msvc': 0.4.0 + '@rspack/binding-win32-x64-msvc': 0.4.0 + dev: false + + /@rspack/core@0.3.13: + resolution: {integrity: sha512-YCJ1d4HGj/MVkm/JDQwTFFKd2/tjJwAok1FLR5nBLN4AfDBlv9cwB3QhM3ZTNvECmk/Gk7esDsCQpI3Gt1rNkA==} dependencies: - '@rspack/binding': 0.3.11 + '@rspack/binding': 0.3.13 '@swc/helpers': 0.5.1 browserslist: 4.22.1 compare-versions: 6.0.0-rc.1 @@ -14978,19 +14980,19 @@ packages: json-parse-even-better-errors: 3.0.0 neo-async: 2.6.2 react-refresh: 0.14.0 - schema-utils: 4.2.0 tapable: 2.2.1 terminal-link: 2.1.1 watchpack: 2.4.0 webpack-sources: 3.2.3 zod: 3.22.3 zod-validation-error: 1.2.0(zod@3.22.3) - dev: false + dev: true - /@rspack/core@0.3.13: - resolution: {integrity: sha512-YCJ1d4HGj/MVkm/JDQwTFFKd2/tjJwAok1FLR5nBLN4AfDBlv9cwB3QhM3ZTNvECmk/Gk7esDsCQpI3Gt1rNkA==} + /@rspack/core@0.4.0: + resolution: {integrity: sha512-GY8lsCGRzj1mj5q1Ss5kjazpSisT/HJdXpIU730pG4Os6mE2sGYVUJ0ncYRv/DEBcL1c2dVr5vtMKTHlNYRlfg==} + engines: {node: '>=16.0.0'} dependencies: - '@rspack/binding': 0.3.13 + '@rspack/binding': 0.4.0 '@swc/helpers': 0.5.1 browserslist: 4.22.1 compare-versions: 6.0.0-rc.1 @@ -15006,17 +15008,17 @@ packages: webpack-sources: 3.2.3 zod: 3.22.3 zod-validation-error: 1.2.0(zod@3.22.3) - dev: true + dev: false - /@rspack/dev-client@0.3.11(react-refresh@0.14.0)(webpack@5.88.1): - resolution: {integrity: sha512-vHmJe4OOOi85ID+7h76UZMjipEiE63PDkr0LABanJUbIUDQbj6v8bO3DMb2uZzdpwpiABB9wYuxqm/QxvGnEGA==} + /@rspack/dev-client@0.3.2(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): + resolution: {integrity: sha512-t/4b6rzMh13pi0JARj85xaU02FNihUmGGpsHsG3UdqM1pVzS3z6Kl6h0FrmMG8NNJAvoTT0p6drltdijIxb6Qw==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@rspack/plugin-react-refresh': 0.3.11(react-refresh@0.14.0)(webpack@5.88.1) + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) react-refresh: 0.14.0 transitivePeerDependencies: - '@types/webpack' @@ -15028,15 +15030,15 @@ packages: - webpack-plugin-serve dev: false - /@rspack/dev-client@0.3.2(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): - resolution: {integrity: sha512-t/4b6rzMh13pi0JARj85xaU02FNihUmGGpsHsG3UdqM1pVzS3z6Kl6h0FrmMG8NNJAvoTT0p6drltdijIxb6Qw==} + /@rspack/dev-client@0.4.0(react-refresh@0.14.0)(webpack@5.88.1): + resolution: {integrity: sha512-G9q2Wn1JBlqvtHD31E5Nsr62sOdbIJjIZfV3Evy91gmnmfnDTZCB6P5nJ4pXiYqV0U4anHRZB4l1zpnMhB6q4Q==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) + '@rspack/plugin-react-refresh': 0.4.0(react-refresh@0.14.0)(webpack@5.88.1) react-refresh: 0.14.0 transitivePeerDependencies: - '@types/webpack' @@ -15048,33 +15050,31 @@ packages: - webpack-plugin-serve dev: false - /@rspack/plugin-html@0.3.11(@rspack/core@0.3.11): - resolution: {integrity: sha512-EEDbvv5F54kW0lW/34AXt9t+AWoIiP/UXCH/WIvhsjzB2Fd65dbj7lJIhE8tCT1pY0U7RASzbWj4HFpJh3DRhQ==} + /@rspack/plugin-html@0.4.0(@rspack/core@0.4.0): + resolution: {integrity: sha512-W90zA4mgMi4SCLamyvZSLU09HR21skDSUmmuMciteQoWEs5GNqpoRwLtvtBbQ7ihpR7zZfc8xYHhFy7sIOWOVA==} peerDependencies: - '@rspack/core': 0.3.11 + '@rspack/core': 0.4.0 peerDependenciesMeta: '@rspack/core': optional: true dependencies: - '@rspack/core': 0.3.11 - '@types/html-minifier-terser': 7.0.0 + '@rspack/core': 0.4.0 html-minifier-terser: 7.0.0 lodash.template: 4.5.0 parse5: 7.1.1 tapable: 2.2.1 dev: false - /@rspack/plugin-react-refresh@0.3.11(react-refresh@0.14.0)(webpack@5.88.1): - resolution: {integrity: sha512-S5LjsV4HeZ5sCV4168QXCiuZL1dnwiLtpykB+1RAIQH+rBLDZebiflwgWHKD0B8oxYYiqGeVbQ5JvGWn4jyZVg==} + /@rspack/plugin-react-refresh@0.3.13(react-refresh@0.14.0)(webpack@5.89.0): + resolution: {integrity: sha512-Xl6xsNds4kqblnmm1aXHFykKJk+x9wU53Qeq7FSyWGuDWTrdXZTUB9dzwDG56/ouB52OzVKze4JAugSZit7zwg==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack@5.88.1) + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack@5.89.0) react-refresh: 0.14.0 - schema-utils: 4.2.0 transitivePeerDependencies: - '@types/webpack' - sockjs-client @@ -15083,17 +15083,17 @@ packages: - webpack-dev-server - webpack-hot-middleware - webpack-plugin-serve - dev: false + dev: true - /@rspack/plugin-react-refresh@0.3.13(react-refresh@0.14.0)(webpack@5.89.0): - resolution: {integrity: sha512-Xl6xsNds4kqblnmm1aXHFykKJk+x9wU53Qeq7FSyWGuDWTrdXZTUB9dzwDG56/ouB52OzVKze4JAugSZit7zwg==} + /@rspack/plugin-react-refresh@0.4.0(react-refresh@0.14.0)(webpack@5.88.1): + resolution: {integrity: sha512-yo2FXVj6P2HrBGIxBqqRJQzAdG6CrL0WFE+kQk/Uz+7Ct09nPvl7zRdHE1BUXHnSXIjrMJj4fRmd7hXsmtTHXQ==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack@5.89.0) + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack@5.88.1) react-refresh: 0.14.0 transitivePeerDependencies: - '@types/webpack' @@ -15103,7 +15103,7 @@ packages: - webpack-dev-server - webpack-hot-middleware - webpack-plugin-serve - dev: true + dev: false /@rspress/core@1.7.1(ts-node@10.9.1)(webpack@5.89.0): resolution: {integrity: sha512-P2RDAE5TjJC/uhT6EcxGw40xo+XHEEawd67n22/GI4njmsXKiDec9vBQl8DRt4nEegCU/1wo3BsUuydKTChsBA==} @@ -16869,10 +16869,6 @@ packages: /@types/html-minifier-terser@6.1.0: resolution: {integrity: sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==} - /@types/html-minifier-terser@7.0.0: - resolution: {integrity: sha512-hw3bhStrg5e3FQT8qZKCJTrzt/UbEaunU1xRWJ+aNOTmeBMvE3S4Ml2HiiNnZgL8izu0LFVkHUoPFXL1s5QNpQ==} - dev: false - /@types/http-assert@1.5.3: resolution: {integrity: sha512-FyAOrDuQmBi8/or3ns4rwPno7/9tJTijVW6aQQjK02+kOQ8zmoNg2XJtAuQhvQcy1ASJq38wirX5//9J1EqoUA==} dev: true From bb7572b18f8b4c589b8bdce17acdbbf8836d1d0a Mon Sep 17 00:00:00 2001 From: "gaoyuan.1226" Date: Wed, 22 Nov 2023 17:37:38 +0800 Subject: [PATCH 2/3] fix: lock and snapshot --- .../__snapshots__/default.test.ts.snap | 32 +- .../plugins/__snapshots__/output.test.ts.snap | 4 +- .../tests/plugins/minimize.test.ts | 51 +- pnpm-lock.yaml | 657 +++++++----------- 4 files changed, 294 insertions(+), 450 deletions(-) diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/default.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/default.test.ts.snap index fad1e838c25c..546ef37fe465 100644 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/default.test.ts.snap +++ b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/default.test.ts.snap @@ -686,21 +686,21 @@ exports[`applyDefaultPlugins > should apply default plugins correctly 1`] = ` }, }, }, - Plugin { + DefinePlugin { "_options": { "process.env.ASSET_PREFIX": "\\"\\"", "process.env.NODE_ENV": "\\"development\\"", }, "name": "DefinePlugin", }, - Plugin { + ProgressPlugin { "_options": { "prefix": "Client", "profile": false, }, "name": "ProgressPlugin", }, - Plugin { + ProvidePlugin { "_options": { "$ReactRefreshRuntime$": [ "/node_modules//@rspack/dev-client/src/reactRefresh.js", @@ -1331,18 +1331,14 @@ exports[`applyDefaultPlugins > should apply default plugins correctly when prod "chunkIds": "deterministic", "minimize": true, "minimizer": [ - Plugin { + SwcJsMinimizerRspackPlugin { "_options": { - "asciiOnly": true, - "comments": "false", - "dropConsole": false, + "compress": "{\\"passes\\":1,\\"pure_funcs\\":[],\\"drop_console\\":false}", "exclude": undefined, "extractComments": "true", + "format": "{\\"comments\\":false,\\"asciiOnly\\":true}", "include": undefined, - "keepClassNames": false, - "keepFnNames": false, - "passes": 1, - "pureFuncs": [], + "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", "test": undefined, }, "name": "SwcJsMinimizerRspackPlugin", @@ -1455,7 +1451,7 @@ exports[`applyDefaultPlugins > should apply default plugins correctly when prod }, }, }, - Plugin { + DefinePlugin { "_options": { "process.env.ASSET_PREFIX": "\\"\\"", "process.env.NODE_ENV": "\\"production\\"", @@ -1466,7 +1462,7 @@ exports[`applyDefaultPlugins > should apply default plugins correctly when prod "htmlPlugin": [Function], "name": "RemoveCssSourcemapPlugin", }, - Plugin { + ProgressPlugin { "_options": { "prefix": "Client", "profile": false, @@ -1938,14 +1934,14 @@ exports[`applyDefaultPlugins > should apply default plugins correctyly when targ }, }, }, - Plugin { + DefinePlugin { "_options": { "process.env.ASSET_PREFIX": "\\"\\"", "process.env.NODE_ENV": "\\"test\\"", }, "name": "DefinePlugin", }, - Plugin { + ProgressPlugin { "_options": { "prefix": "Server", "profile": false, @@ -2669,21 +2665,21 @@ exports[`tools.rspack > should match snapshot 1`] = ` }, }, }, - Plugin { + DefinePlugin { "_options": { "process.env.ASSET_PREFIX": "\\"\\"", "process.env.NODE_ENV": "\\"development\\"", }, "name": "DefinePlugin", }, - Plugin { + ProgressPlugin { "_options": { "prefix": "Client", "profile": false, }, "name": "ProgressPlugin", }, - Plugin { + ProvidePlugin { "_options": { "$ReactRefreshRuntime$": [ "/node_modules//@rspack/dev-client/src/reactRefresh.js", diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/output.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/output.test.ts.snap index b065449a82ee..eeb8bd9f8f53 100644 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/output.test.ts.snap +++ b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/output.test.ts.snap @@ -44,7 +44,7 @@ exports[`plugins/output > should allow to use copy plugin 1`] = ` "publicPath": "/", }, "plugins": [ - Plugin { + CopyRspackPlugin { "_options": { "patterns": [ { @@ -75,7 +75,7 @@ exports[`plugins/output > should allow to use copy plugin with multiply config 1 "publicPath": "/", }, "plugins": [ - Plugin { + CopyRspackPlugin { "_options": { "patterns": [ { diff --git a/packages/builder/builder-rspack-provider/tests/plugins/minimize.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/minimize.test.ts index 2179f0c1c52b..a1f65193aa51 100644 --- a/packages/builder/builder-rspack-provider/tests/plugins/minimize.test.ts +++ b/packages/builder/builder-rspack-provider/tests/plugins/minimize.test.ts @@ -36,18 +36,14 @@ describe('plugins/minimize', () => { expect(bundlerConfigs[0].optimization?.minimizer).toMatchInlineSnapshot( ` [ - Plugin { + SwcJsMinimizerRspackPlugin { "_options": { - "asciiOnly": true, - "comments": "false", - "dropConsole": false, + "compress": "{\\"passes\\":1,\\"pure_funcs\\":[],\\"drop_console\\":false}", "exclude": undefined, "extractComments": "true", + "format": "{\\"comments\\":false,\\"asciiOnly\\":true}", "include": undefined, - "keepClassNames": false, - "keepFnNames": false, - "passes": 1, - "pureFuncs": [], + "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", "test": undefined, }, "name": "SwcJsMinimizerRspackPlugin", @@ -119,18 +115,14 @@ describe('plugins/minimize', () => { expect(bundlerConfigs[0].optimization?.minimizer).toMatchInlineSnapshot( ` [ - Plugin { + SwcJsMinimizerRspackPlugin { "_options": { - "asciiOnly": true, - "comments": "false", - "dropConsole": true, + "compress": "{\\"passes\\":1,\\"pure_funcs\\":[],\\"drop_console\\":true}", "exclude": undefined, "extractComments": "true", + "format": "{\\"comments\\":false,\\"asciiOnly\\":true}", "include": undefined, - "keepClassNames": false, - "keepFnNames": false, - "passes": 1, - "pureFuncs": [], + "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", "test": undefined, }, "name": "SwcJsMinimizerRspackPlugin", @@ -181,21 +173,14 @@ describe('plugins/minimize', () => { expect(bundlerConfigs[0].optimization?.minimizer).toMatchInlineSnapshot( ` [ - Plugin { + SwcJsMinimizerRspackPlugin { "_options": { - "asciiOnly": true, - "comments": "false", - "dropConsole": false, + "compress": "{\\"passes\\":1,\\"pure_funcs\\":[\\"console.log\\",\\"console.warn\\"],\\"drop_console\\":false}", "exclude": undefined, "extractComments": "true", + "format": "{\\"comments\\":false,\\"asciiOnly\\":true}", "include": undefined, - "keepClassNames": false, - "keepFnNames": false, - "passes": 1, - "pureFuncs": [ - "console.log", - "console.warn", - ], + "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", "test": undefined, }, "name": "SwcJsMinimizerRspackPlugin", @@ -246,18 +231,14 @@ describe('plugins/minimize', () => { expect(bundlerConfigs[0].optimization?.minimizer).toMatchInlineSnapshot( ` [ - Plugin { + SwcJsMinimizerRspackPlugin { "_options": { - "asciiOnly": false, - "comments": "false", - "dropConsole": false, + "compress": "{\\"passes\\":1,\\"pure_funcs\\":[],\\"drop_console\\":false}", "exclude": undefined, "extractComments": "true", + "format": "{\\"comments\\":false,\\"asciiOnly\\":false}", "include": undefined, - "keepClassNames": false, - "keepFnNames": false, - "passes": 1, - "pureFuncs": [], + "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", "test": undefined, }, "name": "SwcJsMinimizerRspackPlugin", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 20735a0bbf33..bc37d8219bf1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,6 +51,9 @@ importers: '@vitest/ui': specifier: ^0.33.0 version: 0.33.0(vitest@0.33.0) + check-dependency-version-consistency: + specifier: 4.1.0 + version: 4.1.0 cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -113,8 +116,8 @@ importers: specifier: workspace:* version: link:../../../scripts/vitest-config '@types/babel__core': - specifier: ^7.20.0 - version: 7.20.2 + specifier: ^7.20.1 + version: 7.20.3 '@types/node': specifier: ^14 version: 14.18.35 @@ -280,13 +283,13 @@ importers: specifier: 8.4.31 version: 8.4.31 source-map: - specifier: ^0.7.4 + specifier: 0.7.4 version: 0.7.4 webpack: specifier: ^5.88.1 version: 5.88.1(esbuild@0.17.19) webpack-sources: - specifier: ^3.2.3 + specifier: 3.2.3 version: 3.2.3 zod: specifier: ^3.22.3 @@ -305,8 +308,8 @@ importers: specifier: workspace:* version: link:../../../scripts/vitest-config '@types/babel__core': - specifier: ^7.20.0 - version: 7.20.2 + specifier: ^7.20.1 + version: 7.20.3 '@types/caniuse-lite': specifier: ^1.0.1 version: 1.0.1 @@ -614,8 +617,8 @@ importers: specifier: 1.3.42 version: 1.3.42 '@types/babel__core': - specifier: ^7.20.0 - version: 7.20.2 + specifier: ^7.20.1 + version: 7.20.3 antd: specifier: '4' version: 4.17.2(react-dom@18.2.0)(react@18.2.0) @@ -623,8 +626,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 magic-string: - specifier: 0.29.0 - version: 0.29.0 + specifier: 0.30.5 + version: 0.30.5 react: specifier: ^18 version: 18.2.0 @@ -632,7 +635,7 @@ importers: specifier: ^18 version: 18.2.0(react@18.2.0) source-map: - specifier: ^0.7.4 + specifier: 0.7.4 version: 0.7.4 typescript: specifier: ^5 @@ -650,8 +653,8 @@ importers: specifier: 0.5.3 version: 0.5.3 '@vue/babel-plugin-jsx': - specifier: 1.1.1 - version: 1.1.1(@babel/core@7.23.2) + specifier: 1.1.5 + version: 1.1.5(@babel/core@7.23.2) vue-loader: specifier: ^17.2.2 version: 17.2.2(webpack@5.88.1) @@ -801,13 +804,13 @@ importers: specifier: ^4.1.0 version: 4.1.0 husky: - specifier: ^8 + specifier: ^8.0.0 version: 8.0.1 lint-staged: specifier: ~13.1.0 version: 13.1.4 prettier: - specifier: ^2.6.2 + specifier: ^2.8.1 version: 2.8.7 typescript: specifier: ^5 @@ -865,8 +868,8 @@ importers: specifier: workspace:* version: link:../../../scripts/jest-config '@types/babel__core': - specifier: ^7.20.0 - version: 7.20.2 + specifier: ^7.20.1 + version: 7.20.3 '@types/jest': specifier: ^29 version: 29.2.6 @@ -877,7 +880,7 @@ importers: specifier: ^29 version: 29.5.0(@types/node@14.18.35)(ts-node@10.9.1) memfs: - specifier: ^3.3.0 + specifier: ^3.5.1 version: 3.5.1 ts-jest: specifier: ^29.1.0 @@ -975,8 +978,8 @@ importers: specifier: workspace:* version: link:../../../scripts/jest-config '@types/babel__core': - specifier: ^7.20.0 - version: 7.20.2 + specifier: ^7.20.1 + version: 7.20.3 '@types/jest': specifier: ^29 version: 29.2.6 @@ -993,7 +996,7 @@ importers: specifier: ^29 version: 29.5.0(@types/node@14.18.35)(ts-node@10.9.1) memfs: - specifier: ^3.3.0 + specifier: ^3.5.1 version: 3.5.1 react: specifier: ^18 @@ -1054,7 +1057,7 @@ importers: specifier: 0.5.3 version: 0.5.3 cross-spawn: - specifier: ^7.0.1 + specifier: ^7.0.3 version: 7.0.3 eslint: specifier: ^8.28.0 @@ -1131,10 +1134,10 @@ importers: specifier: 0.5.3 version: 0.5.3 node-mocks-http: - specifier: ^1.10.1 + specifier: ^1.11.0 version: 1.11.0 normalize-path: - specifier: ^3.0.0 + specifier: 3.0.0 version: 3.0.0 portfinder: specifier: ^1.0.28 @@ -1326,11 +1329,11 @@ importers: specifier: ^2.0.0 version: 2.0.0(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) '@types/jest': - specifier: ~29.2.4 + specifier: ^29 version: 29.2.6 '@types/lodash': - specifier: ^4.14.196 - version: 4.14.199 + specifier: ^4.14.202 + version: 4.14.202 '@types/node': specifier: ~16.11.7 version: 16.11.68 @@ -1350,7 +1353,7 @@ importers: specifier: ^4.17.21 version: 4.17.21 p-defer: - specifier: 3.0.0 + specifier: ^3.0.0 version: 3.0.0 postcss-custom-media: specifier: ^10.0.1 @@ -1377,7 +1380,7 @@ importers: specifier: ^17.4.0 version: 17.4.0(react-dom@18.2.0)(react@18.2.0) rimraf: - specifier: ~3.0.2 + specifier: ^3.0.2 version: 3.0.2 suspend-react: specifier: ^0.1.3 @@ -1389,7 +1392,7 @@ importers: specifier: ~5.0.4 version: 5.0.4 ufo: - specifier: ^1.2.0 + specifier: ^1.3.0 version: 1.3.0 valtio: specifier: ^1.11.1 @@ -1404,7 +1407,7 @@ importers: specifier: workspace:* version: link:../../toolkit/utils ufo: - specifier: ^1.2.0 + specifier: ^1.3.0 version: 1.3.0 ws: specifier: ^8.13.0 @@ -1563,7 +1566,7 @@ importers: specifier: 1.7.1 version: 1.7.1 '@types/fs-extra': - specifier: ^9 + specifier: 9.0.13 version: 9.0.13 '@types/node': specifier: ^16 @@ -2596,14 +2599,14 @@ importers: packages/generator/generators/storybook-next-generator: devDependencies: '@modern-js/codesmith': - specifier: 2.2.5 - version: 2.2.5 + specifier: 2.3.0 + version: 2.3.0 '@modern-js/codesmith-api-app': - specifier: 2.2.5 - version: 2.2.5(@modern-js/codesmith@2.2.5)(typescript@5.2.2) + specifier: 2.3.0 + version: 2.3.0(@modern-js/codesmith@2.3.0)(typescript@5.2.2) '@modern-js/codesmith-api-json': - specifier: 2.2.5 - version: 2.2.5 + specifier: 2.3.0 + version: 2.3.0 '@modern-js/dependence-generator': specifier: workspace:* version: link:../dependence-generator @@ -2913,8 +2916,8 @@ importers: packages/module/plugin-module-babel: dependencies: '@babel/core': - specifier: ^7.22.5 - version: 7.23.0 + specifier: ^7.23.2 + version: 7.23.2 '@swc/helpers': specifier: 0.5.3 version: 0.5.3 @@ -2929,8 +2932,8 @@ importers: specifier: workspace:* version: link:../../../scripts/jest-config '@types/babel__core': - specifier: 7.1.16 - version: 7.1.16 + specifier: ^7.20.1 + version: 7.20.3 '@types/jest': specifier: ^29 version: 29.2.6 @@ -3097,20 +3100,20 @@ importers: packages/module/plugin-module-polyfill: dependencies: '@babel/core': - specifier: ^7.22.5 - version: 7.23.0 + specifier: ^7.23.2 + version: 7.23.2 '@babel/plugin-syntax-jsx': specifier: 7.22.5 - version: 7.22.5(@babel/core@7.23.0) + version: 7.22.5(@babel/core@7.23.2) '@babel/plugin-syntax-typescript': specifier: 7.22.5 - version: 7.22.5(@babel/core@7.23.0) + version: 7.22.5(@babel/core@7.23.2) '@modern-js/plugin-module-babel': specifier: workspace:* version: link:../plugin-module-babel babel-plugin-polyfill-corejs3: specifier: 0.5.2 - version: 0.5.2(@babel/core@7.23.0) + version: 0.5.2(@babel/core@7.23.2) core-js-pure: specifier: ^3.25.0 version: 3.26.0 @@ -3143,7 +3146,7 @@ importers: packages/module/plugin-module-vue: dependencies: '@babel/core': - specifier: ^7.22.5 + specifier: ^7.23.2 version: 7.23.2 '@babel/plugin-syntax-typescript': specifier: 7.22.5 @@ -3168,8 +3171,8 @@ importers: specifier: workspace:* version: link:../../../scripts/build '@types/babel__core': - specifier: 7.1.16 - version: 7.1.16 + specifier: ^7.20.1 + version: 7.20.3 '@types/node': specifier: ^14 version: 14.18.35 @@ -3244,7 +3247,7 @@ importers: specifier: ^4.2.0 version: 4.6.0(eslint@8.28.0) prettier: - specifier: ^2.3.2 + specifier: ^2.8.1 version: 2.8.7 devDependencies: eslint-find-rules: @@ -3265,13 +3268,13 @@ importers: specifier: 0.5.3 version: 0.5.3 '@types/debug': - specifier: ^4.1.7 + specifier: 4.1.7 version: 4.1.7 '@types/react-loadable': specifier: ^5.5.6 version: 5.5.6 debug: - specifier: ^4.3.2 + specifier: 4.3.4 version: 4.3.4(supports-color@9.3.1) garfish: specifier: ^1.8.1 @@ -3616,7 +3619,7 @@ importers: specifier: 0.5.3 version: 0.5.3 '@testing-library/jest-dom': - specifier: ^5.14.1 + specifier: ^5.16.1 version: 5.16.4 '@testing-library/react': specifier: ^13.4.0 @@ -3634,7 +3637,7 @@ importers: specifier: ^3.0.0 version: 3.0.0 jest: - specifier: ^29.5.0 + specifier: ^29 version: 29.5.0(@types/node@14.18.35)(ts-node@10.9.1) jest-environment-jsdom: specifier: ^29.5.0 @@ -3698,7 +3701,7 @@ importers: specifier: ^8.0.3 version: 8.1.0 pkg-up: - specifier: ^3.1.0 + specifier: 3.1.0 version: 3.1.0 reselect: specifier: ^4.1.7 @@ -3729,7 +3732,7 @@ importers: specifier: ^1.8.2 version: 1.8.2 jest: - specifier: ^29.3.1 + specifier: ^29 version: 29.5.0(@types/node@18.11.17)(ts-node@10.9.1) packages/server/bff-core: @@ -3986,7 +3989,7 @@ importers: specifier: ^1.6.3 version: 1.6.3 express: - specifier: ^4.17.1 + specifier: ^4.17.2 version: 4.18.1 jest: specifier: ^29 @@ -4065,7 +4068,7 @@ importers: specifier: ^29 version: 29.5.0(@types/node@14.18.35)(ts-node@10.9.1) koa: - specifier: ^2.13.3 + specifier: ^2.13.4 version: 2.13.4 supertest: specifier: ^6.1.6 @@ -4236,8 +4239,8 @@ importers: specifier: 0.5.3 version: 0.5.3 cookie: - specifier: ^0.4.2 - version: 0.4.2 + specifier: 0.5.0 + version: 0.5.0 etag: specifier: ^1.8.1 version: 1.8.1 @@ -4245,7 +4248,7 @@ importers: specifier: ^0.5.2 version: 0.5.2 http-proxy-middleware: - specifier: ^2.0.1 + specifier: ^2.0.4 version: 2.0.6 ignore-styles: specifier: ^5.0.1 @@ -4276,8 +4279,8 @@ importers: specifier: workspace:* version: link:../../../scripts/jest-config '@types/cookie': - specifier: ^0.4.1 - version: 0.4.1 + specifier: 0.5.1 + version: 0.5.1 '@types/etag': specifier: ^1.8.1 version: 1.8.1 @@ -4369,7 +4372,7 @@ importers: specifier: ^6.2.0 version: 6.2.1 ws: - specifier: ^8.2.0 + specifier: ^8.13.0 version: 8.13.0 devDependencies: '@modern-js/server-core': @@ -4394,8 +4397,8 @@ importers: specifier: ^14 version: 14.18.35 '@types/ws': - specifier: ^7.4.7 - version: 7.4.7 + specifier: ^8.5.5 + version: 8.5.5 jest: specifier: ^29 version: 29.5.0(@types/node@14.18.35)(ts-node@10.9.1) @@ -4464,8 +4467,8 @@ importers: specifier: workspace:* version: link:../../../scripts/jest-config '@types/babel__core': - specifier: ^7.20.0 - version: 7.20.2 + specifier: ^7.20.1 + version: 7.20.3 '@types/jest': specifier: ^29 version: 29.2.6 @@ -4570,7 +4573,7 @@ importers: specifier: workspace:* version: link:../../../scripts/jest-config '@types/babel__traverse': - specifier: ^7.14.2 + specifier: 7.18.5 version: 7.18.5 '@types/jest': specifier: ^29 @@ -4603,7 +4606,7 @@ importers: specifier: ^7.22.15 version: 7.23.0 '@babel/traverse': - specifier: 7.23.2 + specifier: ^7.23.2 version: 7.23.2 '@babel/types': specifier: ^7.22.15 @@ -4657,8 +4660,8 @@ importers: specifier: 1.8.0 version: 1.8.0 enhanced-resolve: - specifier: 5.8.3 - version: 5.8.3 + specifier: 5.12.0 + version: 5.12.0 esbuild: specifier: 0.19.2 version: 0.19.2 @@ -4763,7 +4766,7 @@ importers: specifier: ^2.3.0 version: 2.3.0 p-map: - specifier: ^4.0.0 + specifier: 4.0.0 version: 4.0.0 devDependencies: '@scripts/build': @@ -4806,8 +4809,8 @@ importers: specifier: workspace:* version: link:../../toolkit/utils '@rspack/dev-client': - specifier: 0.3.2 - version: 0.3.2(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) + specifier: 0.3.11 + version: 0.3.11(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) '@storybook/components': specifier: ^7.5.1 version: 7.5.1(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) @@ -4941,10 +4944,10 @@ importers: specifier: workspace:* version: link:../../../../scripts/jest-config '@types/babel__core': - specifier: ^7.20.0 - version: 7.20.2 + specifier: ^7.20.1 + version: 7.20.3 '@types/glob': - specifier: ^7.1.4 + specifier: 7.2.0 version: 7.2.0 '@types/jest': specifier: ^29 @@ -5158,8 +5161,8 @@ importers: specifier: workspace:* version: link:../../../scripts/jest-config '@types/babel__core': - specifier: ^7.20.0 - version: 7.20.2 + specifier: ^7.20.1 + version: 7.20.3 '@types/jest': specifier: ^29 version: 29.2.6 @@ -5314,7 +5317,7 @@ importers: scripts/lint-package-json: dependencies: '@types/fs-extra': - specifier: ^9.0.13 + specifier: 9.0.13 version: 9.0.13 chalk: specifier: 4.1.2 @@ -5323,7 +5326,7 @@ importers: specifier: ^2.15.3 version: 2.15.3 fast-glob: - specifier: ^3.2.11 + specifier: 3.2.11 version: 3.2.11 fs-extra: specifier: ^10.1.0 @@ -5385,8 +5388,8 @@ importers: specifier: 3.0.3 version: 3.0.3 '@types/lodash': - specifier: 4.14.181 - version: 4.14.181 + specifier: ^4.14.202 + version: 4.14.202 '@types/mime-types': specifier: 2.1.1 version: 2.1.1 @@ -5704,7 +5707,7 @@ importers: version: 10.1.0 devDependencies: '@types/fs-extra': - specifier: ^9 + specifier: 9.0.13 version: 9.0.13 '@types/node': specifier: ^18.0.1 @@ -5726,7 +5729,7 @@ importers: version: 10.1.0 devDependencies: '@types/fs-extra': - specifier: ^9.0.13 + specifier: 9.0.13 version: 9.0.13 '@types/node': specifier: ^18.0.1 @@ -5748,7 +5751,7 @@ importers: version: 10.1.0 devDependencies: '@types/fs-extra': - specifier: ^9.0.13 + specifier: 9.0.13 version: 9.0.13 '@types/node': specifier: ^18.0.1 @@ -5766,19 +5769,19 @@ importers: specifier: workspace:* version: link:../../packages/review/tsconfig '@types/lodash': - specifier: ^4.14.195 - version: 4.14.199 + specifier: ^4.14.202 + version: 4.14.202 '@types/node': specifier: ^14 version: 14.18.35 execa: - specifier: ^5.1.1 + specifier: 5.1.1 version: 5.1.1 fs-extra: specifier: ^10 version: 10.1.0 globby: - specifier: ^11.0.4 + specifier: 11.1.0 version: 11.1.0 lodash: specifier: ^4.17.21 @@ -5835,7 +5838,7 @@ importers: specifier: 5.0.0 version: 5.0.0 jest: - specifier: ^29.5.0 + specifier: ^29 version: 29.5.0(@types/node@14.18.35)(ts-node@10.9.1) jest-environment-jsdom: specifier: ^29.5.0 @@ -5926,8 +5929,8 @@ importers: specifier: 1.33.0 version: 1.33.0 '@types/lodash': - specifier: ^4.14.195 - version: 4.14.199 + specifier: ^4.14.202 + version: 4.14.202 '@types/node': specifier: ^14 version: 14.18.35 @@ -6034,7 +6037,7 @@ importers: tests/e2e/builder/cases/react/remove-prop-types: dependencies: prop-types: - specifier: ^15 + specifier: ^15.8.1 version: 15.8.1 devDependencies: '@types/prop-types': @@ -6804,7 +6807,7 @@ importers: specifier: workspace:* version: link:../../../packages/solutions/app-tools '@types/fs-extra': - specifier: ^9.0.13 + specifier: 9.0.13 version: 9.0.13 '@types/jest': specifier: ^29 @@ -7046,7 +7049,7 @@ importers: specifier: ^18 version: 18.0.21 husky: - specifier: ~8.0.1 + specifier: ^8.0.0 version: 8.0.1 lint-staged: specifier: ~13.1.0 @@ -7055,7 +7058,7 @@ importers: specifier: 1.0.1 version: 1.0.1 prettier: - specifier: ~2.8.1 + specifier: ^2.8.1 version: 2.8.7 react: specifier: ^18.2.0 @@ -7064,7 +7067,7 @@ importers: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) rimraf: - specifier: ~3.0.2 + specifier: ^3.0.2 version: 3.0.2 typescript: specifier: ^5 @@ -7101,7 +7104,7 @@ importers: tests/integration/module/fixtures/build/autoExternal: dependencies: path-browserify: - specifier: ^1 + specifier: 1.0.1 version: 1.0.1 postcss: specifier: 8.4.27 @@ -7200,7 +7203,7 @@ importers: tests/integration/module/fixtures/build/transformLodash: dependencies: lodash: - specifier: ^4 + specifier: ^4.17.21 version: 4.17.21 tests/integration/module/fixtures/build/tsconfig: {} @@ -7228,8 +7231,8 @@ importers: tests/integration/module/plugins/babel: devDependencies: '@babel/preset-env': - specifier: 7.22.15 - version: 7.22.15(@babel/core@7.23.2) + specifier: ^7.22.15 + version: 7.22.20(@babel/core@7.23.2) tests/integration/module/plugins/hooks: {} @@ -7293,7 +7296,7 @@ importers: specifier: workspace:* version: link:../../../packages/solutions/app-tools '@types/fs-extra': - specifier: ^9.0.13 + specifier: 9.0.13 version: 9.0.13 '@types/jest': specifier: ^29 @@ -7636,7 +7639,7 @@ importers: specifier: ^1.6.0 version: 1.6.0 express: - specifier: ^4.17.1 + specifier: ^4.17.2 version: 4.18.1 react: specifier: ^18 @@ -8616,29 +8619,6 @@ packages: - supports-color dev: false - /@babel/core@7.23.0: - resolution: {integrity: sha512-97z/ju/Jy1rZmDxybphrBuI+jtJjFVoz7Mr9yUQVVVi+DNZE333uFQeMOqcCIy1x3WYBIbWftUSLmbNXNT7qFQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@ampproject/remapping': 2.2.1 - '@babel/code-frame': 7.22.13 - '@babel/generator': 7.23.0 - '@babel/helper-compilation-targets': 7.22.15 - '@babel/helper-module-transforms': 7.23.0(@babel/core@7.23.0) - '@babel/helpers': 7.23.1 - '@babel/parser': 7.23.0 - '@babel/template': 7.22.15 - '@babel/traverse': 7.23.2 - '@babel/types': 7.23.0 - convert-source-map: 2.0.0 - debug: 4.3.4(supports-color@9.3.1) - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/core@7.23.2: resolution: {integrity: sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ==} engines: {node: '>=6.9.0'} @@ -8746,12 +8726,12 @@ packages: regexpu-core: 5.3.2 semver: 6.3.1 - /@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.23.0): + /@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.23.2): resolution: {integrity: sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==} peerDependencies: '@babel/core': ^7.4.0-0 dependencies: - '@babel/core': 7.23.0 + '@babel/core': 7.23.2 '@babel/helper-compilation-targets': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 debug: 4.3.4(supports-color@9.3.1) @@ -8819,20 +8799,6 @@ packages: '@babel/helper-validator-identifier': 7.22.20 dev: false - /@babel/helper-module-transforms@7.23.0(@babel/core@7.23.0): - resolution: {integrity: sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-module-imports': 7.22.15 - '@babel/helper-simple-access': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.20 - dev: false - /@babel/helper-module-transforms@7.23.0(@babel/core@7.23.2): resolution: {integrity: sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==} engines: {node: '>=6.9.0'} @@ -8920,17 +8886,6 @@ packages: '@babel/template': 7.22.15 '@babel/types': 7.23.0 - /@babel/helpers@7.23.1: - resolution: {integrity: sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.22.15 - '@babel/traverse': 7.23.2 - '@babel/types': 7.23.0 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/helpers@7.23.2: resolution: {integrity: sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==} engines: {node: '>=6.9.0'} @@ -9202,16 +9157,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: false - /@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.23.0): - resolution: {integrity: sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 - dev: false - /@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.23.2): resolution: {integrity: sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==} engines: {node: '>=6.9.0'} @@ -9316,16 +9261,6 @@ packages: '@babel/core': 7.23.2 '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-syntax-typescript@7.22.5(@babel/core@7.23.0): - resolution: {integrity: sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 - dev: false - /@babel/plugin-syntax-typescript@7.22.5(@babel/core@7.23.2): resolution: {integrity: sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==} engines: {node: '>=6.9.0'} @@ -10108,7 +10043,6 @@ packages: semver: 6.3.1 transitivePeerDependencies: - supports-color - dev: false /@babel/preset-flow@7.18.6(@babel/core@7.23.2): resolution: {integrity: sha512-E7BDhL64W6OUqpuyHnSroLnqyRTcG6ZdOBl1OKI/QK/HJfplqK/S3sq1Cckx7oTodJ5yOXyfw7rEADJ6UjoQDQ==} @@ -10204,8 +10138,8 @@ packages: '@babel/parser': 7.23.0 '@babel/types': 7.23.0 - /@babel/traverse@7.22.15: - resolution: {integrity: sha512-DdHPwvJY0sEeN4xJU5uRLmZjgMMDIvMPniLuYzUVXj/GGzysPl0/fwt44JBkyUIzGJPV8QgHMcQdQ34XFuKTYQ==} + /@babel/traverse@7.23.2: + resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.22.13 @@ -10220,26 +10154,8 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: false - /@babel/traverse@7.22.15(supports-color@5.5.0): - resolution: {integrity: sha512-DdHPwvJY0sEeN4xJU5uRLmZjgMMDIvMPniLuYzUVXj/GGzysPl0/fwt44JBkyUIzGJPV8QgHMcQdQ34XFuKTYQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.22.13 - '@babel/generator': 7.23.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 - debug: 4.3.4(supports-color@5.5.0) - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - - /@babel/traverse@7.23.2: + /@babel/traverse@7.23.2(supports-color@5.5.0): resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} engines: {node: '>=6.9.0'} dependencies: @@ -10251,7 +10167,7 @@ packages: '@babel/helper-split-export-declaration': 7.22.6 '@babel/parser': 7.23.0 '@babel/types': 7.23.0 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -12300,29 +12216,6 @@ packages: redux: 4.2.0 dev: false - /@modern-js/codesmith-api-app@2.2.5(@modern-js/codesmith@2.2.5)(typescript@5.2.2): - resolution: {integrity: sha512-s3tZt553MgATJ8FaoztCrPOqvO1g+lNDfC+QfkzTgUoFWk9vefueQ/mqqj+AuAQC22S+hk6pdJ0HtOBkHWee7w==} - peerDependencies: - '@modern-js/codesmith': ^2.2.5 - dependencies: - '@babel/runtime': 7.23.2 - '@modern-js/codesmith': 2.2.5 - '@modern-js/codesmith-api-ejs': 2.2.5(@modern-js/codesmith@2.2.5) - '@modern-js/codesmith-api-fs': 2.2.5(@modern-js/codesmith@2.2.5) - '@modern-js/codesmith-api-git': 2.2.5(@modern-js/codesmith@2.2.5) - '@modern-js/codesmith-api-handlebars': 2.2.5(@modern-js/codesmith@2.2.5) - '@modern-js/codesmith-api-npm': 2.2.5 - '@modern-js/codesmith-formily': 2.2.5(@modern-js/codesmith@2.2.5)(typescript@5.2.2) - '@modern-js/plugin-i18n': 2.37.2 - '@modern-js/utils': 2.37.2 - comment-json: 4.2.3 - extra: 0.2.1 - inquirer: 8.1.3 - transitivePeerDependencies: - - debug - - typescript - dev: true - /@modern-js/codesmith-api-app@2.3.0(@modern-js/codesmith@2.3.0)(typescript@5.0.4): resolution: {integrity: sha512-oDkedFJaKSLR7gzjlUmHdkjs+zvEtvqApqdA9wnELlh4JGGAvvcr3N5x0fl0VXrAOFV+/pKMYK3DmWqj0IvIjg==} peerDependencies: @@ -12369,16 +12262,6 @@ packages: - typescript dev: true - /@modern-js/codesmith-api-ejs@2.2.5(@modern-js/codesmith@2.2.5): - resolution: {integrity: sha512-hN4sJy+nnr2dPD/BwVLlNdYRQdTC1O2lltRBeEFYD43tD1yEagjWRtccAweoBIt379DsAqi2UKydsW5OvFge/Q==} - peerDependencies: - '@modern-js/codesmith': ^2.2.5 - dependencies: - '@babel/runtime': 7.23.2 - '@modern-js/codesmith': 2.2.5 - ejs: 3.1.9 - dev: true - /@modern-js/codesmith-api-ejs@2.3.0(@modern-js/codesmith@2.3.0): resolution: {integrity: sha512-itmA3ZmPoqSZhBebdC45VCqH01xy5k+0aQyBSYlQ1C4b6MlLtpkg2ywvzFc01N07jsRhmKOX78rryf36vlghTA==} peerDependencies: @@ -12389,15 +12272,6 @@ packages: ejs: 3.1.9 dev: true - /@modern-js/codesmith-api-fs@2.2.5(@modern-js/codesmith@2.2.5): - resolution: {integrity: sha512-DG0ylrbQMUrB0mz/QmxdGTtY3TbRmwdxpXbqPBH7qfIdxNN9wcR2jigTsV/AdboDPM2U9otQkdYtUy7r3lgXKw==} - peerDependencies: - '@modern-js/codesmith': ^2.2.5 - dependencies: - '@babel/runtime': 7.23.2 - '@modern-js/codesmith': 2.2.5 - dev: true - /@modern-js/codesmith-api-fs@2.3.0(@modern-js/codesmith@2.3.0): resolution: {integrity: sha512-IHjT/fP/KzXy9acpOhLtTwtrdonH1Lecfui2dgX8tyeGXRktzO2GzjGVEoTSoc8Ym0sXQ4IUcMUD8ZMWGNQJjA==} peerDependencies: @@ -12407,16 +12281,6 @@ packages: '@swc/helpers': 0.5.1 dev: true - /@modern-js/codesmith-api-git@2.2.5(@modern-js/codesmith@2.2.5): - resolution: {integrity: sha512-XZab49Z7K6WGjsXoowGs3//nA1D6WCbwI9haRJ2qJ2p/DvqtpVq0cS/FZGuu/7tMK2HckZsHi3aMH08XGEDFIA==} - peerDependencies: - '@modern-js/codesmith': ^2.2.5 - dependencies: - '@babel/runtime': 7.23.2 - '@modern-js/codesmith': 2.2.5 - '@modern-js/utils': 2.39.2 - dev: true - /@modern-js/codesmith-api-git@2.3.0(@modern-js/codesmith@2.3.0): resolution: {integrity: sha512-GIEIwarWMb6vMy1Dy3mrXrb/1MVH67/mmCe0A+8vGypUXIfXav3BDNU4kuPzzWnJ90JhJMgvqIH9clYxv2KB2Q==} peerDependencies: @@ -12426,16 +12290,6 @@ packages: '@modern-js/utils': 2.37.2 '@swc/helpers': 0.5.1 - /@modern-js/codesmith-api-handlebars@2.2.5(@modern-js/codesmith@2.2.5): - resolution: {integrity: sha512-CXAMdRSaCVujIbKT7yP6DJ5qgiv/Eobwfbtm6nTkbmI0Qux5xqf/J69RVunNw+db/gL3CBWBiShS2GVLWh61/g==} - peerDependencies: - '@modern-js/codesmith': ^2.2.5 - dependencies: - '@babel/runtime': 7.23.2 - '@modern-js/codesmith': 2.2.5 - handlebars: 4.7.7 - dev: true - /@modern-js/codesmith-api-handlebars@2.3.0(@modern-js/codesmith@2.3.0): resolution: {integrity: sha512-c1ZI7hJuFNwq52ffNRuSx3FYoGSm75Yf3HD9BrHT+qSSmmq7CCGNImhI5qaNVYe+WR6S/EAVrfyuo/1/9FK6VQ==} peerDependencies: @@ -12446,18 +12300,6 @@ packages: handlebars: 4.7.7 dev: true - /@modern-js/codesmith-api-json@2.2.5: - resolution: {integrity: sha512-E9uANiMKb4wKctwhF+uFhojsRctUxBiKcGL9OyKOCeLXCyXpOeNGYgbKjs1duatr2KtN7gUcSpy8UD1pGgPZeQ==} - dependencies: - '@babel/runtime': 7.23.2 - '@modern-js/codesmith': 2.2.5 - comment-json: 4.2.3 - declaration-update: 0.0.2 - transitivePeerDependencies: - - debug - - supports-color - dev: true - /@modern-js/codesmith-api-json@2.3.0: resolution: {integrity: sha512-FM5VoJwwCK/IzYwTmBMZ5pMDng2/GtC6wZ4hM60w++4GByWGZs1EmGYr/5KbyydyiKkPl1f/kdjKLrriA33kew==} dependencies: @@ -12469,16 +12311,6 @@ packages: - debug - supports-color - /@modern-js/codesmith-api-npm@2.2.5: - resolution: {integrity: sha512-3WCzyZGMDVnLck+ZKQhRBznM69L+jQT8bZ90mZo+9dUzgS4GndsHTTCosNdQcvNDviaYWwFH02Js5fE2uiUdSA==} - dependencies: - '@babel/runtime': 7.23.2 - '@modern-js/codesmith': 2.2.5 - '@modern-js/utils': 2.39.2 - transitivePeerDependencies: - - debug - dev: true - /@modern-js/codesmith-api-npm@2.3.0: resolution: {integrity: sha512-Rpzc5YVlxr3soy9hRqvAntP3lTKvI2QmVVqCVO+Fdv3aySmz0a7+pm95uMmp+5/ZWHTeI/0Fqikk73j8fqB1mQ==} dependencies: @@ -12488,21 +12320,6 @@ packages: transitivePeerDependencies: - debug - /@modern-js/codesmith-formily@2.2.5(@modern-js/codesmith@2.2.5)(typescript@5.2.2): - resolution: {integrity: sha512-K2A+e/ptl3XoMlrCHIyAd+Oo49rwzQQrU8sOdwjRgQD/Ik4vNbIBSvZeTqU8ViYO2ZEk5IvffyTJw2ZbDNM99Q==} - peerDependencies: - '@modern-js/codesmith': ^2.2.5 - dependencies: - '@babel/runtime': 7.23.2 - '@formily/json-schema': 2.2.24(typescript@5.2.2) - '@formily/validator': 2.2.24 - '@modern-js/codesmith': 2.2.5 - '@modern-js/utils': 2.39.2 - inquirer: 8.2.5 - transitivePeerDependencies: - - typescript - dev: true - /@modern-js/codesmith-formily@2.3.0(@modern-js/codesmith@2.3.0)(typescript@5.0.4): resolution: {integrity: sha512-9YaG+iumS3+kyfwCKdGCKCWMgok0RyeZpwXWdz5Ky7qHuTzyz+QrUgvHs0L+KvY2akjGRZOX0dBbdr0srREvQA==} peerDependencies: @@ -12532,17 +12349,6 @@ packages: - typescript dev: true - /@modern-js/codesmith@2.2.5: - resolution: {integrity: sha512-crlaJqKT8iSLRTLOgTU7PCVWtXJ66ezM5CmKTRGdQYIEWx85Pmuj3lmupyXM3ecv4lhVzoonVs/nh3bS5ubeOQ==} - dependencies: - '@babel/runtime': 7.23.2 - '@modern-js/utils': 2.37.2 - axios: 0.21.4 - tar: 6.2.0 - transitivePeerDependencies: - - debug - dev: true - /@modern-js/codesmith@2.3.0: resolution: {integrity: sha512-jZtoOvyH8GtPJTtgnTBtamBbqOEryoMolSgjJDVjJwIQNREnt4tcUtXK2n9kTVVrTVIVqeFNe3gaaMZm0n+aQA==} dependencies: @@ -14706,7 +14512,7 @@ packages: '@babel/runtime': 7.23.2 '@babel/types': 7.23.0 '@rsbuild/shared': 0.0.7 - '@types/babel__core': 7.20.2 + '@types/babel__core': 7.20.3 babel-plugin-dynamic-import-node: 2.3.3 core-js: 3.32.2 transitivePeerDependencies: @@ -15010,15 +14816,15 @@ packages: zod-validation-error: 1.2.0(zod@3.22.3) dev: false - /@rspack/dev-client@0.3.2(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): - resolution: {integrity: sha512-t/4b6rzMh13pi0JARj85xaU02FNihUmGGpsHsG3UdqM1pVzS3z6Kl6h0FrmMG8NNJAvoTT0p6drltdijIxb6Qw==} + /@rspack/dev-client@0.3.11(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): + resolution: {integrity: sha512-vHmJe4OOOi85ID+7h76UZMjipEiE63PDkr0LABanJUbIUDQbj6v8bO3DMb2uZzdpwpiABB9wYuxqm/QxvGnEGA==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) + '@rspack/plugin-react-refresh': 0.3.11(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) react-refresh: 0.14.0 transitivePeerDependencies: - '@types/webpack' @@ -15065,6 +14871,27 @@ packages: tapable: 2.2.1 dev: false + /@rspack/plugin-react-refresh@0.3.11(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): + resolution: {integrity: sha512-S5LjsV4HeZ5sCV4168QXCiuZL1dnwiLtpykB+1RAIQH+rBLDZebiflwgWHKD0B8oxYYiqGeVbQ5JvGWn4jyZVg==} + peerDependencies: + react-refresh: '>=0.10.0 <1.0.0' + peerDependenciesMeta: + react-refresh: + optional: true + dependencies: + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) + react-refresh: 0.14.0 + schema-utils: 4.2.0 + transitivePeerDependencies: + - '@types/webpack' + - sockjs-client + - type-fest + - webpack + - webpack-dev-server + - webpack-hot-middleware + - webpack-plugin-serve + dev: false + /@rspack/plugin-react-refresh@0.3.13(react-refresh@0.14.0)(webpack@5.89.0): resolution: {integrity: sha512-Xl6xsNds4kqblnmm1aXHFykKJk+x9wU53Qeq7FSyWGuDWTrdXZTUB9dzwDG56/ouB52OzVKze4JAugSZit7zwg==} peerDependencies: @@ -15759,7 +15586,7 @@ packages: '@storybook/preview-api': 7.5.1 '@storybook/theming': 7.5.1(react-dom@18.2.0)(react@18.2.0) '@storybook/types': 7.5.1 - '@types/lodash': 4.14.199 + '@types/lodash': 4.14.202 color-convert: 2.0.1 dequal: 2.0.3 lodash: 4.17.21 @@ -15819,7 +15646,7 @@ packages: hasBin: true dependencies: '@babel/core': 7.23.2 - '@babel/preset-env': 7.22.15(@babel/core@7.23.2) + '@babel/preset-env': 7.22.20(@babel/core@7.23.2) '@babel/types': 7.23.0 '@ndelangen/get-tarball': 3.0.9 '@storybook/codemod': 7.5.1 @@ -15846,7 +15673,7 @@ packages: get-port: 5.1.1 giget: 1.1.3 globby: 11.1.0 - jscodeshift: 0.14.0(@babel/preset-env@7.22.15) + jscodeshift: 0.14.0(@babel/preset-env@7.22.20) leven: 3.1.0 ora: 5.4.1 prettier: 2.8.7 @@ -15875,7 +15702,7 @@ packages: resolution: {integrity: sha512-PqHGOz/CZnRG9pWgshezCacu524CrXOJrCOwMUP9OMpH0Jk/NhBkHaBZrB8wMjn5hekTj0UmRa/EN8wJm9CCUQ==} dependencies: '@babel/core': 7.23.2 - '@babel/preset-env': 7.22.15(@babel/core@7.23.2) + '@babel/preset-env': 7.22.20(@babel/core@7.23.2) '@babel/types': 7.23.0 '@storybook/csf': 0.1.1 '@storybook/csf-tools': 7.5.1 @@ -15884,7 +15711,7 @@ packages: '@types/cross-spawn': 6.0.2 cross-spawn: 7.0.3 globby: 11.1.0 - jscodeshift: 0.14.0(@babel/preset-env@7.22.15) + jscodeshift: 0.14.0(@babel/preset-env@7.22.20) lodash: 4.17.21 prettier: 2.8.7 recast: 0.23.4 @@ -16239,7 +16066,7 @@ packages: resolution: {integrity: sha512-ZcMSaqFNx1E+G00nRDUi8kKL7gxJVlnCvbKLNj3V85guy4DkIYAZr31yDqze07gDWbjvKoHIp3tKpgE+2i8upQ==} dependencies: '@storybook/channels': 7.5.1 - '@types/babel__core': 7.20.2 + '@types/babel__core': 7.20.3 '@types/express': 4.17.13 file-system-cache: 2.3.0 @@ -16588,16 +16415,6 @@ packages: /@types/aria-query@4.2.2: resolution: {integrity: sha512-HnYpAE1Y6kRyKM/XkEuiRQhTHvkzMBurTHnpFLYLBGPIylZNPs9jJcuOOYWxPLJCSEtmZT0Y8rHDokKN7rRTig==} - /@types/babel__core@7.1.16: - resolution: {integrity: sha512-EAEHtisTMM+KaKwfWdC3oyllIqswlznXCIVCt7/oRNrh+DhgT4UEBNC/jlADNjvw7UnfbcdkGQcPVZ1xYiLcrQ==} - dependencies: - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 - '@types/babel__generator': 7.6.4 - '@types/babel__template': 7.4.1 - '@types/babel__traverse': 7.18.5 - dev: true - /@types/babel__core@7.20.2: resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} dependencies: @@ -16606,6 +16423,7 @@ packages: '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.18.5 + dev: true /@types/babel__core@7.20.3: resolution: {integrity: sha512-54fjTSeSHwfan8AyHWrKbfBWiEUrNTZsUwPTDSNaaP1QDQIZbeNUg3a59E9D+375MzUw/x1vx2/0F5LBz+AeYA==} @@ -16702,6 +16520,7 @@ packages: /@types/cookie@0.4.1: resolution: {integrity: sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==} + dev: false /@types/cookie@0.5.1: resolution: {integrity: sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==} @@ -17005,12 +16824,8 @@ packages: '@types/webpack': 4.41.32 dev: true - /@types/lodash@4.14.181: - resolution: {integrity: sha512-n3tyKthHJbkiWhDZs3DkhkCzt2MexYHXlX0td5iMplyfwketaOeKboEVBqzceH7juqvEg3q5oUoBFxSLu7zFag==} - dev: true - - /@types/lodash@4.14.199: - resolution: {integrity: sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==} + /@types/lodash@4.14.202: + resolution: {integrity: sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==} /@types/lru-cache@5.1.1: resolution: {integrity: sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==} @@ -17372,12 +17187,6 @@ packages: anymatch: 3.1.2 source-map: 0.6.1 - /@types/ws@7.4.7: - resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} - dependencies: - '@types/node': 18.11.17 - dev: true - /@types/ws@8.5.5: resolution: {integrity: sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==} dependencies: @@ -17605,31 +17414,10 @@ packages: resolution: {integrity: sha512-JkqXfCkUDp4PIlFdDQ0TdXoIejMtTHP67/pvxlgeY+u5k3LEdKuWZ3LK6xkxo52uDoABIVyRwqVkfLQJhk7VBA==} dev: false - /@vue/babel-helper-vue-transform-on@1.0.2: - resolution: {integrity: sha512-hz4R8tS5jMn8lDq6iD+yWL6XNB699pGIVLk7WSJnn1dbpjaazsjZQkieJoRX6gW5zpYSCFqQ7jUquPNY65tQYA==} - dev: false - /@vue/babel-helper-vue-transform-on@1.1.5: resolution: {integrity: sha512-SgUymFpMoAyWeYWLAY+MkCK3QEROsiUnfaw5zxOVD/M64KQs8D/4oK6Q5omVA2hnvEOE0SCkH2TZxs/jnnUj7w==} dev: false - /@vue/babel-plugin-jsx@1.1.1(@babel/core@7.23.2): - resolution: {integrity: sha512-j2uVfZjnB5+zkcbc/zsOc0fSNGCMMjaEXP52wdwdIfn0qjFfEYpYZBFKFg+HHnQeJCVrjOeO0YxgaL7DMrym9w==} - dependencies: - '@babel/helper-module-imports': 7.22.15 - '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.2) - '@babel/template': 7.22.15 - '@babel/traverse': 7.22.15 - '@babel/types': 7.23.0 - '@vue/babel-helper-vue-transform-on': 1.0.2 - camelcase: 6.3.0 - html-tags: 3.2.0 - svg-tags: 1.0.0 - transitivePeerDependencies: - - '@babel/core' - - supports-color - dev: false - /@vue/babel-plugin-jsx@1.1.5(@babel/core@7.23.2): resolution: {integrity: sha512-nKs1/Bg9U1n3qSWnsHhCVQtAzI6aQXqua8j/bZrau8ywT1ilXQbK4FwEJGmU8fV7tcpuFvWmmN7TMmV1OBma1g==} peerDependencies: @@ -18697,7 +18485,7 @@ packages: dependencies: '@babel/core': 7.23.2 '@jest/transform': 29.5.0 - '@types/babel__core': 7.20.2 + '@types/babel__core': 7.20.3 babel-plugin-istanbul: 6.1.1 babel-preset-jest: 29.5.0(@babel/core@7.23.2) chalk: 4.1.2 @@ -18807,13 +18595,13 @@ packages: transitivePeerDependencies: - supports-color - /babel-plugin-polyfill-corejs3@0.5.2(@babel/core@7.23.0): + /babel-plugin-polyfill-corejs3@0.5.2(@babel/core@7.23.2): resolution: {integrity: sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.0 - '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.23.0) + '@babel/core': 7.23.2 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.23.2) core-js-compat: 3.32.1 transitivePeerDependencies: - supports-color @@ -19404,6 +19192,22 @@ packages: resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} dev: false + /check-dependency-version-consistency@4.1.0: + resolution: {integrity: sha512-xghkzKgMxpAfeP9OJfVrErtv8BU4h5kHYQyheHC0j0RYRVNWti0qI3+HkFgWBKejq2UE2wOnoWZlvDKFj6jFoA==} + engines: {node: ^16.0.0 || ^18.0.0 || >=20.0.0} + hasBin: true + dependencies: + '@types/js-yaml': 4.0.5 + chalk: 5.3.0 + commander: 10.0.1 + edit-json-file: 1.7.0 + globby: 13.2.2 + js-yaml: 4.1.0 + semver: 7.5.4 + table: 6.8.1 + type-fest: 3.13.1 + dev: true + /check-error@1.0.2: resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} dev: true @@ -19707,6 +19511,11 @@ packages: engines: {node: '>=14'} dev: true + /commander@10.0.1: + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} + dev: true + /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} @@ -20873,7 +20682,7 @@ packages: '@types/debug': 0.0.30 '@types/get-port': 3.2.0 '@types/glob': 5.0.38 - '@types/lodash': 4.14.199 + '@types/lodash': 4.14.202 '@types/mkdirp': 0.5.2 '@types/node': 8.10.66 '@types/rimraf': 2.0.5 @@ -21103,6 +20912,16 @@ packages: /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + /edit-json-file@1.7.0: + resolution: {integrity: sha512-eIkLJ9i4ija7b2TbaLHy3scyjWFLzwM2Wa6kHbV4ppVLcCqn7FzqnO1vmCG3dLrkd+teWE3mvACfv166mO0VZg==} + dependencies: + find-value: 1.0.12 + iterate-object: 1.3.4 + r-json: 1.2.10 + set-value: 4.1.0 + w-json: 1.3.10 + dev: true + /ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} @@ -21176,14 +20995,6 @@ packages: graceful-fs: 4.2.10 tapable: 2.2.1 - /enhanced-resolve@5.8.3: - resolution: {integrity: sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==} - engines: {node: '>=10.13.0'} - dependencies: - graceful-fs: 4.2.10 - tapable: 2.2.1 - dev: false - /enquirer@2.3.6: resolution: {integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==} engines: {node: '>=8.6'} @@ -22608,6 +22419,10 @@ packages: path-exists: 5.0.0 dev: true + /find-value@1.0.12: + resolution: {integrity: sha512-OCpo8LTk8eZ2sdDCwbU2Lc3ivYsdM6yod6jP2jHcNEFcjPhkgH0+POzTIol7xx1LZgtbI5rkO5jqxsG5MWtPjQ==} + dev: true + /find-yarn-workspace-root2@1.2.16: resolution: {integrity: sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==} dependencies: @@ -23136,6 +22951,17 @@ packages: merge2: 1.4.1 slash: 3.0.0 + /globby@13.2.2: + resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + dir-glob: 3.0.1 + fast-glob: 3.3.1 + ignore: 5.3.0 + merge2: 1.4.1 + slash: 4.0.0 + dev: true + /gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} dependencies: @@ -23845,6 +23671,11 @@ packages: resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} engines: {node: '>= 4'} + /ignore@5.3.0: + resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} + engines: {node: '>= 4'} + dev: true + /image-size@0.5.5: resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==} engines: {node: '>=0.10.0'} @@ -24290,6 +24121,11 @@ packages: /is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + /is-primitive@3.0.1: + resolution: {integrity: sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==} + engines: {node: '>=0.10.0'} + dev: true + /is-promise@2.2.2: resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} dev: true @@ -24480,6 +24316,10 @@ packages: html-escaper: 2.0.2 istanbul-lib-report: 3.0.0 + /iterate-object@1.3.4: + resolution: {integrity: sha512-4dG1D1x/7g8PwHS9aK6QV5V94+ZvyP4+d19qDv43EzImmrndysIl4prmJ1hWWIGCqrZHyaHBm6BSEWHOLnpoNw==} + dev: true + /jackspeak@2.3.6: resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} engines: {node: '>=14'} @@ -25115,7 +24955,7 @@ packages: dependencies: argparse: 2.0.1 - /jscodeshift@0.14.0(@babel/preset-env@7.22.15): + /jscodeshift@0.14.0(@babel/preset-env@7.22.20): resolution: {integrity: sha512-7eCC1knD7bLUPuSCwXsMZUH51O8jIcoVyKtI6P0XM0IVzlGjckPy3FIwQlorzbN0Sg79oK+RlohN32Mqf/lrYA==} hasBin: true peerDependencies: @@ -25127,7 +24967,7 @@ packages: '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.23.2) '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.23.2) '@babel/plugin-transform-modules-commonjs': 7.23.0(@babel/core@7.23.2) - '@babel/preset-env': 7.22.15(@babel/core@7.23.2) + '@babel/preset-env': 7.22.20(@babel/core@7.23.2) '@babel/preset-flow': 7.18.6(@babel/core@7.23.2) '@babel/preset-typescript': 7.23.2(@babel/core@7.23.2) '@babel/register': 7.22.15(@babel/core@7.23.2) @@ -25700,6 +25540,10 @@ packages: resolution: {integrity: sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg==} dev: false + /lodash.truncate@4.4.2: + resolution: {integrity: sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==} + dev: true + /lodash.uniq@4.5.0: resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} @@ -25793,20 +25637,6 @@ packages: resolution: {integrity: sha512-0ckx7ZHRPqb0oUm8zNr+90mtf9DQB60H1wMCjBtfi62Kl3a7JbHob6gA2bC+xRvZoOL+1hzUK8jeuEIQE8svEQ==} hasBin: true - /magic-string@0.29.0: - resolution: {integrity: sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /magic-string@0.30.1: - resolution: {integrity: sha512-mbVKXPmS0z0G4XqFDCTllmDQ6coZzn94aMlb0o/A4HEHJCKcanlDZwYJgwnkmgD3jyWhUgj9VsPrfd972yPffA==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - /magic-string@0.30.5: resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} engines: {node: '>=12'} @@ -28834,6 +28664,10 @@ packages: resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} engines: {node: '>=10'} + /r-json@1.2.10: + resolution: {integrity: sha512-hu9vyLjSlHXT62NAS7DjI9WazDlvjN0lgp3n431dCVnirVcLkZIpzSwA3orhZEKzdDD2jqNYI+w0yG0aFf4kpA==} + dev: true + /ramda@0.29.0: resolution: {integrity: sha512-BBea6L67bYLtdbOqfp8f58fPMqEwx0doL+pAi8TZyp2YWz8R9G8z9x75CZI8W+ftqhFHCpEX2cRnUUXK130iKA==} @@ -29760,7 +29594,7 @@ packages: dependencies: '@babel/runtime': 7.23.2 '@types/base16': 1.0.2 - '@types/lodash': 4.14.199 + '@types/lodash': 4.14.202 base16: 1.0.0 color: 3.2.1 csstype: 3.1.2 @@ -29924,7 +29758,7 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: '@babel/runtime': 7.23.2 - '@types/lodash': 4.14.199 + '@types/lodash': 4.14.202 '@types/react': 18.0.21 react: 18.2.0 react-base16-styling: 0.9.1 @@ -31063,6 +30897,14 @@ packages: engines: {node: '>=6.9'} dev: true + /set-value@4.1.0: + resolution: {integrity: sha512-zTEg4HL0RwVrqcWs3ztF+x1vkxfm0lP+MQQFPiMJTKVceBwEV0A569Ou8l9IYQG8jOZdMVI1hGsc0tmeD2o/Lw==} + engines: {node: '>=11.0'} + dependencies: + is-plain-object: 2.0.4 + is-primitive: 3.0.1 + dev: true + /setimmediate@1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} @@ -31177,6 +31019,11 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + /slash@4.0.0: + resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} + engines: {node: '>=12'} + dev: true + /slice-ansi@3.0.0: resolution: {integrity: sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==} engines: {node: '>=8'} @@ -31715,7 +31562,7 @@ packages: react-is: '>= 16.8.0' dependencies: '@babel/helper-module-imports': 7.22.15 - '@babel/traverse': 7.22.15(supports-color@5.5.0) + '@babel/traverse': 7.23.2(supports-color@5.5.0) '@emotion/is-prop-valid': 1.2.1 '@emotion/stylis': 0.8.5 '@emotion/unitless': 0.7.5 @@ -31892,6 +31739,17 @@ packages: /synchronous-promise@2.0.15: resolution: {integrity: sha512-k8uzYIkIVwmT+TcglpdN50pS2y1BDcUnBPK9iJeGu0Pl1lOI8pD6wtzgw91Pjpe+RxtTncw32tLxs/R0yNL2Mg==} + /table@6.8.1: + resolution: {integrity: sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==} + engines: {node: '>=10.0.0'} + dependencies: + ajv: 8.11.0 + lodash.truncate: 4.4.2 + slice-ansi: 4.0.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + dev: true + /tailwindcss@2.2.19(autoprefixer@10.4.13)(postcss@8.4.31)(ts-node@10.9.1): resolution: {integrity: sha512-6Ui7JSVtXadtTUo2NtkBBacobzWiQYVjYW0ZnKaP9S1ZCKQ0w7KVNz+YSDI/j7O7KCMHbOkz94ZMQhbT9pOqjw==} engines: {node: '>=12.13.0'} @@ -32776,6 +32634,11 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} + /type-fest@3.13.1: + resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} + engines: {node: '>=14.16'} + dev: true + /type-fest@4.1.0: resolution: {integrity: sha512-VJGJVepayd8OWavP+rgXt4i3bfLk+tSomTV7r4mca2XD/oTCWnkJlNkpXavkxdmtU2aKdAmFGeHvoQutOVHCZg==} engines: {node: '>=16'} @@ -33511,7 +33374,7 @@ packages: chai: 4.3.7 debug: 4.3.4(supports-color@9.3.1) local-pkg: 0.4.3 - magic-string: 0.30.1 + magic-string: 0.30.5 pathe: 1.1.1 picocolors: 1.0.0 std-env: 3.3.3 @@ -33667,6 +33530,10 @@ packages: '@vue/server-renderer': 3.3.4(vue@3.3.4) '@vue/shared': 3.3.4 + /w-json@1.3.10: + resolution: {integrity: sha512-XadVyw0xE+oZ5FGApXsdswv96rOhStzKqL53uSe5UaTadABGkWIg1+DTx8kiZ/VqTZTBneoL0l65RcPe4W3ecw==} + dev: true + /w3c-keyname@2.2.8: resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} dev: false From 8729740003fa0469df82b9fe23025f606a2c37d8 Mon Sep 17 00:00:00 2001 From: "gaoyuan.1226" Date: Wed, 22 Nov 2023 17:41:38 +0800 Subject: [PATCH 3/3] fix: rspack/dev-client --- packages/storybook/builder/package.json | 2 +- pnpm-lock.yaml | 27 ++++++++++++------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/packages/storybook/builder/package.json b/packages/storybook/builder/package.json index f1ea3e98bfcf..4ac21fbec980 100644 --- a/packages/storybook/builder/package.json +++ b/packages/storybook/builder/package.json @@ -61,7 +61,7 @@ "@modern-js/core": "workspace:*", "@modern-js/runtime": "workspace:*", "@modern-js/utils": "workspace:*", - "@rspack/dev-client": "0.3.11", + "@rspack/dev-client": "0.4.0", "@storybook/components": "^7.5.1", "@storybook/core-common": "^7.5.1", "@storybook/csf-plugin": "^7.5.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc37d8219bf1..939beaec9879 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4809,8 +4809,8 @@ importers: specifier: workspace:* version: link:../../toolkit/utils '@rspack/dev-client': - specifier: 0.3.11 - version: 0.3.11(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) + specifier: 0.4.0 + version: 0.4.0(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) '@storybook/components': specifier: ^7.5.1 version: 7.5.1(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) @@ -14816,15 +14816,15 @@ packages: zod-validation-error: 1.2.0(zod@3.22.3) dev: false - /@rspack/dev-client@0.3.11(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): - resolution: {integrity: sha512-vHmJe4OOOi85ID+7h76UZMjipEiE63PDkr0LABanJUbIUDQbj6v8bO3DMb2uZzdpwpiABB9wYuxqm/QxvGnEGA==} + /@rspack/dev-client@0.4.0(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): + resolution: {integrity: sha512-G9q2Wn1JBlqvtHD31E5Nsr62sOdbIJjIZfV3Evy91gmnmfnDTZCB6P5nJ4pXiYqV0U4anHRZB4l1zpnMhB6q4Q==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@rspack/plugin-react-refresh': 0.3.11(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) + '@rspack/plugin-react-refresh': 0.4.0(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) react-refresh: 0.14.0 transitivePeerDependencies: - '@types/webpack' @@ -14871,17 +14871,16 @@ packages: tapable: 2.2.1 dev: false - /@rspack/plugin-react-refresh@0.3.11(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): - resolution: {integrity: sha512-S5LjsV4HeZ5sCV4168QXCiuZL1dnwiLtpykB+1RAIQH+rBLDZebiflwgWHKD0B8oxYYiqGeVbQ5JvGWn4jyZVg==} + /@rspack/plugin-react-refresh@0.3.13(react-refresh@0.14.0)(webpack@5.89.0): + resolution: {integrity: sha512-Xl6xsNds4kqblnmm1aXHFykKJk+x9wU53Qeq7FSyWGuDWTrdXZTUB9dzwDG56/ouB52OzVKze4JAugSZit7zwg==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack@5.89.0) react-refresh: 0.14.0 - schema-utils: 4.2.0 transitivePeerDependencies: - '@types/webpack' - sockjs-client @@ -14890,17 +14889,17 @@ packages: - webpack-dev-server - webpack-hot-middleware - webpack-plugin-serve - dev: false + dev: true - /@rspack/plugin-react-refresh@0.3.13(react-refresh@0.14.0)(webpack@5.89.0): - resolution: {integrity: sha512-Xl6xsNds4kqblnmm1aXHFykKJk+x9wU53Qeq7FSyWGuDWTrdXZTUB9dzwDG56/ouB52OzVKze4JAugSZit7zwg==} + /@rspack/plugin-react-refresh@0.4.0(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0): + resolution: {integrity: sha512-yo2FXVj6P2HrBGIxBqqRJQzAdG6CrL0WFE+kQk/Uz+7Ct09nPvl7zRdHE1BUXHnSXIjrMJj4fRmd7hXsmtTHXQ==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack@5.89.0) + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack-hot-middleware@2.25.4)(webpack@5.89.0) react-refresh: 0.14.0 transitivePeerDependencies: - '@types/webpack' @@ -14910,7 +14909,7 @@ packages: - webpack-dev-server - webpack-hot-middleware - webpack-plugin-serve - dev: true + dev: false /@rspack/plugin-react-refresh@0.4.0(react-refresh@0.14.0)(webpack@5.88.1): resolution: {integrity: sha512-yo2FXVj6P2HrBGIxBqqRJQzAdG6CrL0WFE+kQk/Uz+7Ct09nPvl7zRdHE1BUXHnSXIjrMJj4fRmd7hXsmtTHXQ==}