browserify / browserify/createHash
Version 1.1.3 fails in browser - Buffer is not defined
- Lenguaje dominante
- JavaScript
- Estrellas
- 53
- Forks
- 37
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
We wanted to use the package to create hashes in Chrome, but on initial testing it seems like this package doesn't work in the browser.
When attempting to import the package it fails with the error message:
```
Buffer is not defined
```
You can see an minimal example in this Code Sandbox:
https://codesandbox.io/s/x2xyrq2plp
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start with the minimal CodeSandbox reproduction and the package import path in createHash. Confirm the failure in Chrome, then trace the browser bundle's Buffer dependency; done means the package imports and creates hashes in Chrome without “Buffer is not defined”.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- web-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100