diff --git a/.changeset/famous-drinks-jog.md b/.changeset/famous-drinks-jog.md new file mode 100644 index 000000000000..87ca2b44fe3d --- /dev/null +++ b/.changeset/famous-drinks-jog.md @@ -0,0 +1,7 @@ +--- +'@modern-js/builder-rspack-provider': patch +--- + +chore(builder): update rspack to 0.3.5 + +chore(builder): 升级 rspack 到 0.3.5 diff --git a/packages/builder/builder-rspack-provider/package.json b/packages/builder/builder-rspack-provider/package.json index 0335a5126da4..68fa0c675a91 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.4", - "@rspack/dev-client": "0.3.4", - "@rspack/plugin-html": "0.3.4", + "@rspack/core": "0.3.5", + "@rspack/dev-client": "0.3.5", + "@rspack/plugin-html": "0.3.5", "@swc/helpers": "0.5.1", "rspack-manifest-plugin": "5.0.0-alpha0", "caniuse-lite": "^1.0.30001520", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 368e8476a147..163ec155f2d6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -165,14 +165,14 @@ importers: specifier: workspace:* version: link:../../toolkit/utils '@rspack/core': - specifier: 0.3.4 - version: 0.3.4 + specifier: 0.3.5 + version: 0.3.5 '@rspack/dev-client': - specifier: 0.3.4 - version: 0.3.4(react-refresh@0.14.0)(webpack@5.88.1) + specifier: 0.3.5 + version: 0.3.5(react-refresh@0.14.0)(webpack@5.88.1) '@rspack/plugin-html': - specifier: 0.3.4 - version: 0.3.4(@rspack/core@0.3.4) + specifier: 0.3.5 + version: 0.3.5(@rspack/core@0.3.5) '@swc/helpers': specifier: 0.5.1 version: 0.5.1 @@ -14073,96 +14073,96 @@ packages: rollup: 3.23.0 dev: true - /@rspack/binding-darwin-arm64@0.3.4: - resolution: {integrity: sha512-/B9Xp9mfz+tiq2caM37PvrWDyzvQ4aGBPCbKbnRq13kfOrwJmT9nUAy1y+D8bDl1gLYT+7eVHczGZwMooPa2AA==} + /@rspack/binding-darwin-arm64@0.3.5: + resolution: {integrity: sha512-NtMFIFPCOG1Q4TVcn72CQL2DP1VpX4aj355Lu7AxDUUZo1u5AJhcKc83dSvNv7qavy3uWR8m4iitpOXHevlzAw==} cpu: [arm64] os: [darwin] requiresBuild: true dev: false optional: true - /@rspack/binding-darwin-x64@0.3.4: - resolution: {integrity: sha512-NEazY8uHAhGQ3qxs2sY/DFSSgkF8QGd6ls/n1V3sArwcSozRQZhIT79RBhwBJ7qK3o1QIc2a6OjDzkUSPBNEzw==} + /@rspack/binding-darwin-x64@0.3.5: + resolution: {integrity: sha512-1TDWY7wMu6DHR1zgIoAlR5KNmsFaMlSveb4bJcysubpA756vTLETs2u8w6RBz1wLKjWQ0QbFGWSDqRLt/9W1fg==} cpu: [x64] os: [darwin] requiresBuild: true dev: false optional: true - /@rspack/binding-linux-arm64-gnu@0.3.4: - resolution: {integrity: sha512-zsVroEhA5T6HhFxiQCrEZiqEAeHP379iT+Scupp3JD7ITfDvNqCTcXObJUUhZctQWPlxn4MqtuL3goRPgvpWWQ==} + /@rspack/binding-linux-arm64-gnu@0.3.5: + resolution: {integrity: sha512-uj0Ew8TM8Stzypgfwl+Uuuq0vIc9FF4GICXqWUI8TLj3IqUhtOw76HYvlRaBlJEeFhTXDQqJzXeeKqxWUcCG7A==} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /@rspack/binding-linux-arm64-musl@0.3.4: - resolution: {integrity: sha512-5x8i92eP9ubMDEO3OLT31GdjF9nEyQCPNequAspwv98spaazbiUawPcWZN5XPhsAR41f/w2CvrNUNL7EOHJMkQ==} + /@rspack/binding-linux-arm64-musl@0.3.5: + resolution: {integrity: sha512-ny2BYqrZBMQpH3R4JLwdz103VFZYV/xv9E0xIdSRMDRjn5vcTbRLqjPZNpV30J6u1iWeYKlJvq8tvuXACKbWnw==} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /@rspack/binding-linux-x64-gnu@0.3.4: - resolution: {integrity: sha512-oOtLICpLwdgKexHBQi9DERo2Ciweadf2b942Gh9vnMrVJz/oXf9eubewmN4mni5/S+RpSGJoChVvtV1E8ugN/Q==} + /@rspack/binding-linux-x64-gnu@0.3.5: + resolution: {integrity: sha512-wtH9DkB6zYXwUi/3aaFx/pO5E17Q3LX8YaOz7BLFifReWk6Bu8LfrVXjMRq5yqzURt0Ts9gpiTInL0AbMhvy0A==} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /@rspack/binding-linux-x64-musl@0.3.4: - resolution: {integrity: sha512-yCEb90A3uWOvW4XKxTSaAma70P9UuPffgvt16W+uNb/rGSmTDcZr9/jytvmB5nbOwOq7dx2cu2NEJwWdSvMvxQ==} + /@rspack/binding-linux-x64-musl@0.3.5: + resolution: {integrity: sha512-dTIOu9GvZsOreYRIfrzx8RoXGceMDYWhYU/2svoV9TPvVHaqOo/LgyD+b1GPvk/k8nIOYKZuWQ8lHiAv+7nJ5A==} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /@rspack/binding-win32-arm64-msvc@0.3.4: - resolution: {integrity: sha512-fp1weWXd/ByMg0L94xKemxnyH9KOLecfbRMcmalmqGyTunneP1YLGiYvBAl2U4Uh0hTKAt3DZ80NCLIHRnqq+Q==} + /@rspack/binding-win32-arm64-msvc@0.3.5: + resolution: {integrity: sha512-KtX1oDS/+Ea39dDxmjiwJMKGAsF4faImqpMZFKNmTugPUcIrl5T+urStpMsEW0KAHJBqfERvQ7awlb1zB7mNlQ==} cpu: [arm64] os: [win32] requiresBuild: true dev: false optional: true - /@rspack/binding-win32-ia32-msvc@0.3.4: - resolution: {integrity: sha512-h0wLL8CdLFAQoPaiNU9tbW+ppPYMtgNBmSr77ARNC9M252KuBgEQjOhRhCvVpK/xTVrXxdYddQ+ruhI+VfSo5g==} + /@rspack/binding-win32-ia32-msvc@0.3.5: + resolution: {integrity: sha512-bFic6rQEh3ZkQhzZDL7dtC4lzQ+9xEoeSz1FCIFLOOfXHGnweUoTNqNieVQn9RRSa8x1QbWJ/XLMG20Pi4O9pg==} cpu: [ia32] os: [win32] requiresBuild: true dev: false optional: true - /@rspack/binding-win32-x64-msvc@0.3.4: - resolution: {integrity: sha512-AA0XgfefL2TpfFPXc3iN+WhMYAt4B0BvWOijC0n9Xjq+hSh3fx68l+eg2vKDNiG0c1Iji3V0S2Ux+HLV/XuMcA==} + /@rspack/binding-win32-x64-msvc@0.3.5: + resolution: {integrity: sha512-D5cClqe7acE7tf2AdJIR9IH216+nb2YzdPAqGLNP0Xbp+Ua7zW4wZmz05Sx/6X+eXhEH1+sUPkIFLbJEOo4/2Q==} cpu: [x64] os: [win32] requiresBuild: true dev: false optional: true - /@rspack/binding@0.3.4: - resolution: {integrity: sha512-HIhzKlL/XKhiww4koZDw5ehnQ0zvtAqy0Lr2JYAZJicIsdFkkOoMRXCqgo2ivcEypHAaVNY66/AaWyDLHHmXkg==} + /@rspack/binding@0.3.5: + resolution: {integrity: sha512-e/EQwxFwmayGHeUzcefoF6iIzP9WEy5r3VHI7kD7sU0ZQbMPTr3lBPGPOq/D+hGUYVeSTEOJsA09sNexulQdiw==} optionalDependencies: - '@rspack/binding-darwin-arm64': 0.3.4 - '@rspack/binding-darwin-x64': 0.3.4 - '@rspack/binding-linux-arm64-gnu': 0.3.4 - '@rspack/binding-linux-arm64-musl': 0.3.4 - '@rspack/binding-linux-x64-gnu': 0.3.4 - '@rspack/binding-linux-x64-musl': 0.3.4 - '@rspack/binding-win32-arm64-msvc': 0.3.4 - '@rspack/binding-win32-ia32-msvc': 0.3.4 - '@rspack/binding-win32-x64-msvc': 0.3.4 + '@rspack/binding-darwin-arm64': 0.3.5 + '@rspack/binding-darwin-x64': 0.3.5 + '@rspack/binding-linux-arm64-gnu': 0.3.5 + '@rspack/binding-linux-arm64-musl': 0.3.5 + '@rspack/binding-linux-x64-gnu': 0.3.5 + '@rspack/binding-linux-x64-musl': 0.3.5 + '@rspack/binding-win32-arm64-msvc': 0.3.5 + '@rspack/binding-win32-ia32-msvc': 0.3.5 + '@rspack/binding-win32-x64-msvc': 0.3.5 dev: false - /@rspack/core@0.3.4: - resolution: {integrity: sha512-Z0IJxZG7IxlORy/VdmoUd+l3ekA89vKh7xH0WR3OsEJ8qLBn+k26Waq8CcaCAWlDt40Vxw7zOi/Vxwops6Mo0w==} + /@rspack/core@0.3.5: + resolution: {integrity: sha512-fjN+d+wmLaIu7GUfaSJ3N3VVmEaYeL75dzz4FbymmELTUsTH585zw32C6TQgErO4WRnbvug5ONUCap/hxl10nA==} dependencies: - '@rspack/binding': 0.3.4 + '@rspack/binding': 0.3.5 '@swc/helpers': 0.5.1 browserslist: 4.21.10 compare-versions: 6.0.0-rc.1 @@ -14180,15 +14180,15 @@ packages: zod-validation-error: 1.2.0(zod@3.21.4) dev: false - /@rspack/dev-client@0.3.4(react-refresh@0.14.0)(webpack@5.88.1): - resolution: {integrity: sha512-+s5gpTJm529AUJ80tOu0/JlspyT/keqK7BGOwj7wT6I6uVl9jKInmVowtiDX/LGL57z5J7PmZPO5L30fPuGQZw==} + /@rspack/dev-client@0.3.5(react-refresh@0.14.0)(webpack@5.88.1): + resolution: {integrity: sha512-YzM4lq0PChS1yOxPA/Lo6diCli5M4BkmIHqiGt7FEAfymEdJWp8ddRI922eiTyUDWZABfOmQ9gIFwUzhUSpN0w==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: - '@rspack/plugin-react-refresh': 0.3.4(react-refresh@0.14.0)(webpack@5.88.1) + '@rspack/plugin-react-refresh': 0.3.5(react-refresh@0.14.0)(webpack@5.88.1) react-refresh: 0.14.0 transitivePeerDependencies: - '@types/webpack' @@ -14200,15 +14200,15 @@ packages: - webpack-plugin-serve dev: false - /@rspack/plugin-html@0.3.4(@rspack/core@0.3.4): - resolution: {integrity: sha512-wvg/YHz3IRloOVYdXGG1PXI/tgfzfivlSi5pT36Opp3+wRDMc7s+Qt0V2gK20BojC5hXI+R3zwB8wld3OS+Fow==} + /@rspack/plugin-html@0.3.5(@rspack/core@0.3.5): + resolution: {integrity: sha512-ybQWPobmYjjbvtCPmvA2vjIFNQsDHYoh6mGKR2gbCqqEpHdhxjmweeYm6dvVuynczPbnEhgWWf9jWGlPUaPvmQ==} peerDependencies: - '@rspack/core': 0.3.4 + '@rspack/core': 0.3.5 peerDependenciesMeta: '@rspack/core': optional: true dependencies: - '@rspack/core': 0.3.4 + '@rspack/core': 0.3.5 '@types/html-minifier-terser': 7.0.0 html-minifier-terser: 7.0.0 lodash.template: 4.5.0 @@ -14216,8 +14216,8 @@ packages: tapable: 2.2.1 dev: false - /@rspack/plugin-react-refresh@0.3.4(react-refresh@0.14.0)(webpack@5.88.1): - resolution: {integrity: sha512-4SJlntJg2RSfTzf9/s4zXDqZzINzit134N9QhVKdm+FoJsJOD5KF3a20fMqhuI1NGtuuT3tZ7kCRNi05fC9XNw==} + /@rspack/plugin-react-refresh@0.3.5(react-refresh@0.14.0)(webpack@5.88.1): + resolution: {integrity: sha512-2hsDp+5zNCzrHLU/mOIqCfFJUi2kcgbgpw3s7oGqj2nnxV297D/nEJQn7+E/LjLp0h5C4CrPO75wuOvV6jYUrA==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: @@ -14226,6 +14226,7 @@ packages: dependencies: '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack@5.88.1) react-refresh: 0.14.0 + schema-utils: 4.2.0 transitivePeerDependencies: - '@types/webpack' - sockjs-client @@ -15694,7 +15695,7 @@ packages: flat-cache: 3.0.4 micromatch: 4.0.5 react-docgen-typescript: 2.2.2(typescript@5.0.4) - tslib: 2.3.1 + tslib: 2.4.0 typescript: 5.0.4 webpack: 5.88.1(esbuild@0.17.19)(webpack-cli@5.1.4) transitivePeerDependencies: @@ -18331,7 +18332,7 @@ packages: resolution: {integrity: sha512-xcLxITLe2HYa1cnYnwCjkOO1PqUHQpozB8x9AR0OgWN2woOBi5kSDVxKfd0b7sb1hw5qFeJhXm9H1nu3xSfLeQ==} engines: {node: '>=10'} dependencies: - tslib: 2.3.1 + tslib: 2.4.0 dev: true /aria-query@5.0.0: @@ -28840,7 +28841,7 @@ packages: dependencies: lilconfig: 2.1.0 postcss: 8.4.21 - ts-node: 10.9.1(@types/node@18.11.17)(typescript@5.0.4) + ts-node: 10.9.1(@types/node@16.11.68)(typescript@5.0.4) yaml: 1.10.2 dev: true @@ -30973,7 +30974,7 @@ packages: react: 18.2.0 react-remove-scroll-bar: 2.3.4(@types/react@18.0.21)(react@18.2.0) react-style-singleton: 2.2.1(@types/react@18.0.21)(react@18.2.0) - tslib: 2.3.1 + tslib: 2.4.0 use-callback-ref: 1.3.0(@types/react@18.0.21)(react@18.2.0) use-sidecar: 1.1.2(@types/react@18.0.21)(react@18.2.0) dev: true