UPDATE: Update frontend dependencies
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
e3fc1d229a
commit
e0e566db76
1000
webapp/app.ironcalc.com/frontend/package-lock.json
generated
1000
webapp/app.ironcalc.com/frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "frontend",
|
"name": "frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.3.0",
|
"version": "0.6.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
@@ -14,19 +14,19 @@
|
|||||||
"@emotion/react": "^11.14.0",
|
"@emotion/react": "^11.14.0",
|
||||||
"@emotion/styled": "^11.14.0",
|
"@emotion/styled": "^11.14.0",
|
||||||
"@ironcalc/workbook": "file:../../IronCalc/",
|
"@ironcalc/workbook": "file:../../IronCalc/",
|
||||||
"@mui/material": "^7.1.1",
|
"@mui/material": "^7.3.5",
|
||||||
"lucide-react": "^0.513.0",
|
"lucide-react": "^0.553.0",
|
||||||
"qrcode.react": "^4.2.0",
|
"qrcode.react": "^4.2.0",
|
||||||
"react": "^19.1.0",
|
"react": "^19.2.0",
|
||||||
"react-dom": "^19.1.0"
|
"react-dom": "^19.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "1.9.4",
|
"@biomejs/biome": "2.3.5",
|
||||||
"@types/react": "^19.1.0",
|
"@types/react": "^19.2.0",
|
||||||
"@types/react-dom": "^19.1.0",
|
"@types/react-dom": "^19.2.0",
|
||||||
"@vitejs/plugin-react": "^4.3.4",
|
"@vitejs/plugin-react": "^4.5.0",
|
||||||
"typescript": "~5.8.3",
|
"typescript": "~5.9.3",
|
||||||
"vite": "^6.3.5",
|
"vite": "^7.2.2",
|
||||||
"vite-plugin-svgr": "^4.2.0"
|
"vite-plugin-svgr": "^4.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ function sanitizeFileName(name: string): string {
|
|||||||
|
|
||||||
export async function uploadFile(
|
export async function uploadFile(
|
||||||
arrayBuffer: ArrayBuffer,
|
arrayBuffer: ArrayBuffer,
|
||||||
fileName: string,
|
fileName: string
|
||||||
): Promise<Blob> {
|
): Promise<Blob> {
|
||||||
// Fetch request to upload the file
|
// Fetch request to upload the file
|
||||||
const response = await fetch(`/api/upload/${fileName}`, {
|
const response = await fetch(`/api/upload/${fileName}`, {
|
||||||
@@ -40,15 +40,15 @@ export async function uploadFile(
|
|||||||
|
|
||||||
export async function get_model(modelHash: string): Promise<Uint8Array> {
|
export async function get_model(modelHash: string): Promise<Uint8Array> {
|
||||||
return new Uint8Array(
|
return new Uint8Array(
|
||||||
await (await fetch(`/api/model/${modelHash}`)).arrayBuffer(),
|
await (await fetch(`/api/model/${modelHash}`)).arrayBuffer()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function get_documentation_model(
|
export async function get_documentation_model(
|
||||||
filename: string,
|
filename: string
|
||||||
): Promise<Uint8Array> {
|
): Promise<Uint8Array> {
|
||||||
return new Uint8Array(
|
return new Uint8Array(
|
||||||
await (await fetch(`/models/${filename}.ic`)).arrayBuffer(),
|
await (await fetch(`/models/${filename}.ic`)).arrayBuffer()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user