Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,22 +157,22 @@
"adm-zip": "0.5.16",
"ansi-colors": "4.1.3",
"antd": "5.19.1",
"axios": "^1.12.0",
"axios": "^1.13.6",
"core-js": "3.36.1",
"encoding": "^0.1.13",
"express": "4.21.2",
"fast-glob": "3.3.2",
"express": "5.2.1",
"fast-glob": "3.3.3",
"glob": "^11.0.0",
"lodash.get": "4.4.2",
"openai": "^4.72.0",
"rambda": "7.5.0",
"openai": "^6.27.0",
"rambda": "11.1.0",
"regenerator-runtime": "0.14.1",
"sharp": "^0.33.4",
"sharp": "^0.34.5",
"storybook": "8.6.17",
"tapable": "2.2.1",
"typedoc": "0.25.8",
"tapable": "2.3.0",
"typedoc": "0.28.17",
"undici": "7.18.2",
"unplugin": "1.9.0"
"unplugin": "3.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.0",
Expand Down Expand Up @@ -253,7 +253,7 @@
"css-loader": "^6.11.0",
"cypress": "14.3.3",
"directory-tree": "3.5.2",
"esbuild": "0.25.0",
"esbuild": "0.27.3",
"eslint": "9.39.3",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-cypress": "^2.13.4",
Expand All @@ -271,7 +271,7 @@
"jest-cli": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-environment-node": "29.7.0",
"jiti": "2.4.2",
"jiti": "2.6.1",
"js-yaml": "4.1.0",
"kill-port": "^2.0.1",
"mime-types": "2.1.35",
Expand All @@ -283,7 +283,7 @@
"postcss-custom-properties": "13.3.12",
"postcss-import": "15.1.0",
"postcss-url": "10.1.3",
"prettier": "3.3.3",
"prettier": "3.8.1",
"prettier-eslint": "16.3.0",
"prettier-plugin-tailwindcss": "0.5.14",
"publint": "^0.3.13",
Expand All @@ -303,9 +303,9 @@
"tsdown": "0.20.3",
"tslib": "2.8.1",
"tsup": "7.3.0",
"typescript": "5.8.2",
"typescript": "5.9.3",
"url-loader": "4.1.1",
"vite": "5.4.21",
"vite": "7.3.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep Vite within @nx/vite supported peer range

This bumps vite to 7.3.1, but the same lockfile keeps @nx/vite@21.2.3 whose peer dependency is vite: ^5.0.0 || ^6.0.0 (pnpm-lock.yaml), so the workspace is now in an unsupported dependency state. Any Nx Vite project/executor run in CI or local development can fail or behave unpredictably under this mismatch, so Vite should stay on a supported major until Nx is upgraded.

Useful? React with 👍 / 👎.

"vite-tsconfig-paths": "4.2.3",
"vitest": "1.6.0",
"vitest-fetch-mock": "^0.2.2",
Expand All @@ -316,7 +316,7 @@
"webpack-node-externals": "^3.0.0",
"webpack-virtual-modules": "0.6.2",
"whatwg-fetch": "^3.6.20",
"yargs": "^17.7.2"
"yargs": "^18.0.0"
},
"config": {
"commitizen": {
Expand Down
4 changes: 2 additions & 2 deletions packages/treeshake-server/src/frontend/embeddedAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function createEmbeddedFrontendAdapter(
const stat = await fs.promises.stat(filePath);
if (stat.isFile()) {
const buf = await fs.promises.readFile(filePath);
return new Response(buf, {
return new Response(new Uint8Array(buf), {
status: 200,
headers: { 'Content-Type': contentTypeByExt(filePath) },
});
Expand All @@ -89,7 +89,7 @@ export function createEmbeddedFrontendAdapter(
}
try {
const buf = await fs.promises.readFile(fallbackPath);
return new Response(buf, {
return new Response(new Uint8Array(buf), {
status: 200,
headers: { 'Content-Type': contentTypeByExt(fallbackPath) },
});
Expand Down
2 changes: 1 addition & 1 deletion packages/treeshake-server/src/http/routes/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function serveLocalFile(c: any, rootDir: string) {
}
try {
const buf = await fs.promises.readFile(filePath);
return new Response(buf, {
return new Response(new Uint8Array(buf), {
status: 200,
headers: { 'Content-Type': contentTypeByExt(filePath) },
});
Expand Down
Loading
Loading