sharp by wasm

This commit is contained in:
seb
2026-10-28 01:46:51 +01:00
parent 1c5385061c
commit e7884c03ef
20 changed files with 530 additions and 364 deletions

35
package-lock.json generated
View File

@@ -31,10 +31,10 @@
"react": "^19.3.1",
"react-canvas-label-editor": "github:sebseb7/react-canvas-label-editor",
"selfsigned": "^5.5.0",
"sharp": "^0.35.5",
"skelehash-wasm": "^0.1.1",
"swagger-ui-dist": "^5.33.3",
"vm2": "^3.12.2",
"wasm-image-optimization": "^2.0.13",
"zod": "^4.6.7"
},
"devDependencies": {
@@ -53,9 +53,9 @@
"chalk": "^6.0.1",
"dotenv": "^18.0.8",
"pdfconvert-wasm": "^0.3.0",
"sharp": "^0.35.5",
"skelehash-wasm": "^0.1.1",
"thumbhash": "^0.1.1"
"thumbhash": "^0.1.1",
"wasm-image-optimization": "^2.0.13"
},
"devDependencies": {
"better-sqlite3": "^13.0.3",
@@ -72,7 +72,6 @@
}
},
"../llmorbiter": {
"name": "llmorbiter",
"version": "0.1.0",
"license": "0BSD",
"dependencies": {
@@ -6436,6 +6435,28 @@
"node": ">=6.0"
}
},
"node_modules/wasm-image-optimization": {
"version": "2.0.13",
"resolved": "https://registry.npmjs.org/wasm-image-optimization/-/wasm-image-optimization-2.0.13.tgz",
"integrity": "sha512-MGaFZtdxMHZyaL3VUUcNkN8qccJcy33lcXoUIaegav/y1TiK6c2aALbKAjoe4bXHFI7nDl+5+TG0e9Y8j1/h9Q==",
"license": "MIT",
"dependencies": {
"commander": "15.0.0",
"worker-lib": "2.2.1"
},
"bin": {
"wasm-image-optimization": "dist/cli.js"
}
},
"node_modules/wasm-image-optimization/node_modules/commander": {
"version": "15.0.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz",
"integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==",
"license": "MIT",
"engines": {
"node": ">=22.12.0"
}
},
"node_modules/web-streams-polyfill": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz",
@@ -6566,6 +6587,12 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/worker-lib": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/worker-lib/-/worker-lib-2.2.1.tgz",
"integrity": "sha512-CauU4vz3vZUBG3A2CY93GY94KLhbH8JtPKtuvKu2w5G07cHkZ73QkTAJ/lEHDL6arT5WDu1qpU++T0+kGDgSCg==",
"license": "MIT"
},
"node_modules/wrap-ansi": {
"version": "10.0.2",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-10.0.2.tgz",