NapCatQQ/packages/napcat-test
手瓜一十雪 f971c312b9 Add TIFF parser and buffer-based image size APIs
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.
2026-02-01 17:42:58 +08:00
..
imageSize.test.ts Add TIFF parser and buffer-based image size APIs 2026-02-01 17:42:58 +08:00
package.json Add TIFF parser and buffer-based image size APIs 2026-02-01 17:42:58 +08:00
Readme.md Add napcat-test package and Vitest setup 2025-11-15 16:05:09 +08:00
sha1Stream.test.ts Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
tsconfig.json Add napcat-test package and Vitest setup 2025-11-15 16:05:09 +08:00
vitest.config.ts Add TIFF parser and buffer-based image size APIs 2026-02-01 17:42:58 +08:00

NapCat-Test

测试方向

测试过程不涉及账号登录