Bundle Buffer on bare hosts without a react-native-quick-base64 alias
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, react-native
- Lĩnh vực
- build-system, developer-experience
Hướng nghiên cứu
Start with the runtime require branches in @craftzdog/react-native-buffer and the existing alias in example/test/bare/aliases.mjs. After the upstream package changes, bump the dependency, remove the alias and react-native-quick-base64 peer dependency, and update the bare-host documentation. Done means a bare-host bundle resolves without that alias while the iOS and Android test suites pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
@craftzdog/react-native-buffer picks its base64 library at runtime: require('react-native-quick-base64') on React Native, require('base64-js') elsewhere. Bundlers resolve both branches, and quick-base64 v3 imports react-native, so bare-host apps (Nitro UI, margelo/nitro-ui#637) must alias it to build even though that branch never runs there.
Plan: propose an upstream change to @craftzdog/react-native-buffer so the bundler picks the base64 library by resolution condition instead of a runtime check. Hosts without React Native then never see the React Native import. Once that ships, RNQC bumps the dependency, removes the alias from example/test/bare/aliases.mjs and the bare-host docs, and drops the react-native-quick-base64 peer dependency (#1117).
Related: #1058 (a native Nitro Buffer, blocked until it ports to Nitro Modules v1).
Done when a bare-host bundle of RNQC resolves without a react-native-quick-base64 alias, and the iOS and Android suites still pass.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.1k
- Fork
- 121
- Merge trung bình
- 12 giờ 53 phút
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của margelo/react-native-quick-crypto
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
margelo/react-native-quick-crypto#1118 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
margelo/react-native-quick-crypto#1117 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
margelo/react-native-quick-crypto#1058 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của margelo/react-native-quick-crypto
Issue tương tự
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
status:needs-triage type:bug workstream:refimpl
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TanbirRamim/vibereel#39 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
lingdojo/kana-dojo#34988 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày