`bin/manage_users` drops deprecation warning for future node-postgres versions
Abierto
enhancement
minor
- Lenguaje dominante
- JavaScript
- Estrellas
- 10.1k
- Forks
- 1.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Currently, I get the following warning when using the `bin/manage_users` script:
> (node:78) DeprecationWarning: Using the automatically created return value from client.query as an event emitter is deprecated and will be removed in pg@7.0. Please see the upgrade guide at https://node-postgres.com/guides/upgrading
> Using password from commandline...
Guía de contribución
Línea de trabajo
Start with bin/manage_users and inspect its client.query usage in relation to the reported node-postgres warning. Consult the linked node-postgres upgrade guide and verify the script's behavior; done means it no longer triggers the deprecated event-emitter warning.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, node.js, postgres
- Área
- cli, database
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100