Bundle Buffer on bare hosts without a react-native-quick-base64 alias
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, react-native
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
@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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.1k
- Forks
- 121
- Merge medio
- 12 h 53 min
- PR fusionados (30 d)
- 16
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de margelo/react-native-quick-crypto
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
margelo/react-native-quick-crypto#1118 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
margelo/react-native-quick-crypto#1117 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
margelo/react-native-quick-crypto#1058 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de margelo/react-native-quick-crypto
Issues similares
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
status:needs-triage type:bug workstream:refimpl
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
TanbirRamim/vibereel#39 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
lingdojo/kana-dojo#34988 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día