mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 06:31:13 +00:00
Introduce a TIFF parser and integrate it into the image detection/size parsing pipeline. Add buffer-based APIs (detectImageTypeFromBuffer, imageSizeFromBuffer, imageSizeFromBufferFallBack) and a helper to convert Buffer to a Readable stream; refactor parser registry into a type-to-parser map and a first-byte fast-path map for quicker detection. Harden WebP parsing with safer length checks. Add sample image resources and a comprehensive Vitest test suite (packages/napcat-test) with updated package dependency and resolve aliases. pnpm-lock updated to link the new package. |
||
|---|---|---|
| .. | ||
| napcat-adapter | ||
| napcat-common | ||
| napcat-core | ||
| napcat-develop | ||
| napcat-framework | ||
| napcat-image-size | ||
| napcat-napi-loader | ||
| napcat-native | ||
| napcat-onebot | ||
| napcat-plugin-builtin | ||
| napcat-protobuf | ||
| napcat-protocol | ||
| napcat-pty | ||
| napcat-qrcode | ||
| napcat-schema | ||
| napcat-shell | ||
| napcat-shell-loader | ||
| napcat-test | ||
| napcat-types | ||
| napcat-universal | ||
| napcat-vite | ||
| napcat-webui-backend | ||
| napcat-webui-frontend | ||