Skip to content

fix: ignore macOS zip metadata entries#260

Open
ifer47 wants to merge 1 commit into
VERT-sh:mainfrom
ifer47:fix/ignore-macos-zip-metadata
Open

fix: ignore macOS zip metadata entries#260
ifer47 wants to merge 1 commit into
VERT-sh:mainfrom
ifer47:fix/ignore-macos-zip-metadata

Conversation

@ifer47

@ifer47 ifer47 commented Jun 8, 2026

Copy link
Copy Markdown

Summary

  • ignore __MACOSX entries regardless of whether the directory is at the zip root or nested
  • ignore dot-prefixed metadata files in nested directories as well as at the root

Why

macOS archives often include entries like __MACOSX/._image.png. The previous check only matched "/__MACOSX/", so root-level __MACOSX/... entries could be treated as real files and passed into the conversion flow.

Testing

  • bunx eslint src/lib/util/zip.ts
  • bun run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant