diff --git a/package.json b/package.json index 0df5ae93f3..29c85b55a6 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "less": "4.2.0", - "less-loader": "11.1.4", + "less-loader": "12.2.0", "mini-css-extract-plugin": "2.9.1", "npm-run-all": "4.1.5", "prettier": "3.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de5c8a4eeb..12b55898b9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -97,8 +97,8 @@ importers: specifier: 4.2.0 version: 4.2.0 less-loader: - specifier: 11.1.4 - version: 11.1.4(less@4.2.0)(webpack@5.94.0(webpack-cli@5.1.4)) + specifier: 12.2.0 + version: 12.2.0(less@4.2.0)(webpack@5.94.0(webpack-cli@5.1.4)) mini-css-extract-plugin: specifier: 2.9.1 version: 2.9.1(webpack@5.94.0(webpack-cli@5.1.4)) @@ -2955,12 +2955,18 @@ packages: launch-editor@2.9.1: resolution: {integrity: sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w==} - less-loader@11.1.4: - resolution: {integrity: sha512-6/GrYaB6QcW6Vj+/9ZPgKKs6G10YZai/l/eJ4SLwbzqNTBsAqt5hSLVF47TgsiBxV1P6eAU0GYRH3YRuQU9V3A==} - engines: {node: '>= 14.15.0'} + less-loader@12.2.0: + resolution: {integrity: sha512-MYUxjSQSBUQmowc0l5nPieOYwMzGPUaTzB6inNW/bdPEG9zOL3eAAD1Qw5ZxSPk7we5dMojHwNODYMV1hq4EVg==} + engines: {node: '>= 18.12.0'} peerDependencies: + '@rspack/core': 0.x || 1.x less: ^3.5.0 || ^4.0.0 webpack: ^5.0.0 + peerDependenciesMeta: + '@rspack/core': + optional: true + webpack: + optional: true less@4.2.0: resolution: {integrity: sha512-P3b3HJDBtSzsXUl0im2L7gTO5Ubg8mEN6G8qoTS77iXxXX4Hvu4Qj540PZDvQ8V6DmX6iXo98k7Md0Cm1PrLaA==} @@ -8106,9 +8112,10 @@ snapshots: picocolors: 1.1.0 shell-quote: 1.8.1 - less-loader@11.1.4(less@4.2.0)(webpack@5.94.0(webpack-cli@5.1.4)): + less-loader@12.2.0(less@4.2.0)(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: less: 4.2.0 + optionalDependencies: webpack: 5.94.0(webpack-cli@5.1.4) less@4.2.0: