`bin/manage_users` drops deprecation warning for future node-postgres versions
- Langage dominant
- JavaScript
- Étoiles
- 10.1k
- Forks
- 1.1k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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...
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, node.js, postgres
- Domaine
- cli, database
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100